/* =====================================================
   Bright Smile Studio — Stylesheet
   ===================================================== */

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

:root {
    /* ===== PRIMITIVES — green ladder (derived from clinic chair highlight, cooler/cyan-leaning) ===== */
    --green-50:    oklch(98% 0.012 168);   /* page wash, near-neutral */
    --green-100:   oklch(95% 0.035 168);   /* soft mint surface */
    --green-200:   oklch(87% 0.065 168);   /* borders, dividers */
    --green-500:   oklch(74% 0.155 168);   /* bright brand accent — chair highlight, decoration only (fails 4.5:1 for white body text) */
    --green-600:   oklch(58% 0.130 168);   /* safe-for-white-text mid green — buttons, gradient end */
    --green-700:   oklch(45% 0.090 168);   /* text-safe ink on white: ~6:1 */
    --green-900:   oklch(28% 0.055 195);   /* dark sections — blinds, deeper cyan */

    /* ===== PRIMITIVES — neutrals ===== */
    --dark:         #0D1B2A;
    --dark-mid:     #162235;
    --text:         #111827;
    --text-muted:   #4B5563;       /* gray-600 — passes 4.5:1 on white AND green-100 */
    --text-subtle:  #6B7280;       /* micro-text only */
    --border:       #E5E7EB;
    --bg:           #F9FAFB;
    --white:        #ffffff;

    /* ===== LEGACY ALIASES — components cascade via these, no markup edits needed ===== */
    --teal:         var(--green-500);
    --teal-light:   var(--green-200);
    --teal-ink:     var(--green-700);
    --teal-pale:    var(--green-100);
    --blue:         var(--green-500);
    --blue-mid:     var(--green-500);
    --blue-light:   var(--green-100);
    --blue-border:  var(--green-200);
    --blue-dark:    var(--green-700);
    --blue-ink:     var(--green-700);
    --green-dot:    var(--green-500);

    /* ===== SEMANTIC LAYER — use in new component CSS, not primitives ===== */
    --color-primary:    var(--green-700);
    --color-accent:     var(--green-500);
    --color-surface-1:  var(--white);
    --color-surface-2:  var(--green-50);
    --color-surface-3:  var(--green-100);
    --color-ink:        var(--text);
    --color-ink-muted:  var(--text-muted);
    --color-border:     var(--green-200);
    --color-dark:       var(--green-900);

    /* ===== WARM ACCENT (Phase 8) — used sparingly, ≤10% visual weight ===== */
    --warm-accent:      #C9A05C;       /* warm gold for stats band numerals + focus rings */
    --warm-accent-ink:  #8A6A33;       /* text-safe on white, ~4.7:1 */

    /* ===== SHAPE + ELEVATION ===== */
    --radius:       16px;
    --radius-sm:    10px;
    --shadow:       0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg:    0 8px 40px rgba(0,0,0,.10);
    --shadow-pill:  0 8px 32px rgba(15, 23, 42, .08);
    --shadow-glow:  0 8px 24px oklch(45% 0.09 168 / .28), 0 4px 12px oklch(74% 0.155 168 / .22);

    /* ===== BRAND GRADIENTS — single-hue green, dark-end safe for white text ===== */
    --gradient-brand:   linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
    --gradient-bg-soft: linear-gradient(110deg, #FFFFFF 0%, #FFFFFF 55%, var(--green-100) 75%, var(--green-50) 100%);

    /* ===== MOTION ===== */
    --ease-quart-out: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-drawer:    cubic-bezier(0.32, 0.72, 0, 1);
    --t:              all .2s var(--ease-quart-out);
    --t-fast:         all .15s var(--ease-quart-out);

    /* ===== SPACING — 4pt base (per spatial-system-4pt principle) ===== */
    --space-1:   4px;
    --space-2:   8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-6:  24px;
    --space-8:  32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;
}

/* ----- Focus ring (per interaction-states principle: :focus-visible only, not :focus) ----- */
:where(button, [role="button"], a, input, select, textarea):focus-visible {
    outline: 2px solid var(--teal-ink);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ----- Reduced motion (per motion-system principle: required, not optional) ----- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ----- Kill transform-hover stickiness on touch (per web-animation-checklist row 7) ----- */
@media (hover: none) and (pointer: coarse) {
    *:hover {
        transform: none !important;
    }
}

html  { scroll-behavior: smooth; }
body  {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-optical-sizing: auto;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section    { padding: var(--space-20) 0; }
@media (min-width: 1280px) { .section { padding: var(--space-24) 0; } }

/* ----- Type ----- */
h1, h2, h3, h4 {
    font-family: 'Cabinet Grotesk', 'DM Sans', system-ui, sans-serif;
    font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1;  letter-spacing: -.025em; color: var(--text); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em;  color: var(--text); }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--text); line-height: 1.35; }
h4 { font-size: 1.15rem; font-weight: 600; color: var(--text); line-height: 1.35; }
p  { color: var(--text-muted); line-height: 1.7; }

/* Heading max-widths (editorial rhythm — prevent stretched headlines) */
h1 { max-width: 18ch; }
h2 { max-width: 22ch; }
.h-wide { max-width: none; }
/* Center-aligned section-header h2s stay centered with auto margin */
.section-header h1, .section-header h2 { margin-left: auto; margin-right: auto; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px;
    font-size: .9rem; font-weight: 600; font-family: inherit;
    text-decoration: none; border: none; cursor: pointer; transition: var(--t);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-brand); color: white;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px oklch(45% 0.09 168 / .42), 0 4px 16px oklch(74% 0.155 168 / .28);
}
.btn-primary:focus-visible {
    outline: 3px solid var(--warm-accent);
    outline-offset: 3px;
}
.btn-outline {
    background: transparent; color: var(--text);
    border: 1.5px solid rgba(17,24,39,.15);
}
.btn-outline:hover { background: var(--bg); border-color: rgba(17,24,39,.25); }
.btn-lg   { padding: 15px 30px; font-size: .95rem; }
.btn-full { width: 100%; padding: 15px; font-size: .95rem; }

