/* ============================================================
   Smile Shapers · Dental care you deserve
   ============================================================ */
:root {
  --teal: #26bdb9;
  --teal-2: #4fd6d1;
  --teal-deep: #0e8f8b;
  --navy: #102a3a;
  --ink: #0b1f2b;
  --ink-2: #3c5563;
  --ink-3: #7b9099;
  --mint: #dcf6f3;
  --pearl: #f5fbfa;
  --white: #ffffff;
  --sun: #ffcf5a;
  --coral: #ff8f80;
  --line: rgba(16, 42, 58, .1);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r: 28px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.035em; line-height: 1; font-weight: 700; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--teal-deep); }
.wrap { width: min(1240px, 100% - 40px); margin: 0 auto; }
::selection { background: var(--teal); color: #fff; }
body.no-scroll { overflow: hidden; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--navy); color: #fff; }
.loader svg { width: 120px; height: 120px; overflow: visible; }
.loader .t-out { fill: none; stroke: var(--teal-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.3s var(--ease) forwards; }
.loader .t-smile { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .9s var(--ease) forwards; }
.loader .t-eye { fill: #fff; transform-origin: center; transform-box: fill-box; transform: scale(0); animation: popIn .4s .8s var(--spring) forwards; }
.loader p { margin: 22px 0 0; text-align: center; font-family: var(--display); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--teal-2); opacity: 0; animation: fadeIn .5s .9s forwards; }
.loader.out { animation: curtain .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popIn { to { transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); } }
.loader { clip-path: inset(0 0 0 0); }

/* ---------- cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 150; border-radius: 50%; mix-blend-mode: normal; }
.cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--teal); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; display: grid; place-items: center; }
.cursor span { font: 700 11px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.big { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--teal); border-color: var(--teal); }
.cursor.big span { opacity: 1; }
.cursor.hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(38, 189, 185, .12); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--navy); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--sun)); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: transform .5s var(--ease); }
.nav.hide { transform: translateY(-120%); }
.nav-in { width: min(1240px, 100% - 28px); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 40px -16px rgba(16, 42, 58, .25); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; transition: transform .8s var(--spring); }
.brand:hover img { transform: rotate(360deg); }
.brand small { display: block; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); margin-top: 2px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 9px 14px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; position: relative; }
.links a:hover { background: var(--mint); color: var(--ink); }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 99px; font-weight: 700; font-size: 15.5px; border: 0; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 14px 30px -12px rgba(38, 189, 185, .9); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost::before { background: var(--mint); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy::before { background: var(--teal); }
.btn-sm { height: 46px; padding: 0 20px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; place-items: center; }
.burger svg { width: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px 0 70px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -10%; z-index: -1; background:
  radial-gradient(42% 50% at 78% 38%, rgba(38, 189, 185, .32), transparent 70%),
  radial-gradient(36% 40% at 12% 82%, rgba(255, 207, 90, .22), transparent 70%),
  radial-gradient(30% 34% at 55% 8%, rgba(79, 214, 209, .2), transparent 70%), var(--pearl);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(2%, -3%, 0) scale(1.06); } }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 99px; background: #fff; box-shadow: 0 6px 20px -10px rgba(16, 42, 58, .3); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.kicker i { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-style: normal; }
.kicker .live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(54px, 8.4vw, 124px); margin: 22px 0 22px; font-weight: 700; letter-spacing: -.055em; line-height: .9; }
.hero h1 .ln { display: block; overflow: hidden; padding: .02em 0 .18em; margin-bottom: -.14em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 em.s { font-size: 1.08em; color: var(--teal); }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 0 0 32px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.hero-chips div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-chips b { display: block; font-family: var(--display); font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.hero-chips svg { width: 40px; height: 40px; padding: 10px; border-radius: 14px; background: #fff; color: var(--teal-deep); box-shadow: 0 8px 20px -12px rgba(16, 42, 58, .35); }

/* mascot */
.stage { position: relative; aspect-ratio: 1; width: min(560px, 100%); margin-left: auto; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(16, 42, 58, .14); animation: spin 40s linear infinite; }
.orbit.o2 { inset: 12%; border-style: solid; border-color: rgba(38, 189, 185, .2); animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-orbit { position: absolute; inset: 0; }
.badge-orbit .b { position: absolute; left: 50%; top: 50%; }
.badge-orbit .b span { display: flex; align-items: center; gap: 8px; padding: 9px 15px 9px 9px; border-radius: 99px; background: #fff; box-shadow: 0 14px 30px -14px rgba(16, 42, 58, .4); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.badge-orbit .b span i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.mascot { position: absolute; inset: 17%; filter: drop-shadow(0 40px 50px rgba(16, 42, 58, .25)); transform-style: preserve-3d; }
.mascot svg { width: 100%; height: 100%; overflow: visible; }
.mascot .float { animation: bob 5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-2deg); } }
.mascot .eye { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.mascot .cheek { opacity: .55; }
.mascot .shine { animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 50% { opacity: .35; } }
.sparkle { position: absolute; width: 26px; height: 26px; color: var(--sun); animation: twinkle 2.4s ease-in-out infinite; }
.sparkle svg { width: 100%; height: 100%; }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .4; } }
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(79, 214, 209, .35) 60%, rgba(79, 214, 209, .1)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); animation: rise 9s linear infinite; opacity: 0; }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-420px) scale(1.1); opacity: 0; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.scroll-hint i { width: 24px; height: 38px; border-radius: 99px; border: 2px solid var(--ink-3); position: relative; }
.scroll-hint i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--teal); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--navy); color: #fff; padding: 22px 0; overflow: hidden; transform: rotate(-2deg) scale(1.04); margin: 10px 0 -10px; position: relative; z-index: 2; }
.marquee.alt { background: var(--teal); transform: rotate(1.5deg) scale(1.04); margin-top: -40px; z-index: 1; }
.marquee .track { display: flex; gap: 40px; width: max-content; animation: marq 32s linear infinite; }
.marquee.alt .track { animation-direction: reverse; animation-duration: 40s; }
.marquee span { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 36px); letter-spacing: -.02em; display: flex; align-items: center; gap: 40px; white-space: nowrap; }
.marquee span::after { content: '✦'; color: var(--sun); font-size: .7em; }
.marquee.alt span::after { color: var(--navy); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- section basics ---------- */
section { position: relative; }
.sec { padding: 140px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(42px, 6vw, 84px); letter-spacing: -.05em; }
.sub { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 22px 0 0; }
.reveal { opacity: 0; transform: translateY(40px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split .w > span { display: inline-block; }

/* ---------- smile story (pinned) ---------- */
.story { height: 300vh; background: var(--navy); color: #fff; }
.story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.story-pin::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 60%, rgba(38, 189, 185, .25), transparent 70%); }
.story .smile-svg { position: absolute; left: 50%; top: 56%; width: min(1100px, 92vw); transform: translate(-50%, -50%); overflow: visible; }
.story .smile-svg path.mouth { fill: none; stroke: var(--teal-2); stroke-width: 14; stroke-linecap: round; filter: drop-shadow(0 0 28px rgba(79, 214, 209, .6)); }
.story .smile-svg .teeth rect { fill: #fff; }
.story-txt { position: relative; text-align: center; padding: 0 20px; margin-top: -26vh; }
.story-txt .step { position: absolute; left: 50%; top: 0; width: min(900px, 92vw); transform: translateX(-50%); opacity: 0; }
.story-txt .step:first-child { position: relative; }
.story-txt h2 { font-size: clamp(40px, 6.4vw, 92px); letter-spacing: -.05em; }
.story-txt h2 em.s { color: var(--teal-2); }
.story-txt p { color: rgba(255, 255, 255, .65); font-size: 18px; margin: 18px auto 0; max-width: 520px; }
.story-count { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.story-count i { width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; position: relative; }
.story-count i b { position: absolute; inset: 0; background: var(--teal-2); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- treatments ---------- */
.treat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tcard { position: relative; text-align: left; border: 0; background: #fff; border-radius: var(--r); padding: 26px 24px 24px; min-height: 260px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(16, 42, 58, .4); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; transform-style: preserve-3d; }
.tcard::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(38, 189, 185, .28), transparent 70%); transform: scale(.4); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.tcard:hover { box-shadow: 0 30px 60px -28px rgba(16, 42, 58, .5); }
.tcard:hover::after { transform: scale(1.4); opacity: 1; }
.tcard .ic { width: 62px; height: 62px; border-radius: 20px; background: var(--mint); display: grid; place-items: center; color: var(--teal-deep); transition: transform .6s var(--spring), background .3s, color .3s; }
.tcard:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--teal); color: #fff; }
.tcard .ic svg { width: 32px; height: 32px; }
.tcard .ic svg * { stroke-dasharray: 160; stroke-dashoffset: 0; }
.tcard.drawn .ic svg * { animation: draw2 1.3s var(--ease) both; }
@keyframes draw2 { from { stroke-dashoffset: 160; } }
.tcard h3 { font-size: 23px; letter-spacing: -.03em; margin-top: auto; }
.tcard p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.tcard .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--teal-deep); }
.tcard .more svg { width: 15px; transition: transform .3s; }
.tcard:hover .more svg { transform: translateX(4px); }
.tcard.feature { grid-column: span 2; background: var(--navy); color: #fff; }
.tcard.feature p { color: rgba(255, 255, 255, .7); }
.tcard.feature .ic { background: rgba(255, 255, 255, .1); color: var(--teal-2); }
.tcard.feature .more { color: var(--teal-2); }
.tcard .num { position: absolute; top: 22px; right: 24px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink-3); }

/* ---------- before / after ---------- */
.ba-sec { background: linear-gradient(180deg, var(--pearl), var(--mint)); overflow: hidden; }
.ba-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: center; }
.ba { position: relative; aspect-ratio: 768 / 396; border-radius: 34px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(16, 42, 58, .55); user-select: none; touch-action: pan-y; cursor: ew-resize; background: #000; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .3); }
.ba .handle i { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); color: var(--navy); transition: transform .3s var(--spring); }
.ba:active .handle i { transform: scale(.9); }
.ba .handle svg { width: 26px; }
.ba .tag { position: absolute; top: 18px; padding: 7px 14px; border-radius: 99px; font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(16, 42, 58, .78); color: #fff; backdrop-filter: blur(6px); }
.ba .tag.l { left: 18px; } .ba .tag.r { right: 18px; background: var(--teal); }
.ba-hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.ba-hint svg { width: 22px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.facts { display: grid; gap: 12px; margin-top: 32px; }
.facts > div { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.facts b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
.facts span { font-size: 14.5px; color: var(--ink-2); }
.facts svg { width: 36px; height: 36px; flex: none; padding: 8px; border-radius: 12px; background: var(--teal); color: #fff; }

/* ---------- aligners ---------- */
.align { background: #060f15; color: #fff; overflow: hidden; }
.align::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent); }
.align-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.align .h2 em.s { color: var(--teal-2); }
.align .sub { color: rgba(255, 255, 255, .65); }
.align-visual { position: relative; aspect-ratio: 1; }
.align-visual .photo { position: absolute; inset: 10%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 120px -20px rgba(38, 189, 185, .6); }
.align-visual .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.15); }
.ring-text { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.ring-text text { fill: rgba(255, 255, 255, .8); font: 700 13px var(--display); letter-spacing: 6px; text-transform: uppercase; }
.align-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 90px; position: relative; }
.astep { padding: 26px 22px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.astep .n { font-family: var(--display); font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(79, 214, 209, .7); }
.astep h4 { font-size: 21px; margin: 18px 0 8px; letter-spacing: -.02em; }
.astep p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 14.5px; }
.astep::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--sun)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.align-perks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.align-perks span { padding: 10px 16px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-weight: 600; font-size: 14.5px; }

/* ---------- myths (flip cards) ---------- */
.myths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; perspective: 1400px; }
.flip { position: relative; height: 320px; border: 0; padding: 0; background: none; text-align: left; transform-style: preserve-3d; transition: transform .9s var(--spring); }
.flip.on { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; border-radius: var(--r); padding: 26px; backface-visibility: hidden; display: flex; flex-direction: column; }
.flip .front { background: #fff; box-shadow: 0 20px 40px -30px rgba(16, 42, 58, .4); }
.flip .back { background: var(--teal); color: #fff; transform: rotateY(180deg); }
.flip .lbl { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.flip .front .lbl { color: var(--coral); }
.flip .back .lbl { color: var(--navy); }
.flip h4 { font-size: 24px; letter-spacing: -.03em; margin-top: 14px; line-height: 1.1; }
.flip .back p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.5; }
.flip .tap { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.flip .tap svg { width: 18px; }
.flip .big { position: absolute; right: 18px; bottom: 6px; font-family: var(--display); font-size: 130px; font-weight: 800; line-height: 1; color: var(--mint); pointer-events: none; }
.myth-photo { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; margin-top: 40px; padding: 24px; border-radius: 34px; background: var(--navy); color: #fff; overflow: hidden; }
.myth-photo img { border-radius: 24px; height: 360px; width: 100%; object-fit: cover; }
.myth-photo blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: -.01em; }
.myth-photo blockquote b { color: var(--teal-2); font-style: normal; font-family: var(--display); font-weight: 700; letter-spacing: -.04em; }
.myth-photo cite { display: block; margin-top: 18px; font: 600 14px var(--body); color: rgba(255, 255, 255, .55); font-style: normal; }

/* ---------- clinic ---------- */
.clinic-photo { position: relative; height: min(78vh, 720px); border-radius: 40px; overflow: hidden; }
.clinic-photo img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.clinic-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 31, 43, .75)); }
.clinic-cap { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.clinic-cap h3 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.045em; }
.clinic-cap p { margin: 10px 0 0; color: rgba(255, 255, 255, .8); max-width: 460px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pills span { padding: 10px 16px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 14px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.why div { padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.why svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--mint); color: var(--teal-deep); }
.why b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; margin: 16px 0 6px; }
.why span { font-size: 14.5px; color: var(--ink-2); }

