/* ==================================================================
   DR. RAF LAKIS — V2 "PARIS" EDITION
   Design study: drjeromeparis.ae (July 2026)
   ------------------------------------------------------------------
   What was borrowed from the reference (layout & design only):
   • League Spartan (display, weight 300–500, sentence case) +
     Poppins (body / UI) typography
   • Letterspaced uppercase eyebrows above every heading
   • Square (0-radius) thin-outlined buttons with long arrows
   • Top utility bar (email · phone) above a clean centered nav
   • Full-screen photographic hero with asymmetric overlay text
   • Alternating light ↔ deep contrast bands with huge whitespace
   • Floating card overlapping full-bleed imagery (zones)
   • 50/50 split sections, tall portraits, thin 1px rules, no shadows
   ------------------------------------------------------------------
   What was NOT touched, per the owner: the COLOR PALETTE (all tokens
   below are copied verbatim from v1), the text content, the media.
   The reference's white/navy rhythm is translated to this palette's
   cream/charcoal pair.
   ================================================================== */

:root {
    /* Primary Surfaces (UNCHANGED from v1) */
    --bg-primary: #2d2c30;
    --bg-secondary: #242327;
    --bg-elevated: #353438;
    --bg-subtle: #3a393e;

    /* Brand Accents (UNCHANGED — ice blue from the RL logo + sand) */
    --accent-mint: #b0d3d8;
    --accent-mint-hover: #96b3b8;
    --accent-mint-glow: rgba(176, 211, 216, 0.12);
    --accent-mint-border: rgba(176, 211, 216, 0.18);
    --accent-sand: #c9956b;
    --accent-sand-soft: #b8845e;
    --accent-sand-glow: rgba(201, 149, 107, 0.12);

    /* Text (UNCHANGED) */
    --text-primary: #f0f0f5;
    --text-secondary: #a8abb2;
    --text-muted: #6f737b;
    --text-on-accent: #2d2c30;

    /* Surfaces (light sections, UNCHANGED) */
    --surface-cream: #F5F0E8;
    --surface-warm: #EDE8DD;

    /* Ink used on the light (cream) bands — same value as
       --text-on-accent, aliased for readability */
    --ink: #2d2c30;
    --ink-soft: rgba(45, 44, 48, 0.72);
    --ink-muted: rgba(45, 44, 48, 0.52);
    --ink-line: rgba(45, 44, 48, 0.16);

    /* Lines on dark */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Layout */
    --max-width: 1280px;
    --section-padding: 130px 0;

    /* Type */
    --font-display: 'League Spartan', 'Segoe UI', sans-serif;
    --font-body: 'Poppins', -apple-system, sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================================================================
   RESET & BASE
   ================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: clip;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

::selection {
    background: rgba(176, 211, 216, 0.3);
    color: var(--text-primary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
}

/* ==================================================================
   NAVIGATION — utility bar + clean centered nav (reference pattern)
   ================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s var(--ease-smooth), box-shadow 0.4s;
}

/* utility strip — thin, quiet, disappears once scrolled */
.nav-topbar {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(36, 35, 39, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: margin-top 0.4s var(--ease-smooth), opacity 0.3s;
}

.nav-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 24px;
}

.nav-topbar a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-topbar a:hover { color: var(--accent-mint); }

.nav-topbar-city {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--text-muted);
}

.navbar.scrolled .nav-topbar {
    margin-top: -39px;
    opacity: 0;
    pointer-events: none;
}

.navbar.scrolled {
    background: rgba(36, 35, 39, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
}

.navbar-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 40px; }

.navbar-logo img {
    height: 46px;
    width: auto;
    transition: height 0.3s var(--ease-smooth);
}

.navbar.scrolled .navbar-logo img { height: 38px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.25s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--accent-mint); }
.nav-links a:hover::after { transform: scaleX(1); }

