/* ==========================================================================
   The Dental Lounge — custom styles (on top of Bootstrap 5)
   Palette from the logo: blue · plum · sunshine yellow
   ========================================================================== */

:root {
    /* The three site colours */
    --primary: #1663b6;   /* blue   */
    --accent: #86267f;    /* purple */
    --dark: #0d1b36;      /* navy — text & dark sections */

    /* aliases used throughout (all map to the three colours or white) */
    --blue: var(--primary);
    --blue-600: var(--primary);
    --blue-100: rgba(22, 99, 182, .08);
    --navy: var(--dark);
    --navy-2: var(--dark);
    --plum: var(--accent);
    --plum-2: var(--accent);
    --plum-100: rgba(134, 38, 127, .08);
    --sun: var(--accent);          /* highlight colour on light backgrounds */
    --sun-fg: #fff;             /* text on a highlight */
    --cream: #faf5ec;          /* warm light cream — page background */
    --tint-blue: #e7f0fb;      /* soft blue section */
    --tint-plum: #f5e9f3;      /* soft lavender section */
    --tint: rgba(22, 99, 182, .05);
    --paper: #fff;
    --ink: var(--dark);
    --muted: rgba(13, 27, 54, .68);
    --line: rgba(13, 27, 54, .12);
    --radius: 4px;
    --radius-sm: 4px;
    --shadow: 0 24px 50px -30px rgba(13, 27, 54, .35);
    --shadow-sm: 0 10px 26px -16px rgba(13, 27, 54, .3);
    --ease: cubic-bezier(.65, .05, .36, 1);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Bootstrap components follow the same radius */
    --bs-border-radius: 4px;
    --bs-border-radius-sm: 4px;
    --bs-border-radius-lg: 4px;
    --bs-border-radius-xl: 4px;
    --bs-border-radius-xxl: 4px;
    --bs-border-radius-pill: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; max-width: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;   /* fallback for older browsers */
    overflow-x: clip;     /* clips sideways overflow without breaking position: sticky */
    -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sun); color: var(--sun-fg); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
em { font-style: italic; }
h1 em, h2 em, .section-title em, .display-title em { color: var(--plum); font-weight: 500; }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.text-muted-2 { color: var(--muted); }
.lead-l { font-size: 1.15rem; color: var(--muted); max-width: 560px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sun); }

.section-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 22px; }
.display-title { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 22px; }
.section-head {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
    margin-bottom: 56px; flex-wrap: wrap;
}
.section-head > div { max-width: 680px; }
.section-head > p { max-width: 380px; margin: 0; }