/* ----- Section helpers ----- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-16); }
.section-header > .section-tag { margin-bottom: var(--space-4); }
.section-header h2 { margin-bottom: var(--space-3); }
.section-header > p { max-width: 56ch; margin: 0 auto; }

.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--text);
    font-size: .85rem; font-weight: 500; letter-spacing: 0; text-transform: none;
    padding: 7px 18px 7px 12px; border-radius: 999px; margin-bottom: 16px;
    border: 1px solid #F1F3F6;
    box-shadow: var(--shadow-pill);
}
.section-tag::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 8px oklch(74% 0.155 168 / .6), 0 0 16px oklch(74% 0.155 168 / .3);
    flex-shrink: 0;
}
.section-tag--white {
    background: rgba(255,255,255,.12); color: rgba(255,255,255,.95);
    border-color: rgba(255,255,255,.2);
    box-shadow: none;
}
.section-tag--white::before { background: white; box-shadow: 0 0 8px rgba(255,255,255,.6); }

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.65);
    font-size: .78rem;
    padding: 9px 0;
    display: none; /* show on ≥ 768px via media query below */
}
@media (min-width: 768px) { .topbar { display: block; } }

.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-left  { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5); font-size: .76rem; }
.topbar-right svg { opacity: .6; }

.topbar-link {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.65); text-decoration: none;
    transition: color .15s;
}
.topbar-link:hover { color: white; }
.topbar-link svg { opacity: .7; flex-shrink: 0; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header {
    position: sticky; top: 16px; z-index: 100;
    background: transparent;
    padding: 0 20px;
}

.nav {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 999px;
    padding: 10px 14px 10px 22px;
    box-shadow: var(--shadow-pill);
    display: flex;
    align-items: center;
    gap: 32px;
    height: auto;
}

.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
    font-size: 1rem; flex-shrink: 0;
    letter-spacing: -.01em;
}
.logo-icon-wrap {
    width: 38px; height: 38px;
    background: var(--gradient-brand);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; flex-shrink: 0;
    box-shadow: 0 4px 12px oklch(74% 0.155 168 / .35);
}
.logo-icon-wrap--sm {
    width: 28px; height: 28px; border-radius: 8px;
}
.logo-wordmark {
    font-weight: 400;
    color: var(--text);
    letter-spacing: -.01em;
}
.logo-wordmark b {
    font-weight: 700;
    color: var(--text);
}

.logo-icon {
    width: 38px; height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}
.footer-logo .logo-icon { width: 32px; height: 32px; }

.nav-links {
    display: flex; list-style: none;
    align-items: center;
    margin: 0 auto;
    gap: 8px;
}
.nav-links a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    font-size: .92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    transition: var(--t);
    position: relative;
}
.nav-links a:hover  { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-links a.active::after {
    content: "";
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green-dot);
    margin: 4px auto 0;
    box-shadow: 0 0 8px rgba(16, 185, 129, .6);
}

