/* ============================================================================
   Klinik Pergigian Dr Syahirah — LIGHT EDITORIAL PREMIUM (Oralyn-inspired)
   White base · soft pastel section tints · Fraunces serif-italic accents ·
   Plus Jakarta Sans · big radii · green brand · soft-glow pill buttons.
   Reference aesthetic: oralyn-template.webflow.io (rebuilt in original code).
   ============================================================================ */

:root {
    --bg:        #FFFFFF;
    --ink:       #0F1E17;
    --body:      #55655C;
    --muted:     #8A988F;

    --green:     #10B981;
    --green-deep:#0B6E4F;
    --green-600: #0E9F6E;

    --tint-mint: #E7F4EC;
    --tint-cream:#FAF6EC;
    --tint-blush:#FBEEF1;
    --tint-sky:  #E9F1FB;
    --line:      #E8EEE9;
    --ring:      #0E9F6E;

    /* pastel-blue hero accent (Oralyn) */
    --sky-hi:    #A8D4F0;
    --sky-mid:   #CAE4F6;
    --sky-lo:    #E8F3FC;
    --blue:      #3E7BD6;
    --blue-deep: #2C5FB0;
    --blue-ink:  #1C3A63;
    --blue-tint: #E8F1FD;
    --blue-link: #3E8FDE;

    --r-xl: 30px;
    --r-lg: 24px;
    --r-md: 16px;
    --r-pill: 999px;
    --container: 1180px;

    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --serif: 'Fraunces', Georgia, serif;

    --shadow-sm: 0 2px 8px rgba(15,30,23,.05);
    --shadow-md: 0 12px 30px -12px rgba(15,30,23,.14);
    --shadow-lg: 0 26px 60px -22px rgba(15,30,23,.20);
    --glow: 0 12px 30px -8px rgba(16,185,129,.5);
}

/* ── base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--body); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }   /* Oralyn type-scale: H1 48px / Medium / 120% / -1% */
h2 { font-size: clamp(2.1rem, 4vw, 2.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }   /* H2 44px / Medium / 120% / -1% */
h3 { font-size: 1.2rem; letter-spacing: -.02em; }   /* NOTE: this global h3 is used as a small CARD-TITLE size (value-card, team-body), not the guide's 36px section-heading role — left untouched. Section-level h3s (.svc-copy h3, .proc-card h3, etc.) already have their own bigger clamp() overrides */
em { font-style: normal; }
h1 em, h2 em, .edi-word em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green-deep); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 2000; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.ic-sm { width: 16px; height: 16px; flex: 0 0 auto; }
.ph { color: var(--muted); font-size: .82rem; font-style: italic; text-align: center; padding: 8px; }