/* split-text helpers (filled by JS) */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn-lounge {
    --bg: var(--navy); --fg: #fff;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 15px 26px; border: 0; border-radius: 4px;
    background: var(--bg); color: var(--fg);
    font-weight: 700; font-size: .95rem; letter-spacing: .01em;
    transition: color .4s var(--ease), transform .3s;
    cursor: pointer; white-space: nowrap;
}
.btn-lounge::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--plum); border-radius: inherit;
    transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-lounge:hover { color: #fff; }
.btn-lounge:hover::before { transform: translateY(0); }
.btn-lounge i { transition: transform .4s var(--ease); }
.btn-lounge:hover i { transform: rotate(45deg); }
.btn-lounge:hover i.bi-arrow-right, .btn-lounge:hover i.bi-send { transform: translateX(4px); }
.btn-lounge--sm { padding: 11px 20px; font-size: .88rem; }
.btn-lounge--lg { padding: 19px 32px; font-size: 1rem; }
.btn-lounge--sun { --bg: var(--sun); --fg: var(--sun-fg); }
.btn-lounge--sun::before { background: #fff; }
.btn-lounge--sun:hover { color: var(--navy); }
.btn-lounge--wa { --bg: var(--primary); }
.btn-lounge--wa::before { background: var(--accent); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 4px;
    border: 1.5px solid var(--line); background: transparent;
    font-weight: 600; font-size: .9rem; color: var(--ink);
    transition: all .3s;
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.btn-outline-light-l {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.35);
    color: #fff; font-weight: 600; transition: all .3s; white-space: nowrap;
}
.btn-outline-light-l:hover { background: #fff; color: var(--navy); }

.btn-play { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.btn-play__icon {
    width: 52px; height: 52px; border-radius: 4px; display: grid; place-items: center;
    border: 1.5px solid var(--navy); transition: all .3s;
}
.btn-play:hover .btn-play__icon { background: var(--sun); border-color: var(--sun); transform: translateY(4px); color: var(--sun-fg); }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--blue); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow i { transition: transform .3s; }
.link-arrow:hover i { transform: translateX(5px); }

.round-btn {
    width: 54px; height: 54px; border-radius: 4px; border: 1.5px solid var(--line); background: #fff;
    display: grid; place-items: center; font-size: 1.1rem; transition: all .3s; color: var(--ink);
}
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.arrow-circle {
    width: 46px; height: 46px; border-radius: 4px; display: grid; place-items: center;
    background: var(--navy); color: #fff; transition: all .4s var(--ease);
}

.tick-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.tick-list i { color: var(--plum); font-size: 1.1rem; line-height: 1.4; }

.stars { color: var(--accent); display: inline-flex; gap: 2px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 1000; transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-140%); }
.nav-pill {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 9px 9px 9px 14px; border-radius: 4px;
    background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 10px 40px -20px rgba(13, 27, 54, .35);
    transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled .nav-pill { background: rgba(255, 255, 255, .92); box-shadow: 0 16px 40px -18px rgba(13, 27, 54, .4); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 4px; object-fit: cover; mix-blend-mode: multiply; }
.brand__text { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1; color: var(--navy); display: flex; flex-direction: column; }
.brand__text em { color: var(--plum); font-weight: 500; font-size: 1.25rem; }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__text em { color: var(--sun); }
.brand--light img { mix-blend-mode: normal; }

.nav-links { list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-links a {
    position: relative; display: block; padding: 10px 16px; border-radius: 4px;
    font-weight: 600; font-size: .92rem; color: var(--ink); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--plum); }
.nav-links a.active { background: var(--navy); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-call { align-items: center; gap: 10px; padding-right: 8px; font-weight: 700; font-size: .9rem; line-height: 1.15; }
.nav-call small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); }
.nav-call__icon { width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; background: var(--sun); color: var(--sun-fg); }

.burger { width: 48px; height: 48px; border-radius: 4px; border: 0; background: var(--navy); position: relative; z-index: 1002; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger.is-open span:first-child { top: 23px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 999; pointer-events: none; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.menu-overlay.is-open { pointer-events: auto; visibility: visible; opacity: 1; }
.menu-overlay__bg { position: absolute; inset: 0; background: var(--navy); }
.menu-overlay__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 100px; padding-bottom: 40px; }
.menu-overlay__links { list-style: none; padding: 0; margin: 0 0 40px; }
.menu-overlay__links li { overflow: hidden; }
.menu-overlay__links a { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 4rem); color: #fff; line-height: 1.15; }
.menu-overlay__links a small { font-family: var(--font-body); font-size: .8rem; color: var(--sun); }
.menu-overlay__links a.active { color: var(--sun); font-style: italic; }
.menu-overlay__foot { display: flex; flex-direction: column; gap: 8px; color: rgba(255, 255, 255, .75); }
.menu-overlay__foot a { color: rgba(255, 255, 255, .85); }
.menu-overlay__foot .btn-lounge { align-self: flex-start; color: var(--sun-fg); --bg: var(--sun); }

/* ---------- Blobs ---------- */
.blob { display: none; }

/* ---------- Hero (simple) ---------- */
.hero { position: relative; padding: 150px 0 90px; background: #fff; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 8px 16px 8px 10px; background: #fff; border-radius: 4px; box-shadow: var(--shadow-sm);
    font-size: .85rem; font-weight: 600; margin-bottom: 26px;
}
.hero-badge .stars { background: var(--navy); padding: 4px 10px; border-radius: 4px; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px; }
.hero__title em { color: var(--plum); font-weight: 500; }
.hero__text { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero__ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust-item { display: flex; align-items: center; gap: 12px; line-height: 1.25; }
.hero__trust-item i { width: 46px; height: 46px; border-radius: 4px; display: grid; place-items: center; background: var(--plum-100); color: var(--plum); font-size: 1.2rem; }
.hero__trust-item strong { display: block; }
.hero__trust-item small { color: var(--muted); }

.hero-photo { position: relative; margin: 0; aspect-ratio: 5 / 5.6; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; background: #fff; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the two shots are framed slightly differently — line the faces up */
.hero-photo__base { object-position: 45% 40%; }
.hero-photo__smile { object-position: 60% 40%; opacity: 0; transition: opacity .6s ease; }
.hero-photo.is-smiling .hero-photo__smile { opacity: 1; }
.hero-photo__hint {
    position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 4px; background: rgba(255, 255, 255, .9); font-size: .85rem; font-weight: 600; color: var(--navy);
    transition: opacity .4s;
}
.hero-photo__hint i { color: var(--plum); }
.hero-photo.is-smiling .hero-photo__hint { opacity: 0; }

/* ---------- Intro ---------- */
.feature-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.feature-mini { display: flex; gap: 12px; align-items: center; padding: 16px; background: #fff; border-radius: 4px; font-weight: 600; font-size: .92rem; line-height: 1.35; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-mini i { flex: none; width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue); font-size: 1.15rem; }
.intro-collage { position: relative; height: 560px; }
.intro-collage__a, .intro-collage__b { position: absolute; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.intro-collage__a { left: 0; top: 0; width: 72%; height: 78%; border-radius: 4px; }
.intro-collage__b { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid var(--cream); }
.intro-collage img { width: 100%; height: 115%; object-fit: cover; }
.intro-collage__tag {
    position: absolute; left: 6%; bottom: 4%; background: var(--sun); color: var(--sun-fg);
    width: 150px; height: 150px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; box-shadow: var(--shadow); line-height: 1.1;
}
.intro-collage__tag strong { font-family: var(--font-display); font-size: 2.8rem; }
.intro-collage__tag small { font-weight: 600; font-size: .78rem; max-width: 90px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 100px; border-top: 1px solid var(--line); }
.stat { padding: 34px 20px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; color: var(--navy); margin-bottom: 6px; }
.stat span { color: var(--muted); font-weight: 500; }
.stats-row--light { margin-top: 0; border-color: rgba(255, 255, 255, .15); }
.stats-row--light .stat { border-color: rgba(255, 255, 255, .15); }
.stats-row--light .stat strong { color: var(--sun); }
.stats-row--light .stat span { color: rgba(255, 255, 255, .7); }
.stats-band { background: var(--navy); padding: 70px 0 80px; }

/* ---------- Treatments grid ---------- */
.treatments { background: var(--navy); color: #fff; }
.treatments .section-title em { color: var(--sun); }
.svc-card {
    height: 100%; background: var(--navy-2); border-radius: 4px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08); color: #fff; display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.svc-card:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(13, 27, 54, .6); }
.svc-card__img { height: 190px; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.svc-card__num { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; opacity: .6; }
.svc-card__icon { width: 44px; height: 44px; border-radius: 4px; display: grid; place-items: center; background: rgba(255, 255, 255, .15); color: var(--sun); font-size: 1.15rem; }
.svc-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.svc-card p { font-size: .9rem; opacity: .7; margin-bottom: 20px; }
.svc-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price-chip { font-weight: 800; font-size: 1.05rem; }
.price-chip small { font-weight: 500; opacity: .6; font-size: .75rem; }
.svc-card .arrow-circle { background: var(--sun); color: var(--sun-fg); }

/* ---------- Symptom finder ---------- */
.symptom-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: 100%; }
.symptom {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
    padding: 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 4px;
    font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--ink); transition: all .35s var(--ease);
}
.symptom i { width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; background: var(--plum-100); color: var(--plum); font-size: 1.15rem; transition: all .35s; }
.symptom:hover { border-color: var(--plum); transform: translateY(-3px); }
.symptom.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow); }
.symptom.active i { background: var(--sun); color: var(--sun-fg); }
.finder-result { position: relative; height: 100%; min-height: 480px; border-radius: 4px; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: flex-end; }
.finder-result__img { position: absolute; inset: 0; }
.finder-result__img img { width: 100%; height: 100%; object-fit: cover; }
.finder-result__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 54, .1) 0%, rgba(13, 27, 54, .92) 65%); }
.finder-result__body { position: relative; padding: clamp(26px, 4vw, 44px); }
.finder-result h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.finder-result p { color: rgba(255, 255, 255, .8); max-width: 520px; }
.finder-result__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.finder-result__meta span { padding: 8px 16px; border-radius: 4px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); font-size: .9rem; }

/* ---------- Before / after ---------- */
.transform-section { background: #fff; }
.compare { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); user-select: none; --pos: 50%; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare__after { filter: brightness(1.06) contrast(1.04) saturate(1.05); }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { filter: sepia(.55) saturate(1.25) hue-rotate(-12deg) brightness(.88) contrast(.95); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 4px; background: var(--sun); color: var(--sun-fg); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); font-size: .9rem; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; top: 20px; padding: 6px 14px; border-radius: 4px; background: rgba(13, 27, 54, .7); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.compare__tag--l { left: 20px; }
.compare__tag--r { right: 20px; background: var(--sun); color: var(--sun-fg); }
.shade-meter { margin: 28px 0; padding: 20px; border-radius: 4px; background: var(--cream); }
.shade-meter__bar { height: 14px; border-radius: 4px; margin: 10px 0 8px; background: linear-gradient(90deg, rgba(13, 27, 54, .35), #fff); position: relative; border: 1px solid var(--line); }
.shade-meter__bar span { position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; border-radius: 4px; background: var(--plum); border: 4px solid #fff; transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); }

/* ---------- Process ---------- */
.process__wrap { position: relative; margin-top: 70px; }
.process__line { position: absolute; left: 0; right: 0; top: 10px; width: 100%; height: 120px; z-index: 0; }
.process__line path { fill: none; stroke: var(--plum); stroke-width: 2; stroke-dasharray: 6 8; opacity: .45; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step__icon {
    position: relative; width: 120px; height: 120px; border-radius: 4px; margin: 0 auto 24px;
    background: #fff; display: grid; place-items: center; font-size: 2.2rem; color: var(--blue);
    box-shadow: var(--shadow-sm); transition: all .5s var(--ease);
}
.step__icon span { position: absolute; top: -4px; right: -4px; width: 38px; height: 38px; border-radius: 4px; background: var(--sun); color: var(--sun-fg); font-size: .82rem; font-weight: 800; display: grid; place-items: center; font-family: var(--font-body); }
.step:hover .step__icon { background: var(--navy); color: var(--sun); transform: translateY(-8px) rotate(-6deg); }
.step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 991.98px) { .process__line { display: none; } }

/* ---------- Forms ---------- */
.form-label-l { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; color: var(--ink); }
.form-control-l {
    width: 100%; padding: 14px 18px; border-radius: 4px; border: 1.5px solid var(--line); background: #fff;
    font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s; appearance: auto;
}
.form-control-l:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 99, 182, .12); }
.form-control-l.is-invalid, .float-field .is-invalid { border-color: var(--accent) !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- Calculator ---------- */
.calc-section { background: #fff; }
.calc-card { background: #fff; border-radius: 4px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-card__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 20px; }
.calc-card__head i { color: var(--plum); }
.calc-live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }
.calc-live i { width: 8px; height: 8px; border-radius: 4px; background: var(--primary); }
.calc-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-cat { padding: 9px 16px; border-radius: 4px; border: 1.5px solid var(--line); background: transparent; font-weight: 600; font-size: .86rem; transition: all .25s; color: var(--ink); }
.calc-cat:hover { border-color: var(--navy); }
.calc-cat.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 4px; padding: 5px; }
.stepper button { width: 42px; height: 42px; border-radius: 4px; border: 0; background: var(--cream); font-size: 1.2rem; transition: background .2s; color: var(--ink); }
.stepper button:hover { background: var(--sun); color: var(--sun-fg); }
.stepper output { font-weight: 800; font-size: 1.2rem; }
.calc-teeth { display: flex; gap: 6px; margin: 22px 0; flex-wrap: wrap; }
.calc-teeth svg { width: 28px; height: 32px; transition: all .3s; }
.calc-teeth svg path { fill: var(--cream); stroke: rgba(13, 27, 54, .25); stroke-width: 4; transition: all .3s; }
.calc-teeth svg.on path { fill: var(--sun); stroke: var(--plum); }
.calc-result { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 4px; background: var(--navy); color: #fff; }
.calc-result small { opacity: .7; }
.calc-total { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; color: var(--sun); }
.calc-emi { display: block; }
.calc-result .btn-lounge { --bg: var(--sun); --fg: var(--sun-fg); }
.calc-result .btn-lounge::before { background: #fff; }
.calc-result .btn-lounge:hover { color: var(--navy); }
.calc-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Doctors ---------- */
.doc-card { border-radius: 4px; background: #fff; overflow: hidden; height: 100%; box-shadow: 0 1px 0 var(--line); transition: box-shadow .4s; transform-style: preserve-3d; }
.doc-card:hover { box-shadow: var(--shadow); }
.doc-card__img { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--blue-100); }
.doc-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.85); transition: filter .6s, transform 1s var(--ease); }
.doc-card:hover .doc-card__img img { filter: grayscale(0); transform: scale(1.06); }
.doc-card__exp { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 4px; background: var(--sun); color: var(--sun-fg); font-size: .78rem; font-weight: 800; z-index: 2; }
.doc-card__hover {
    position: absolute; inset: auto 0 0 0; padding: 24px; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(13, 27, 54, .95) 35%);
    transform: translateY(100%); transition: transform .55s var(--ease);
}
.doc-card__hover p { font-size: .88rem; opacity: .9; }
.doc-card:hover .doc-card__hover, .doc-card:focus-within .doc-card__hover { transform: translateY(0); }
.doc-card__body { padding: 20px 22px 24px; }
.doc-card__body h3 { font-size: 1.35rem; margin-bottom: 4px; }
.doc-card__body > span { color: var(--plum); font-weight: 600; font-size: .9rem; }
.doc-card__tags { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); }
.doc-card__tags i { color: var(--blue); }
@media (hover: none) { .doc-card__img img { filter: none; } }

/* ---------- Safety stacking cards ---------- */
.safety { background: var(--navy); color: #fff; }
.safety .section-title em { color: var(--sun); }
.safety__sticky { position: sticky; top: 130px; }
.safety__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.safety__badges span { padding: 10px 16px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .2); font-size: .88rem; font-weight: 600; }
.safety__badges i { color: var(--sun); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-card {
    position: sticky; top: 130px; display: flex; gap: 30px; align-items: flex-start;
    min-height: 300px; padding: clamp(28px, 4vw, 48px); border-radius: 4px;
    box-shadow: 0 -20px 50px -20px rgba(13, 27, 54, .4); transform-origin: center top;
}
.stack-card:nth-child(2) { top: 150px; }
.stack-card:nth-child(3) { top: 170px; }
.stack-card:nth-child(4) { top: 190px; }
.stack-card__num { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6rem); line-height: .85; font-style: italic; opacity: .35; }
.stack-card__icon { font-size: 2.2rem; display: block; margin-bottom: 18px; }
.stack-card h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.stack-card p { opacity: .85; max-width: 420px; margin: 0; }
.stack-card--blue { background: var(--blue); }
.stack-card--plum { background: var(--plum); }
.stack-card--sun { background: var(--sun); color: var(--sun-fg); }
.stack-card--white { background: #fff; color: var(--navy); }
.stack-card--white .stack-card__icon { color: var(--plum); }

/* ---------- Testimonials ---------- */
.testimonials-section { overflow: hidden; }
.rating-pill { display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px; background: #fff; border-radius: 4px; box-shadow: var(--shadow-sm); }
.rating-pill__score { width: 64px; height: 64px; border-radius: 4px; background: var(--navy); color: var(--sun); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; }
.rating-pill small { color: var(--muted); }
.testimonial-swiper { padding: 10px max(24px, calc((100vw - 1320px) / 2 + 12px)) 30px !important; }
.testimonial-swiper .swiper-slide { width: 440px; height: auto; }
@media (max-width: 575.98px) { .testimonial-swiper .swiper-slide { width: 86vw; } }
.quote-card { height: 100%; margin: 0; padding: 34px; border-radius: 4px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: background .4s, color .4s; }
.swiper-slide-active .quote-card { background: var(--navy); color: #fff; }
.quote-card__mark { font-size: 3.6rem; line-height: 1; color: var(--plum); }
.swiper-slide-active .quote-card__mark { color: var(--sun); }
.quote-card blockquote { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.45; margin: 8px 0 28px; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-card figcaption img { width: 52px; height: 52px; border-radius: 4px; object-fit: cover; }
.quote-card figcaption strong { display: block; line-height: 1.2; }
.quote-card figcaption small { color: var(--plum); font-weight: 600; }
.swiper-slide-active .quote-card figcaption small { color: var(--sun); }
.swiper-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.swiper-pagination-l { display: flex; gap: 8px; }
.swiper-pagination-l .swiper-pagination-bullet { width: 10px; height: 10px; opacity: 1; background: var(--line); transition: all .3s; margin: 0 !important; }
.swiper-pagination-l .swiper-pagination-bullet-active { width: 36px; border-radius: 4px; background: var(--plum); }

/* ---------- Branches ---------- */
.branches-section { background: #fff; }
.branch-card { border-radius: 4px; overflow: hidden; background: var(--cream); height: 100%; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.branch-card__map { height: 240px; filter: grayscale(.6) contrast(1.05); transition: filter .5s; }
.branch-card:hover .branch-card__map { filter: none; }
.branch-card__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.branch-card__body { padding: 28px; }
.branch-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.branch-card p { display: flex; gap: 10px; margin-bottom: 8px; }
.branch-card p i { color: var(--plum); }
.open-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 4px; font-size: .78rem; font-weight: 700; background: #fff; white-space: nowrap; }
.open-status i { width: 8px; height: 8px; border-radius: 4px; background: var(--muted); }
.open-status.is-open { color: var(--primary); background: rgba(22, 99, 182, .1); }
.open-status.is-open i { background: var(--primary); }
.open-status.is-closed { color: var(--accent); background: rgba(134, 38, 127, .1); }
.open-status.is-closed i { background: var(--accent); }

/* ---------- FAQ ---------- */
.faq-aside { position: sticky; top: 120px; }
.faq-tabs { display: flex; flex-direction: column; gap: 8px; margin: 26px 0; }
.faq-tab { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 4px; border: 1.5px solid var(--line); background: transparent; font-weight: 700; text-align: left; transition: all .3s; color: var(--ink); }
.faq-tab span { width: 28px; height: 28px; border-radius: 4px; display: grid; place-items: center; background: var(--cream); font-size: .78rem; }
.faq-tab:hover { border-color: var(--navy); }
.faq-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-tab.active span { background: var(--sun); color: var(--sun-fg); }
.faq-help { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 4px; background: var(--plum-100); }
.faq-help i { font-size: 1.8rem; color: var(--plum); }
.faq-help a { color: var(--plum); font-weight: 700; }
.faq-group { display: none; }
.faq-group.active { display: block; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 46px; height: 46px; border-radius: 4px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .4s var(--ease); font-size: 1rem; }
.faq-item[open] summary i { transform: rotate(135deg); background: var(--sun); border-color: var(--sun); color: var(--sun-fg); }
.faq-item summary:hover i { border-color: var(--navy); }
.faq-item__body { overflow: hidden; }
.faq-item__body p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 700px; }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 clamp(80px, 10vw, 120px); }
.cta-card { position: relative; overflow: hidden; border-radius: 4px; padding: clamp(40px, 7vw, 90px); background: var(--plum); color: #fff; }
.cta-card__glow { display: none; }
.cta-title { font-size: clamp(2.4rem, 5.5vw, 4.6rem); margin-bottom: 18px; }
.cta-title em { color: var(--sun) !important; }
.cta-text { opacity: .8; margin: 0; }
.cta-circle {
    width: 190px; height: 190px; border-radius: 4px; border: 0; background: var(--sun); color: var(--sun-fg);
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    font-weight: 800; font-size: 1.05rem; line-height: 1.2; transition: background .4s, color .4s;
}
.cta-circle i { font-size: 1.5rem; transition: transform .4s var(--ease); }
.cta-circle:hover { background: #fff; }
.cta-circle:hover i { transform: rotate(45deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); position: relative; overflow: hidden; }
.footer-statement { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 50px 0; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.1; color: #fff; }
.footer-statement em { color: var(--sun); }
.footer-main { padding: 80px 0 60px; }
.footer-about { margin: 22px 0; max-width: 360px; }
.site-footer h6 { font-family: var(--font-body); color: #fff; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { position: relative; transition: color .3s, padding .3s; }
.site-footer ul a:hover { color: var(--sun); padding-left: 10px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: #fff; transition: all .3s; }
.footer-social a:hover { background: var(--sun); color: var(--sun-fg); border-color: var(--sun); transform: translateY(-4px); }
.footer-branch { display: flex; flex-direction: column; font-size: .9rem; margin-bottom: 16px; }
.footer-branch strong { color: #fff; }
.footer-phone { display: inline-flex; gap: 8px; color: var(--sun); font-weight: 700; font-size: 1.1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }

/* ---------- Floating actions ---------- */
.float-wa { position: fixed; left: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 4px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 12px 30px -8px rgba(22, 99, 182, .5); transition: transform .3s; }
.float-wa:hover { transform: scale(1.1); color: #fff; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 56px; height: 56px; border-radius: 4px; border: 0; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); color: var(--navy); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--plum); stroke-width: 3; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.to-top:hover { background: var(--sun); color: var(--sun-fg); }

/* ---------- Booking modal ---------- */
.modal-backdrop.show { opacity: .7; background: var(--navy); }
.booking-modal .modal-content, .doc-modal .modal-content { border: 0; border-radius: 4px; overflow: hidden; position: relative; }
.booking-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 44px; height: 44px; border-radius: 4px; border: 0; background: var(--cream); display: grid; place-items: center; transition: all .3s; color: var(--ink); }
.booking-close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.booking-side { flex-direction: column; justify-content: space-between; gap: 30px; padding: 40px 32px; color: #fff; background: var(--dark); }
.booking-side h3 { font-size: 1.9rem; }
.booking-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.booking-steps li { display: flex; align-items: center; gap: 12px; opacity: .5; font-weight: 600; transition: opacity .3s; }
.booking-steps li span { width: 32px; height: 32px; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-size: .82rem; transition: all .3s; }
.booking-steps li.active, .booking-steps li.done { opacity: 1; }
.booking-steps li.active span { background: var(--sun); color: var(--sun-fg); border-color: var(--sun); }
.booking-steps li.done span { background: #fff; color: var(--navy); border-color: #fff; }
.booking-form { padding: 40px 36px 30px; min-height: 520px; display: flex; flex-direction: column; }
.booking-progress { height: 4px; border-radius: 4px; background: var(--cream); margin: 0 50px 30px 0; overflow: hidden; }
.booking-progress span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--blue), var(--plum)); transition: width .5s var(--ease); }
.booking-step { display: none; }
.booking-step.active { display: block; }
.booking-step h4 { font-size: 1.8rem; margin-bottom: 6px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.choice input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 4px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .25s; }
.choice span i { color: var(--plum); font-size: 1.2rem; }
.choice:hover span { border-color: var(--plum); }
.choice input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.choice input:checked + span i { color: var(--sun); }
.choice input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot span { display: block; padding: 10px 16px; border-radius: 4px; border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .25s; }
.slot:hover span { border-color: var(--plum); }
.slot input:checked + span { background: var(--sun); border-color: var(--sun); color: var(--sun-fg); }
.booking-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 30px; }
.booking-nav #bkPrev { visibility: hidden; }
.booking-error { color: var(--accent); font-size: .88rem; font-weight: 600; min-height: 1.4em; margin-top: 10px; }
.booking-success { text-align: center; padding-top: 20px; }
.success-check { width: 96px; height: 96px; margin: 0 auto 20px; display: block; }
.success-check circle { fill: none; stroke: var(--primary); stroke-width: 4; stroke-dasharray: 230; stroke-dashoffset: 230; }
.success-check path { fill: none; stroke: var(--primary); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.booking-success.active .success-check circle { animation: draw .7s .1s forwards var(--ease); }
.booking-success.active .success-check path { animation: draw .5s .7s forwards var(--ease); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 575.98px) { .booking-form { padding: 30px 22px; } .choice-grid { grid-template-columns: 1fr; } }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 170px 0 90px; overflow: hidden; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--plum); }
.crumbs i { font-size: .7rem; }
.crumbs span { color: var(--plum); }
.page-banner__media { position: relative; height: 380px; border-radius: 4px; box-shadow: var(--shadow); }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- About ---------- */
.story-img { position: relative; height: 600px; border-radius: 4px; overflow: hidden; }
.story-img img { width: 100%; height: 120%; object-fit: cover; }
.story-img__quote { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 26px; border-radius: 4px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.story-img__quote i { font-size: 2rem; color: var(--plum); line-height: 1; }
.story-img__quote p { font-family: var(--font-display); font-size: 1.5rem; margin: 6px 0; }
.story-img__quote small { color: var(--muted); }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature img { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; }
.signature strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.signature small { color: var(--muted); }
.values-section { background: #fff; }
.value-card { position: relative; height: 100%; padding: 40px 34px; border-radius: 4px; background: var(--cream); overflow: hidden; transition: background .5s, color .5s; }
.value-card::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 4px; right: -80px; bottom: -80px; background: var(--sun); transform: scale(0); transition: transform .7s var(--ease); color: var(--sun-fg); }
.value-card:hover { background: var(--navy); color: #fff; }
.value-card:hover::after { transform: scale(1); }
.value-card > * { position: relative; z-index: 1; }
.value-card__num { position: absolute !important; top: 26px; right: 30px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; opacity: .4; }
.value-card > i { font-size: 2.4rem; color: var(--plum); display: block; margin-bottom: 26px; transition: color .4s; }
.value-card:hover > i { color: var(--sun); }
.value-card h3 { font-size: 1.8rem; margin-bottom: 12px; }
.value-card p { opacity: .75; margin: 0; }
.timeline { position: relative; padding-left: 50px; }
.timeline__line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--blue), var(--plum)); transform: scaleY(0); transform-origin: top; }
.timeline__item { position: relative; padding-bottom: 50px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: -50px; top: 6px; width: 24px; height: 24px; border-radius: 4px; background: var(--cream); border: 3px solid var(--line); transition: all .4s; }
.timeline__item.is-active .timeline__dot { background: var(--sun); border-color: var(--plum); transform: scale(1.15); color: var(--sun-fg); }
.timeline__year { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--line); transition: color .4s; display: block; margin-bottom: 8px; font-style: italic; }
.timeline__item.is-active .timeline__year { color: var(--plum); }
.timeline__item h3 { font-size: 1.6rem; margin-bottom: 6px; }
.timeline__item p { color: var(--muted); margin: 0; max-width: 520px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { border-radius: 4px; overflow: hidden; position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item--0 { grid-column: span 2; grid-row: span 2; }
.gallery__item--3 { grid-row: span 2; }
.gallery__item--4 { grid-column: span 2; }
@media (max-width: 767.98px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery__item--3 { grid-row: auto; }
}
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(13, 27, 54, .92); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: all .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; border-radius: 4px; transform: scale(.92); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox button { position: absolute; top: 24px; right: 24px; }

/* ---------- Services page ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-pills { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: #fff; border-radius: 4px; border: 1px solid var(--line); }
.filter-pill { position: relative; z-index: 1; padding: 10px 18px; border: 0; background: transparent; border-radius: 4px; font-weight: 600; font-size: .9rem; color: var(--ink); transition: color .3s; }
.filter-pill.active { color: #fff; }
.filter-pills__glider { position: absolute; z-index: 0; top: 0; left: 0; height: 0; border-radius: 4px; background: var(--navy); transition: all .45s var(--ease); }
@media (max-width: 767.98px) {
    .filter-pills { border-radius: 4px; }
    .filter-pills__glider { display: none; }
    .filter-pill.active { background: var(--navy); }
}
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 20px; height: 52px; background: #fff; border-radius: 4px; border: 1px solid var(--line); min-width: 280px; }
.search-box input { border: 0; outline: 0; background: transparent; width: 100%; font: inherit; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 99, 182, .1); }
.svc-tile { height: 100%; background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .4s; transform-style: preserve-3d; }
.svc-tile:hover { box-shadow: var(--shadow); }
.svc-tile__img { position: relative; height: 230px; overflow: hidden; }
.svc-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-tile:hover .svc-tile__img img { transform: scale(1.07); }
.svc-tile__cat { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 4px; background: rgba(255, 255, 255, .9); font-size: .75rem; font-weight: 700; }
.svc-tile__body { position: relative; padding: 40px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-tile__icon { position: absolute; top: -30px; right: 24px; width: 60px; height: 60px; border-radius: 4px; display: grid; place-items: center; background: var(--sun); color: var(--sun-fg); font-size: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), background .3s, color .3s; }
.svc-tile:hover .svc-tile__icon { transform: rotate(-10deg) scale(1.08); background: var(--plum); color: #fff; }
.svc-tile h3 { font-size: 1.55rem; margin-bottom: 10px; }
.svc-tile p { color: var(--muted); font-size: .94rem; }
.svc-tile__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 0; margin: auto 0 16px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); font-size: .88rem; font-weight: 700; }
.svc-tile__meta i { color: var(--plum); }
.svc-tile__meta small { font-weight: 500; color: var(--muted); }
.svc-tile__btn { align-self: flex-start; border: 0; background: none; padding: 0; font-weight: 700; color: var(--blue); display: inline-flex; gap: 8px; }
.svc-tile__btn i { transition: transform .3s; }
.svc-tile__btn:hover i { transform: translateX(6px); }
.svc-grid__item.is-hidden { display: none; }
.svc-grid__item.is-flash .svc-tile { box-shadow: 0 0 0 4px var(--sun), var(--shadow); }
.tech-section { background: var(--navy); color: #fff; }
.tech-section .section-title em { color: var(--sun); }
.tech-card { height: 100%; padding: 30px; border-radius: 4px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: all .4s; }
.tech-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-6px); }
.tech-card i { font-size: 2rem; color: var(--sun); display: block; margin-bottom: 18px; }
.tech-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tech-card p { opacity: .7; font-size: .92rem; margin: 0; }
.svc-drawer { width: min(480px, 100vw) !important; border: 0 !important; }
.svc-drawer__img { position: relative; height: 260px; flex: none; }
.svc-drawer__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-drawer .offcanvas-body { padding: 30px; }
.svc-drawer h3 { font-size: 2rem; margin-bottom: 14px; }
.svc-drawer__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-drawer__facts div { padding: 16px; border-radius: 4px; background: var(--cream); }
.svc-drawer__facts small { display: block; color: var(--muted); font-size: .78rem; }
.svc-drawer__facts strong { font-size: 1.15rem; }

/* ---------- Doctors page ---------- */
.doc-modal__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: top; }
.doc-modal__body { padding: 44px 36px; }
.doc-modal__body h3 { font-size: 2.2rem; margin-bottom: 14px; }
.doc-facts { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-facts li { display: flex; gap: 12px; font-weight: 600; font-size: .92rem; line-height: 1.35; }
.doc-facts i { flex: none; width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; background: var(--plum-100); color: var(--plum); }
.doc-facts small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.join-card { padding: clamp(32px, 5vw, 60px); border-radius: 4px; background: #fff; border: 1px solid var(--line); }

/* ---------- Pricing page ---------- */
.price-section { background: #fff; }
.price-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.price-tab { padding: 12px 22px; border-radius: 4px; border: 1.5px solid var(--line); background: transparent; font-weight: 700; transition: all .3s; color: var(--ink); }
.price-tab.active { background: var(--plum); color: #fff; border-color: var(--plum); }
.price-panel { display: none; }
.price-panel.active { display: block; }
.price-row { display: flex; align-items: baseline; gap: 14px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; transition: padding .3s, background .3s; }
.price-row:hover { padding-left: 16px; padding-right: 16px; background: var(--cream); }
.price-row__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.price-row strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); white-space: nowrap; }
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; margin-top: 10px; }
.billing-toggle span { opacity: .5; transition: opacity .3s; }
.billing-toggle span.active { opacity: 1; }
.switch { width: 60px; height: 32px; border-radius: 4px; border: 0; background: var(--navy); position: relative; padding: 0; }
.switch span { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 4px; background: var(--sun); transition: transform .4s var(--ease); color: var(--sun-fg); }
.switch.is-on span { transform: translateX(28px); }
.plan-card { position: relative; height: 100%; padding: 40px 34px; border-radius: 4px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan-card h3 { font-size: 2rem; margin-bottom: 2px; }
.plan-card > small { color: var(--muted); font-weight: 600; }
.plan-card__price { margin: 26px 0 10px; display: flex; align-items: baseline; gap: 6px; }
.plan-price { font-family: var(--font-display); font-size: 3rem; line-height: 1; display: inline-block; }
.plan-per { color: var(--muted); }
.plan-card .btn-lounge { margin-top: auto; }
.plan-card--featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan-card--featured > small, .plan-card--featured .plan-per { color: rgba(255, 255, 255, .6); }
.plan-card--featured .plan-price { color: var(--sun); }
.plan-card--featured .tick-list i { color: var(--sun); }
.plan-card__flag { position: absolute; top: -14px; left: 34px; padding: 6px 14px; border-radius: 4px; background: var(--sun); color: var(--sun-fg); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pay-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 60px; }
.pay-strip > span:first-child { font-weight: 700; margin-right: 6px; }
.pay-chip { padding: 10px 18px; border-radius: 4px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.pay-chip i { color: var(--plum); }
.pay-chip--hl { background: var(--sun); border-color: var(--sun); color: var(--sun-fg); }
.pay-chip--hl i { color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-tile { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 28px; border-radius: 4px; background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease); }
.contact-tile i { font-size: 1.6rem; width: 56px; height: 56px; border-radius: 4px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue); margin-bottom: 14px; transition: all .4s; }
.contact-tile small { color: var(--muted); font-weight: 600; }
.contact-tile strong { font-size: 1.05rem; word-break: break-word; }
.contact-tile:hover { background: var(--navy); color: #fff; transform: translateY(-6px); }
.contact-tile:hover small { color: rgba(255, 255, 255, .6); }
.contact-tile:hover i { background: var(--sun); color: var(--sun-fg); }
.contact-tile--wa i { background: rgba(22, 99, 182, .1); color: var(--primary); }
.contact-tile--sos i { background: rgba(134, 38, 127, .1); color: var(--accent); }
.contact-form { height: 100%; padding: clamp(28px, 4vw, 44px); border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.float-field { position: relative; }
.float-field input, .float-field textarea, .float-field select {
    width: 100%; padding: 26px 18px 10px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--cream);
    font: inherit; color: var(--ink); transition: border-color .25s, background .25s;
}
.float-field textarea { resize: vertical; }
.float-field label { position: absolute; left: calc(var(--bs-gutter-x) * .5 + 19px); top: 18px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); font-weight: 500; }
.float-field input:focus, .float-field textarea:focus, .float-field select:focus { outline: 0; border-color: var(--blue); background: #fff; }
.float-field input:focus + label, .float-field input:not(:placeholder-shown) + label,
.float-field textarea:focus + label, .float-field textarea:not(:placeholder-shown) + label,
.float-field select:focus + label, .float-field select:valid + label { top: 8px; font-size: .72rem; font-weight: 700; color: var(--plum); }
.form-status { font-weight: 600; font-size: .92rem; }
.form-status.is-error { color: var(--accent); }
.form-status.is-ok { color: var(--primary); }
.hours-card { height: 100%; padding: clamp(28px, 4vw, 40px); border-radius: 4px; background: var(--navy); color: #fff; }
.hours-card h3 { font-size: 1.7rem; margin-bottom: 24px; }
.hours-card h3 i { color: var(--sun); }
.hours-table__head, .hours-table__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; padding: 12px 14px; border-radius: 4px; font-size: .9rem; }
.hours-table__head { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; opacity: .55; font-weight: 700; }
.hours-table__row { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hours-table__row em { color: var(--accent); font-style: normal; }
.hours-table__row.is-today { background: var(--sun); color: var(--sun-fg); font-weight: 700; border-color: transparent; }
.hours-table__row.is-today em { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero { padding-top: 130px; min-height: 0; }
    .intro-collage { height: 460px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
    .stat:nth-child(2) { border-right: 0; }
    .stat { padding-bottom: 30px; }
    .stack-card { position: relative; top: 0 !important; min-height: 0; }
    .safety__sticky, .faq-aside { position: static; }
    .page-banner { padding-top: 140px; }
    .page-banner__media { height: 300px; }
    .story-img { height: 460px; }
    .symptom-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .site-header { top: 10px; }
    .brand__text { font-size: 1rem; }
    .brand__text em { font-size: 1.1rem; }
    .hero__ctas { gap: 18px; }
    .feature-mini-grid { grid-template-columns: 1fr; }
    .intro-collage { height: 380px; }
    .intro-collage__tag { width: 116px; height: 116px; }
    .intro-collage__tag strong { font-size: 2rem; }
    .symptom { padding: 14px; font-size: .85rem; }
    .stack-card { flex-direction: column; gap: 10px; }
    .cta-circle { width: 150px; height: 150px; }
    .doc-facts { grid-template-columns: 1fr; }
    .search-box { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 575.98px) {
    .hero-badge { font-size: .72rem; gap: 8px; padding: 6px 12px 6px 6px; }
    .hero-badge .stars { font-size: .62rem; padding: 3px 8px; }
}

/* ==========================================================================
   Calm layout overrides
   ========================================================================== */

/* Site container: 85% of the screen on tablet and up */
@media (min-width: 768px) {
    .container-xl { max-width: 85%; }
}
.testimonial-swiper { padding: 10px 7.5% 30px !important; }
@media (max-width: 767.98px) { .testimonial-swiper { padding: 10px 12px 30px !important; } }

/* Safety steps: simple 2×2 grid instead of stacking cards */
.stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stack-card { position: static; min-height: 0; flex-direction: column; gap: 6px; box-shadow: none; }
.stack-card__num { font-size: 3rem; }
@media (max-width: 575.98px) { .stack { grid-template-columns: 1fr; } }

/* About timeline: always shown in full */
.timeline__line span { transform: none; }
.timeline__dot { background: var(--sun); border-color: var(--plum); color: var(--sun-fg); }
.timeline__year { color: var(--plum); }

/* Static images (no parallax) */
.intro-collage img, .story-img img { height: 100%; }

/* Smile finder: soft crossfade when switching */
.finder-result__img img, .finder-result__body { transition: opacity .2s ease; }
.finder-result.is-changing .finder-result__img img, .finder-result.is-changing .finder-result__body { opacity: 0; }

/* Subtler hover movement */
.svc-tile:hover .svc-tile__img img, .gallery__item:hover img, .doc-card:hover .doc-card__img img { transform: scale(1.03); }
.svc-tile:hover .svc-tile__icon { transform: none; }
.step:hover .step__icon { transform: translateY(-4px); }
.doc-card__img img { filter: none; }

@media (max-width: 991.98px) {
    .hero { padding: 120px 0 70px; }
    .hero-photo { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .hero__title { font-size: 2.5rem; }
    .hero__trust { gap: 18px; }
}

/* ==========================================================================
   Three-colour system — highlights on dark backgrounds turn white
   ========================================================================== */
body { background: #fff; }
.treatments, .safety, .tech-section, .cta-card, .site-footer, .booking-side, .menu-overlay,
.finder-result, .calc-result, .hours-card, .plan-card--featured, .stats-band, .preloader,
.symptom.active, .faq-tab.active, .choice input:checked + span, .contact-tile:hover,
.swiper-slide-active .quote-card, .doc-card__hover, .step:hover .step__icon, .value-card:hover {
    --sun: #fff;
    --sun-fg: var(--dark);
}
.cta-card { background: var(--accent); }
.cta-card .btn-lounge::before, .btn-lounge--sun::before { background: var(--primary); }
.btn-lounge--sun:hover { color: #fff; }
.stack-card--sun { background: #fff; color: var(--dark); }
.stack-card--sun .stack-card__icon { color: var(--accent); }
.stack-card--white { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.stack-card--white .stack-card__icon { color: #fff; }
.float-wa { background: var(--primary); box-shadow: var(--shadow-sm); }
.float-wa:hover { background: var(--accent); }
.svc-card { border-color: rgba(255, 255, 255, .14); }
.svc-card__icon { background: rgba(255, 255, 255, .1); }
.intro-collage__tag { color: #fff; }
.step__icon span { color: #fff; }

/* ---------- Preloader (restored) ---------- */
body.is-loading { overflow: hidden; }
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--dark); color: #fff; }
.preloader__inner { text-align: center; position: relative; z-index: 2; }
.preloader__tooth { width: 90px; height: 100px; color: #fff; margin: 0 auto 20px; }
.preloader__tooth path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.preloader__count { font-family: var(--font-display); font-size: 3.4rem; font-weight: 500; line-height: 1; }
.preloader__word { margin-top: 10px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.preloader__panel { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; }

/* ---------- Hero photo: pain → smile ---------- */
.hero-photo { aspect-ratio: 5 / 6; }
.hero-photo__base { object-position: 50% 62%; }
.hero-photo__smile { object-position: 82% 30%; }
.hero-photo__hint { background: #fff; color: var(--dark); }

/* ---------- Hero: always exactly one screen ---------- */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 104px 0 28px;
}
.hero > .container-xl { width: 100%; }
.hero-figure {
    position: relative;
    height: min(calc(100svh - 160px), 620px);
    display: flex; justify-content: center; align-items: flex-end;
    cursor: pointer;
}
.hero-character { height: 100%; width: auto; max-width: 100%; transition: transform .4s ease; }
.hc-pain, .hc-joy { transition: opacity .35s ease; }
.hc-joy { opacity: 0; }
.hero-figure.is-smiling .hc-pain { opacity: 0; }
.hero-figure.is-smiling .hc-joy { opacity: 1; }
.hero-figure.is-smiling .hero-character { transform: translateY(-6px); }
.hero-figure__hint {
    position: absolute; left: 0; top: 8%;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff;
    font-size: .85rem; font-weight: 600; color: var(--dark); transition: opacity .3s;
}
.hero-figure__hint i { color: var(--accent); }
.hero-figure.is-smiling .hero-figure__hint { opacity: 0; }

@media (max-width: 991.98px) {
    .hero { padding: 92px 0 12px; }
    .hero .row { --bs-gutter-y: .75rem; }
    .hero__title { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 12px; }
    .hero__text { font-size: .98rem; margin-bottom: 18px; }
    .hero__ctas { gap: 14px; margin-bottom: 0; }
    .hero__ctas .btn-lounge--lg { padding: 14px 22px; font-size: .92rem; }
    .btn-play__icon { width: 44px; height: 44px; }
    .hero__trust { display: none; }
    .hero-figure { height: 34svh; }
    .hero-figure__hint { top: 0; left: auto; right: 0; }
}

/* ---------- Hero: real photo, pain → smile (same person) ----------
   Two cut-out photos from the same shoot. The smile shot is scaled and
   offset so both pairs of eyes line up; edges fade into the white page. */
.hero-figure { height: auto; align-items: center; }
.hero-figure__frame {
    position: relative;
    width: min(100%, calc(100svh - 150px));
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 58%, transparent 80%),
                        linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to bottom, #000 0, #000 58%, transparent 80%),
                        linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
            mask-composite: intersect;
}
.hero-figure__frame img { position: absolute; max-width: none; height: auto; transition: opacity .45s ease; }
.hero-figure__pain  { width: 170%;    left: -35%;  top: 0; }
.hero-figure__smile { width: 136.7%;  left: -17.3%; top: 4.8%;  opacity: 0; }
.hero-figure.is-smiling .hero-figure__pain { opacity: 0; }
.hero-figure.is-smiling .hero-figure__smile { opacity: 1; }
.hero__title { font-size: clamp(2.4rem, 4.4vw, 4rem); }
@media (max-width: 991.98px) {
    .hero-figure { height: auto; }
    .hero-figure__frame { width: min(100%, 34svh); }
}
@media (min-width: 992px) {
    .hero__ctas { gap: 16px; flex-wrap: nowrap; margin-bottom: 32px; }
    .hero__ctas .btn-lounge--lg { padding: 16px 22px; }
    .hero__ctas .btn-play { white-space: nowrap; }
    .hero__ctas .btn-play__icon { width: 44px; height: 44px; }
    .hero__trust { flex-wrap: nowrap; gap: 18px; padding-top: 22px; }
    .hero__trust-item i { width: 40px; height: 40px; font-size: 1.05rem; }
    .hero__trust-item small { font-size: .78rem; }
    .hero__text { margin-bottom: 28px; }
}
.hero__ctas .btn-lounge { flex-shrink: 0; }
@media (max-width: 991.98px) and (max-height: 700px) {
    .hero { padding-top: 84px; }
    .hero__title { font-size: 1.9rem; }
    .hero__text { font-size: .9rem; margin-bottom: 12px; }
    .hero-figure__frame { width: min(100%, 28svh); }
}

/* ==========================================================================
   Service detail page (service.php)
   ========================================================================== */
a.svc-tile { color: inherit; }
a.svc-tile:hover { color: inherit; }
.svc-hero .display-title { font-size: clamp(2.4rem, 5vw, 4rem); }
.svc-hero__cat {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    padding: 6px 12px; border-radius: 4px; background: var(--plum-100); color: var(--accent);
    font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.svc-hero__facts { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: 4px; margin-top: 8px; }
.svc-hero__facts > div { flex: 1 1 150px; padding: 16px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.3; }
.svc-hero__facts > div:last-child { border-right: 0; }
.svc-hero__facts small { color: var(--muted); font-size: .76rem; }
.svc-hero__facts strong { font-size: 1.1rem; color: var(--dark); }
.svc-hero .page-banner__media { height: 420px; }

.svc-block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc-block:first-child { padding-top: 0; }
.svc-block:last-child { border-bottom: 0; }
.svc-block > h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.svc-block > p { color: var(--muted); font-size: 1.05rem; }
.svc-perks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-perks li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 4px; background: var(--blue-100); font-weight: 600; font-size: .92rem; }
.svc-perks i { color: var(--primary); }

.svc-ideal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-ideal > div { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; font-weight: 600; line-height: 1.35; }
.svc-ideal i { flex: none; width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; background: var(--plum-100); color: var(--accent); font-size: 1.1rem; }

.svc-steps { list-style: none; padding: 0; margin: 0; position: relative; }
.svc-steps::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.svc-steps li { position: relative; display: flex; gap: 20px; padding-bottom: 26px; }
.svc-steps li:last-child { padding-bottom: 0; }
.svc-steps__num { flex: none; width: 44px; height: 44px; border-radius: 4px; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; position: relative; z-index: 1; }
.svc-steps h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.svc-steps p { color: var(--muted); margin: 0; }

.svc-after { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-after li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--plum-100); border-radius: 4px; }
.svc-after i { color: var(--accent); margin-top: 2px; }

.svc-doctor { display: flex; gap: 24px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 4px; }
.svc-doctor img { width: 140px; height: 170px; object-fit: cover; object-position: top; border-radius: 4px; flex: none; }
.svc-doctor h3 { font-size: 1.4rem; margin-bottom: 2px; }
.svc-doctor__role { color: var(--accent); font-weight: 600; font-size: .92rem; }
.svc-doctor p { color: var(--muted); margin: 10px 0; }
.svc-doctor__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .9rem; }
.svc-doctor__facts i { color: var(--primary); margin-right: 6px; }

/* Booking card */
.appt-card { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.appt-card__head { background: var(--dark); color: #fff; padding: 26px 26px 22px; --sun: #fff; }
.appt-card__head .eyebrow { margin-bottom: 10px; }
.appt-card__head h2 { font-size: 1.6rem; margin-bottom: 6px; }
.appt-card__head p { margin: 0; opacity: .75; font-size: .92rem; }
.appt-card__body { padding: 24px 26px 22px; }
.appt-fields { display: grid; gap: 14px; }
.appt-fields__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appt-card .form-control-l { padding: 12px 14px; }
.appt-error { color: var(--accent); font-weight: 600; font-size: .88rem; min-height: 1.3em; margin: 10px 0 0; }
.appt-note { color: var(--muted); font-size: .8rem; margin: 6px 0 0; }
.appt-note i { color: var(--primary); }
.appt-success { padding: 30px 26px 26px; text-align: center; }
.appt-success > i { font-size: 3rem; color: var(--primary); }
.appt-success h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.appt-success p { color: var(--muted); }

.related-section { background: var(--tint); }

@media (max-width: 991.98px) {
    .appt-card { position: static; }
    .svc-hero .page-banner__media { height: 300px; }
}
@media (max-width: 575.98px) {
    .svc-ideal { grid-template-columns: 1fr; }
    .svc-doctor { flex-direction: column; }
    .svc-doctor img { width: 100%; height: 240px; }
    .svc-hero__facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   Full-width photo hero (homepage)
   ========================================================================== */
.hero.hero--full {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: 110px 0 60px;
    display: flex; align-items: center;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13, 27, 54, .92) 0%, rgba(13, 27, 54, .78) 38%, rgba(13, 27, 54, .25) 72%, rgba(13, 27, 54, .1) 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 560px; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
    padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px;
    font-size: .85rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08);
}
.hero--full .hero__title { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.6rem); margin-bottom: 18px; }
.hero--full .hero__title em { color: #fff; font-weight: 400; }
.hero--full .hero__text { color: rgba(255, 255, 255, .85); font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin-bottom: 34px; max-width: 460px; }
.hero--full .hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 0; }
.btn-lounge--light { --bg: #fff; --fg: var(--dark); }
.btn-lounge--light::before { background: var(--accent); }
.btn-lounge--light:hover { color: #fff; }
.hero__call { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.hero__call:hover { color: #fff; border-color: #fff; }
@media (max-width: 767.98px) {
    .hero.hero--full { align-items: flex-end; padding: 100px 0 104px; }
    .hero__media img { object-position: 78% center; }
    .hero__media::after { background: linear-gradient(180deg, rgba(13, 27, 54, .35) 0%, rgba(13, 27, 54, .7) 45%, rgba(13, 27, 54, .95) 100%); }
    .hero--full .hero__title { font-size: 2.5rem; }
}

/* ==========================================================================
   Real moments (homepage)
   ========================================================================== */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.moments__item { margin: 0; overflow: hidden; border-radius: 4px; background: var(--tint); }
.moments__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.moments__item:hover img { transform: scale(1.03); }
.moments__item--0 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767.98px) {
    .moments { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .moments__item--0 { grid-column: span 2; }
}

/* ==========================================================================
   Doctors
   ========================================================================== */
.doc-card__img { background: var(--blue-100); }
.doc-card__img img { object-position: center top; filter: none; padding-top: 6%; }

.doc-profiles { display: grid; gap: 32px; }
.doc-profile {
    display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: clamp(28px, 4vw, 56px); align-items: center;
    padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 4px; background: #fff;
}
.doc-profile--flip .doc-profile__photo { order: 2; }
.doc-profile__photo { background: var(--blue-100); border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 4.6; }
.doc-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; padding-top: 6%; }
.doc-profile__body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.doc-profile__degree { font-weight: 700; color: var(--dark); }
.doc-profile__degree i { color: var(--accent); margin-right: 4px; }
.doc-profile__posts { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.doc-profile__posts li { display: flex; gap: 10px; padding: 12px 14px; background: var(--tint); border-left: 3px solid var(--primary); border-radius: 4px; font-size: .94rem; font-weight: 500; }
.doc-profile__posts i { color: var(--primary); margin-top: 2px; }
.doc-profile__label { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.doc-profile__focus { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-profile__focus li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: .86rem; font-weight: 600; }
@media (max-width: 991.98px) {
    .doc-profile { grid-template-columns: 1fr; }
    .doc-profile--flip .doc-profile__photo { order: 0; }
    .doc-profile__photo { max-width: 420px; }
}

.team-card { display: block; color: inherit; height: 100%; }
.team-card:hover { color: inherit; }
.team-card__img { aspect-ratio: 4 / 4.6; background: var(--blue-100); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; padding-top: 6%; transition: transform .5s ease; }
.team-card:hover .team-card__img img { transform: scale(1.03); }
.team-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card span { color: var(--accent); font-weight: 600; font-size: .88rem; }

.signature__faces { display: flex; }
.signature__faces img { width: 56px; height: 56px; object-fit: cover; object-position: top; border-radius: 4px; background: var(--blue-100); border: 2px solid #fff; }
.signature__faces img + img { margin-left: -12px; }

.svc-doctor img { background: var(--blue-100); object-position: center top; }

/* Testimonial initials */
.quote-card__avatar {
    width: 48px; height: 48px; flex: none; display: grid; place-items: center;
    border-radius: 4px; background: var(--plum-100); color: var(--accent); font-weight: 800; letter-spacing: .02em;
}
.swiper-slide-active .quote-card__avatar { background: rgba(255, 255, 255, .14); color: #fff; }

/* Single location card */
.branch-card--wide { display: grid; grid-template-columns: 7fr 5fr; }
.branch-card--wide .branch-card__map { height: 100%; min-height: 360px; }
.branch-card--wide .branch-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px); }
.branch-card--wide p a { color: var(--primary); font-weight: 700; }
@media (max-width: 991.98px) {
    .branch-card--wide { grid-template-columns: 1fr; }
    .branch-card--wide .branch-card__map { min-height: 260px; }
}

/* ==========================================================================
   Service detail — see how we treat it (video + clinic photos)
   ========================================================================== */
.svc-video { margin: 22px 0 0; }
.svc-video figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.svc-video figcaption i { color: var(--accent); }
.video-player { position: relative; aspect-ratio: 16 / 9; background: var(--dark); border-radius: 4px; overflow: hidden; }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-player__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.video-player__poster:hover img { opacity: 1; }
.video-player__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 76px; height: 76px; border-radius: 4px; display: grid; place-items: center;
    background: #fff; color: var(--dark); font-size: 2.4rem; transition: background .3s, color .3s;
}
.video-player__poster:hover .video-player__play, .video-player__poster:focus-visible .video-player__play { background: var(--accent); color: #fff; }

.svc-media__label { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 32px 0 12px; }
.svc-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 190px 190px; gap: 12px; }
.svc-photos__item { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--tint); }
.svc-photos__item--0 { grid-row: span 2; }
.svc-photos__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-photos__item:hover img { transform: scale(1.04); }
.svc-photos__caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
    background: linear-gradient(180deg, transparent, rgba(13, 27, 54, .85));
    color: #fff; font-size: .85rem; font-weight: 600;
}
@media (max-width: 575.98px) {
    .svc-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px; }
    .svc-photos__item--0 { grid-row: auto; grid-column: span 2; }
}

/* ==========================================================================
   Warm & colourful layer — cream base, tinted section rhythm, white cards
   ========================================================================== */
body { background: var(--cream); }

/* Section backgrounds: cream → soft blue → soft lavender rhythm */
.calc-section, .process, .faq-section, .team-section, .related-section { background: var(--tint-blue); }
.finder, .testimonials-section, .values-section, .plans-section, .join-section { background: var(--tint-plum); }
.intro, .moments-section, .doctors-section, .branches-section, .price-section, .gallery-section, .svc-detail { background: var(--cream); }

/* Page banners: soft brand gradient instead of flat white */
.page-banner {
    background:
        radial-gradient(circle at 88% 12%, rgba(134, 38, 127, .10), transparent 42%),
        radial-gradient(circle at 8% 90%, rgba(22, 99, 182, .12), transparent 45%),
        linear-gradient(135deg, var(--tint-blue) 0%, var(--cream) 55%, var(--tint-plum) 100%);
}

/* Cards stay crisp white on the tinted backgrounds */
.value-card, .branch-card, .svc-drawer__facts div { background: #fff; }
.value-card { border: 1px solid var(--line); }
.calc-card, .quote-card, .doc-card, .svc-tile, .plan-card, .contact-tile, .contact-form, .join-card, .feature-mini, .step__icon, .doc-profile, .faq-tab { border-color: rgba(13, 27, 54, .08); }
.faq-tab { background: #fff; }
.faq-item { border-color: rgba(13, 27, 54, .1); }
.svc-block { border-color: rgba(13, 27, 54, .1); }

/* Colour accents: alternate brand blue & purple on icons and numbers */
.feature-mini:nth-child(even) i { background: var(--plum-100); color: var(--accent); }
.feature-mini:nth-child(odd) i { background: var(--blue-100); color: var(--primary); }
.step:nth-child(1) .step__icon, .col-sm-6:nth-child(odd) .step .step__icon { color: var(--primary); }
.col-sm-6:nth-child(even) .step .step__icon { color: var(--accent); }
.stats-row:not(.stats-row--light) .stat:nth-child(odd) strong { color: var(--primary); }
.stats-row:not(.stats-row--light) .stat:nth-child(even) strong { color: var(--accent); }
.col-md-4:nth-child(2) .value-card > i { color: var(--primary); }
.symptom:nth-child(4n+2) i, .symptom:nth-child(4n+3) i { background: var(--blue-100); color: var(--primary); }
.svc-tile:hover { border-color: rgba(22, 99, 182, .35); }
.contact-tile:nth-child(odd) i { background: var(--blue-100); }

/* Soft coloured top accent on key white cards */
.calc-card, .plan-card, .appt-card { border-top: 3px solid var(--primary); }
.plan-card--featured { border-top-color: var(--accent); }
.quote-card { border-top: 3px solid var(--tint-plum); }

/* Header pill reads well on cream */
.nav-pill { background: rgba(255, 255, 255, .86); }
.stat strong .counter { color: inherit; }

/* ==========================================================================
   Mobile overflow fix
   Bootstrap .g-5 rows use a 3rem gutter (−1.5rem side margins), wider than the
   container's mobile padding — that pushed the page 12px sideways on phones.
   ========================================================================== */
@media (max-width: 991.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}
img, iframe, video { max-width: 100%; }
.nav-pill { min-width: 0; }
.brand { min-width: 0; }
.brand__text { white-space: nowrap; }
@media (max-width: 991.98px) {
    .doc-profile { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
    .doc-profile { padding: 18px; }
    .doc-profile .btn-lounge, .doc-profile .btn-ghost { white-space: normal; text-align: left; }
}
/* Header: keep the phone number on one line */
.nav-call { white-space: nowrap; }
@media (max-width: 1199.98px) { .nav-pill { padding-left: 12px; } }