.nav-cta {
    padding: 12px 28px;
    font-size: .92rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 8px; border-radius: 8px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text);
    border-radius: 2px; transition: var(--t);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    padding: 80px 0 60px;
    background: var(--gradient-bg-soft);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--green-700);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.trust-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: white; border: 1px solid var(--border);
    border-radius: 999px; padding: 5px 12px;
    font-size: .76rem; font-weight: 600; color: var(--text);
    box-shadow: var(--shadow);
}
.trust-badge svg { color: #F59E0B; flex-shrink: 0; }

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    max-width: 18ch;
    margin-bottom: var(--space-6);
}
.hero-sub {
    font-size: 1.05rem; line-height: 1.75; margin-bottom: var(--space-12); max-width: 480px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual — smile-led editorial portrait */
.hero-visual { display: flex; justify-content: center; }

.hero-smile {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4 / 5;
    border-radius: 32px;
    overflow: hidden;
    background: var(--green-100);
    box-shadow: 0 24px 60px oklch(45% 0.09 168 / .20);
    margin: 0;
}
.hero-smile__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-float-card {
    position: absolute;
    background: white;
    border: none;
    border-radius: 18px;
    padding: 12px 18px;
    box-shadow: var(--shadow-pill);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}
.hero-float-card--top    { top: 12%;    right: -10%; }
.hero-float-card--bottom { bottom: 14%; right: -14%; }

.hero-float-card strong {
    display: block; font-size: .92rem; font-weight: 700; color: var(--text); line-height: 1.2;
}
.hero-float-card span { font-size: .82rem; color: var(--text-muted); line-height: 1.2; }

.float-icon {
    width: 38px; height: 38px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.float-icon--teal { background: oklch(74% 0.155 168 / .14); color: var(--green-700); }
.float-icon--blue { background: oklch(28% 0.055 195 / .10);  color: var(--green-900); }

.float-star {
    width: 36px; height: 36px; background: #FEF3C7; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
/* Trust strip pill (below hero) */
.trust-strip {
    grid-column: 1 / -1;
    margin-top: 48px;
    background: white;
    border-radius: 999px;
    padding: 10px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-pill);
}
.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--text);
    font-weight: 500;
    flex: 1;
    justify-content: center;
}
.trust-strip-item strong { font-weight: 600; margin-right: 2px; }
.ts-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
    flex-shrink: 0;
}
.ts-icon { width: 26px; height: 26px; flex-shrink: 0; }
.ts-stars {
    color: #F59E0B;
    letter-spacing: 1px;
    margin-left: 6px;
    font-size: .85rem;
}

.float-check {
    width: 36px; height: 36px; background: #D1FAE5; color: #059669; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 800; flex-shrink: 0;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services { background: var(--bg); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
    background: white; border-radius: 24px; padding: 36px 32px;
    border: 1px solid #F1F3F6;
    transition: var(--t); cursor: default;
}
.service-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-border);
}

.service-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    background: var(--gradient-brand);
    box-shadow: 0 4px 14px oklch(45% 0.09 168 / .22);
    flex-shrink: 0;
}
.service-icon svg {
    width: 28px; height: 28px;
    display: block;
    color: white;
    stroke: currentColor;
    fill: none;
}
.service-icon img {
    width: 28px; height: 28px;
    display: block;
    /* fallback for any remaining raster icons */
    filter: brightness(0) invert(1);
}

.service-card h3 { margin-bottom: 8px; }

/* =====================================================
   APPROACH / TRANSFORMACIJE
   ===================================================== */
/* =====================================================
   SPECIALTY / TRANSFORMACIJE
   ===================================================== */
.specialty { background: var(--bg); }

.specialty-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}

.specialty-text h2 { margin-bottom: 32px; }

.check-list {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}
.check-list li {
    display: flex; align-items: center; gap: 14px;
    color: var(--text); font-size: 1rem;
}
.check-ring {
    flex-shrink: 0;
    width: 26px; height: 26px;
    background: var(--green-dot);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
    outline: 1.5px dashed rgba(16, 185, 129, .45);
    outline-offset: 3px;
}
.check-ring svg { width: 14px; height: 14px; }

.specialty-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.specialty-main {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-pill);
    aspect-ratio: 4 / 3.2;
}
.specialty-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.specialty-inset {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 38%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-pill);
}
.specialty-inset img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =====================================================
   CAREFUL CARE — Full-width image + stats
   ===================================================== */