/* ---------- big CTA ---------- */
.bigcta { padding: 40px 0 140px; }
.bigcta-in { position: relative; border-radius: 44px; background: var(--teal); color: #fff; padding: clamp(40px, 7vw, 100px); overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.bigcta-in h2 { font-size: clamp(44px, 6.6vw, 96px); letter-spacing: -.055em; }
.bigcta-in h2 em.s { color: var(--navy); }
.bigcta-in p { margin: 22px 0 0; font-size: 19px; color: rgba(255, 255, 255, .85); max-width: 480px; }
.bigcta-in .cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.bigcta-in .btn { justify-content: center; height: 64px; font-size: 17px; }
.bigcta-in .btn-white { background: #fff; color: var(--navy); }
.bigcta-in .btn-white::before { background: var(--navy); }
.bigcta-in .btn-white:hover { color: #fff; }
.bigcta-in .btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.bigcta-in .btn-outline::before { background: rgba(255, 255, 255, .15); }
.bigcta-tooth { position: absolute; right: -60px; bottom: -80px; width: 360px; opacity: .14; transform: rotate(-14deg); pointer-events: none; }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 56px; }
.vcard { border-radius: 32px; background: #fff; padding: 34px; box-shadow: 0 1px 0 var(--line); display: grid; gap: 22px; align-content: start; }
.vrow { display: flex; gap: 16px; align-items: flex-start; }
.vrow svg { width: 48px; height: 48px; flex: none; padding: 12px; border-radius: 16px; background: var(--mint); color: var(--teal-deep); }
.vrow small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.vrow b, .vrow a { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; font-weight: 600; line-height: 1.3; }
.vrow a:hover { color: var(--teal-deep); }
.vrow .note { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 4px; font-family: var(--body); letter-spacing: 0; font-weight: 500; }
.map { border-radius: 32px; overflow: hidden; min-height: 460px; position: relative; background: var(--mint); box-shadow: 0 1px 0 var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.05); }
.map .pin { position: absolute; left: 20px; bottom: 20px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -14px rgba(16, 42, 58, .5); font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.map .pin img { width: 34px; height: 34px; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #fff; padding: 90px 0 30px; overflow: hidden; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 18px; font-family: var(--body); font-weight: 800; }
.foot-grid a, .foot-grid p { display: block; color: rgba(255, 255, 255, .72); margin: 0 0 10px; font-size: 15.5px; }
.foot-grid a:hover { color: #fff; }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand img { width: 74px; }
.foot-brand b { font-family: var(--display); font-size: 28px; letter-spacing: -.03em; }
.foot-big { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 15vw, 230px); letter-spacing: -.06em; line-height: .8; margin: 70px 0 30px; white-space: nowrap; display: flex; }
.foot-big span { display: inline-block; color: transparent; -webkit-text-stroke: 1.5px rgba(79, 214, 209, .5); transition: color .3s, transform .4s var(--spring); }
.foot-big span:hover { color: var(--teal-2); transform: translateY(-14px); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: 14px; }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .8); transition: transform .3s var(--spring); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.4s ease-out infinite; }
@keyframes waRing { to { transform: scale(1.7); opacity: 0; } }
.wa-float .tip { position: absolute; right: 74px; white-space: nowrap; padding: 9px 14px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px -12px rgba(16, 42, 58, .4); opacity: 0; transform: translateX(10px); transition: all .3s var(--ease); pointer-events: none; }
.wa-float:hover .tip { opacity: 1; transform: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal .scrim { position: absolute; inset: 0; background: rgba(11, 31, 43, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal .box { position: relative; width: min(560px, 100%); border-radius: 34px; background: #fff; padding: 36px; transform: translateY(40px) scale(.96); opacity: 0; transition: all .5s var(--spring); max-height: calc(100vh - 40px); overflow: auto; }
.modal.open { pointer-events: auto; }
.modal.open .scrim { opacity: 1; }
.modal.open .box { transform: none; opacity: 1; }
.modal .x { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--mint); display: grid; place-items: center; transition: transform .3s; }
.modal .x:hover { transform: rotate(90deg); }
.modal .x svg { width: 18px; }
.modal .ic { width: 76px; height: 76px; border-radius: 24px; background: var(--teal); color: #fff; display: grid; place-items: center; }
.modal .ic svg { width: 40px; height: 40px; }
.modal h3 { font-size: 38px; margin: 22px 0 12px; letter-spacing: -.04em; }
.modal p { color: var(--ink-2); margin: 0 0 18px; }
.modal ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.modal li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.modal li::before { content: ''; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8f8b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- mobile menu ---------- */
.mmenu { position: fixed; inset: 0; z-index: 140; background: var(--navy); color: #fff; padding: 110px 28px 40px; display: flex; flex-direction: column; gap: 6px; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease); }
.mmenu.open { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mmenu a { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -.04em; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mmenu .btn { margin-top: 24px; justify-content: center; font-size: 18px; height: 62px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .myths { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .align-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .links, .nav .btn-teal { display: none; }
  .burger { display: grid; margin-left: auto; }
  .hero { padding-top: 120px; }
  .hero-grid, .ba-grid, .align-grid, .visit-grid, .bigcta-in, .foot-grid, .myth-photo { grid-template-columns: 1fr; }
  .stage { margin: 10px auto 0; width: min(440px, 100%); }
  .sec { padding: 100px 0; }
  .myth-photo img { height: 300px; }
  .clinic-cap { left: 22px; right: 22px; bottom: 24px; }
  .bigcta-tooth { width: 240px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tgrid, .myths, .why, .align-steps { grid-template-columns: 1fr; }
  .tcard.feature { grid-column: auto; }
  .tcard { min-height: 0; }
  .flip { height: 280px; }
  .hero h1 { font-size: 58px; }
  .hero-chips { gap: 14px; }
  .badge-orbit .b span { font-size: 12px; padding: 7px 12px 7px 7px; }
  .badge-orbit .b span i { width: 22px; height: 22px; font-size: 12px; }
  .clinic-photo { height: 520px; }
  .vcard { padding: 24px; }
  .map { min-height: 340px; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.tcard .wm { position: absolute; right: -30px; top: 20px; width: 230px; height: 230px; color: #fff; opacity: .06; transition: transform .8s var(--ease), opacity .4s; pointer-events: none; }
.tcard .wm svg { width: 100%; height: 100%; stroke-width: 1.2; }
.tcard.feature:hover .wm { transform: rotate(-10deg) scale(1.08); opacity: .12; }