/* CTA — reference-style square outline */
.nav-links a.nav-cta {
    border: 1px solid var(--border-light);
    padding: 13px 26px;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-links a.nav-cta::after { display: none; }

.nav-links a.nav-cta:hover {
    background: var(--accent-mint);
    border-color: var(--accent-mint);
    color: var(--text-on-accent);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 26px;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform 0.3s var(--ease-smooth), opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==================================================================
   HERO — full-viewport media, asymmetric editorial overlay
   ================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    /* hard clearance for the fixed navbar (topbar 38px + nav 86px):
       on short viewports the bottom-aligned content grows the hero
       downward instead of sliding up underneath the logo/nav */
    padding-top: 170px;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(36, 35, 39, 0.42) 0%, rgba(36, 35, 39, 0.05) 30%, rgba(36, 35, 39, 0.72) 88%),
        linear-gradient(100deg, rgba(36, 35, 39, 0.55) 0%, rgba(36, 35, 39, 0.08) 55%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 96px;
}

.hero-content { max-width: 780px; }

/* left-aligned, reference-style asymmetry (overrides v1 centering) */
.hero-content--centered { text-align: left; margin: 0; }

.hero-eyebrow {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--accent-mint);
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-eyebrow::before {
    content: '';
    width: 56px;
    height: 1px;
    background: var(--accent-mint);
}

.hero h1 {
    font-size: clamp(46px, 6vw, 86px);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.02;
    margin-bottom: 30px;
}

.hero h1 em {
    font-style: normal;
    font-weight: 500;
    color: var(--accent-mint);
}

.hero-subtitle {
    font-size: 16.5px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

/* -------- Buttons — square, thin outline, long arrow -------- */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 19px 40px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s, gap 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--accent-mint);
    color: var(--text-on-accent);
    border: 1px solid var(--accent-mint);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-mint);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent-mint);
    color: var(--accent-mint);
}

.btn-primary::after,
.btn-outline::after {
    content: '⟶';
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1;
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover::after,
.btn-outline:hover::after { transform: translateX(6px); }

/* -------- Hero stats — reference counter row -------- */
.hero-credentials {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border-light);
    max-width: 560px;
}

.credential {
    flex: 1;
    padding: 26px 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credential + .credential {
    padding-left: 28px;
    border-left: 1px solid var(--border-subtle);
}

.credential-value {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
    color: var(--text-primary);
}

.credential-label {
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ==================================================================
   SECTION SYSTEM — cream ↔ charcoal rhythm
   ================================================================== */
.section {
    padding: var(--section-padding);
    position: relative;
    background: var(--bg-primary);
}

.section--dark { background: var(--bg-secondary); }
.section--elevated { background: var(--bg-elevated); }

/* Light bands (reference: white sections) → palette cream */
#zones,
#about,
#results {
    background: var(--surface-cream);
    color: var(--ink);
}

.section-header { max-width: 720px; margin-bottom: 80px; }

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-sand);
    margin-bottom: 22px;
}

.section-title {
    font-size: clamp(34px, 4.3vw, 56px);
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 640px;
}

.section-header.centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* header colors on cream bands */
#zones .section-title,
#about .section-title,
#results .section-title { color: var(--ink); }

#zones .section-subtitle,
#about .section-subtitle,
#results .section-subtitle { color: var(--ink-soft); }

#zones ::selection,
#about ::selection,
#results ::selection { background: var(--accent-sand-glow); color: var(--ink); }

/* ==================================================================
   PHILOSOPHY — dark, huge airy statement
   ================================================================== */
.philosophy-lead {
    max-width: 760px;
    margin: 0 auto 90px;
    text-align: center;
}

.philosophy-lead p {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-primary);
}

.philosophy-lead em {
    font-style: normal;
    color: var(--accent-mint);
}

/* variable-weight scroll quote (GSAP SplitText — League Spartan
   is a variable font, wght axis 100–900, so the animation holds) */
#philosophy #quote {
    --quote-dim: #46444a;
    --quote-ink: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.16;
    text-align: center;
    color: var(--quote-dim);
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

#philosophy #quote > * {
    font-variation-settings: 'wght' var(--weight, 400);
}

#philosophy #quote .q-word {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (prefers-reduced-motion: reduce) {
    #philosophy #quote { color: var(--quote-ink); }
}

.philosophy-close {
    max-width: 680px;
    margin: 90px auto 0;
    text-align: center;
}

.philosophy-close p {
    font-size: 16.5px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-secondary);
}

.philosophy-close strong {
    font-weight: 400;
    color: var(--accent-mint);
}