.careful-care { background: var(--bg); padding: 0 0 88px; }

.careful-care-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-pill);
    margin-bottom: 56px;
}
.careful-care-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.careful-care-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
}
.careful-care-overlay h2 {
    color: white;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    text-shadow: 0 4px 24px rgba(0,0,0,.4);
    max-width: 80%;
}

.careful-care-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}
.cc-stat {
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    flex: 1; text-align: center;
}
.cc-num {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.04em;
    line-height: 1;
}
.cc-lbl {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}
.cc-divider {
    width: 1px; height: 64px;
    background: var(--border);
    flex-shrink: 0;
}

/* Light stats grid (used on about.html) */
.stats-grid {
    display: flex; justify-content: center; align-items: center;
    flex-wrap: wrap;
    max-width: 1000px; margin: 0 auto;
    background: white;
    border: 1px solid #F1F3F6;
    border-radius: 28px;
    padding: 24px 32px;
    box-shadow: var(--shadow-pill);
}
.stat-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    text-align: center; flex: 1; min-width: 140px; padding: 12px 16px;
}
.stat-num {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 900; color: var(--text); letter-spacing: -.03em; line-height: 1;
}
.stat-label, .stat-lbl {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500;
}
.stat-divider {
    width: 1px; height: 44px; background: var(--border); flex-shrink: 0;
}

/* =====================================================
   TEAM
   ===================================================== */
.team { background: var(--bg); }

.team-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 32px; max-width: 1000px; margin: 0 auto;
}

.team-card {
    background: white; border-radius: 24px;
    border: 1px solid #F1F3F6; overflow: hidden;
    display: flex; flex-direction: column; transition: var(--t);
}
.team-card:hover { box-shadow: var(--shadow-pill); transform: translateY(-2px); }

.team-photo {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    background: var(--blue-light);
    overflow: hidden;
    border-bottom: none;
}
.team-photo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.team-info { padding: 22px 26px 26px; }
.team-info h3 {
    margin-bottom: 4px;
    font-size: 1.05rem;
    font-weight: 700;
}
.team-role {
    display: inline-block;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
}
.team-info p { font-size: .875rem; line-height: 1.65; margin-top: 12px; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials { background: var(--bg); }

/* Marquee layout (Phase 7A) */
.testimonials-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
    padding: 24px 0;
}
.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: tmar 60s linear infinite;
}
.testimonials-marquee:hover .testimonials-track,
.testimonials-marquee:focus-within .testimonials-track {
    animation-play-state: paused;
}
@keyframes tmar {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.testimonial-card {
    flex: 0 0 360px;
    background: white;
    border-radius: 22px;
    padding: 24px 22px;
    border: 1px solid #F1F3F6;
    display: flex; flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-pill);
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-track { animation: none; }
    .testimonials-marquee {
        mask-image: none; -webkit-mask-image: none;
        overflow-x: auto;
    }
}

/* nullify old tilt classes (kept on markup as no-ops in case any old markup remains) */
.t-tilt-1, .t-tilt-2, .t-tilt-3, .t-tilt-4 { transform: none; }

.t-quote-icon { display: none; }
.t-stars { display: none; }

.t-quote {
    font-size: .9rem; line-height: 1.6; font-style: normal; flex: 1;
    color: var(--text-muted);
    margin: 0;
}

.t-author {
    display: flex; align-items: center; gap: 12px;
    position: relative;
}
.t-avatar {
    width: 44px; height: 44px;
    background: var(--blue-light); color: var(--blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; font-weight: 700; flex-shrink: 0;
    border: none;
}
.t-quote-mark {
    margin-left: auto;
    width: 26px; height: 26px;
    opacity: .35;
    flex-shrink: 0;
}
.t-author strong { display: block; font-size: .875rem; color: var(--text); margin-bottom: 1px; }
.t-author span   { font-size: .76rem; color: var(--text-muted); }

/* about-features 2x2 grid section deleted (Phase 4A) */

/* about-text/about-block kept as no-ops for sub-page compatibility */
.about-block {
    background: white; border-radius: 24px; border: 1px solid var(--border);
    padding: 48px 40px;
}
.about-text > p { margin-bottom: 14px; }
.about-text .btn { margin-top: 28px; }

/* =====================================================
   BOOKING / CTA
   ===================================================== */
.booking { background: var(--bg); padding: 64px 0 80px; }

.booking-card {
    background: white;
    border-radius: 32px;
    padding: 56px 56px 48px;
    box-shadow: var(--shadow-pill);
    border: 1px solid #F1F3F6;
}

.booking-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
    margin-bottom: 40px;
}

