/* ============================================
   GRACIOUS CONTOURS — Master Stylesheet
   Luxury Lymphatic Drainage & Beauty Clinic
   ============================================ */

/* -- DESIGN TOKENS -------------------------- */
:root {
    /* Colour palette — refined editorial */
    --ivory:        #F7F3EC;
    --cream:        #EDE6D8;
    --bone:         #FBF8F2;
    --gold:         #B8945A;
    --gold-deep:    #8C6E3F;
    --gold-soft:    #D4B985;
    --charcoal:     #1F1D1A;
    --graphite:     #3A3733;
    --stone:        #6B6660;
    --mist:         #C8C2B8;
    --line:         rgba(31, 29, 26, 0.08);
    --line-strong:  rgba(31, 29, 26, 0.18);

    /* Typography */
    --serif:        'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --sans:         'Outfit', 'Inter', -apple-system, sans-serif;
    --mono:         'JetBrains Mono', 'Courier New', monospace;

    /* Scale */
    --max:          1440px;
    --gutter:       clamp(1.5rem, 4vw, 4rem);

    /* Motion */
    --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* -- RESET ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--bone);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* -- TYPOGRAPHY ----------------------------- */
.display, h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 6.5vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.5rem); }

.eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}
.eyebrow::before {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.no-line::before { display: none; }

.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--graphite); max-width: 52ch; line-height: 1.7; }

em.italic, .italic { font-style: italic; font-family: var(--serif); font-weight: 300; }

/* -- LAYOUT --------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 10vw, 9rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* -- BUTTONS -------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.25rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: all 0.5s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-primary { background: var(--charcoal); color: var(--ivory); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--ivory); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--charcoal);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--charcoal);
    transition: all 0.4s var(--ease);
}
.btn-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); gap: 1.25rem; }
.btn-link .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.btn-link:hover .arr { transform: translateX(4px); }

/* -- NAVIGATION ----------------------------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem var(--gutter);
    background: rgba(251, 248, 242, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: all 0.4s var(--ease);
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}
.nav-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--charcoal);
    line-height: 1;
}
.nav-logo small {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.55rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.4rem;
    font-weight: 400;
}
.nav-menu { display: flex; gap: 2.5rem; justify-content: center; }
.nav-menu a {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--graphite);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s var(--ease);
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.4s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--charcoal); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-actions { display: flex; gap: 1rem; justify-content: flex-end; align-items: center; }
.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 920px) {
    .nav-menu { display: none; }
    .nav-actions .btn { display: none; }
    .nav-toggle {
        display: flex; flex-direction: column; gap: 5px;
        width: 28px; padding: 6px 0; cursor: pointer;
        justify-self: end;
    }
    .nav-toggle span {
        display: block; width: 100%; height: 1px;
        background: var(--charcoal);
        transition: all 0.4s var(--ease);
    }
    .nav-inner { grid-template-columns: 1fr auto; }
    .nav-inner .nav-toggle { grid-column: 2; }

    .mobile-menu {
        position: fixed; inset: 0; background: var(--bone);
        z-index: 99; display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        gap: 2rem; padding: 6rem 2rem 2rem;
        opacity: 0; pointer-events: none;
        transition: opacity 0.4s var(--ease);
    }
    .mobile-menu.open { opacity: 1; pointer-events: auto; }
    .mobile-menu a {
        font-family: var(--serif); font-size: 1.75rem;
        color: var(--charcoal); letter-spacing: 0.02em;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* -- HERO ----------------------------------- */
.hero {
    min-height: 100vh;
    padding: 9rem var(--gutter) 4rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(180deg, var(--bone) 0%, var(--ivory) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(ellipse at top right, rgba(184, 148, 90, 0.08), transparent 60%);
    pointer-events: none;
}
.hero-text { max-width: 640px; position: relative; z-index: 2; }
.hero-text .eyebrow { margin-bottom: 2rem; }
.hero-text h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.98;
    margin-bottom: 2rem;
    letter-spacing: -0.015em;
}
.hero-text h1 .italic { color: var(--gold-deep); display: block; }
.hero-text .lede { margin-bottom: 3rem; font-size: 1.1rem; }
.hero-cta { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    max-height: 80vh;
    align-self: center;
}
.hero-visual .img-main {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #d8c8a8 0%, #b89c6a 100%);
    overflow: hidden;
}
.hero-visual .img-main::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(140, 110, 63, 0.4), transparent 50%);
}
.hero-visual .img-main svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    opacity: 0.9;
}
.hero-visual .img-stamp {
    position: absolute; bottom: -3rem; left: -3rem;
    width: 8rem; height: 8rem;
    border-radius: 50%;
    background: var(--bone);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 60px rgba(31, 29, 26, 0.1);
    z-index: 3;
}
.hero-visual .img-stamp svg { width: 100%; height: 100%; animation: rotate 30s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }

.hero-meta {
    position: absolute;
    bottom: 3rem;
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
    pointer-events: none;
}
.hero-meta .meta-item {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
}
.hero-meta .meta-item strong {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 0;
    color: var(--charcoal);
    text-transform: none;
    margin-top: 0.5rem;
}

@media (max-width: 920px) {
    .hero { grid-template-columns: 1fr; padding-top: 7rem; }
    .hero-visual { max-height: 60vh; aspect-ratio: 4/5; order: -1; }
    .hero-meta { display: none; }
}

/* -- MARQUEE -------------------------------- */
.marquee {
    overflow: hidden;
    background: var(--charcoal);
    color: var(--cream);
    padding: 1.25rem 0;
    border-top: 1px solid var(--gold-deep);
    border-bottom: 1px solid var(--gold-deep);
}
.marquee-track {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marq 40s linear infinite;
    width: max-content;
}
.marquee-track span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 4rem;
}
.marquee-track span::after {
    content: '✦'; color: var(--gold); font-style: normal;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* -- TREATMENTS GRID ------------------------ */
.treatments-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    margin-bottom: 5rem;
    align-items: end;
}
.treatments-intro h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-strong);
    border: 1px solid var(--line-strong);
}
.treatment-card {
    background: var(--bone);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: background 0.5s var(--ease);
    position: relative;
    cursor: pointer;
    min-height: 380px;
}
.treatment-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.6s var(--ease);
}
.treatment-card:hover { background: var(--ivory); }
.treatment-card:hover::before { width: 100%; }
.treatment-card .num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--gold-deep);
    letter-spacing: 0.05em;
}
.treatment-card h3 {
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 0.5rem;
}
.treatment-card p {
    color: var(--graphite);
    line-height: 1.7;
    flex: 1;
    font-size: 0.95rem;
}
.treatment-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
}
.treatment-meta .price {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--charcoal);
    letter-spacing: 0;
    text-transform: none;
}
@media (max-width: 720px) {
    .treatment-grid { grid-template-columns: 1fr; }
    .treatments-intro { grid-template-columns: 1fr; gap: 2rem; }
}

/* -- PROCESS / RITUAL ----------------------- */
.ritual-section {
    background: var(--charcoal);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}
.ritual-section .eyebrow { color: var(--gold-soft); }
.ritual-section .eyebrow::before { background: var(--gold-soft); }
.ritual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    counter-reset: ritual;
}
.ritual-step {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 2rem;
    counter-increment: ritual;
}
.ritual-step::before {
    content: counter(ritual, decimal-leading-zero);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-soft);
    display: block;
    margin-bottom: 1.5rem;
}
.ritual-step h4 {
    color: var(--ivory);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.ritual-step p {
    color: var(--mist);
    font-size: 0.92rem;
    line-height: 1.7;
}
@media (max-width: 720px) { .ritual-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* -- SPLIT SECTION (About / Practitioner) --- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
}
.split-image {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--cream), var(--mist));
    position: relative;
    overflow: hidden;
}
.split-image svg { width: 100%; height: 100%; }
.split-content {
    padding: clamp(3rem, 8vw, 7rem) clamp(2rem, 5vw, 5rem);
    background: var(--ivory);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-content .quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    line-height: 1.4;
    color: var(--charcoal);
    border-left: 1px solid var(--gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
}
.signature {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--gold-deep);
    margin-top: 2rem;
}
.signature small {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
    margin-top: 0.5rem;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

/* -- GALLERY -------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}
.gallery-card {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    background: var(--cream);
    cursor: pointer;
}
.gallery-card svg { width: 100%; height: 100%; transition: transform 0.8s var(--ease); }
.gallery-card:hover svg { transform: scale(1.04); }
.gallery-card .gallery-label {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    color: var(--ivory);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    z-index: 2;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.gallery-card .gallery-label strong {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 0;
    text-transform: none;
    margin-top: 0.3rem;
}
.gallery-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(31,29,26,0.6) 100%);
    z-index: 1;
}
@media (max-width: 720px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* -- TESTIMONIALS --------------------------- */
.testimonial-section { background: var(--ivory); }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 4rem;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}
.testimonial {
    padding: 3.5rem 2.5rem;
    border-right: 1px solid var(--line-strong);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.testimonial:last-child { border-right: none; }
.testimonial .stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.3em; }
.testimonial blockquote {
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--charcoal);
    flex: 1;
}
.testimonial cite {
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
}
.testimonial cite strong {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--charcoal);
    margin-bottom: 0.3rem;
}
@media (max-width: 920px) {
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial { border-right: none; border-bottom: 1px solid var(--line-strong); }
    .testimonial:last-child { border-bottom: none; }
}