/* ==================================================================
   ZONES — cream band, floating cards over the tall portrait
   (reference: overlapping card on full-bleed imagery)
   ================================================================== */
.zones-layout {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 90px;
    align-items: center;
}

.zones-cards {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.zone-card {
    padding: 38px 0;
    border-top: 1px solid var(--ink-line);
}

.zone-card:last-child { border-bottom: 1px solid var(--ink-line); }

.zone-card h3 {
    font-size: 27px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.zone-card p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ink-soft);
}

.zone-link,
.concern-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    margin-right: 26px;
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-sand);
    text-decoration: none;
    transition: color 0.25s, gap 0.25s var(--ease-out);
}

.zone-link::after,
.concern-link::after { content: '⟶'; font-size: 14px; }

.zone-link:hover,
.concern-link:hover { color: var(--ink); gap: 16px; }

.zones-image {
    position: relative;
    margin-left: -30px;
}

.zones-image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    /* reference treatment: muted, softly desaturated photography */
    filter: saturate(0.82) contrast(0.98);
}

/* ==================================================================
   CONCERNS — dark 50/50 split, image full-height (reference split)
   ================================================================== */
.concerns-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 100px;
    align-items: center;
}

.concerns-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    filter: saturate(0.85);
}

.concerns-anchor h3 {
    font-size: 30px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.concerns-anchor p {
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-secondary);
}

.concern-link { color: var(--accent-mint); }
.concern-link:hover { color: var(--text-primary); }

.concerns-chips { margin-top: 52px; }

.chip-label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.concerns-chips ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.concerns-chips ul li {
    font-size: 12.5px;
    font-weight: 300;
    letter-spacing: 0.04em;
    border: 1px solid var(--border-light);
    padding: 9px 20px;
    color: var(--text-secondary);
    transition: border-color 0.25s, color 0.25s;
}

.concerns-chips ul li:hover {
    border-color: var(--accent-mint);
    color: var(--accent-mint);
}

.concerns-chips ul li a { color: inherit; text-decoration: none; }

/* ==================================================================
   SAFETY — elevated charcoal, thin-ruled triptych
   ================================================================== */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-light);
}

.safety-tenet {
    padding: 48px 40px 8px 0;
}

.safety-tenet + .safety-tenet {
    padding-left: 40px;
    border-left: 1px solid var(--border-subtle);
}

.safety-tenet h3 {
    font-size: 30px;
    font-weight: 400;
    color: var(--accent-mint);
    margin-bottom: 16px;
}

.safety-tenet p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==================================================================
   ABOUT — cream band, tall portrait + editorial column
   (reference: team/portrait sections on white)
   ================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 90px;
    align-items: start;
}

.about-photo {
    position: relative;
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.9);
}

.about-content p {
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.95;
    color: var(--ink-soft);
    margin-bottom: 26px;
}

.about-quote {
    border-left: 1px solid var(--accent-sand);
    padding: 8px 0 8px 34px;
    margin: 40px 0;
}

.about-quote p {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 300;
    line-height: 1.45;
    color: var(--ink);
    margin-bottom: 14px;
}

.about-quote cite {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-sand);
}

.about-credentials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 90px;
}

.about-credential {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--surface-warm);
    padding: 28px;
}

.about-credential-icon img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(0.85);
}

.about-credential-text { display: flex; flex-direction: column; gap: 4px; }

.about-credential-text strong {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
}

.about-credential-text span {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
}

/* ==================================================================
   TREATMENTS — charcoal, minimal bordered tiles (reference services)
   ================================================================== */
#treatments { background: var(--bg-secondary); }

.treatment-category { margin-bottom: 90px; }
.treatment-category:last-child { margin-bottom: 0; }

.treatment-category-label {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-sand);
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.treatment-category-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.treatment-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 600px) {
    .treatment-category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .treatment-category-grid { grid-template-columns: repeat(4, 1fr); }
}

/* flex mirror so partial rows centre (kept behaviour from v1) */
.treatment-category-grid.treatment-category-grid--center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.treatment-category-grid--center > .treatment-card { flex: 0 0 100%; }

@media (min-width: 600px) {
    .treatment-category-grid--center > .treatment-card { flex: 0 0 50%; }
}