.booking-text h2 {
    color: var(--text);
    margin-bottom: 18px;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}
.booking-text > p {
    margin-bottom: 28px;
}

/* Legacy compat (for sub-pages) */
.booking-info { display: flex; flex-direction: column; gap: 20px; }
.booking-info-item { display: flex; gap: 14px; align-items: flex-start; }
.bi-icon {
    width: 38px; height: 38px; background: var(--blue-light); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue); flex-shrink: 0;
}
.bi-icon svg { width: 16px; height: 16px; }
.booking-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
}
.booking-info-item strong {
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
}
.booking-info-item span,
.booking-info-item a {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.4;
    text-decoration: none;
}
.booking-info-item a:hover { color: var(--blue); }

/* Form */
.booking-form {
    background: transparent; border-radius: 0;
    padding: 0; display: flex; flex-direction: column; gap: 18px;
    box-shadow: none;
}

.booking-map {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #F1F3F6;
}
.booking-map iframe { display: block; width: 100%; height: 360px; border: 0; }
.booking-form h2, .booking-form h3 { margin-bottom: 4px; font-size: 1.5rem; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text); }
.lbl-opt { font-weight: 400; color: var(--text-muted); }

.form-group input,
.form-group textarea {
    padding: 11px 13px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: .875rem; color: var(--text);
    background: var(--bg); transition: var(--t); outline: none; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue); background: white;
    box-shadow: 0 0 0 3px rgba(27,108,168,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; font-size: .85rem; }

.select-wrap { position: relative; }
.select-wrap select {
    width: 100%; padding: 11px 38px 11px 13px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: .875rem; color: var(--text);
    background: var(--bg); transition: var(--t); outline: none;
    -webkit-appearance: none; appearance: none; cursor: pointer;
}
.select-wrap select:focus {
    border-color: var(--blue); background: white;
    box-shadow: 0 0 0 3px rgba(27,108,168,.1);
}
.sel-arr {
    position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; color: var(--text-muted); pointer-events: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--green-50) 60%, var(--green-100) 100%);
    padding: 72px 0 32px;
    border-top: 1px solid #F1F3F6;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.footer-logo { color: var(--text); }
.footer-logo .logo-wordmark { color: var(--text-muted); }
.footer-logo .logo-wordmark b { color: var(--text); }
.footer-brand > p {
    color: var(--text-muted);
    font-size: .92rem;
    margin-top: 16px;
    line-height: 1.65;
    max-width: 320px;
}

.footer-col { display: flex; flex-direction: column; }
.footer-col h3 {
    font-size: 1rem;
    font-family: 'DM Sans', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 12px;
}
.footer-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: .92rem;
}
.footer-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 6px oklch(74% 0.155 168 / .5);
    flex-shrink: 0;
}
.footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .15s;
}
.footer-list a:hover { color: var(--text); }

.footer-col--social .footer-socials {
    display: flex; gap: 12px;
}
.social-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}
.social-btn:hover { transform: translateY(-2px); }
.social-btn--ig {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    box-shadow: 0 6px 16px rgba(221, 42, 123, .35);
}
.social-btn--fb {
    background: #1877F2;
    box-shadow: 0 6px 16px rgba(24, 119, 242, .35);
}
.social-btn--wa {
    background: #25D366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; padding-top: 28px;
}
.footer-copy   { font-size: .82rem; color: var(--text-muted); }
.footer-legal  { display: flex; gap: 20px; }
.footer-legal a {
    color: var(--text-muted);
    font-size: .82rem;
    text-decoration: none;
    transition: color .15s;
}
.footer-legal a:hover { color: var(--text); }

/* footer-cols legacy (sub-pages still use this layout) */
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols .footer-col a,
.footer-cols .footer-col span {
    color: var(--text-muted);
    font-size: .92rem;
    text-decoration: none;
    transition: color .15s;
    line-height: 1.6;
}
.footer-cols .footer-col a:hover { color: var(--text); }

/* =====================================================
   SUB-PAGE HERO
   ===================================================== */
