/* ============================================================
   THE BASIL KITCHEN — Global Stylesheet
   Classic catering, modern design
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
    --basil:        #6B8E3D;
    --basil-dark:   #4A6B26;
    --forest:       #2D4A1F;
    --cream:        #FAF7F0;
    --cream-soft:   #F4EFE3;
    --charcoal:     #1F2937;
    --ink:          #111418;
    --gold:         #C9A961;
    --gold-soft:    #E5D4A1;
    --muted:        #6B7280;
    --line:         #E5E0D2;
    --white:        #FFFFFF;

    --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --sans:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --section-y: clamp(64px, 9vw, 120px);

    --radius: 4px;
    --radius-lg: 12px;
    --shadow-sm: 0 4px 14px rgba(31, 41, 55, 0.06);
    --shadow-md: 0 12px 32px rgba(31, 41, 55, 0.10);
    --shadow-lg: 0 24px 60px rgba(31, 41, 55, 0.15);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--basil); }

button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; }

p { color: var(--charcoal); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark p { color: var(--cream); }
.section--cream { background: var(--cream-soft); }
.section--green { background: var(--forest); color: var(--cream); }
.section--green h1, .section--green h2, .section--green h3, .section--green p { color: var(--cream); }

.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--basil);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 36px;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 24px; height: 1px;
    background: var(--basil);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

.divider-leaf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px 0 28px;
    color: var(--basil);
}
.divider-leaf::before, .divider-leaf::after {
    content: "";
    width: 50px; height: 1px;
    background: currentColor;
    opacity: .5;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all .35s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
}
.btn--primary { background: var(--basil); color: var(--white); }
.btn--primary:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.btn--light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }

.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 18px 0;
    transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.nav.scrolled { background: rgba(250, 247, 240, 0.97); box-shadow: var(--shadow-sm); padding: 10px 0; backdrop-filter: blur(10px); }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
    height: 70px;
    width: auto;
    transition: height .35s var(--ease), filter .35s var(--ease);
}
.nav.scrolled .nav__logo { height: 56px; }
/* Make the logo readable when nav sits over the dark hero overlay */
.nav.over-hero:not(.scrolled) .nav__logo {
    filter: brightness(1.45) contrast(0.95) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.4));
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav__link {
    position: relative;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.nav.over-hero .nav__link { color: var(--cream); }
.nav.over-hero.scrolled .nav__link { color: var(--ink); }

.nav__link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0; height: 1.5px;
    background: var(--basil);
    transform: translateX(-50%);
    transition: width .3s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { width: calc(100% - 32px); }
.nav__link:hover { color: var(--basil); }
.nav__link.active { color: var(--basil); }

.nav__cta { margin-left: 8px; }

/* Dropdown submenu */
.nav__has-sub { position: relative; }
.nav__caret {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.7em;
    transition: transform .25s var(--ease);
}
.nav__has-sub:hover .nav__caret { transform: rotate(180deg); }

.nav__sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--cream);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s var(--ease);
    border: 1px solid var(--line);
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav__sub li { display: block; }
.nav__sub a {
    display: block;
    padding: 10px 22px;
    font-size: 0.85rem;
    color: var(--ink) !important;
    letter-spacing: 0.06em;
    text-transform: none;
    font-weight: 400;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__sub a:hover { background: var(--cream-soft); color: var(--basil) !important; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 110;
}
.nav__toggle span {
    width: 28px; height: 2px;
    background: var(--ink);
    transition: all .35s var(--ease);
}
.nav.over-hero .nav__toggle span { background: var(--cream); }
.nav.over-hero.scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--ink); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--cream);
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.7) 100%);
}
.hero__inner {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    width: 100%;
    text-align: center;
}
.hero__inner.left { text-align: left; max-width: 780px; }

.hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 24px;
}
.hero h1 { color: var(--cream); font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.hero__lede {
    max-width: 640px;
    margin: 24px auto 36px;
    font-size: 1.1rem;
    color: rgba(250, 247, 240, .9);
    line-height: 1.75;
}
.hero__inner.left .hero__lede { margin-left: 0; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__inner.left .hero__cta { justify-content: flex-start; }

.hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: .8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hero__scroll::after {
    content: "";
    width: 1px; height: 40px;
    background: var(--cream);
    animation: scroll-line 2s var(--ease) infinite;
}
@keyframes scroll-line {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

/* Compact hero for inner pages */
.hero--inner { min-height: 64vh; }
.hero--inner .hero__inner { padding: 140px 0 60px; }

/* ---------- Intro / Story Blocks ---------- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.intro-grid__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    position: relative;
}
.intro-grid__img img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid__img.frame { position: relative; }
.intro-grid__img.frame::before {
    content: "";
    position: absolute;
    inset: -16px -16px auto auto;
    width: 70%; height: 70%;
    border: 1px solid var(--basil);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.intro-grid__text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1rem; }
.intro-grid__text p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 3.6rem;
    float: left;
    line-height: 0.9;
    padding-right: 12px;
    padding-top: 6px;
    color: var(--basil);
}

/* ---------- Stats strip ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 56px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat__num {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--basil);
    font-weight: 500;
    line-height: 1;
}
.stat__label {
    margin-top: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}
.service-card__img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s var(--ease);
}
.service-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%);
}
.service-card:hover .service-card__img { transform: scale(1.06); }

.service-card__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 28px;
    z-index: 2;
    color: var(--cream);
}
.service-card__body h3 { color: var(--cream); margin-bottom: 10px; font-weight: 500; }
.service-card__body p {
    color: rgba(250, 247, 240, .8);
    font-size: 0.92rem;
    margin-bottom: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease);
}
.service-card:hover .service-card__body p { max-height: 100px; }
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-soft);
}
.service-card__link .arrow { transition: transform .3s var(--ease); }
.service-card:hover .service-card__link .arrow { transform: translateX(6px); }

/* ---------- Feature blocks for service detail pages ---------- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-bottom: 100px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-block__img {
    aspect-ratio: 5/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.feature-block__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-block__img:hover img { transform: scale(1.04); }

.feature-block__text h2 { margin-bottom: 1.2rem; }
.feature-block__text p { color: var(--muted); margin-bottom: 1rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
    columns: 3;
    column-gap: 16px;
}
.gallery-grid__item {
    margin-bottom: 16px;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.gallery-grid__item img {
    width: 100%;
    transition: transform .8s var(--ease);
    display: block;
}
.gallery-grid__item:hover img { transform: scale(1.06); }
.gallery-grid__item::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(31, 41, 55, 0);
    transition: background .3s var(--ease);
}
.gallery-grid__item:hover::after { background: rgba(31, 41, 55, .25); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(10, 12, 16, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.lightbox__close, .lightbox__prev, .lightbox__next {
    position: absolute;
    color: var(--cream);
    background: rgba(255,255,255,.08);
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(255,255,255,.2);
    transition: background .25s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.testimonial {
    background: var(--white);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--line);
}
.testimonial::before {
    content: "“";
    position: absolute;
    top: -24px; left: 24px;
    font-family: var(--serif);
    font-size: 6rem;
    color: var(--basil);
    line-height: 1;
}
.testimonial__quote {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 24px;
}
.testimonial__by {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.testimonial__name {
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.05em;
}
.testimonial__date {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

/* ---------- Clients Strip ---------- */
.clients-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    align-items: center;
}
.clients-strip__logo {
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    filter: grayscale(0.4);
    transition: filter .3s var(--ease), transform .3s var(--ease);
}
.clients-strip__logo img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.clients-strip__logo:hover { filter: grayscale(0); transform: translateY(-3px); }

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    position: relative;
    padding: clamp(72px, 10vw, 130px) 0;
    background-image: linear-gradient(rgba(10,12,16,.7), rgba(10,12,16,.8)), url('../assets/gallery/15.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--cream);
}
.cta-banner h2 { color: var(--cream); margin-bottom: 18px; font-weight: 400; }
.cta-banner h2 em { color: var(--gold-soft); font-style: italic; }
.cta-banner p { color: rgba(250,247,240,.85); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__item { display: flex; gap: 18px; }
.contact-info__icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--basil);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact-info__title {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--basil);
    margin-bottom: 4px;
}
.contact-info__value { color: var(--charcoal); }
.contact-info__value a:hover { color: var(--basil); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form input, .form textarea, .form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color .25s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none;
    border-color: var(--basil);
}
.form textarea { min-height: 140px; resize: vertical; }

.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: var(--cream);
    padding-top: 80px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer__brand .nav__logo {
    filter: brightness(1.45) contrast(0.95) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.3));
    height: 82px;
    margin-bottom: 20px;
}
.footer__brand p { color: rgba(250,247,240,.7); font-size: 0.95rem; max-width: 320px; }
.footer__col h4 {
    color: var(--cream);
    margin-bottom: 22px;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 600;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(250,247,240,.7); font-size: 0.95rem; }
.footer__col a:hover { color: var(--basil); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(250,247,240,.5);
}

.social { display: flex; gap: 12px; }
.social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--ease);
}
.social a:hover { background: var(--basil); color: var(--white); }

/* ---------- Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .clients-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        inset: 0 0 0 auto;
        width: 80%;
        max-width: 360px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 32px 32px;
        background: var(--cream);
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform .45s var(--ease);
        gap: 8px;
    }
    .nav__menu.open { transform: translateX(0); }
    .nav__menu .nav__link { color: var(--ink) !important; font-size: 1rem; padding: 14px 0; width: 100%; }
    .nav__menu .nav__link::after { left: 0; transform: none; }
    .nav__menu .nav__link:hover::after, .nav__menu .nav__link.active::after { width: 40px; }
    .nav__toggle { display: flex; }
    .nav__cta { margin: 16px 0 0; width: 100%; }

    /* mobile submenu */
    .nav__has-sub { width: 100%; }
    .nav__sub {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 0 0 16px;
        min-width: 0;
        margin-bottom: 10px;
    }
    .nav__sub a { padding: 8px 0; font-size: 0.85rem; }

    .intro-grid, .feature-block, .contact-grid { grid-template-columns: 1fr; }
    .feature-block.reverse { direction: ltr; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .form-row { grid-template-columns: 1fr; }
    .clients-strip { grid-template-columns: repeat(3, 1fr); }
    .clients-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .hero { min-height: 88vh; }
    .cta-banner { background-attachment: scroll; }
}

@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
    .stats { grid-template-columns: 1fr 1fr; }
    .clients-strip { grid-template-columns: repeat(2, 1fr); }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
}
