/*
Theme Name: TandM WEB DESIGN
Theme URI: https://example.com/
Author: TandM WEB DESIGN
Description: TandM WEB DESIGN original WordPress theme converted from HTML/CSS.
Version: 1.0.0
Text Domain: tandm
*/

/* ==========================================
   TandM WEB DESIGN - Complete CSS
   Pixel-Perfect Figma Recreation
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #2C3E50;
    --navy-dark: #1E2A38;
    --beige: #EDE8DD;
    --beige-light: #F8F8F6;
    --white: #FFFFFF;
    --gold: #C9A84C;
    --text-dark: #2C3E50;
    --text-gray: #666666;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--white);
}

/* ==========================================
   Navigation
   ========================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 88px;
    background: var(--white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.nav-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.logo {
    display: block;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 20px 0 0 0;
}

.nav-menu li {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.nav-menu li:last-child {
    margin-top: auto;
    align-self: stretch;
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.15em;
    transition: color 0.3s;
    display: block;
    padding: 20px 0;
}

.nav-menu li:last-child a {
    color: var(--white);
    padding: 28px 0;
}

.nav-menu a:hover {
    color: var(--gold);
}

.hero::before {
    display: none;
}

/* ==========================================
   Side Text
   ========================================== */

.side-text {
    display: none;
    /* Combined with navigation */
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    min-height: 100vh;
    background-image: url(img/SectionHERO.png);
    padding: 60px 80px 100px 120px;
    position: relative;
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.problem-decoration.bottom-left {
    position: absolute;
    width: 400px;
    height: 400px;
    background-image: url(img/problem-bg2.png);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    left: 0;
}

.problem-decoration.top-right {
    position: absolute;
    width: 400px;
    height: 400px;
    background-image: url(img/problem-bg1.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
}

.solution-decoration.bottom-left {
    position: absolute;
    width: 180px;
    height: 180px;
    background-image: url(img/solution1.png);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    left: 73px;
}

.solution-decoration.top-right {
    position: absolute;
    width: 180px;
    height: 180px;
    background-image: url(img/solution2.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.75;
    color: var(--navy);
    margin-bottom: 32px;
    letter-spacing: 0.03em;
}

.hero-subtitle {
    font-size: 15px;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 60px;
    font-weight: 400;
}

.mockup-container {
    margin: 60px 0;
}


/* ==========================================
   About Section
   ========================================== */

.about {
    padding: 100px 80px 100px 150px;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    padding-top: 75%;
    background-image: url(img/about-img.jpg);
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.section-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: left;
}

.section-label.light {
    color: var(--gold);
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--navy);
    margin-bottom: 32px;
    letter-spacing: 0.03em;
    text-align: left;
}

.section-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 2px;
    background: var(--gold);
    margin-top: 16px;
}

.section-title.light {
    color: var(--white);
}

.about-text {
    font-size: 14px;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    background: var(--navy);
    padding: 30px 20px;
    border-radius: 4px;
}

.stat-item {
    display: flex;
}

.stat-box {
    flex: 1;
    text-align: center;
    background: var(--white);
    padding: 20px 16px;
    border-radius: 4px;
}

.stat-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--navy);
}

/* ==========================================
   Problem Section
   ========================================== */

.problem {
    padding: 100px 80px 100px 150px;
    background: var(--beige-light);
    text-align: center;
    position: relative;
}

.section-subtitle {
    font-size: 14px;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 64px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.problem-item {
    text-align: center;
}

.problem-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.problem-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
    color: var(--navy);
}

/* ==========================================
   Solution Section
   ========================================== */

.solution {
    padding: 100px 80px 100px 150px;
    background: var(--white);
    text-align: center;
    position: relative;
}

.solution-circles {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-top: 64px;
}

.circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    color: var(--white);
    text-align: center;
}

.circle-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--gold);
}

.circle-text {
    font-size: 14px;
    line-height: 1.9;
    font-weight: 300;
}

/* ==========================================
   Service Section
   ========================================== */

.service {
    padding: 100px 80px 100px 150px;
    background: var(--beige-light);
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 64px auto;
}

.service-item {
    text-align: center;
    background-color: var(--white);
    padding: 24px;

}


.service-icon {
    width: 60px;
    height: 40px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.service-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--navy);
    line-height: 1.6;
}

.service-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-gray);
}