.page-hero {
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border);
}
.page-hero--gradient {
    background:
        radial-gradient(circle at 85% 50%, oklch(74% 0.155 168 / .42) 0%, oklch(45% 0.09 168 / .10) 30%, rgba(255,255,255,0) 60%),
        linear-gradient(180deg, #FFFFFF 0%, #F7FAFC 100%);
    border-bottom: none;
    padding: 96px 0 80px;
}
.page-hero--gradient h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
}
.page-hero--gradient .page-sub { color: var(--text-muted); }
.page-hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    margin-bottom: 18px;
}
.page-hero .page-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* =====================================================
   FOUNDER MESSAGE / VALUES
   ===================================================== */
.founder-section { padding: 88px 0; }
.founder-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}
.founder-photo {
    width: 100%;
    aspect-ratio: 1 / 1.2;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--blue-light);
    border: 1px solid var(--border);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-name { margin-top: 16px; font-weight: 700; }
.founder-role { font-size: .85rem; color: var(--text-muted); }
.founder-text blockquote {
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--text);
    font-family: 'Cabinet Grotesk', 'DM Sans', system-ui, sans-serif;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 28px;
    padding-left: 56px;
    position: relative;
}
.founder-text blockquote::before {
    content: "\201C";          /* left double quote — decorative */
    position: absolute;
    left: 0;
    top: -18px;
    font-family: 'Cabinet Grotesk', 'DM Sans', system-ui, sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--teal-ink);
    opacity: .45;
    font-style: normal;
}
.founder-text p { margin-bottom: 16px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.value-card {
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}
.value-card h3 { margin-bottom: 8px; font-family: 'Cabinet Grotesk', 'DM Sans', system-ui, sans-serif; }
.value-card p { font-size: .95rem; }

/* =====================================================
   PRICE LIST
   ===================================================== */
.price-section { padding: 64px 0 88px; background: var(--bg); }
.price-list {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Pill row card */
.price-row-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: var(--shadow-pill);
    border: 1px solid #F1F3F6;
    transition: var(--t);
}
.price-row-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .1);
}
.prc-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #F1F3F6;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: white;
}
.prc-icon img { width: 100%; height: 100%; display: block; }
.prc-text {
    flex: 1;
    display: flex; flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.prc-text strong {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.01em;
}
.prc-text span {
    font-size: .92rem;
    color: var(--text-muted);
    font-weight: 500;
}
.prc-price {
    background: var(--gradient-brand);
    color: white;
    font-weight: 700;
    font-size: .92rem;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 14px oklch(74% 0.155 168 / .35);
    white-space: nowrap;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.price-category { margin-bottom: 48px; }
.price-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--blue);
}
.price-category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-dark);
    letter-spacing: -.01em;
}
.price-category-dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--blue);
    flex-shrink: 0;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 4px;
    gap: 16px;
    border-bottom: 1px dashed var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-name { color: var(--text); font-weight: 500; }
.price-amount {
    color: var(--blue);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.price-note {
    margin-top: 8px;
    font-size: .9rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* =====================================================
   POLICY PROSE
   ===================================================== */
.policy-section { padding: 72px 0 96px; }
.policy-content {
    max-width: 760px;
    margin: 0 auto;
}
.policy-content h2 {
    font-size: 1.55rem;
    margin: 40px 0 14px;
    color: var(--text);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 {
    font-size: 1.1rem;
    margin: 24px 0 10px;
    font-weight: 600;
}
.policy-content p, .policy-content li {
    color: var(--text-muted);
    font-size: .98rem;
    line-height: 1.75;
    margin-bottom: 12px;
}
.policy-content ul, .policy-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}
.policy-content li { margin-bottom: 6px; }
.policy-meta {
    color: var(--text-muted);
    font-size: .85rem;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

/* =====================================================
   STANDALONE CONTACT PAGE GRID
   ===================================================== */
.contact-page-section { padding: 72px 0 88px; }
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--t);
}
.contact-info-card:hover { border-color: var(--blue-border); box-shadow: var(--shadow); }
.contact-info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-body strong {
    display: block;
    font-size: .95rem;
    color: var(--text);
    margin-bottom: 4px;
}
.contact-info-body a,
.contact-info-body span {
    display: block;
    color: var(--text-muted);
    font-size: .9rem;
    text-decoration: none;
    line-height: 1.6;
}
.contact-info-body a:hover { color: var(--blue); }

.map-embed {
    margin-top: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* =====================================================
   TESTIMONIAL AVATAR — PHOTO VARIANT
   ===================================================== */
.t-avatar--img {
    padding: 0;
    background: none;
    border-color: var(--border);
    overflow: hidden;
}
.t-avatar--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   TEAM PAGE BIO STYLES (legacy — kept for potential future use)
   ===================================================== */
.team-page-section { padding: 72px 0 88px; }
.team-hero-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    margin-bottom: 56px;
}
.team-hero-photo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.team-bios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 880px;
    margin: 0 auto;
}
.team-bio-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--t);
}
.team-bio-card:hover {
    border-color: var(--blue-border);
    box-shadow: var(--shadow);
}
.team-bio-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-bio-role {
    color: var(--blue);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.team-bio-card p { font-size: .95rem; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr 380px; gap: 40px; }
}