@media (min-width: 1200px) {
    .treatment-category-grid--center > .treatment-card { flex: 0 0 25%; }
}

.treatment-category-grid.treatment-category-grid--single {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

a.treatment-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.treatment-card {
    border: 1px solid var(--border-subtle);
    margin: -0.5px;                /* collapse shared borders into a grid of thin rules */
    background: transparent;
    transition: background 0.3s, border-color 0.3s;
}

.treatment-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-light);
    position: relative;
    z-index: 1;
}

.treatment-card-body {
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-card-body h3 {
    font-size: 21px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}

.treatment-card-body p {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
}

.treatment-card-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-mint);
    transition: gap 0.25s var(--ease-out), color 0.25s;
}

a.treatment-card:hover .treatment-card-more {
    gap: 16px;
    color: var(--text-primary);
}

/* ==================================================================
   BEFORE & AFTER — cream band, framed sliders
   ================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.gallery-item { background: transparent; }

.gallery-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 12;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
}

.gallery-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slider .gallery-after {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0s;
}

.gallery-slider .gallery-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--surface-cream);
}

.gallery-slider .gallery-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--surface-cream);
    background: rgba(45, 44, 48, 0.35);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.gallery-slider .gallery-handle::before {
    content: '⟷';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--surface-cream);
    font-size: 15px;
}

.gallery-label-before,
.gallery-label-after {
    position: absolute;
    bottom: 14px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--surface-cream);
    background: rgba(45, 44, 48, 0.45);
    padding: 5px 12px;
}

.gallery-label-before { left: 14px; }
.gallery-label-after { right: 14px; }

.gallery-item-info { padding: 26px 0 0; }

.gallery-item-info h3 {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
}

.gallery-item-info span {
    display: block;
    font-size: 13px;
    font-weight: 300;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}

.gallery-item-info span a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--ink-line);
    transition: color 0.2s, border-color 0.2s;
}

.gallery-item-info span a:hover {
    color: var(--accent-sand);
    border-color: var(--accent-sand);
}

.gallery-item-notice {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 300;
    color: var(--ink-soft);
}

.gallery-closer {
    margin: 80px auto 0;
    max-width: 620px;
    text-align: center;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--ink-soft);
}

/* ==================================================================
   TESTIMONIALS — dark, tall-portrait cards (reference carousel)
   ================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card--ig {
    border: 1px solid var(--border-subtle);
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.testimonial-card--ig:hover { border-color: var(--border-light); }

.ig-thumb {
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
}

.ig-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88);
    transition: transform 0.6s var(--ease-out);
}

.testimonial-card--ig:hover .ig-thumb img { transform: scale(1.035); }

.testimonial-body {
    padding: 30px 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.testimonial-body blockquote {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-primary);
    flex: 1;
}

.testimonial-source {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.testimonial-source svg { width: 15px; height: 15px; color: var(--accent-mint); }

.testimonial-source .ig-handle { color: var(--text-secondary); }
.testimonial-source .dot { opacity: 0.5; }

/* ==================================================================
   CONTACT / CTA — deep band
   ================================================================== */
.cta-band {
    background: linear-gradient(150deg, var(--bg-secondary) 0%, #1a191d 100%);
    padding: 130px 0;
    position: relative;
    overflow: hidden;
}

#vanta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.cta-band .container { position: relative; z-index: 2; }

.cta-band .section-header { margin-bottom: 70px; }

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: stretch;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    border-top: 1px solid var(--border-subtle);
}

.contact-info-item:last-child { border-bottom: 1px solid var(--border-subtle); }

.contact-info-icon { color: var(--accent-mint); flex-shrink: 0; }
.contact-info-icon svg { width: 26px; height: 26px; }

.contact-info-text p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
}

.contact-info-text a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-text a:hover { color: var(--accent-mint); }

.contact-map { min-height: 420px; }

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 1px solid var(--border-subtle);
    filter: grayscale(0.9) contrast(0.95) brightness(0.9);
}

/* ==================================================================
   FOOTER — quiet columns, thin rules (reference footer, dark)
   ================================================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 96px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 80px;
}

.footer-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col a {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent-mint); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.agency-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.agency-credit:hover { color: var(--text-secondary); }
.agency-credit img { height: 16px; width: auto; }

/* ==================================================================
   TREATMENT DETAIL PAGES — reference interior: light article body,
   big centered display header
   ================================================================== */