/* -- BOOKING CTA BANNER --------------------- */
.booking-banner {
    background: var(--charcoal);
    color: var(--ivory);
    padding: clamp(4rem, 8vw, 7rem) var(--gutter);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.booking-banner::before, .booking-banner::after {
    content: '';
    position: absolute;
    width: 30vw; height: 30vw;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}
.booking-banner::before { background: var(--gold); top: -10vw; left: -10vw; }
.booking-banner::after { background: var(--gold-deep); bottom: -10vw; right: -10vw; }
.booking-banner .wrap { position: relative; z-index: 2; }
.booking-banner h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--ivory);
    margin: 1.5rem 0 1.5rem;
}
.booking-banner h2 .italic { color: var(--gold-soft); }
.booking-banner p {
    color: var(--mist);
    max-width: 50ch;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}
.booking-banner .btn-primary {
    background: var(--gold);
    color: var(--charcoal);
    border-color: var(--gold);
}
.booking-banner .btn-primary:hover { background: var(--ivory); }

/* -- FOOTER --------------------------------- */
.footer {
    background: var(--bone);
    padding: 5rem var(--gutter) 2rem;
    border-top: 1px solid var(--line);
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}
.footer-brand h3 {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 1rem;
}
.footer-brand h3 small {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.6rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.4rem;
    font-weight: 400;
}
.footer-brand p { font-size: 0.9rem; color: var(--graphite); margin-top: 1rem; max-width: 30ch; }
.footer-col h5 {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.92rem; color: var(--graphite); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-deep); }
.footer-bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--stone);
    letter-spacing: 0.04em;
}
.footer-bottom a:hover { color: var(--charcoal); }
@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* -- PAGE HEADER (interior pages) ----------- */
.page-header {
    padding: 10rem var(--gutter) 5rem;
    background: linear-gradient(180deg, var(--bone), var(--ivory));
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.page-header .eyebrow { margin-bottom: 1.5rem; justify-content: center; }
.page-header h1 { font-size: clamp(3rem, 7vw, 5.5rem); max-width: 18ch; margin: 0 auto 1.5rem; }
.page-header p { max-width: 55ch; margin: 0 auto; color: var(--graphite); }
.page-header .breadcrumb {
    display: flex; gap: 0.5rem; justify-content: center;
    font-size: 0.7rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--stone);
    margin-top: 2rem;
}
.page-header .breadcrumb a { color: var(--gold-deep); }

/* -- FORMS ---------------------------------- */
.form-section { background: var(--bone); padding: clamp(3rem, 6vw, 5rem) 0; }
.form-shell {
    max-width: 880px;
    margin: 0 auto;
    background: var(--ivory);
    padding: clamp(2.5rem, 5vw, 4rem);
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -40px rgba(31, 29, 26, 0.15);
}
.form-step-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
    flex-wrap: wrap;
}
.form-step-indicator .step {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s var(--ease);
}
.form-step-indicator .step.active { color: var(--charcoal); border-bottom-color: var(--gold); }
.form-step-indicator .step.done { color: var(--gold-deep); }
.form-step-indicator .step .dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    font-family: var(--serif);
}
.form-step-indicator .step.active .dot { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.form-step-indicator .step.done .dot { background: var(--gold); color: var(--ivory); border-color: var(--gold); }
.form-step-indicator .divider { flex: 1; height: 1px; background: var(--line-strong); min-width: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--graphite);
    font-weight: 400;
}
.form-group label .req { color: var(--gold-deep); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.95rem 1rem;
    background: var(--bone);
    border: 1px solid var(--line-strong);
    font-size: 0.95rem;
    font-family: var(--sans);
    color: var(--charcoal);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); background: var(--ivory); }
.form-group textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }

.form-section-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--charcoal);
}
.form-section-title:first-child { margin-top: 0; }
.form-section-title small {
    display: block;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.medical-question {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
}
.medical-question:last-of-type { border-bottom: none; }
.medical-question p {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.5;
}
.medical-question p small {
    display: block;
    color: var(--stone);
    font-size: 0.82rem;
    margin-top: 0.3rem;
    line-height: 1.4;
}
.radio-group { display: flex; gap: 0.5rem; }
.radio-group label {
    padding: 0.55rem 1.25rem;
    background: var(--bone);
    border: 1px solid var(--line-strong);
    cursor: pointer;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
    user-select: none;
}
.radio-group input { display: none; }
.radio-group label:hover { border-color: var(--gold); }
.radio-group input:checked + label,
.radio-group label.selected { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.radio-group input:checked + label.is-yes,
.radio-group label.is-yes.selected { background: var(--gold-deep); border-color: var(--gold-deep); }

.consent-block {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--cream);
    border-left: 2px solid var(--gold);
}
.consent-block p { font-size: 0.92rem; color: var(--graphite); line-height: 1.7; margin-bottom: 1rem; }
.consent-checkbox {
    display: flex; gap: 0.85rem; align-items: flex-start;
    padding-top: 1rem; border-top: 1px solid var(--line);
    cursor: pointer;
}
.consent-checkbox input { margin-top: 0.3rem; accent-color: var(--gold-deep); width: 16px; height: 16px; }
.consent-checkbox span { font-size: 0.9rem; line-height: 1.5; color: var(--charcoal); }

.form-actions {
    display: flex; justify-content: space-between;
    gap: 1rem; margin-top: 3rem;
    padding-top: 2rem; border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .form-row { grid-template-columns: 1fr; }
    .medical-question { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* -- BOOKING FLOW --------------------------- */
.booking-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.booking-summary {
    background: var(--charcoal);
    color: var(--ivory);
    padding: 3rem 2.5rem;
    position: sticky;
    top: 6rem;
    height: fit-content;
}
.booking-summary h3 {
    color: var(--ivory);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 1.5rem;
}
.summary-row {
    display: flex; justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.92rem;
}
.summary-row .label { color: var(--mist); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
.summary-row .value { font-family: var(--serif); font-style: italic; color: var(--ivory); font-size: 1.05rem; text-align: right; }
.summary-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gold);
    display: flex; justify-content: space-between;
    align-items: baseline;
}
.summary-total .label {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-soft);
}
.summary-total .value {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--ivory);
}

.treatment-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.treatment-option {
    padding: 1.5rem;
    background: var(--bone);
    border: 1px solid var(--line-strong);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.treatment-option:hover { border-color: var(--gold); }
.treatment-option.selected { background: var(--ivory); border-color: var(--charcoal); border-width: 2px; padding: calc(1.5rem - 1px); }
.treatment-option h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.treatment-option .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.75rem; }
.treatment-option .duration { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); }
.treatment-option .price { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--charcoal); }

.calendar {
    background: var(--bone);
    border: 1px solid var(--line);
    padding: 1.5rem;
}
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.calendar-header h4 { font-size: 1.3rem; }
.calendar-nav button {
    width: 36px; height: 36px;
    border: 1px solid var(--line-strong);
    transition: all 0.3s var(--ease);
}
.calendar-nav button:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-grid .day-label {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
    text-align: center;
    padding: 0.6rem 0;
}
.calendar-grid .day {
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    border: 1px solid transparent;
    color: var(--charcoal);
}
.calendar-grid .day:hover { background: var(--ivory); border-color: var(--line-strong); }
.calendar-grid .day.disabled { color: var(--mist); cursor: not-allowed; pointer-events: none; }
.calendar-grid .day.selected { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.calendar-grid .day.today { font-weight: 500; }
.calendar-grid .day.today::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.time-slot {
    padding: 0.85rem 0.5rem;
    background: var(--bone);
    border: 1px solid var(--line-strong);
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s var(--ease);
}
.time-slot:hover { border-color: var(--gold); }
.time-slot.selected { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.time-slot.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
.payment-option {
    padding: 1.5rem;
    background: var(--bone);
    border: 1px solid var(--line-strong);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.payment-option.selected { border-color: var(--charcoal); border-width: 2px; padding: calc(1.5rem - 1px); background: var(--ivory); }
.payment-option h5 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.5rem; font-style: italic; }
.payment-option p { font-size: 0.85rem; color: var(--graphite); }
.payment-option .amt { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); margin-top: 0.5rem; }

.stripe-mock {
    background: var(--bone);
    border: 1px solid var(--line-strong);
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.stripe-mock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
}
.stripe-mock .lock { color: var(--gold-deep); }

@media (max-width: 920px) {
    .booking-layout { grid-template-columns: 1fr; }
    .booking-summary { position: static; }
    .treatment-select, .payment-options { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(3, 1fr); }
}

/* -- LEGAL / TEXT PAGES --------------------- */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    font-size: 1rem;
    line-height: 1.85;
    color: var(--graphite);
}
.legal-content h2 {
    margin: 4rem 0 1.5rem;
    font-size: 2rem;
    color: var(--charcoal);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    margin: 2.5rem 0 1rem;
    font-size: 1.35rem;
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-deep);
}
.legal-content p { margin-bottom: 1.25rem; }
.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--graphite);
}
.legal-content ul li { margin-bottom: 0.5rem; }
.legal-content strong { color: var(--charcoal); font-weight: 500; }
.legal-meta {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 3rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
}