@media (max-width: 900px) {
    .founder-inner      { grid-template-columns: 1fr; gap: 32px; max-width: 560px; }
    .founder-photo      { max-width: 280px; }
    .values-grid        { grid-template-columns: 1fr; gap: 16px; }
    .contact-page-grid  { grid-template-columns: 1fr; gap: 40px; }
    .team-bios          { grid-template-columns: 1fr; max-width: 520px; }
    .team-hero-photo    { aspect-ratio: 4 / 3; }
    .hero-inner         { grid-template-columns: 1fr; }
    .hero-visual        { display: flex; margin-top: 40px; }
    .hero-img-wrap      { max-width: 360px; margin: 0 auto; }
    .hero-float-card--top    { right: -4%; }
    .hero-float-card--bottom { right: -6%; }
    .nav                { padding: 8px 8px 8px 18px; gap: 16px; }
    .nav-links          { gap: 4px; }
    .nav-links a        { padding: 8px 10px; font-size: .88rem; }
    .trust-strip        { flex-direction: column; padding: 20px 28px; border-radius: 28px; gap: 16px; align-items: stretch; margin-top: 40px; }
    .trust-strip-item   { justify-content: flex-start; }
    .ts-divider         { display: none; }
    .specialty-inner    { grid-template-columns: 1fr; gap: 64px; }
    .specialty-inset    { width: 32%; bottom: -24px; right: -10px; }
    .booking-inner      { grid-template-columns: 1fr; gap: 48px; }
    .footer-top         { grid-template-columns: 1fr 1fr; gap: 40px; }
    .services-grid      { grid-template-columns: repeat(2, 1fr); }
    .team-grid          { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .cc-divider         { display: none; }
    .careful-care-stats { flex-direction: column; gap: 32px; }
}

@media (max-width: 640px) {
    /* hide nav links, show hamburger */
    .nav-links, .nav-cta { display: none; }
    .nav-toggle          { display: flex; margin-left: auto; }
    .nav                 { padding: 8px 8px 8px 16px; gap: 8px; }

    /* mobile nav open state */
    .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; top: 84px; left: 16px; right: 16px;
        background: white; padding: 14px 18px 18px;
        border-radius: 20px;
        box-shadow: var(--shadow-pill);
        z-index: 99; gap: 4px;
    }
    .nav-links.open ~ .nav-cta {
        display: block;
        position: fixed; top: 84px; left: 16px; right: 16px;
        margin-top: 220px; text-align: center;
    }

    .hero                 { padding: 60px 0 52px; }
    .hero-img-wrap        { max-width: 280px; }
    .hero-float-card      { padding: 10px 14px; min-width: 120px; }
    .hero-float-card--top    { top: 6%;  right: -8%; }
    .hero-float-card--bottom { bottom: 8%; right: -10%; }
    .trust-strip-item     { font-size: .88rem; }
    .ts-icon              { width: 28px; height: 28px; }
    .section              { padding: 72px 0; }
    .hero h1              { font-size: 2.2rem; }
    .hero-actions         { flex-direction: column; }
    .hero-actions .btn    { width: 100%; }
    .services-grid        { grid-template-columns: 1fr; }
    .form-row             { grid-template-columns: 1fr; }
    .careful-care-img     { aspect-ratio: 4 / 3; border-radius: 20px; }
    .footer-cols          { grid-template-columns: 1fr 1fr; }
    .footer-top           { gap: 32px; grid-template-columns: 1fr; }
    .booking-card         { padding: 32px 24px; }
    .booking-inner        { grid-template-columns: 1fr; gap: 36px; }
    .booking-form         { padding: 24px 20px; }
    .about-inner          { grid-template-columns: 1fr; }
    .about-block          { padding: 36px 28px; }
    .page-hero            { padding: 56px 0 44px; }
    .founder-section, .price-section, .policy-section, .contact-page-section { padding: 56px 0; }
    .price-row            { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 4px; }
    .price-row-card       { flex-wrap: wrap; gap: 14px; padding: 14px 16px; }
    .prc-text             { flex: 1 1 calc(100% - 72px); }
    .prc-price            { width: 100%; text-align: center; }
    .founder-text blockquote { font-size: 1.15rem; padding-left: 40px; }
    .founder-text blockquote::before { font-size: 3.6rem; top: -10px; }
}