.treatment-hero {
    padding: 210px 0 80px;
    background: var(--bg-secondary);
}

.treatment-hero .section-header { margin-bottom: 0; }

.treatment-hero .section-title {
    font-size: clamp(40px, 5.4vw, 72px);
}

/* article band → cream (reference interiors are light) */
.section--dark:has(> .container > .t-article) {
    background: var(--surface-cream);
    color: var(--ink);
}

.t-article {
    max-width: 820px;
    margin: 0 auto;
}

.t-article p.t-lead {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 300;
    line-height: 1.42;
    color: var(--ink);
    margin-bottom: 44px;
}

.t-article p {
    font-size: 15.5px;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.95;
    margin-bottom: 22px;
}

.t-article h2 {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin: 72px 0 22px;
    padding-top: 40px;
    border-top: 1px solid var(--ink-line);
}

.t-article h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 40px 0 12px;
}

.t-article ul {
    list-style: none;
    margin: 0 0 26px;
}

.t-article li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ink-soft);
}

.t-article li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-sand);
}

.t-article a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-sand);
    transition: color 0.2s, border-color 0.2s;
}

.t-article a:hover { color: var(--accent-sand); }

.t-cta .btn-primary { margin-top: 12px; }

/* ==================================================================
   REVEAL — soft rise (kept classes; driven by main.js)
   ================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.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; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1100px) {
    .container { padding: 0 32px; }

    .zones-layout,
    .concerns-layout,
    .about-grid { grid-template-columns: 1fr; gap: 56px; }

    .zones-image { margin-left: 0; }
    .zones-image img,
    .concerns-image img { height: 480px; }

    .about-photo { max-width: 440px; }
    .about-credentials { grid-template-columns: repeat(2, 1fr); }

    .testimonial-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }

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

@media (max-width: 1140px) {
    .nav-topbar { display: none; }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(36, 35, 39, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-smooth);
    }

    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 17px; }
    .nav-toggle { display: flex; position: relative; z-index: 1001; }
}

@media (max-width: 860px) {
    :root { --section-padding: 96px 0; }

    .hero .container { padding-bottom: 64px; }
    .hero-actions { margin-bottom: 52px; }

    .hero-credentials { max-width: 100%; }
    .credential { padding-right: 16px; }
    .credential + .credential { padding-left: 16px; }
    .credential-value { font-size: 32px; }

    .safety-grid { grid-template-columns: 1fr; }
    .safety-tenet { padding: 36px 0 8px; }
    .safety-tenet + .safety-tenet {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
    }

    .section-header { margin-bottom: 56px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 22px; }

    .hero h1 { font-size: 46px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-outline { justify-content: center; }

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

    .treatment-card-body { padding: 28px 24px 26px; }
}

/* ==================================================================
   PRINT
   ================================================================== */
@media print {
    .navbar, .nav-toggle, .cta-band, #vanta-bg { display: none; }
    body { background: #fff; color: #000; }
}


/* ==================================================================
   TREATMENT FIGURE — editorial image above the article (md `image:`).
   Square-cornered to match the Paris-edition design; muted like the
   other photography on the site.
   ================================================================== */
.t-figure {
    max-width: 1080px;
    margin: 0 auto 64px;
}

.t-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    display: block;
    filter: saturate(0.85);
}

.t-figure figcaption {
    margin-top: 14px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-align: center;
}

@media (max-width: 720px) {
    .t-figure img { aspect-ratio: 16 / 10; }
    .t-figure { margin-bottom: 44px; }
}

/* ================================================
   DR. RAF V3 — CONVERSION & CONTENT HANDOVER (2026-09).
   Additive only. Tokens reused; nothing above is modified.
   ================================================ */
/* Hero: emotional lead-in, subordinate to the headline */
.hero-speaks {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 28px 0 8px;
}
.hero-words {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-mint);
    margin: 0 0 18px;
}