/* -- CONTACT -------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info p { color: var(--graphite); margin-bottom: 2rem; }
.contact-detail {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail h5 {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
    font-weight: 400;
}
.contact-detail p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--charcoal);
    margin: 0;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* -- ANIMATIONS ----------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Toast for booking confirmation */
.toast {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: var(--charcoal);
    color: var(--ivory);
    padding: 1.25rem 2rem;
    z-index: 200;
    max-width: 360px;
    border-left: 2px solid var(--gold);
    transform: translateX(120%);
    transition: transform 0.6s var(--ease);
}
.toast.show { transform: none; }
.toast h5 {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.toast p { font-size: 0.85rem; color: var(--mist); }

/* -- UTILITIES ------------------------------ */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }
.gold { color: var(--gold-deep); }

/* ============================================================
 * Results page (before/after grid)
 * ============================================================ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.before-after {
    background: var(--bone);
    overflow: hidden;
}
.before-after-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--charcoal);
    aspect-ratio: 16/9;
}
.before-after-imgs > div { position: relative; overflow: hidden; }
.before-after-imgs > div svg,
.before-after-imgs > div img { width: 100%; height: 100%; display: block; object-fit: cover; }
.before-after-imgs .ba-label {
    position: absolute; top: 1rem; left: 1rem;
    background: rgba(31, 29, 26, 0.85); color: var(--ivory);
    font-size: 0.65rem; letter-spacing: 0.32em;
    text-transform: uppercase; padding: 0.5rem 0.85rem;
}
.before-after-info { padding: 1.75rem 2rem; }
.before-after-info h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.before-after-info .meta {
    font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold-deep); margin-bottom: 1rem;
}
.before-after-info p { color: var(--graphite); font-size: 0.95rem; }
@media (max-width: 720px) { .results-grid { grid-template-columns: 1fr; } }

/* Confirmation page */
.confirmation-hero {
    text-align: center;
    padding: 8rem var(--gutter) 4rem;
    background: var(--bone);
}
.confirmation-seal {
    width: 110px; height: 110px;
    margin: 0 auto 2.5rem;
    display: block;
}
.confirmation-summary {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    padding: 2.5rem 3rem;
    text-align: left;
}
.confirmation-summary h3 {
    font-size: 0.7rem; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--gold-deep);
    margin-bottom: 1.5rem;
}
.confirmation-summary dl { display: grid; grid-template-columns: 140px 1fr; gap: 0.85rem 1.5rem; }
.confirmation-summary dt { color: var(--stone); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.confirmation-summary dd { margin: 0; color: var(--charcoal); font-family: var(--serif); font-size: 1.1rem; }
.next-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 5rem auto;
    max-width: 1100px;
}
.next-step {
    padding: 2rem; background: var(--cream);
    border-top: 2px solid var(--gold-deep);
}
@media (max-width: 720px) { .next-steps { grid-template-columns: 1fr; } }


/* ============================================
   GLOBAL MOBILE OVERFLOW SAFETY
   ============================================
   Locks the viewport so no element can cause horizontal scroll
   on mobile. Applied to html/body so it works on every page
   (homepage, treatments, clinic, results, contact, etc.).
   The marquee uses width: max-content intentionally; we don't
   apply a universal * { max-width: 100% } rule because that
   would break its animation. */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Make all media responsive — no image, video, or embed can be wider
   than its container. */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Specific overflow fix: the rotating brand badge has left: -3rem
   in its base position, which spills it off-screen on mobile.
   Reposition to inside the viewport on small displays. */