.tools-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin: 64px 0 24px;
}

.service-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.tag {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================
   Concept Section
   ========================================== */

.concept {
    padding: 100px 80px 100px 108px;
    background: var(--white);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.concept-list {
    margin-top: 40px;
}

.concept-item {
    margin-bottom: 32px;
}

.concept-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--navy);
}

.concept-text {
    font-size: 14px;
    line-height: 2;
    color: var(--text-gray);
    padding-left: 16px;
}

/* ==========================================
   Works Section
   ========================================== */

.works {
    padding: 100px 80px 100px 150px;
    background: var(--beige-light);
    text-align: center;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 64px auto;
}

.work-item {
    text-align: center;
}

.work-image {
    width: 100%;
    padding-top: 70%;
    background-image: url(img/work-1.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.work-image.work-2 {
    background-image: url(img/work-2.jpg);
}

.work-image.work-3 {
    background-image: url(img/work-3.jpg);
}

.work-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--navy);
}

.view-all {
    margin-top: 48px;
}

.btn-view-all {
    display: inline-block;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 32px;
    border: 2px solid var(--navy);
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background: var(--navy);
    color: var(--white);
}

/* ==========================================
   Contact Section
   ========================================== */

.contact {
    padding: 0px 100px 0 150px;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-decoration {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 100%;
    background-image: url(img/notebook-desk.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 52%;
    padding: 50px 0;
}

.contact-text {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.btn-contact {
    display: inline-block;
    background: var(--white);
    color: var(--navy);
    padding: 18px 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 80px 80px 40px 108px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-brand {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    min-height: 36px;
    display: flex;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   Works Page
   ========================================== */

.works-page-hero {
    min-height: 30vh;
    padding-left: 88px;
    background-image: url(img/sub-hero.png);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
}

.works-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.works-page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.35em;
}

.works-page-section {
    padding: 100px 80px 100px 150px;
    background: var(--white);
    text-align: center;
}

.works-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 64px auto;
}

.work-img-box {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 10px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.work-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: contain;
}

/* ==========================================
   Price Page
   ========================================== */

.price-section {
    padding: 100px 80px 100px 150px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.price-decoration.bottom-left {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url(img/solution1.png);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    left: 73px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.price-decoration.top-right {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url(img/solution2.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.price-section>.section-label,
.price-section>.section-title {
    position: relative;
    z-index: 1;
}

.price-section>.section-title {
    margin-bottom: 60px;
}

.price-subsection {
    max-width: 1100px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.price-subsection:last-child {
    margin-bottom: 0;
}

.price-subsection-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid var(--gold);
}

.price-subsection-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* HP Plan Cards */
.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: var(--white);
    border: 1px solid #e0ddd6;
    border-radius: 8px;
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
}

.price-card .plan-features {
    flex: 1;
}

.price-card.featured {
    background: var(--navy);
    border-color: var(--navy);
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: -34px;
    width: 130px;
    background: var(--gold);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 0;
    text-align: center;
    transform: rotate(45deg);
    letter-spacing: 0.08em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.plan-label {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 500;
}

.plan-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.price-card.featured .plan-name {
    color: var(--white);
}

.plan-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0ddd6;
    line-height: 1.6;
}

.price-card.featured .plan-desc {
    color: rgba(255, 255, 255, 0.65);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.plan-price {
    font-family: 'Noto Serif JP', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    margin: 20px 0 24px;
    line-height: 1.4;
}

.price-card.featured .plan-price {
    color: var(--white);
}

.price-from {
    font-size: 22px;
}

.price-tax {
    font-size: 14px;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    font-size: 14px;
    line-height: 2;
    color: var(--text-gray);
    text-align: left;
}

.price-card.featured .plan-features {
    color: rgba(255, 255, 255, 0.8);
}

.plan-features li::before {
    content: '✓ ';
    color: var(--gold);
    font-weight: 700;
}

/* Support Plan Cards */
.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    align-items: stretch;
}

.support-card {
    background: var(--white);
    border: 1px solid #e0ddd6;
    border-radius: 8px;
    padding: 32px 28px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.support-card .support-features {
    flex: 1;
}

.support-card.featured {
    background: #FAF4E3;
    border-color: var(--gold);
}

.support-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.support-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.7;
}

.support-card.featured .support-name {
    color: var(--navy);
}

.support-price {
    font-family: 'Noto Serif JP', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 6px;
}

.support-card.featured .support-price {
    color: var(--navy);
}

.price-unit {
    font-size: 14px;
    font-weight: 400;
}

.support-included {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0ddd6;
}


.support-features {
    list-style: none;
    font-size: 14px;
    line-height: 2.2;
    color: var(--text-gray);
    text-align: left;
}


.support-features li::before {
    content: '● ';
    color: var(--gold);
}

.support-note-text {
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
    line-height: 2.2;
}

/* Single Menu */
.single-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.single-item {
    background: var(--white);
    border: 1px solid #e0ddd6;
    border-radius: 4px;
    padding: 24px 28px;
}

.single-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.7;
}

.single-price {
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--navy);
}

.single-notes {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 2;
}

/* ==========================================
   Contact Form Page
   ========================================== */

.contact-page-section {
    padding: 100px 80px 100px 150px;
    background: var(--white);
}

.contact-page-single {
    max-width: 800px;
    margin: 0 auto;
}

.contact-page-lead {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 48px;
}


/* CF7 Form Styles */
.wpcf7-form,
.cf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.form-required {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    padding: 1px 8px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d8d4cd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--navy);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--gold);
}

.form-group textarea,
.wpcf7-form textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.8;
}

.form-privacy {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.form-privacy a {
    color: var(--gold);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 8px;
}

.btn-form-submit,
.wpcf7-submit {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 18px 64px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
}

.btn-form-submit:hover,
.wpcf7-submit:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(44, 62, 80, 0.3);
}

@media (max-width: 1200px) {
    .contact-page-section {
        padding-left: 108px;
        padding-right: 60px;
    }
}


@media (max-width: 768px) {
    .contact-page-section {
        padding: 60px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Hamburger Menu
   ========================================== */

.hamburger {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1100;
    background: var(--navy);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1200px) {

    .hero,
    .about,
    .problem,
    .solution,
    .service,
    .concept,
    .works,
    .price-section,
    .contact,
    .footer {
        padding-left: 108px;
        padding-right: 60px;
    }

    .works-page-hero {
        padding-left: 108px;
    }

    .works-page-section {
        padding-left: 108px;
        padding-right: 60px;
    }
}

@media (max-width: 1024px) {

    .about-grid,
    .concept-grid {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .works-grid,
    .works-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-cards,
    .support-cards {
        grid-template-columns: 1fr;
    }

    .single-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-circles {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .logo img {
        width: 80px;
        margin: 0 auto;
        display: block;
    }

    .logo {
        padding: 16px;
        background: var(--navy);
        text-align: center;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-menu {
        padding: 0;
        align-items: stretch;
    }

    .nav-menu li {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        width: 100%;
        display: block;
    }

    .nav-menu li:last-child {
        margin-top: 0;
    }

    .nav-menu a {
        font-size: 15px;
        padding: 18px 28px;
        color: var(--navy);
        letter-spacing: 0.08em;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        display: block;
    }

    .nav-menu li:last-child a {
        padding: 20px 28px;
        border-bottom: none;
    }
   .hero {
        background-position: top center;
        background-image: url(img/SectionHERO_sp.png);
        padding: 70px 20px 20px 20px;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #f8f8f6;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .business-cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .service-grid,
    .works-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .solution-decoration.top-right {
        right: -10px;
        top: -40px;
    }

    .solution-decoration.bottom-left {
        left: 0;
        bottom: -40px;
    }


    .solution-circles {
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about,
    .problem,
    .solution,
    .service,
    .concept,
    .works,
    .price-section,
    .footer {
        padding: 60px 24px;
    }

    .price-cards,
    .support-cards {
        grid-template-columns: 1fr;
    }

    .single-menu-grid {
        grid-template-columns: 1fr;
    }

    .works-page-hero {
        padding-left: 0;
        min-height: 30vh;
    }

    .works-page-title {
        font-size: 26px;
        letter-spacing: 0.25em;
    }

    .works-page-section {
        padding: 60px 24px;
    }

    .works-page-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact {
        display: flex;
        flex-direction: column;
        padding: 60px 0 0 24px;
    }

    .contact-content {
        max-width: 100%;
        padding: 48px 0;
        order: 1;
    }

    .contact-decoration {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 240px;
        background-position: center;
        background-size: cover;
        order: 2;
    }

    .btn-contact {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}