/* Dr. Raf in practice — media block directly under the hero */
.raf-intro { padding-top: 90px; padding-bottom: 90px; }
.raf-intro-media {
    position: relative;
    margin: 0 auto;
    max-width: 1040px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
}
.raf-intro-media img, .raf-intro-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.raf-intro-caption {
    margin: 22px auto 0;
    max-width: 1040px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.raf-intro-caption em { font-style: normal; color: var(--accent-mint); }

/* Signature result */
.signature-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 16px;
}
@media (min-width: 960px) { .signature-layout { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.signature-copy .section-title { text-align: left; }
.signature-copy p { color: var(--text-secondary); line-height: 1.8; max-width: 46ch; }
.signature-copy .hero-actions { margin-top: 32px; }
.signature-media .gallery-item { max-width: 620px; }

/* Results: filters, empty state, motion control */
.results-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 40px;
}
.results-filters button {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.results-filters button:hover { color: var(--text-primary); border-color: var(--accent-mint); }
.results-filters button[aria-pressed="true"] { background: var(--accent-mint); border-color: var(--accent-mint); color: var(--text-on-accent); }
.results-empty { text-align: center; color: var(--text-muted); }
.results-actions { text-align: center; margin-top: 40px; }
.gallery-item-info .gallery-motion {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 12px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--accent-mint); background: none; border: 0; cursor: pointer; padding: 0;
}
.gallery-motion::before { content: '▶'; font-size: 10px; }
.gallery-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.gallery-video[hidden] { display: none; }

/* Booking section + footer + mobile bar */
.booking-actions { justify-content: center; margin-top: 28px; }
.mobile-cta { display: none; }
@media (max-width: 860px) {
    .mobile-cta {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        display: flex; gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(36, 35, 39, 0.96);
        backdrop-filter: blur(16px);
        border-top: 1px solid var(--border-subtle);
    }
    .mobile-cta a {
        flex: 1 1 auto; display: inline-flex; justify-content: center; align-items: center;
        min-height: 48px; padding: 12px 14px;
        font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
        text-decoration: none;
    }
    .mobile-cta-book { background: var(--accent-mint); color: var(--text-on-accent); }
    .mobile-cta-wa { flex: 0 0 auto; border: 1px solid var(--border-light); color: var(--text-primary); }
    body { padding-bottom: 76px; }
    .nav-links { padding-bottom: 110px; }
}

/* Treatment pages: quick summary, mid-page chrome (cream article surface → ink text) */
.t-summary {
    max-width: 900px;
    margin: 0 auto 56px;
    padding: 28px 32px;
    border: 1px solid var(--ink-line);
    background: rgba(255, 255, 255, 0.35);
}
.t-summary-title { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.t-summary-list { display: grid; grid-template-columns: 1fr; gap: 14px 40px; margin: 0; }
@media (min-width: 640px) { .t-summary-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .t-summary-list { grid-template-columns: repeat(3, 1fr); } }
.t-summary-row dt { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.t-summary-row dd { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.55; }

.t-mid { max-width: 900px; margin: 56px auto; }
.t-results { margin-bottom: 56px; }
.t-results .section-label { color: var(--ink-muted); }
.t-results-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin-bottom: 24px; }
.t-results .gallery-grid { grid-template-columns: 1fr; }
@media (min-width: 720px) { .t-results .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.t-results .gallery-item-info h3 { color: var(--ink); }
.t-results .gallery-item-info span, .t-results .gallery-item-notice { color: var(--ink-soft); }
.t-results-more { margin-top: 20px; }
.t-midcta {
    padding: 40px clamp(24px, 5vw, 56px);
    border: 1px solid var(--ink-line);
    text-align: center;
}
.t-midcta .section-label { color: var(--ink-muted); }
.t-midcta h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); margin: 8px 0 14px; }
.t-midcta p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 26px; line-height: 1.75; }
.t-article--continued { margin-top: 0; }
.t-article .btn-primary, .t-article .btn-primary:hover { color: var(--text-on-accent); text-decoration: none; }
.t-article .btn-outline, .t-article .btn-outline:hover { text-decoration: none; }
.book-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 12px; }
.book-hint { color: var(--ink-muted); font-size: 14px; }
.t-cta .btn-outline { margin-left: 12px; }
@media (max-width: 480px) { .t-cta .btn-outline { margin-left: 0; margin-top: 12px; } }