@media (max-width: 920px) {
    .hero-visual .img-stamp {
        width: 5.5rem;
        height: 5.5rem;
        bottom: -1rem;
        left: auto;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-visual .img-stamp {
        width: 4.5rem;
        height: 4.5rem;
        bottom: -0.5rem;
        right: 0.5rem;
    }
}

/* ============================================
   MOBILE FIXES: BOOKING PAGE
   ============================================
   The booking layout already collapses to 1 column at 920px, but
   on actual phone widths the calendar, time slots, summary card
   and form fields are still cramped. Tighten paddings and step
   the grids down so everything stays comfortably visible. */
@media (max-width: 600px) {
    .booking-layout {
        gap: 2rem;
        padding: 0 1.25rem;
    }
    .booking-summary {
        padding: 2rem 1.5rem;
    }
    .booking-summary h3 { font-size: 1.25rem; margin-bottom: 1.5rem; padding-bottom: 1rem; }
    .summary-row { font-size: 0.85rem; padding: 0.7rem 0; }
    .summary-row .label { font-size: 0.7rem; }
    .summary-row .value { font-size: 0.95rem; }
    .summary-total .value { font-size: 1.6rem; }

    .form-step-indicator {
        gap: 0.5rem;
        font-size: 0.6rem;
        letter-spacing: 0.18em;
        margin-bottom: 2rem;
    }
    .form-step-indicator .divider { display: none; }

    .form-section-title {
        font-size: 1.25rem;
        margin: 2rem 0 1.25rem;
    }

    .treatment-option { padding: 1.25rem; }
    .treatment-option h4 { font-size: 1.05rem; }
    .treatment-option .price { font-size: 1.1rem; }

    .calendar { padding: 1rem; }
    .calendar-header h4 { font-size: 1.05rem; }
    .calendar-nav button { width: 32px; height: 32px; }
    .calendar-grid { gap: 2px; }
    .calendar-grid .day-label {
        font-size: 0.55rem;
        letter-spacing: 0.1em;
        padding: 0.4rem 0;
    }
    .calendar-grid .day { font-size: 0.85rem; }

    .time-slots { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* ============================================
   MOBILE FIXES: FOOTER (ALL PAGES)
   ============================================
   Existing rule at 720px goes 4 → 2 columns. On phones (<600px)
   2 columns squashes the link lists and clips text. Stack to a
   single column with comfortable spacing. */
@media (max-width: 600px) {
    .footer {
        padding: 3.5rem 1.25rem 1.5rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .footer-brand { grid-column: auto; }
    .footer-brand h3 { font-size: 1.6rem; }
    .footer-brand p { max-width: none; font-size: 0.88rem; }
    .footer-col h5 { margin-bottom: 1rem; }
    .footer-col ul { gap: 0.6rem; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.72rem;
        text-align: left;
    }
}

/* ============================================
   MOBILE FIXES: BOOKING PAGE — RIGHT-EDGE OVERFLOW
   ============================================
   Specific fixes for elements that push past the viewport on
   phones. Scoped to ≤600px so desktop is untouched. */
@media (max-width: 600px) {
    /* Form shell — reduce inner padding so buttons/inputs have more room */
    .form-shell {
        padding: 1.5rem 1.25rem;
    }

    /* Buttons must be allowed to wrap text on small screens. The default
       white-space: nowrap forces "Continue to Consultation →" past the
       viewport edge. */
    .form-actions .btn,
    .form-actions .btn-link {
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
    .form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .form-actions .btn { width: 100%; padding: 0.95rem 1rem; font-size: 0.72rem; letter-spacing: 0.16em; }
    .form-actions .btn-link { justify-content: center; padding: 0.5rem; }

    /* Stripe mock row — allow the two labels to stack instead of overflowing */
    .stripe-mock-row {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .stripe-mock { padding: 1.25rem; }

    /* Form inputs — force full width and prevent intrinsic min-width
       behaviour pushing them past the container */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .form-group { min-width: 0; }

    /* Summary rows — let long values wrap rather than overflow */
    .summary-row { flex-wrap: wrap; gap: 0.25rem 0.75rem; }
    .summary-row .value { text-align: left; word-break: break-word; }
    .summary-total { flex-wrap: wrap; gap: 0.5rem; }

    /* Inline deposit policy box — strip its harsh inline padding */
    .booking-layout > div > div[style*="padding: 2rem"] {
        padding: 1.25rem !important;
        margin-top: 1.5rem !important;
    }

    /* Page header padding (booking page lives under .page-header) */
    .page-header { padding: 8rem 1.25rem 3rem; }
}