@media (max-width: 420px) {
    .cc-num               { font-size: 2rem; }
    .footer-cols { grid-template-columns: 1fr; }
    .trust-badges { gap: 6px; }
}

/* =====================================================
   SCROLL REVEALS (Phase 6) — blur+rise on enter, opacity-only fallback
   ===================================================== */
.reveal {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(8px);
    transition:
        opacity   720ms var(--ease-quart-out),
        filter    720ms var(--ease-quart-out),
        transform 720ms var(--ease-quart-out);
    will-change: opacity, filter, transform;
}
.reveal--in {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        filter: none;
        transform: none;
        transition: opacity 240ms linear;
    }
}

/* =====================================================
   STATS BAND (Phase 3)
   ===================================================== */
.stats-band {
    background: var(--green-900);
    color: white;
    padding: var(--space-12) 0;
}
.stats-band__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-12);
}
.stats-band__item {
    display: flex; flex-direction: column;
    align-items: center; gap: var(--space-2);
    text-align: center;
}
.stats-band__num {
    font-family: 'Cabinet Grotesk', 'DM Sans', system-ui, sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--warm-accent);  /* Phase 8 — warm gold pop against dark sage */
}
.stats-band__lbl {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: oklch(95% 0 0 / .72);
}
.stats-band__divider {
    width: 1px; height: 48px;
    background: oklch(95% 0 0 / .15);
}
@media (max-width: 640px) {
    .stats-band__inner { grid-template-columns: 1fr; gap: var(--space-6); }
    .stats-band__divider { display: none; }
}

/* =====================================================
   BEFORE / AFTER SLIDER (Phase 7)
   ===================================================== */
.ba-section { padding: var(--space-20) 0 var(--space-12); background: var(--green-50); }

.ba-slider {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    box-shadow: var(--shadow-pill);
}
.ba-slider__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.ba-slider__img--before {
    clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}
.ba-slider__placeholder {
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cabinet Grotesk', 'DM Sans', system-ui, sans-serif;
    font-size: 6vw; font-weight: 700; letter-spacing: -.02em;
    line-height: 1;
}
.ba-slider__placeholder.ba-slider__img--after {
    background: linear-gradient(135deg, var(--green-100), var(--green-200));
    color: var(--green-700);
}
.ba-slider__placeholder.ba-slider__img--before {
    background: linear-gradient(135deg, #d6d0c2, #a8a194);
    color: rgba(255,255,255,.7);
}

.ba-slider__divider {
    position: absolute; top: 0; bottom: 0;
    left: var(--ba-pos);
    width: 2px;
    background: white;
    box-shadow: 0 0 0 1px oklch(45% 0.09 168 / .25);
    transform: translateX(-1px);
    pointer-events: none;
}
.ba-slider__handle {
    position: absolute; top: 50%; left: 50%;
    width: 44px; height: 44px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: none;
    background: white; color: var(--green-700);
    box-shadow: 0 4px 14px oklch(0% 0 0 / .25);
    display: grid; place-items: center;
    cursor: ew-resize;
    pointer-events: auto;
    transition: transform .2s var(--ease-quart-out), box-shadow .2s var(--ease-quart-out);
}
@media (hover: hover) and (pointer: fine) {
    .ba-slider__handle:hover {
        transform: translate(-50%, -50%) scale(1.08);
    }
}
.ba-slider__handle:focus-visible {
    outline: 3px solid var(--green-700);
    outline-offset: 4px;
}

.ba-slider__label {
    position: absolute; top: 16px;
    padding: 6px 12px; border-radius: 999px;
    background: oklch(15% 0.015 168 / .55); color: white;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
}
.ba-slider__label--before { left: 16px; }
.ba-slider__label--after  { right: 16px; }

@media (max-width: 640px) {
    .ba-slider { aspect-ratio: 4 / 3; }
    .ba-slider__placeholder { font-size: 12vw; }
}