/* ── section heads ────────────────────────────────────────────────────────── */
.sec-head { max-width: 640px; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.sec-sub { color: var(--body); font-size: 1.1rem; margin-top: 14px; }
.pill-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 18px; }

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; white-space: nowrap; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-primary { background: linear-gradient(180deg, #34D399, var(--green-600)); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(16,185,129,.6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cfe0d6; transform: translateY(-2px); }

/* text-roll hover — the label rolls up and a copy rolls in from below */
.btn-roll .roll { display: inline-block; overflow: hidden; line-height: 1.3; }
.btn-roll .roll-in { display: block; position: relative; transition: transform .42s cubic-bezier(.5, 0, .1, 1); }
.btn-roll .roll-in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; }
.btn-roll:hover .roll-in, .btn-roll:focus-visible .roll-in { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .btn-roll .roll-in { transition: none; } }

/* ── header (floating pill, dark glass — dissolves further on scroll) ──────── */
.hdr { position: fixed; top: 16px; left: 0; right: 0; z-index: 500; display: flex; justify-content: center; padding-inline: 16px; }
.hdr-pill { width: 100%; max-width: 960px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(6,20,15,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-md); border-radius: var(--r-pill); padding: 10px 12px 10px 20px; transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease; }
.hdr.is-scrolled .hdr-pill { background: rgba(6,20,15,.4); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-color: rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(150deg, var(--green), var(--green-deep)); color: #fff; }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }
.brand-logo { display: block; height: 44px; width: auto; transition: opacity .45s ease; }
.ftr-brand .brand-logo { height: 58px; margin-bottom: 4px; }
.nav { display: flex; gap: 22px; }
.nav a { font-weight: 500; font-size: .96rem; color: rgba(255,255,255,.78); transition: color .18s ease; }
.nav a:hover { color: #fff; }
.hdr-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero (fullscreen video panel, edge-to-edge) ─────────────────────────── */
.hero { position: relative; padding: 140px 0 4rem; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; background: linear-gradient(180deg, var(--sky-hi) 0%, var(--sky-mid) 34%, var(--sky-lo) 78%, #FFFFFF 100%); }
.hero-inner { text-align: center; max-width: 820px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 26px; }
.dot-stars { color: #F5B301; letter-spacing: 1px; font-size: .78rem; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.18rem; max-width: 40ch; margin: 0 auto 30px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { font-weight: 600; font-size: .92rem; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 9px 20px; border-radius: var(--r-pill); cursor: pointer; transition: all .18s ease; }
.chip:hover { border-color: #bfe0cd; transform: translateY(-2px); }
.chip.is-active { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
/* hero service links — soft sea-blue pills, blue text + glow on hover */
.hero-pills .chip { color: var(--blue-ink); background: #CCE6F0; border-color: rgba(62,143,222,.14); box-shadow: 0 2px 8px rgba(30,80,140,.05); transition: color .2s ease, background .2s ease, box-shadow .25s ease, transform .2s ease; }
.hero-pills .chip:hover { color: var(--blue-link); background: #BEDFEC; box-shadow: 0 2px 8px rgba(30,80,140,.05), 0 12px 26px -10px rgba(62,143,222,.5); transform: translateY(-2px); }

/* ── hero background video (crossfading playlist, fullscreen) ───────────── */
.hero.has-video { overflow: hidden; }
.hero-bgvideo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bgvideo-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.hero-bgvideo-el.is-active { opacity: 1; }
/* fades to solid white in the last stretch so the hero dissolves into the (white) trust strip below instead of cutting off hard */
.hero-vfade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,20,15,.62) 0%, rgba(6,20,15,.5) 40%, rgba(6,20,15,.7) 74%, rgba(6,20,15,.9) 88%, #06140F 100%); pointer-events: none; }
.hero.has-video > .container { position: relative; z-index: 2; }
.hero.has-video .eyebrow-pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.hero.has-video h1 { color: #fff; }
.hero.has-video .hero-sub { color: rgba(255,255,255,.82); }
.hero.has-video .hero-pills .chip { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.hero.has-video .hero-pills .chip:hover { background: rgba(255,255,255,.24); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
    .hero-bgvideo-el { transition: none; }
}

/* ── trust strip (logo marquee) ────────────────────────────────────────────── */
.trust { padding: clamp(2.4rem, 5vw, 4rem) 0; overflow: hidden; }
.trust-head { display: flex; align-items: center; gap: clamp(14px, 3vw, 26px); max-width: 760px; margin: 0 auto clamp(1.8rem, 3.5vw, 2.8rem); }
.trust-rule { flex: 1; height: 1px; background: var(--line); }
.trust-lead { color: var(--muted); font-size: 1rem; white-space: nowrap; }
.trust-lead strong { color: var(--ink); font-weight: 700; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tlogo { display: inline-flex; align-items: center; gap: 12px; margin-right: clamp(44px, 6vw, 84px); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; color: #9aa6ad; white-space: nowrap; transition: color .2s ease; }
.tlogo:hover { color: var(--ink); }
.tlogo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #e6ecef; color: #8b969d; font-weight: 800; font-size: 1.05rem; }

/* homepage only: trust strip continues the video hero's dark tone at its top, then closes out
   with a set of echo lines (thick → hairline) dissolving into white, instead of a plain blur fade */
.hero.has-video + .trust { position: relative; background: #06140F; padding-bottom: calc(clamp(110px, 13vw, 190px) + clamp(14px, 1.5vw, 22px)); }
.hero.has-video + .trust::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 13vw, 190px); background-color: #FFFFFF; background-repeat: no-repeat; background-size: 100% 100%; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Crect%20x%3D%220%22%20y%3D%224.00%22%20width%3D%22100%22%20height%3D%224.70%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.92%22/%3E%3Crect%20x%3D%220%22%20y%3D%2212.36%22%20width%3D%22100%22%20height%3D%224.61%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.90%22/%3E%3Crect%20x%3D%220%22%20y%3D%2220.73%22%20width%3D%22100%22%20height%3D%224.43%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.86%22/%3E%3Crect%20x%3D%220%22%20y%3D%2229.09%22%20width%3D%22100%22%20height%3D%224.17%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.81%22/%3E%3Crect%20x%3D%220%22%20y%3D%2237.45%22%20width%3D%22100%22%20height%3D%223.87%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.75%22/%3E%3Crect%20x%3D%220%22%20y%3D%2245.82%22%20width%3D%22100%22%20height%3D%223.51%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.68%22/%3E%3Crect%20x%3D%220%22%20y%3D%2254.18%22%20width%3D%22100%22%20height%3D%223.11%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.59%22/%3E%3Crect%20x%3D%220%22%20y%3D%2262.55%22%20width%3D%22100%22%20height%3D%222.66%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.50%22/%3E%3Crect%20x%3D%220%22%20y%3D%2270.91%22%20width%3D%22100%22%20height%3D%222.18%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.40%22/%3E%3Crect%20x%3D%220%22%20y%3D%2279.27%22%20width%3D%22100%22%20height%3D%221.65%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.30%22/%3E%3Crect%20x%3D%220%22%20y%3D%2287.64%22%20width%3D%22100%22%20height%3D%221.09%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.18%22/%3E%3Crect%20x%3D%220%22%20y%3D%2296.00%22%20width%3D%22100%22%20height%3D%220.50%22%20fill%3D%22%2306140F%22%20fill-opacity%3D%220.06%22/%3E%3C/svg%3E"); pointer-events: none; }
.hero.has-video + .trust .trust-rule { background: rgba(255,255,255,.18); }
.hero.has-video + .trust .trust-lead { color: rgba(255,255,255,.62); }
.hero.has-video + .trust .trust-lead strong { color: #fff; }
.hero.has-video + .trust .tlogo { color: rgba(255,255,255,.5); }
.hero.has-video + .trust .tlogo:hover { color: #fff; }
.hero.has-video + .trust .tlogo-mark { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── services (scroll-pinned stacking slider) ──────────────────────────────── */
.svc-scroll { position: relative; height: 500vh; }
.svc-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(1.4rem, 3vh, 2.4rem); overflow: hidden; padding: clamp(1.5rem, 4vh, 3.5rem) 0; }
.svc-head { text-align: center; flex: 0 0 auto; }
.svc-stage { position: relative; flex: 0 1 auto; height: min(58vh, 520px); }
.svc-slide { position: absolute; inset: 0; display: flex; align-items: center; will-change: transform; }
/* each slide = TWO separate cards (text-left + image-right) with a gap */
.svc-card2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(16px, 1.8vw, 28px); align-items: stretch; width: 100%; height: 100%; }
.svc-copy { display: flex; flex-direction: column; background: #F4F6F8; border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 52px); box-shadow: var(--shadow-lg); }
.svc-pager { display: flex; gap: 16px; font-weight: 600; font-size: 1rem; color: var(--muted); margin-bottom: clamp(1.2rem, 4vh, 2.4rem); }
.svc-pager .on { color: var(--ink); position: relative; padding-left: 13px; }
.svc-pager .on::before { content: "-"; position: absolute; left: 0; }
.svc-copy h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.03em; margin-bottom: clamp(1rem, 3vh, 1.8rem); }
.svc-copy p { font-size: 1.05rem; color: var(--body); max-width: 42ch; }
.svc-copy .svc-actions { margin-top: auto; }
.svc-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: clamp(1.2rem, 3vh, 2rem); }
.svc-shot { height: 100%; min-height: 200px; border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--sky-mid), var(--tint-sky)); }
.svc-shot img { width: 100%; height: 100%; object-fit: cover; }
.svc-shot.t2 { background: linear-gradient(160deg, var(--tint-mint), #d7ecdf); }
.svc-shot.t3 { background: linear-gradient(160deg, var(--tint-cream), #f0e6cb); }
.svc-shot.t4 { background: linear-gradient(160deg, var(--tint-blush), #f6dce3); }
.svc-shot.t5 { background: linear-gradient(160deg, var(--sky-mid), #cfe4f4); }
.svc-shot.t6 { background: linear-gradient(160deg, var(--tint-mint), var(--tint-sky)); }
/* static fallback (mobile / reduced-motion / short viewport): normal vertical stack */
.svc-static { height: auto; }
.svc-static .svc-pin { position: static; height: auto; display: block; overflow: visible; padding: clamp(4rem, 8vw, 7rem) 0; }
.svc-static .svc-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.svc-static .svc-stage { position: static; height: auto; display: flex; flex-direction: column; gap: 22px; }
.svc-static .svc-slide { position: static; transform: none !important; display: block; }

/* ── before / after compare (draggable divider circle) ─────────────────────── */
.ba-pills { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.ba { position: relative; aspect-ratio: 16/10; max-width: 1040px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after { background: linear-gradient(160deg, #cfe4f4, #b9dcc7); }
.ba-before { clip-path: inset(0 50% 0 0); background: linear-gradient(160deg, #f2e9cf, #e6d3ad); }
.ba-after img, .ba-before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba .ph { position: absolute; top: 14px; font-weight: 600; font-style: normal; font-size: .78rem; color: rgba(15,30,23,.45); }
.ba-before .ph { left: 18px; }
.ba-after .ph { right: 18px; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 0 1px rgba(15,30,23,.05); }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 20px -4px rgba(15,30,23,.4); }
.ba-handle svg { width: 26px; height: 15px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-labels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 90px); max-width: 1040px; margin: 22px auto 0; }
.ba-lab { display: flex; align-items: center; gap: 18px; font-weight: 600; color: var(--ink); }
.ba-lab .ln { flex: 1; height: 1px; background: var(--line); }
/* hover-magnet: smooth trailing follow of the divider under the cursor */
.ba-magnet { cursor: ew-resize; }
.ba-magnet .ba-before { transition: clip-path .14s cubic-bezier(.16, 1, .3, 1); }
.ba-magnet .ba-divider { transition: left .14s cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) { .ba-magnet .ba-before, .ba-magnet .ba-divider { transition: none; } }

/* ── expert (pinned tilting image-stack, hero-style lime wrapper) ───────────── */
.expert-scroll { position: relative; height: 480vh; }
.expert-pin { position: sticky; top: clamp(6px, 0.6vw, 9px); height: calc(100vh - 2 * clamp(6px, 0.6vw, 9px)); margin: 0 clamp(6px, 0.6vw, 9px); border-radius: clamp(28px, 4vw, 44px); overflow: hidden; display: flex; align-items: center; background: linear-gradient(180deg, #D8EC7C 0%, #E9F4B4 40%, #F7FBE9 80%, #FFFFFF 100%); }
.expert-row { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 4rem); width: 100%; padding: 0 clamp(20px, 5vw, 60px); }
.expert-side { flex: 1 1 0; min-width: 0; font-weight: 700; font-size: clamp(1.5rem, 4.2vw, 3.5rem); letter-spacing: -.03em; line-height: 1.05; color: var(--ink); transition: opacity .32s ease; }
.expert-left { text-align: right; }
.expert-right { text-align: left; }
.expert-side em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.expert-stage { position: relative; flex: 0 0 auto; width: clamp(290px, 35vw, 469px); aspect-ratio: 1/1; }
.expert-img { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--tint-mint), var(--tint-sky)); will-change: transform, opacity; transition: opacity .3s ease; }
.expert-img img { width: 100%; height: 100%; object-fit: cover; }
.expert-img.e2 { background: linear-gradient(160deg, var(--tint-sky), #cfe4f4); }
.expert-img.e3 { background: linear-gradient(160deg, var(--tint-cream), #efe4c4); }
.expert-img.e4 { background: linear-gradient(160deg, var(--tint-blush), #f6dce3); }
/* static fallback: stacked heading + 2x2 image grid */
.expert-static { height: auto; }
.expert-static .expert-pin { position: static; height: auto; margin: clamp(10px, 2vw, 20px); border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.expert-static .expert-row { flex-direction: column; gap: clamp(1rem, 4vw, 2rem); }
.expert-static .expert-side { text-align: center; flex: 0 0 auto; }
.expert-static .expert-stage { width: min(80%, 460px); aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.expert-static .expert-img { position: static; transform: none !important; aspect-ratio: 1/1; }

/* ── Google / review wrapper ───────────────────────────────────────────────── */
.grev { padding: clamp(3rem, 6vw, 5rem) 0; }
.grev-pill { max-width: 840px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(115deg, #5C9BF2, #3568D4); color: #fff; border-radius: var(--r-pill); padding: 16px 16px 16px clamp(24px, 4vw, 40px); box-shadow: 0 24px 55px -22px rgba(53,104,212,.65); }
.grev-text { font-weight: 600; font-size: clamp(1rem, 2.2vw, 1.35rem); }
.grev-text strong { font-weight: 800; }
.grev-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 10px 20px; box-shadow: var(--shadow-sm); }
.grev-badge strong { font-size: 1.25rem; font-weight: 800; }
.grev-stars { color: #F5B301; letter-spacing: 1px; font-size: .85rem; }
.grev-cap { color: var(--muted); font-size: .82rem; }

/* ── process (sticky stacking cards) ───────────────────────────────────────── */
.proc-stack { max-width: 620px; margin: 0 auto; padding-bottom: 14vh; }
.proc-card { position: sticky; background: #fff; border-radius: var(--r-xl); box-shadow: 0 22px 55px -18px rgba(20,40,70,.3); padding: clamp(28px, 3.2vw, 44px); }
.proc-card:not(:last-child) { margin-bottom: 9vh; }
.proc-card:nth-child(1) { top: 110px; transform: rotate(-2.4deg); }
.proc-card:nth-child(2) { top: 160px; transform: rotate(2deg); }
.proc-card:nth-child(3) { top: 210px; transform: rotate(-1.7deg); }
.proc-card:nth-child(4) { top: 260px; transform: rotate(2.3deg); }
.proc-num { display: inline-block; font-weight: 700; font-size: 1rem; color: var(--muted); margin-bottom: 16px; position: relative; padding-left: 12px; }
.proc-num::before { content: "-"; position: absolute; left: 0; }
.proc-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.proc-card p { font-size: 1rem; color: var(--body); }

/* ── experience block (doctor CTA pill) ────────────────────────────────────── */
.expblock-wrap { padding: clamp(3rem, 6vw, 5rem) 0; }
.expblock { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 26px); background: linear-gradient(115deg, #4C86EF, #2E63D6); border-radius: var(--r-pill); padding: 14px 14px 14px 16px; box-shadow: 0 24px 55px -22px rgba(46,99,214,.6); color: #fff; }
.expblock-ava { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, var(--tint-sky), var(--tint-mint)); display: grid; place-items: center; color: var(--green-deep); font-weight: 800; }
.expblock-ava img { width: 100%; height: 100%; object-fit: cover; }
.expblock-text { flex: 1 1 auto; min-width: 0; }
.expblock-lead { font-weight: 700; font-size: clamp(.98rem, 1.8vw, 1.2rem); }
.expblock-sub { font-size: clamp(.9rem, 1.6vw, 1.05rem); opacity: .88; margin-top: 2px; }
.expblock-btn { flex: 0 0 auto; background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 13px 24px; font-weight: 700; box-shadow: var(--shadow-sm); }
.expblock-btn:hover { transform: translateY(-2px); }

/* ── availability (floating panel — echoes the hero wrapper) ───────────────── */
/* rounded blush panel at the top; bottom dissolves to pure white so the panel
   melts seamlessly into the section below (faded intersection, no visible seam). */
.avail { position: relative; margin: clamp(6px, 0.6vw, 9px) clamp(6px, 0.6vw, 9px) 0; padding: clamp(4rem, 8vw, 7rem) 0 clamp(5.5rem, 10vw, 8.5rem); background: linear-gradient(180deg, #FBE3EA 0%, var(--tint-blush) 30%, #FDF1F4 60%, #FFFFFF 88%); border-radius: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0 0; }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.day-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 24px; text-align: center; }
.day-name { display: block; font-weight: 700; color: var(--ink); font-size: 1.08rem; margin-bottom: 6px; }
.day-time { display: block; color: var(--body); font-size: .95rem; }
.avail-note { text-align: center; margin-top: 26px; color: var(--body); }
.avail-note strong { color: var(--ink); }

/* ── dentists (auto-rotating 3-up carousel) ────────────────────────────────── */
.dslider { position: relative; overflow: hidden; }
.dslides { display: flex; }
.dslides.is-anim { transition: transform .6s cubic-bezier(.5, 0, .1, 1); }
.dslide { flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); align-items: stretch; padding: 4px; }
.dent-card { display: flex; flex-direction: column; text-align: center; background: #F4F5F3; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(16px, 1.7vw, 22px); }
.dent-name { font-size: 1.16rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.dent-expert { color: var(--body); font-size: .95rem; margin-top: 6px; }
.dent-photo { aspect-ratio: 5/4; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--tint-sky), var(--tint-mint)); display: grid; place-items: center; overflow: hidden; margin: clamp(14px, 1.6vw, 18px) 0; }
.dent-photo img { width: 100%; height: 100%; object-fit: cover; }
.dent-role { align-self: center; margin-top: auto; font-size: .86rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 9px 20px; border-radius: var(--r-pill); }
.dslider-dots { display: flex; justify-content: center; gap: 8px; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.ddot { min-width: 36px; height: 36px; padding: 0 12px; border: none; background: none; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 1rem; color: var(--muted); border-radius: var(--r-pill); transition: color .2s ease, background .2s ease; }
.ddot:hover { color: var(--ink); }
.ddot.is-active { color: var(--green-deep); background: var(--tint-mint); }

/* ── pricing (floating panel — echoes the hero wrapper; mint tint) ──────────── */
/* rounded green-mint panel at the top; bottom dissolves to pure white so it
   melts into the section below (faded intersection, no visible seam). */
.pricing { position: relative; margin: clamp(6px, 0.6vw, 9px) clamp(6px, 0.6vw, 9px) 0; padding: clamp(4rem, 8vw, 7rem) 0 clamp(5.5rem, 10vw, 8.5rem); background: linear-gradient(180deg, #DCEFE3 0%, var(--tint-mint) 30%, #EFF7F1 60%, #FFFFFF 88%); border-radius: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0 0; }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 32px); max-width: 940px; margin: 0 auto; }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: clamp(26px, 3vw, 40px); }
.plan-name { font-size: 1.3rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.plan-price { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-top: clamp(16px, 2vw, 22px); }
.plan-price .per { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .48em; color: var(--muted); letter-spacing: 0; }
.plan-desc { color: var(--body); font-size: 1.02rem; margin-top: 14px; max-width: 34ch; }
.plan-cta { width: 100%; margin: clamp(22px, 3vw, 32px) 0; }
.plan-incl-h { font-weight: 700; color: var(--ink); font-size: 1rem; }
.plan-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 13px; }
.plan-list li { position: relative; padding-left: 20px; color: var(--body); font-size: 1rem; }
.plan-list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
/* featured (Premium) — soft green wash + brand-tinted border + badge */
.plan-featured { border-color: rgba(16,185,129,.28); }
.plan-featured::before { content: ""; position: absolute; left: 0; right: 0; top: 26%; height: 52%; background: radial-gradient(62% 60% at 50% 22%, rgba(16,185,129,.09), rgba(16,185,129,0) 72%); pointer-events: none; }
.plan-featured > * { position: relative; z-index: 1; }
.plan-badge { position: absolute; z-index: 2; top: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); font-size: .78rem; font-weight: 700; color: var(--green-deep); background: var(--tint-mint); border: 1px solid rgba(16,185,129,.22); box-shadow: 0 6px 18px -10px rgba(16,185,129,.5); padding: 7px 15px; border-radius: var(--r-pill); }

/* ── comparison table ──────────────────────────────────────────────────────── */
.cmp { max-width: 940px; margin: 0 auto; background: #F7F8F7; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: clamp(14px, 1.7vw, 20px) clamp(16px, 2vw, 28px); text-align: center; vertical-align: middle; }
.cmp-table th:not(:first-child), .cmp-table td:not(:first-child) { border-left: 1px solid var(--line); width: 26%; }
.cmp-table thead th { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.cmp-table thead th.cmp-prem { color: var(--green-deep); }
.cmp-table .cmp-feat { text-align: left; width: 48%; }
.cmp-table td.cmp-feat { color: var(--ink); font-weight: 500; font-size: 1.02rem; }
.cmp-table tbody tr:not(:last-child) { border-bottom: 1px solid var(--line); }
.cmp-table tbody tr:nth-child(even) { background: rgba(15,30,23,.022); }
.ci { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.ci svg { width: 15px; height: 15px; }
.ci-yes { background: var(--green-600); color: #fff; box-shadow: 0 4px 10px -4px rgba(16,185,129,.55); }
.ci-no { color: var(--muted); }
.ci-no svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
    .cmp-table th, .cmp-table td { padding: 13px 8px; }
    .cmp-table thead th { font-size: .86rem; }
    .cmp-table td.cmp-feat { font-size: .9rem; }
    .cmp-table .cmp-feat { padding-left: 14px; }
    .ci { width: 22px; height: 22px; }
}

/* ── testimonials (scroll-pinned HORIZONTAL slider; framer word-reveal) ──────── */
.tst-scroll { position: relative; height: 420vh; }
.tst-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.tst-pin .container { width: 100%; }
.tst-head { margin-bottom: clamp(1.2rem, 3vh, 2rem); }
.tst-stage { max-width: 820px; margin: 0 auto; }
.tst-viewport { overflow: hidden; will-change: transform; }
.tst-track { display: flex; will-change: transform; }
.tst-slide { flex: 0 0 100%; min-width: 100%; padding: 10px clamp(6px, 1.4vw, 18px); }
.tst-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-md); padding: clamp(11px, 1.3vw, 15px); }
.tst-photo { position: relative; height: clamp(160px, 22vh, 280px); border-radius: clamp(16px, 2vw, 22px); background: linear-gradient(160deg, var(--tint-sky), var(--tint-mint)); overflow: hidden; display: grid; place-items: center; }
.tst-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tst-content { padding: clamp(14px, 2vw, 24px) clamp(12px, 1.6vw, 20px) clamp(6px, 1vw, 12px); }
.tst-quote { font-size: clamp(1rem, 1.9vw, 1.32rem); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.tst-quote .tw { display: inline-block; }
.tst-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: clamp(12px, 2vh, 22px); flex-wrap: wrap; will-change: transform, opacity; }
.tst-author strong { color: var(--ink); font-weight: 700; }
.tst-author span { color: var(--muted); }
.tst-source { display: inline-flex; align-items: center; gap: 10px; }
.tst-review-logo { height: 20px; width: auto; display: block; }   /* real Facebook logo+stars image (assets/images/facebook.webp), replaces the old text "Google" + separate star glyphs */
.tst-badge { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 560px; margin: clamp(16px, 2.4vh, 26px) auto 0; background: linear-gradient(115deg, #5C9BF2, #3568D4); color: #fff; border-radius: var(--r-pill); padding: 13px 13px 13px clamp(22px, 3vw, 32px); box-shadow: 0 24px 55px -22px rgba(53,104,212,.65); will-change: transform, opacity; }
.tst-badge-text { font-weight: 600; font-size: clamp(.94rem, 1.8vw, 1.1rem); }
.tst-badge-text strong { font-weight: 800; }
.tst-badge-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-pill); padding: 8px 15px; }
.tst-badge-chip .tst-review-logo { height: 18px; }
.tst-dots { display: flex; justify-content: center; gap: 8px; margin-top: clamp(14px, 2vh, 22px); }
.tdot { width: 8px; height: 8px; border-radius: 999px; background: #D7E0D8; transition: width .35s ease, background .35s ease; }
.tdot.is-active { width: 26px; background: var(--green-600); }
/* static fallback (mobile / reduced-motion) → stack all 3 vertically */
.tst-static { height: auto; }
.tst-static .tst-pin { position: static; height: auto; display: block; overflow: visible; padding: clamp(4rem, 8vw, 7rem) 0; }
.tst-static .tst-viewport { overflow: visible; }
.tst-static .tst-track { flex-direction: column; gap: clamp(18px, 3vw, 28px); transform: none !important; }
.tst-static .tst-slide { min-width: 0; width: 100%; padding: 0; }
.tst-static .tst-meta { opacity: 1 !important; transform: none !important; }
.tst-static .tst-badge { opacity: 1 !important; transform: none !important; }
.tst-static .tst-quote .tw { opacity: 1 !important; }
.tst-static .tst-dots { display: none; }
@media (max-width: 600px) {
    .tst-badge { flex-direction: column; text-align: center; gap: 12px; padding: 18px; }
    .tst-meta { justify-content: center; text-align: center; }
}
@media (min-width: 861px) {
    .tst-photo { height: clamp(240px, 36vh, 432px); }
}

/* ── why ──────────────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why-copy h2 { margin: 4px 0 14px; }
.why-list { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: 1.04rem; }
.chk { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint-mint); color: var(--green-deep); }
.chk svg { width: 14px; height: 14px; }
.why-photo { aspect-ratio: 4/3; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--tint-sky), var(--tint-mint)); display: grid; place-items: center; box-shadow: var(--shadow-lg); overflow: hidden; }

/* ── metrics ──────────────────────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { text-align: left; }
.m-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.m-mint { background: var(--tint-mint); color: var(--green-deep); }
.m-cream { background: var(--tint-cream); color: #97742a; }
.m-blush { background: var(--tint-blush); color: #b0466a; }
.m-sky { background: var(--tint-sky); color: #2f66b0; }
.m-num { display: block; font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.m-num i { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .5em; color: var(--muted); }
.m-lbl { display: block; color: var(--body); margin-top: 10px; font-size: .96rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-wrap { max-width: 780px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; font-family: var(--font); font-weight: 600; font-size: 1.06rem; color: var(--ink); text-align: left; padding: 20px 24px; }
.faq-ic { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--green-deep); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.faq-ic::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-ic::after { left: 9px; top: 2px; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-ic::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--body); font-size: 1rem; }

/* ── CTA (cream floating panel — echoes the hero wrapper) ───────────────────── */
.cta { position: relative; margin: clamp(6px, 0.6vw, 9px) clamp(6px, 0.6vw, 9px) 0; padding: clamp(4rem, 8vw, 7rem) 0 clamp(5.5rem, 10vw, 8.5rem); background: linear-gradient(180deg, #FBE7CE 0%, var(--tint-cream) 32%, #FDF7EC 62%, #FFFFFF 88%); border-radius: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0 0; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── booking (blue floating panel form) ────────────────────────────────────── */
.booking { padding: clamp(3rem, 6vw, 5rem) 0 0; }
.book-panel { position: relative; max-width: 1000px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 56px) clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #A8D4F0 0%, #CAE4F6 36%, #E8F3FC 72%, #FFFFFF 100%); border-radius: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0 0; }
.bf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 24px); }
.bf-field { display: block; font-weight: 700; font-size: .98rem; color: var(--ink); }
.bf-req { color: var(--green-deep); margin-left: 2px; }
.bf-full { margin-top: clamp(16px, 2.4vw, 24px); }
.bf-field input, .bf-field textarea { display: block; width: 100%; margin-top: 9px; font-family: var(--font); font-size: 1rem; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-sm); border-radius: var(--r-pill); padding: 15px 22px; }
.bf-field textarea { border-radius: var(--r-lg); resize: vertical; min-height: 120px; }
.bf-field input::placeholder, .bf-field textarea::placeholder { color: var(--muted); font-weight: 400; }
.bf-field input:focus, .bf-field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.bf-check { display: flex; align-items: center; gap: 11px; margin: clamp(16px, 2.4vw, 22px) 0 clamp(20px, 3vw, 28px); color: var(--ink); font-weight: 500; font-size: .98rem; cursor: pointer; }
.bf-check input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--green-600); cursor: pointer; }
.book-panel .btn-lg { display: flex; width: fit-content; margin: 0 auto; }
.bf-note { text-align: center; color: var(--body); font-size: .95rem; margin-top: 16px; }

/* ── footer (Oralyn-style: contact row + columns + wordmark + socials) ──────── */
.ftr { overflow: hidden; }
.ftr-contact { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); padding: clamp(2rem, 4vw, 3rem) 0; }
.ftr-rule { flex: 1 1 auto; min-width: 24px; height: 1px; background: var(--line); }
.ftr-cc { flex: 0 1 auto; color: var(--body); font-size: .96rem; line-height: 1.5; }
.ftr-cc-mid { flex: 0 0 auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ftr-cc-r { text-align: right; }
.ftr-cc-r a { display: block; color: var(--body); }
.ftr-cc-r a:hover, .ftr-cc-l a:hover { color: var(--green-deep); }
.ftr-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.4rem); }
.ftr-lead { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.15; color: var(--ink); max-width: 16ch; letter-spacing: -.02em; }
.ftr-brand p { margin: 16px 0 22px; font-size: .96rem; max-width: 34ch; color: var(--body); }
.ftr-top { align-self: flex-start; }
.ftr-col h4 { font-size: 1rem; margin-bottom: 14px; color: var(--ink); }
.ftr-col a { display: block; color: var(--body); font-size: .95rem; padding: 6px 0; }
.ftr-col a:hover { color: var(--green-deep); }
.ftr-wordmark { font-weight: 800; text-align: center; letter-spacing: -.04em; color: var(--tint-mint); font-size: clamp(4rem, 20vw, 16rem); line-height: .9; user-select: none; padding: 10px 0; }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.ftr-social { display: inline-flex; gap: 10px; }
.ftr-credit { white-space: nowrap; }
.ftr-credit a { color: var(--ink); font-weight: 600; }
.ftr-credit a:hover { color: var(--green-deep); }
.ftr-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.ftr-social a:hover { border-color: var(--green-600); color: var(--green-deep); transform: translateY(-2px); }
.ftr-social svg { width: 17px; height: 17px; }

/* ── floating whatsapp ────────────────────────────────────────────────────── */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 480; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); transition: transform .2s ease; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ── reveal ───────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
    .metrics { grid-template-columns: repeat(2, 1fr); }
    .metric { text-align: center; }
    .why-grid { grid-template-columns: 1fr; }
    .why-photo { order: -1; }
}
@media (max-width: 860px) {
    .hide-sm { display: none; }
    .hdr-cta .btn-primary { display: none; }   /* responsive: header actions collapse to just the hamburger, nothing else */
    /* responsive: no wrapper at all — logo + hamburger float directly on the page, no bar/background */
    .hdr { top: 0; padding-inline: 0; }
    .hdr-pill, .hdr.is-scrolled .hdr-pill { max-width: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: none; box-shadow: none; border-radius: 0; }
    .nav-toggle span { box-shadow: 0 1px 3px rgba(0,0,0,.5); }
    .nav-toggle { display: flex; }
    /* once you've scrolled past the hero, the logo dissolves away — hamburger stays, responsive-only */
    .hdr.past-hero .brand-logo { opacity: 0; pointer-events: none; }
    .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(8,22,16,.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); border-radius: 0; padding: 8px 18px 14px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
    .nav.is-open { display: flex; opacity: 1; transform: none; pointer-events: auto; }   /* BUG FIX: the old rule only ever toggled opacity/transform — .nav stayed display:none permanently since nothing overrode it, so the dropdown could never actually appear no matter what main.js did to the class */
    .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.05rem; }
    .nav a:hover { color: var(--green); }
    .nav a:last-child { border-bottom: none; }
    .day-grid { grid-template-columns: repeat(2, 1fr); }
    /* process → normal vertical stack (no sticky pile on small screens) */
    .proc-stack { padding-bottom: 0; }
    .proc-card { position: static; transform: none !important; }
    .proc-card:not(:last-child) { margin-bottom: 18px; }
    .expblock { flex-direction: column; text-align: center; padding: 24px; gap: 14px; }
    /* services slider → stacked cards (paired with JS .svc-static) */
    .svc-card2 { grid-template-columns: 1fr; gap: 20px; }
    .svc-shot { order: -1; height: auto; aspect-ratio: 1/1; }   /* the before/after photos are square collages — 16/10 was slicing off the top+bottom halves */
    .svc-copy p { max-width: none; }
    /* footer: centred single-column stack across the WHOLE mobile range (same breakpoint the
       hamburger nav switches at), not just ≤600 — was leaving this 601-860px gap still on the
       old left-aligned 4-col desktop layout, inconsistent with the rest of mobile mode. */
    .ftr-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .ftr-lead { margin-inline: auto; }   /* has max-width:16ch with no auto margin — text-align:center only centred the TEXT inside it, the box itself stayed flush-left, so the heading sat visibly left of the (unconstrained, truly centred) paragraph below it */
    .ftr-brand p { margin-left: auto; margin-right: auto; }
    .ftr-bottom { justify-content: center; text-align: center; }
    .ftr-contact { flex-direction: column; text-align: center; gap: 8px; }
    .ftr-rule { display: none; }
    .ftr-cc-r { text-align: center; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    /* header pill was overflowing at true phone widths: brand-name wrapped to 2 lines and pushed
       the hamburger button half off-screen. Hide the Book Now pill from the header (hamburger
       becomes the one nav control) + stop the brand text wrapping + tighten the pill padding. */
    .hdr-pill { padding: 8px 10px 8px 16px; gap: 10px; }
    .brand-name { white-space: nowrap; font-size: 1rem; }
    .brand-logo { height: 36px; }
    .nav-toggle { width: 38px; height: 38px; }
    .hero { padding-top: 128px; }
    .hero h1 { font-size: clamp(2.1rem, 8.5vw, 2.9rem); }
    .h1-break { display: none; }
    .metrics, .bf-grid, .day-grid, .dslide, .plan-grid { grid-template-columns: 1fr; }
    /* footer centring now lives in the ≤860px block above (same breakpoint as the hamburger nav) */
    .grev-pill { flex-direction: column; text-align: center; gap: 14px; padding: 22px; }
}

/* ══════════ SERVICES PAGE ══════════ */
/* hero = sky-blue floating panel (echoes the home hero) + 3-photo gallery */
.svc-hero { position: relative; margin: clamp(6px, 0.6vw, 9px); padding: clamp(118px, 15vh, 160px) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--sky-hi) 0%, var(--sky-mid) 32%, var(--sky-lo) 72%, #FFFFFF 100%); border-radius: clamp(28px, 4vw, 44px); text-align: center; overflow: hidden; }
.svc-hero-inner { max-width: 800px; }
.svc-hero .eyebrow-pill { color: var(--blue-ink); background: #CCE6F0; border-color: rgba(62,143,222,.14); box-shadow: 0 2px 8px rgba(30,80,140,.05); font-size: .92rem; padding: 11px 26px; transition: color .2s ease, background .2s ease, box-shadow .25s ease, transform .2s ease; }   /* soft sea-blue, same palette as the home hero's .hero-pills .chip — scoped to this page only, index.html's eyebrow-pill (star rating badge) stays untouched */
.svc-hero .eyebrow-pill:hover { color: var(--blue-link); background: #BEDFEC; box-shadow: 0 2px 8px rgba(30,80,140,.05), 0 12px 26px -10px rgba(62,143,222,.5); transform: translateY(-2px); }
.svc-hero h1 { margin-bottom: 20px; }
.svc-hero .hero-sub { font-size: 1.16rem; max-width: 48ch; margin: 0 auto 30px; }
.svc-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* wallet-pocket. Layer order (back → front): porch-1 (biggest, frame) → porch-2 (pocket) → 3 photos
   (on TOP of both, staged/cascading, always smaller than either porch shape) → CTA text. */
.porch { position: relative; width: min(920px, 100%); margin: clamp(190px, 15vw, 260px) auto 0; }   /* was min(920px,94vw) — 94vw measures against the full viewport, ignoring .container's own padding-inline, so on narrow phones .porch came out WIDER than the space .container actually gives it. Auto-margins then collapse to 0 when a box overflows its container, so .porch stuck flush-left and bled out the right side instead of centring — that's the "shifted right" look. 100% respects .container's real (already-padded) width at any viewport, so it always centres exactly like the hero text above it does */
.porch-front { position: relative; z-index: 4; display: block; width: 100%; max-width: none; height: auto; margin-inline: auto; transform: translateY(15%); pointer-events: none; }   /* front pocket, centred. transform:translateY(%) nudges it down visually, relative to its OWN rendered height — top:% doesn't work here because .porch's height is auto (derived from this same element), and CSS treats %-based top/bottom as 0 on relatively-positioned elements in that case. transform has no such restriction and doesn't affect .porch's height or the other absolutely-positioned siblings. max-width:none defeats the global img{max-width:100%} reset. stays relative (it's the in-flow height sizer) */
.porch-back { position: absolute; z-index: 1; width: 116%; max-width: none; left: -8%; top: -12%; pointer-events: none; }   /* biggest, frames behind, but only as a thin sliver at the edges (ref: Oralyn). max-width:none overrides the global img{max-width:100%} reset so the width % (and its centring offset, always -(width-100)/2) actually applies */
.porch-photos { display: contents; }
/* 3 photos: now the TOPMOST layer (z-index above both porch shapes), so nothing hides/clips them —
   width 80% stays comfortably under porch-front's 100% and porch-back's 116%, so they never overflow
   past either frame. Staged/cascading top offsets, DOM order pp-1→pp-3 so pp-3 paints last (frontmost). */
.pp { position: absolute; z-index: 3; width: 65%; left: 17.5%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; box-shadow: 0 16px 34px -16px rgba(15,40,80,.55); }   /* left always = (100-width)/2 to stay centred */
.pp-1 { top: -9%; }
.pp-2 { top: 3%; }
.pp-3 { top: 15%; }
.porch-cta { position: absolute; z-index: 4; left: 0; right: 0; bottom: 24%; padding: 0 16%; text-align: center; color: #fff; }
.porch-cta h3 { color: #fff; font-size: clamp(.95rem, 1.8vw, 1.5rem); letter-spacing: -.02em; }
.porch-cta p { color: rgba(255,255,255,.88); font-size: clamp(.72rem, 1vw, .92rem); margin: 8px 0 16px; }
.porch-cta .btn { padding: 10px 20px; font-size: .84rem; }   /* the "Book Now" action button inside the porch — smaller than the site's default .btn so it stays proportional to the shrunk CTA text */
.porch-btn { background: #fff; color: var(--ink); box-shadow: 0 12px 26px -10px rgba(0,0,0,.35); }
.porch-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0,0,0,.4); }
@media (max-width: 600px) {
    .porch-cta { padding: 0 10%; bottom: 30%; }
    .porch-cta h3 { font-size: .88rem; }
    .porch-cta p { font-size: .68rem; margin: 6px 0 0; }
    .porch-cta .btn { display: none; }   /* action button removed on mobile — the card is too small to hold text + button cleanly; the whole hero already has its own "Lihat Harga" CTA above */
}
/* on page load, the 3 photos slide down INTO the pocket, staggered */
@keyframes porchInsert { from { opacity: 0; transform: translateY(-72px); } to { opacity: 1; transform: translateY(0); } }
.pp { animation: porchInsert .85s cubic-bezier(.45, 0, .1, 1) both; }
.pp-1 { animation-delay: .20s; }
.pp-2 { animation-delay: .38s; }
.pp-3 { animation-delay: .56s; }
@media (prefers-reduced-motion: reduce) { .pp { animation: none; } }

/* ── senarai servis (2-col card grid, tilt+zoom on hover) ─────────────────── */
.svclist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svclist-card { background: #F6F7F6; border-radius: var(--r-xl); padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 34px); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.svclist-card h3 { margin: 26px 0 10px; }
.svclist-card p { color: var(--body); }
/* alternate tilt direction per card so the hover feels organic, not mechanical */
.svclist-card:nth-child(odd):hover { transform: rotate(-2deg) scale(1.035); box-shadow: var(--shadow-lg); }
.svclist-card:nth-child(even):hover { transform: rotate(2deg) scale(1.035); box-shadow: var(--shadow-lg); }
@media (max-width: 700px) {
    .svclist-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .svclist-card { transition: none; }
    .svclist-card:hover { transform: none; }
}

/* ── kenapa pilih kami (CSS-only sticky pile, same mechanic as homepage .proc-card:
   position:sticky + increasing top so each card pins over the last while scrolling —
   but scattered left/right + rotated per card instead of one straight centred stack) */
.svcwhy { position: relative; margin: clamp(6px, 0.6vw, 9px); padding: clamp(4rem, 8vw, 7rem) 0 0; background: linear-gradient(180deg, #D8EC7C 0%, #E9F4B4 40%, #F7FBE9 80%, #FFFFFF 100%); border-radius: clamp(28px, 4vw, 44px); }
.svcwhy-stack { max-width: 820px; margin: 0 auto; padding-bottom: 14vh; }
.svcwhy-card { position: sticky; width: min(480px, 85%); background: #fff; border-radius: var(--r-xl); box-shadow: 0 22px 55px -18px rgba(20,40,70,.3); padding: clamp(26px, 3vw, 40px); }
.svcwhy-card:not(:last-child) { margin-bottom: 7vh; }
.svcwhy-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.svcwhy-card p { font-size: 1rem; color: var(--body); }
/* zigzag: odd cards sit left, even cards sit right (narrower-than-container + margin auto) */
.svcwhy-card:nth-child(odd) { margin-right: auto; }
.svcwhy-card:nth-child(even) { margin-left: auto; }
.svcwhy-card:nth-child(1) { top: 110px; transform: rotate(-3deg); }
.svcwhy-card:nth-child(2) { top: 170px; transform: rotate(2.5deg); }
.svcwhy-card:nth-child(3) { top: 230px; transform: rotate(-2deg); }
.svcwhy-card:nth-child(4) { top: 290px; transform: rotate(2.8deg); }
@media (max-width: 860px) {
    .svcwhy-stack { padding-bottom: 0; }
    .svcwhy-card { position: static; width: 100%; transform: none !important; margin: 0 !important; }
    .svcwhy-card:not(:last-child) { margin-bottom: 18px !important; }
}

/* ── harga teaser (same floating-panel wrapper + intersection fade as .pricing/.avail) ── */
.svcpricing { position: relative; margin: clamp(6px, 0.6vw, 9px) clamp(6px, 0.6vw, 9px) 0; padding: clamp(4rem, 8vw, 7rem) 0 clamp(5.5rem, 10vw, 8.5rem); background: linear-gradient(180deg, #DCEFE3 0%, var(--tint-mint) 30%, #EFF7F1 60%, #FFFFFF 88%); border-radius: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0 0; text-align: center; }
.svcpricing-cta { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ══════════ ABOUT PAGE ══════════ */
/* hero = lime floating panel (same gradient family as .expert-pin), all 4 corners rounded like the
   home/services hero — this is a top-of-page hero, not a lower section fading into the next one */
.about-hero { position: relative; margin: clamp(6px, 0.6vw, 9px); padding: clamp(118px, 15vh, 160px) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #D8EC7C 0%, #E9F4B4 40%, #F7FBE9 80%, #FFFFFF 100%); border-radius: clamp(28px, 4vw, 44px); text-align: center; }
.about-hero .hero-inner { margin-inline: auto; }
.about-hero-cta { display: flex; justify-content: center; }

/* 3-photo fan (replaces the old 2-col story-grid) — overlapping rotated polaroids that
   spread apart on hover: hover the group, the two outer photos slide further out sideways */
.about-photostack { position: relative; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); height: clamp(240px, 30vw, 340px); }
.aps-photo { position: absolute; top: 0; width: 34%; aspect-ratio: 4/5; border-radius: var(--r-lg); border: 6px solid #fff; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--tint-mint), var(--tint-sky)); display: grid; place-items: center; overflow: hidden; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.aps-1 { left: 6%; top: 8%; transform: rotate(-8deg); z-index: 1; }
.aps-2 { left: 33%; top: 0; transform: rotate(0deg); z-index: 2; }
.aps-3 { left: 60%; top: 8%; transform: rotate(8deg); z-index: 1; }
.about-photostack:hover .aps-1 { transform: rotate(-10deg) translate(-18px, 4px); }
.about-photostack:hover .aps-3 { transform: rotate(10deg) translate(18px, 4px); }
@media (prefers-reduced-motion: reduce) { .aps-photo { transition: none; } }

/* Story (replaces the old story-copy 2-col grid) — simple centred eyebrow + 2 paragraphs */
.about-story { max-width: 700px; margin: 0 auto; text-align: center; }
.about-story p + p { margin-top: 14px; }
.about-story p { color: var(--body); font-size: 1.05rem; }

/* 3D orbit (Doktor Kami header) — a ring of avatars genuinely rotating in 3D space around the
   mission card, not a flat 2D circle. Technique: .orbit-ring spins rotateY 0→360 continuously;
   each .orbit-item has a STATIC rotateY(fixed-angle) translateZ(radius) transform (its fixed slot
   around the ring, composed with the ring's animated rotation via transform-style:preserve-3d);
   its child .orbit-counter spins the OPPOSITE way at the same speed, cancelling the ring's spin so
   the avatar image itself stays upright/facing forward while its position still sweeps through 3D
   depth (nearer items read bigger/closer via perspective, matching a real orbit, not a 2D carousel). */
.orbit-wrap { display: flex; justify-content: center; padding: 0 0 clamp(2rem, 4vw, 3rem); }
.orbit-scene { position: relative; width: min(520px, 88vw); aspect-ratio: 1/1; perspective: 1400px; }
.orbit-ring { position: absolute; inset: 0; transform-style: preserve-3d; animation: orbit-spin 20s linear infinite; }
.orbit-item { position: absolute; top: 50%; left: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; transform-style: preserve-3d; }
.orbit-counter { width: 100%; height: 100%; animation: orbit-counter-spin 20s linear infinite; }
.orbit-face { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow-lg); overflow: hidden; background: linear-gradient(160deg, var(--tint-mint), var(--tint-sky)); display: grid; place-items: center; }
.orbit-face .ph { font-size: .6rem; padding: 4px; }
.oi-1 { transform: rotateY(0deg) translateZ(210px); }
.oi-2 { transform: rotateY(72deg) translateZ(210px); }
.oi-3 { transform: rotateY(144deg) translateZ(210px); }
.oi-4 { transform: rotateY(216deg) translateZ(210px); }
.oi-5 { transform: rotateY(288deg) translateZ(210px); }
.orbit-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(300px, 60%); background: linear-gradient(115deg, #5C9BF2, #3568D4); color: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 55px -22px rgba(53,104,212,.65); padding: 20px 22px; text-align: center; }
.orbit-center p { font-size: .88rem; line-height: 1.5; }
@keyframes orbit-spin { to { transform: rotateY(360deg); } }
@keyframes orbit-counter-spin { from { transform: rotateY(360deg); } to { transform: rotateY(0deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-ring, .orbit-counter { animation: none; } }
@media (max-width: 700px) { .orbit-scene { aspect-ratio: 4/5; } .oi-1, .oi-2, .oi-3, .oi-4, .oi-5 { width: 68px; height: 68px; margin: -34px 0 0 -34px; } }

/* Expert spotlight */
.expert { background: linear-gradient(160deg, var(--tint-mint), #fff); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.expert-photo { aspect-ratio: 1/1; border-radius: 50%; background: linear-gradient(160deg, var(--tint-sky), var(--tint-mint)); display: grid; place-items: center; box-shadow: var(--shadow-lg); overflow: hidden; }
.expert-info .m-tag { margin-bottom: 14px; }
.expert-info h2 { margin-bottom: 14px; }
.expert-quote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); margin-bottom: 20px; }

/* Team */
@media (max-width: 980px) {
    .expert { grid-template-columns: 1fr; }
    .expert-photo { max-width: 240px; margin-inline: auto; }
}

/* ── reduced motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    * { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
