/* SmileCraft: concept dental studio. Bright mint + teal. */

:root {
  --bg: #f3fbf8;
  --surface: #ffffff;
  --ink: #0a2e2c;
  --ink-2: #1c4a46;
  --muted: #4d6f6c;
  --line: rgba(10, 46, 44, 0.1);
  --teal-700: #0a6f68;
  --teal-600: #0b8a80;
  --teal-500: #10b3a3;
  --teal-400: #2ed3c0;
  --mint-300: #7fe3d3;
  --mint-200: #c6f2e7;
  --mint-100: #e3f8f2;
  --sun: #ffc857;
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px;
  --radius-sm: 16px;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.9);
  --ticker-bg: #0a2e2c;
  --shine: rgba(255, 255, 255, 0.7);
  --btn-a: #10b3a3;
  --btn-b: #0b8a80;
  --shadow-sm: 0 2px 10px rgba(10, 111, 104, 0.08);
  --shadow-md: 0 18px 50px -18px rgba(10, 111, 104, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(10, 111, 104, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(5rem, 11vw, 9rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.9rem, 7.4vw, 6.2rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }

h2 em, h1 em { font-style: normal; color: var(--teal-500); }

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - var(--pad) * 2, 1200px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.muted { color: var(--muted); }
.muted-sm { color: var(--muted); font-size: 0.85rem; }

.ic { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; width: 100%; height: 100%; }
.ic-sm { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--teal-600); margin-bottom: 1.25rem;
  padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--mint-100);
}
.eyebrow.light { background: rgba(255, 255, 255, 0.16); color: #fff; }

.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-500); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn > * { position: relative; z-index: 1; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); box-shadow: 0 12px 30px -10px rgba(16, 179, 163, 0.7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); opacity: 0; transition: opacity 0.4s; }
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgba(16, 179, 163, 0.85); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { color: var(--ink); background: var(--glass); border: 1.5px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface); border-color: var(--teal-400); }
.btn .ic-sm { transition: transform 0.4s var(--ease); }
.btn:hover .ic-sm { transform: translateX(4px); }
.play { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--mint-200); display: grid; place-items: center; flex: none; }
.play svg { width: 0.9rem; height: 0.9rem; fill: var(--teal-600); margin-left: 2px; }

:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 8px; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--mint-100); display: grid; place-items: center; }
.preloader-inner { text-align: center; }
.preloader-tooth { width: 84px; height: 88px; margin: 0 auto 1rem; fill: none; stroke: var(--teal-500); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader-tooth path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) 0.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader-word { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--ink); margin: 0; opacity: 0; transform: translateY(10px); animation: rise 0.7s var(--ease) 0.6s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Cursor + progress ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; display: none; }
.cursor-dot, .cursor-ring { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; background: var(--teal-600); }
.cursor-ring { width: 40px; height: 40px; border: 1.5px solid var(--teal-500); transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s; }
.cursor.hover .cursor-ring { width: 72px; height: 72px; background: rgba(16, 179, 163, 0.14); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
}

.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 950; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-400), var(--teal-600)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; margin-inline: auto; z-index: 800;
  width: min(100% - 24px, 1080px); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -16px rgba(10, 111, 104, 0.3);
  transition: width 0.6s var(--ease), padding 0.5s var(--ease), box-shadow 0.4s, background 0.4s, top 0.5s var(--ease);
}
.nav.scrolled { width: min(100% - 24px, 820px); top: 10px; background: var(--glass-strong); box-shadow: 0 16px 50px -18px rgba(10, 111, 104, 0.4); }
.nav-logo { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.nav-logo b { font-weight: 800; color: var(--teal-500); }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); display: grid; place-items: center; color: #fff; padding: 7px; flex: none; }
.logo-mark .ic { stroke-width: 2.6; }
.nav-links { position: relative; display: flex; gap: 0.25rem; }
.nav-links a { position: relative; z-index: 1; padding: 0.5rem 0.95rem; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-700); }
.nav-indicator { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: var(--mint-100); opacity: 0; transition: transform 0.5s var(--ease), width 0.5s var(--ease), opacity 0.3s; }
button.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mint-100); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger i:first-child { top: 18px; }
.burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 700; background: var(--mint-100); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.4rem; padding: 6rem var(--pad) 2rem; clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path 0.8s var(--ease); visibility: hidden; }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.15; }
.mobile-menu .btn { margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 8.5rem 0 5rem; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.7; animation: morph 14s ease-in-out infinite alternate; }
.b1 { width: 42vw; height: 42vw; max-width: 620px; max-height: 620px; left: -10vw; top: -8vw; background: var(--mint-200); }
.b2 { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; right: -8vw; top: 12vh; background: rgba(46, 211, 192, 0.35); animation-delay: -4s; }
.b3 { width: 28vw; height: 28vw; max-width: 400px; max-height: 400px; left: 38vw; bottom: -10vw; background: rgba(255, 200, 87, 0.22); animation-delay: -8s; }
@keyframes morph { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(3vw, 2vw, 0) scale(1.1); } 100% { transform: translate3d(-2vw, 4vw, 0) scale(0.95); } }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(16, 179, 163, 0.22) 1.2px, transparent 1.4px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 65%); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.wi { display: inline-block; will-change: transform; }
.squiggle-wrap { position: relative; display: inline-block; }
.squiggle { position: absolute; left: 0; right: 0; bottom: -0.14em; width: 100%; height: 0.26em; fill: none; stroke: var(--teal-400); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34rem; margin: 1.6rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-proof { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.hero-proof p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.hero-proof b { color: var(--ink); }
.sample { font-size: 0.8rem; opacity: 0.8; }
.avatars { display: flex; }
.avatars i { width: 42px; height: 42px; border-radius: 50%; margin-left: -10px; border: 3px solid var(--bg); background: var(--c); color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }
.avatars i:first-child { margin-left: 0; }
.stars { display: flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: var(--sun); }
.stars.sm svg { width: 14px; height: 14px; }

.hero-visual { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(16, 179, 163, 0.45); animation: spin 40s linear infinite; }
.orbit i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--teal-400); top: -6px; left: 50%; box-shadow: 0 0 0 6px rgba(46, 211, 192, 0.2); }
.o1 { inset: 2%; }
.o2 { inset: 14%; animation-duration: 28s; animation-direction: reverse; border-style: solid; border-color: rgba(16, 179, 163, 0.18); }
.o2 i { background: var(--sun); box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.25); }
.o3 { inset: 27%; animation-duration: 18s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-tooth { position: relative; width: 52%; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(10, 111, 104, 0.35)); }
.hero-tooth svg:first-child { width: 100%; height: auto; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -18px; rotate: 2deg; } }
.tooth-shine { animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.4; } }
.sp { position: absolute; width: 22px; height: 22px; fill: var(--teal-400); }
.hero-tooth .sp { fill: #fff; filter: drop-shadow(0 0 6px rgba(46, 211, 192, 0.9)); animation: twinkle 2.6s ease-in-out infinite; }
.hero-tooth .s1 { width: 30px; height: 30px; right: -8%; top: 4%; }
.hero-tooth .s2 { left: -10%; top: 38%; animation-delay: 0.9s; width: 20px; height: 20px; }
.hero-tooth .s3 { right: -2%; bottom: 22%; animation-delay: 1.7s; width: 16px; height: 16px; }
@keyframes twinkle { 0%, 100% { transform: scale(0.4) rotate(0); opacity: 0.4; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

.float-card { position: absolute; display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.1rem 0.8rem 0.8rem; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-md); backdrop-filter: blur(14px); font-size: 0.9rem; line-height: 1.3; }
.float-card b { display: block; font-size: 0.95rem; }
.float-card span:not(.fc-ic) { color: var(--muted); font-size: 0.82rem; }
.fc-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--mint-200); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.fc-ic.alt { background: var(--alt-bg, #fff1cf); color: var(--alt-fg, #b27d00); }
.fc-1 { left: -4%; top: 14%; animation: floaty 7s ease-in-out infinite; }
.fc-2 { right: -3%; top: 46%; animation: floaty 8s ease-in-out -2s infinite; flex-direction: column; align-items: flex-start; gap: 0.35rem; padding: 0.9rem 1.1rem; }
.fc-3 { left: 4%; bottom: 8%; animation: floaty 9s ease-in-out -4s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; border-radius: 16px; border: 2px solid var(--muted); opacity: 0.6; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal-600); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Tickers ---------- */
/* The wrapper clips the tilted bars so they never widen the page. */
.ticker-wrap { overflow: hidden; padding-block: 1.6rem; position: relative; z-index: 3; margin-top: -1.5rem; }
.ticker { background: var(--ticker-bg); color: #fff; padding: 1.2rem 0; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -3vw; position: relative; }
.ticker-track { display: flex; width: max-content; }
.ticker-row { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.ticker .sp { position: static; fill: var(--teal-400); width: 28px; height: 28px; animation: spin 8s linear infinite; }
.ticker-wrap:has(.ticker-2) { margin-top: 1rem; }
.ticker-2 { background: transparent; color: var(--teal-500); transform: rotate(1deg); }
.ticker-2 .ticker-row { font-size: clamp(3rem, 9vw, 8rem); gap: 3rem; }
.ticker-row.outline span { color: transparent; -webkit-text-stroke: 2px var(--teal-400); }
.ticker-2 .sp { width: 48px; height: 48px; fill: var(--sun); }

/* ---------- Stats ---------- */
.stats { padding: 6rem 0 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.stat { padding: 1.8rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; color: var(--teal-600); }
.stat sup { font-size: 0.45em; top: -0.8em; margin-left: 2px; color: var(--teal-400); }
.stat > span { display: block; margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.sample-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; opacity: 0.8; }

/* ---------- Services ---------- */
.services { position: relative; }
.services-pin { padding: 6rem 0 5rem; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 3rem; }
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.services-head h2 { grid-column: 1; max-width: 14ch; }
.services-head .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.services-hint { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin: 0; }
.services-track { display: flex; gap: 1.5rem; padding-inline: max(var(--pad), calc((100vw - 1200px) / 2)); width: max-content; will-change: transform; }
.svc { position: relative; flex: none; width: clamp(290px, 28vw, 380px); padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.4s var(--ease), border-color 0.4s; transform-style: preserve-3d; will-change: transform; }
.svc:hover { box-shadow: var(--shadow-lg); border-color: rgba(46, 211, 192, 0.6); }
.svc-num { position: absolute; z-index: 2; top: 2.2rem; right: 2.4rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(255,255,255,0.75); backdrop-filter: blur(6px); font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--teal-400); letter-spacing: 0.05em; }
.svc-art { height: 170px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--mint-100), var(--mint-200)); color: var(--teal-700); position: relative; overflow: hidden; }
.svc-art::after { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--shine), transparent 60%); top: -90%; left: -20%; transition: transform 0.8s var(--ease); }
.svc:hover .svc-art::after { transform: translate(30%, 40%); }
.svc-art svg { width: 112px; height: 112px; stroke-width: 2.4; position: relative; z-index: 1; transition: transform 0.6s var(--ease); }
.svc-art svg use { stroke-width: 3.6px; }
.svc:hover .svc-art svg { transform: scale(1.12) rotate(-4deg); }
.a2 { background: linear-gradient(135deg, #e6fbf5, #bff3e6); }
.a3 { background: linear-gradient(135deg, #e3f6ff, #bfe8f5); color: #0a6a85; }
.a4 { background: linear-gradient(135deg, #eaf8ee, #c6ecd2); color: #0d6b3c; }
.a5 { background: linear-gradient(135deg, #fff6e0, #ffe8b3); color: #8a5a00; }
.a6 { background: linear-gradient(135deg, #ffeef0, #ffd5da); color: #b0344a; }
.svc h3 { margin-bottom: 0.6rem; }
.svc p { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.2rem; }
.svc-tag { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--mint-100); color: var(--teal-700); font-weight: 700; font-size: 0.8rem; }

/* ---------- Before / After ---------- */
.smile-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.smile-copy h2 { margin-bottom: 1.5rem; }
.smile-copy p { color: var(--muted); }
.ticks { margin: 1.5rem 0 2rem; display: grid; gap: 0.8rem; }
.ticks li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
.ticks .ic-sm { color: #fff; background: var(--teal-500); border-radius: 50%; padding: 4px; width: 1.6rem; height: 1.6rem; stroke-width: 3; }

.ba { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mint-100); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-layer svg { width: 100%; height: 100%; }
.ba-before { background: linear-gradient(160deg, #e8efe9, #d5e0d9); }
.ba-after { background: linear-gradient(160deg, #e3f8f2, #b9efe1); clip-path: inset(0 0 0 var(--pos)); }
.ba-tag { position: absolute; top: 1rem; padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 700; font-size: 0.8rem; background: var(--glass-strong); backdrop-filter: blur(8px); z-index: 2; }
.ba-tag-l { left: 1rem; color: var(--ink-2); }
.ba-tag-r { right: 1rem; color: var(--teal-700); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; box-shadow: 0 0 20px rgba(10, 46, 44, 0.25); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #0b8a80; box-shadow: var(--shadow-md); transition: transform 0.3s var(--ease); }
.ba:hover .ba-handle span { transform: scale(1.1); }
.ba-handle svg { width: 24px; height: 24px; }
.ba-note { position: absolute; left: 1rem; bottom: 0.7rem; margin: 0; font-size: 0.72rem; color: var(--muted); z-index: 2; }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, transparent, var(--mint-100) 20%, var(--mint-100) 80%, transparent); }
.process-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.process-sticky { position: sticky; top: 7rem; }
.process-sticky h2 { margin-bottom: 1.4rem; }
.process-sticky p { color: var(--muted); margin-bottom: 1.8rem; max-width: 30rem; }
.steps { position: relative; display: grid; gap: 1.4rem; padding-left: 3.8rem; }
.steps-line { position: absolute; left: 1.35rem; top: 1.6rem; bottom: 1.6rem; width: 3px; border-radius: 3px; background: rgba(16, 179, 163, 0.2); }
.steps-line i { display: block; width: 100%; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--teal-400), var(--teal-600)); transform-origin: 50% 0; transform: scaleY(0); }
.step { position: relative; padding: 1.8rem 1.8rem 1.8rem 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s; display: flex; }
.step-n { position: absolute; left: -3.8rem; top: 1.3rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--surface); border: 2px solid rgba(16, 179, 163, 0.3); color: var(--teal-600); font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; display: grid; place-items: center; transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease); z-index: 1; }
.step h3 { margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--muted); }
.step.on { border-color: rgba(46, 211, 192, 0.7); box-shadow: var(--shadow-md); transform: translateX(6px); }
.step.on .step-n { background: var(--teal-500); border-color: var(--teal-500); color: #fff; transform: scale(1.12); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.tile { position: relative; overflow: hidden; padding: 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; transform-style: preserve-3d; will-change: transform; }
.tile h3 { margin-bottom: 0.4rem; position: relative; }
.tile p { margin: 0; color: var(--muted); font-size: 0.97rem; position: relative; max-width: 28rem; }
.t-scan { grid-column: span 3; background: linear-gradient(160deg, #0a2e2c, #0b4a46); color: #fff; }
.t-scan p { color: rgba(255, 255, 255, 0.72); }
.t-calm { grid-column: span 3; background: linear-gradient(160deg, var(--mint-100), var(--mint-200)); }
.t-clean { grid-column: span 2; }
.t-time { grid-column: span 2; }
.t-price { grid-column: span 2; background: linear-gradient(160deg, var(--surface), var(--mint-100)); }

.scan-art { position: absolute; right: 8%; top: 12%; width: 150px; height: 158px; }
.scan-art svg { width: 100%; height: 100%; fill: rgba(46, 211, 192, 0.08); stroke: var(--teal-400); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }
.scan-line { position: absolute; left: -12%; right: -12%; height: 3px; background: linear-gradient(90deg, transparent, var(--teal-400), transparent); box-shadow: 0 0 18px 3px rgba(46, 211, 192, 0.7); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 94%; } }

.breathe { position: absolute; right: 12%; top: 14%; width: 130px; height: 130px; display: grid; place-items: center; }
.breathe i { position: absolute; border-radius: 50%; background: rgba(16, 179, 163, 0.25); animation: breathe 5s ease-in-out infinite; }
.breathe i:nth-child(1) { width: 130px; height: 130px; }
.breathe i:nth-child(2) { width: 92px; height: 92px; animation-delay: -1.2s; background: rgba(16, 179, 163, 0.4); }
.breathe i:nth-child(3) { width: 54px; height: 54px; animation-delay: -2.4s; background: var(--teal-500); }
@keyframes breathe { 0%, 100% { transform: scale(0.82); } 50% { transform: scale(1.08); } }

.shield { position: absolute; right: 1.6rem; top: 1.6rem; width: 84px; height: 84px; color: var(--teal-500); animation: floaty 5s ease-in-out infinite; }
.shield svg { width: 100%; height: 100%; fill: var(--mint-100); stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.clock { position: absolute; right: 1.6rem; top: 1.6rem; width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--teal-500); background: var(--mint-100); }
.clock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--teal-600); }
.hand { position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--ink); transform-origin: 50% 100%; }
.hand.h { height: 20px; animation: spin 24s linear infinite; }
.hand.m { height: 29px; background: var(--teal-600); animation: spin 4s linear infinite; }

.bars { position: absolute; right: 1.6rem; top: 1.8rem; left: 1.6rem; display: grid; gap: 0.6rem; }
.bars i { display: block; height: 12px; border-radius: 12px; background: var(--mint-200); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 12px; background: linear-gradient(90deg, var(--teal-400), var(--teal-600)); transform-origin: 0 50%; animation: grow 3.4s var(--ease) infinite alternate; }
@keyframes grow { from { transform: scaleX(0.25); } to { transform: scaleX(1); } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.doc { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.doc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doc-photo { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--g); }
.doc-art { position: absolute; inset: -6% 0; }
.doc-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.8s var(--ease); }
.doc:hover .doc-photo svg { transform: scale(1.06) translateY(-2%); }
.doc-info { padding: 1.2rem 1.4rem 1.5rem; }
.doc-info h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.doc-info p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.reviews { overflow: hidden; }
.rev-rows { display: grid; gap: 1.25rem; }
.rev-row { display: flex; width: max-content; gap: 1.25rem; animation: marquee 60s linear infinite; }
.rev-row.rev { animation-direction: reverse; animation-duration: 70s; }
.rev-rows:hover .rev-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.625rem)); } }
.rev-card { width: 380px; flex: none; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rev-card p { margin: 0.8rem 0 1.1rem; font-size: 1rem; }
.rev-by { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: var(--muted); }
.rev-by i { width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 0.85rem; }
.rev-by b { display: block; color: var(--ink); line-height: 1.2; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.plan { position: relative; padding: 2.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; }
.plan-for { color: var(--muted); margin: 0.2rem 0 1.4rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 5vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 1.6rem; color: var(--ink); }
.price sup { font-size: 0.4em; top: -1.1em; margin-right: 2px; color: var(--teal-500); letter-spacing: 0; }
.price span { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; letter-spacing: 0; color: var(--muted); margin-left: 0.3rem; }
.plan ul { display: grid; gap: 0.75rem; margin-bottom: 2rem; flex: 1; }
.plan li { display: flex; gap: 0.7rem; align-items: center; color: var(--ink-2); }
.plan li .ic-sm { color: var(--teal-600); stroke-width: 3; }
.plan .btn { width: 100%; }
.plan-pop { background: linear-gradient(160deg, #0b8a80, #07524d); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan-pop .plan-for, .plan-pop li { color: rgba(255, 255, 255, 0.82); }
.plan-pop .price { color: #fff; }
.plan-pop .price sup { color: var(--mint-300); }
.plan-pop .price span { color: rgba(255, 255, 255, 0.7); }
.plan-pop li .ic-sm { color: var(--mint-300); }
.plan-pop .btn-primary { background: #fff; color: #0a6f68; box-shadow: none; }
.plan-pop .btn-primary::before { background: var(--mint-100); }
.plan-badge { position: absolute; top: -14px; right: 1.6rem; padding: 0.4rem 1rem; border-radius: 999px; background: var(--sun); color: #5b3d00; font-weight: 700; font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.acc { display: grid; gap: 0.9rem; }
.acc-item { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow 0.4s, border-color 0.4s; }
.acc-item.open { box-shadow: var(--shadow-md); border-color: rgba(46, 211, 192, 0.55); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.acc-q i { width: 36px; height: 36px; border-radius: 50%; background: var(--mint-100); color: var(--teal-700); display: grid; place-items: center; flex: none; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.acc-q i svg { width: 18px; height: 18px; }
.acc-item.open .acc-q i { transform: rotate(135deg); background: var(--teal-500); color: #fff; }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-a p { margin: 0; padding: 0 1.5rem 1.4rem; color: var(--muted); max-width: 42rem; }
.acc-item.open .acc-a { grid-template-rows: 1fr; }

/* ---------- Booking ---------- */
.book { background: linear-gradient(160deg, #0b8a80, #07524d); color: #fff; overflow: clip; border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0; }
.book-bg { position: absolute; inset: 0; pointer-events: none; }
.book-bg .b1 { background: rgba(46, 211, 192, 0.4); left: auto; right: -10vw; top: -10vw; }
.book-bg .b2 { background: rgba(255, 200, 87, 0.16); left: -8vw; right: auto; top: auto; bottom: -12vw; }
.book-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.book-copy h2 { margin-bottom: 1.4rem; }
.book-copy h2 em { color: var(--mint-300); }
.book-copy p { color: rgba(255, 255, 255, 0.82); max-width: 28rem; }
.book-points { display: grid; gap: 0.8rem; margin: 1.6rem 0; }
.book-points li { display: flex; gap: 0.7rem; align-items: center; font-weight: 500; }
.book-points .ic-sm { color: var(--teal-700); background: var(--mint-200); border-radius: 50%; padding: 4px; width: 1.6rem; height: 1.6rem; stroke-width: 3; }
.demo-note { font-size: 0.85rem; opacity: 0.8; }

.book-card { position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.5); }
.chips { border: 0; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend, .field-label { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 0.7rem; padding: 0; width: 100%; }
.field-label { margin-top: 0.4rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 0.92rem; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.chip:hover span { border-color: var(--teal-400); }
.chip input:checked + span { background: var(--teal-500); color: #fff; border-color: var(--teal-500); transform: scale(1.04); }
.chip input:focus-visible + span { outline: 3px solid var(--teal-400); outline-offset: 2px; }

.days { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.2rem 0.2rem 0.8rem; margin-bottom: 0.6rem; scrollbar-width: thin; }
.day { position: relative; flex: none; width: 68px; }
.day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.day span { display: grid; justify-items: center; gap: 0.1rem; padding: 0.7rem 0; border-radius: 18px; border: 1.5px solid var(--line); transition: all 0.35s var(--ease); font-size: 0.78rem; color: var(--muted); }
.day b { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1.1; transition: color 0.3s; }
.day:hover span { border-color: var(--teal-400); }
.day input:checked + span { background: var(--teal-500); border-color: var(--teal-500); color: rgba(255, 255, 255, 0.85); transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(16, 179, 163, 0.8); }
.day input:checked + span b { color: #fff; }
.day input:disabled + span { opacity: 0.4; background: var(--mint-100); }
.day input:focus-visible + span { outline: 3px solid var(--teal-400); outline-offset: 2px; }

.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem; margin-bottom: 1.3rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: block; text-align: center; padding: 0.6rem 0; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 500; font-size: 0.9rem; transition: all 0.3s var(--ease); }
.slot:hover span { border-color: var(--teal-400); }
.slot input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slot input:disabled + span { text-decoration: line-through; opacity: 0.4; background: var(--mint-100); }
.slot input:focus-visible + span { outline: 3px solid var(--teal-400); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 1.3rem; }
.field { display: grid; gap: 0.35rem; font-weight: 500; font-size: 0.9rem; }
.field input { font: inherit; padding: 0.85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; width: 100%; }
.field input:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(16, 179, 163, 0.18); }
.field.bad input { border-color: #e0526a; }
.err { font-style: normal; font-size: 0.8rem; color: #c43a52; min-height: 0; }

.success { text-align: center; padding: 2rem 1rem; position: relative; overflow: hidden; }
.success[hidden] { display: none; }
.success-ring { width: 96px; height: 96px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--mint-100); display: grid; place-items: center; color: var(--teal-600); position: relative; }
.success-ring svg { width: 46px; height: 46px; fill: none; stroke: currentColor; }
.success h3 { font-size: 1.9rem; margin-bottom: 0.6rem; }
.success p { color: var(--muted); margin-bottom: 1.4rem; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: #07211f; color: rgba(255, 255, 255, 0.78); padding: 5rem 0 2rem; }
.footer .nav-logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0; }
.footer a:not(.nav-logo):hover { color: var(--teal-400); }
.footer .muted-sm { color: rgba(255, 255, 255, 0.5); }
.footer-about { margin: 1rem 0 1.2rem; max-width: 22rem; }
.open-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.88rem; font-weight: 500; color: #fff; }
.open-badge.closed .pulse { background: #ff8a8a; }
.hours { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.hours td { padding: 0.35rem 0; }
.hours td:last-child { text-align: right; color: #fff; }
.map { border-radius: 22px; overflow: hidden; min-height: 180px; border: 1px solid rgba(255, 255, 255, 0.1); }
.map svg { width: 100%; height: 100%; min-height: 180px; }
.pin { animation: floaty 3s ease-in-out infinite; transform-origin: 140px 110px; }
.pin-ring { animation: pulse-ring 2.4s ease-out infinite; transform-origin: 140px 86px; }
@keyframes pulse-ring { 0% { transform: scale(0.5); opacity: 0.5; } 100% { transform: scale(2); opacity: 0; } }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; color: rgba(255, 255, 255, 0.55); }
.footer-base p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 700; }

.sticky-cta { position: fixed; left: 50%; bottom: 18px; z-index: 600; display: none; align-items: center; gap: 0.5rem; padding: 0.95rem 1.6rem; border-radius: 999px; background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); color: #fff; font-weight: 700; box-shadow: 0 16px 40px -10px rgba(16, 179, 163, 0.8); transform: translate(-50%, 140%); transition: transform 0.6s var(--ease); }
.sticky-cta.show { transform: translate(-50%, 0); }

/* ---------- Reveal defaults (JS enhances; no-gsap shows everything) ---------- */
.js [data-reveal] { opacity: 0; }
.js.no-gsap [data-reveal], .js.reduced [data-reveal] { opacity: 1 !important; transform: none !important; }
.js.no-gsap .squiggle, .js.reduced .squiggle { stroke-dashoffset: 0; }
.js.no-gsap .preloader, .js.reduced .preloader { display: none; }
.js [data-hero="fade"] { opacity: 0; }
.js.no-gsap [data-hero="fade"], .js.reduced [data-hero="fade"] { opacity: 1; }
.js [data-split], .js [data-split-hero] { visibility: hidden; }
.js [data-split].ready, .js [data-split-hero].ready { visibility: visible; }
.js.no-gsap [data-split], .js.no-gsap [data-split-hero], .js.reduced [data-split], .js.reduced [data-split-hero] { visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  button.burger { display: block; }
  .hero-grid, .smile-grid, .process-grid, .faq-grid, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 7rem; text-align: left; }
  .hero-visual { width: min(100%, 460px); margin-top: 1rem; }
  .process-sticky { position: static; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tile { grid-column: span 1 !important; }
  .bento .t-scan { grid-column: 1 / -1 !important; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scroll-cue { display: none; }
}

@media (max-width: 900px) {
  /* Services become a native swipeable row (no pinning) */
  .services-pin { min-height: 0; padding: 4rem 0; }
  .services-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: none; }
  .services-track::-webkit-scrollbar { display: none; }
  .svc { scroll-snap-align: start; width: min(82vw, 340px); }
  .services-head { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .sticky-cta { display: inline-flex; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .tile, .bento .t-scan { grid-column: 1 / -1 !important; min-height: 230px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
  .doc-info { padding: 0.9rem 1rem 1.1rem; }
  .doc-info h3 { font-size: 1rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .float-card { transform: scale(0.88); }
  .fc-1 { left: -2%; }
  .fc-2 { right: -2%; }
  .rev-card { width: 300px; }
  .step { padding: 1.3rem; }
  .steps { padding-left: 3.4rem; }
  .step-n { left: -3.4rem; width: 2.5rem; height: 2.5rem; }
  .steps-line { left: 1.2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

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

/* =====================================================================
   DARK THEME  (html[data-theme="dark"], toggled in the nav, remembered)
   ===================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05191a;
  --surface: #0b2426;
  --ink: #e7faf6;
  --ink-2: #bfe7df;
  --muted: #8db5ae;
  --line: rgba(255, 255, 255, 0.1);
  --mint-100: #0d2f30;
  --mint-200: #124542;
  --teal-700: #7fe9db;
  --teal-600: #18bfae;
  --glass: rgba(9, 35, 37, 0.72);
  --glass-strong: rgba(9, 35, 37, 0.92);
  --glass-border: rgba(255, 255, 255, 0.08);
  --ticker-bg: #0f3a38;
  --shine: rgba(255, 255, 255, 0.07);
  --alt-bg: rgba(255, 200, 87, 0.16);
  --alt-fg: #ffd37a;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 50px -18px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .blob { opacity: 0.32; }
html[data-theme="dark"] .b3 { background: rgba(255, 200, 87, 0.12); }
html[data-theme="dark"] .dots { background-image: radial-gradient(rgba(46, 211, 192, 0.22) 1.2px, transparent 1.4px); }
html[data-theme="dark"] .hero-tooth { filter: drop-shadow(0 0 50px rgba(46, 211, 192, 0.4)); }
html[data-theme="dark"] .float-card, html[data-theme="dark"] .nav { box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.7); }
html[data-theme="dark"] .a2 { background: linear-gradient(135deg, #0f3a37, #14524d); color: #7fe9db; }
html[data-theme="dark"] .a3 { background: linear-gradient(135deg, #0e2f3d, #123f55); color: #7fd3f0; }
html[data-theme="dark"] .a4 { background: linear-gradient(135deg, #10341f, #17502f); color: #86e0a8; }
html[data-theme="dark"] .a5 { background: linear-gradient(135deg, #3a2a0a, #55400f); color: #ffd37a; }
html[data-theme="dark"] .a6 { background: linear-gradient(135deg, #3a1520, #571d2d); color: #ff9db0; }
html[data-theme="dark"] .ba-before { background: linear-gradient(160deg, #1c2d2c, #131f1f); }
html[data-theme="dark"] .ba-after { background: linear-gradient(160deg, #0f3d3a, #0a5a54); }
html[data-theme="dark"] .ba-tag-l { color: var(--ink); }
html[data-theme="dark"] .ba-note { color: rgba(255, 255, 255, 0.55); }
html[data-theme="dark"] .process { background: linear-gradient(180deg, transparent, rgba(13, 47, 48, 0.7) 20%, rgba(13, 47, 48, 0.7) 80%, transparent); }
html[data-theme="dark"] .t-calm { background: linear-gradient(160deg, #0d2f30, #123f3c); }
html[data-theme="dark"] .plan-badge { color: #5b3d00; }
html[data-theme="dark"] .footer { background: #030f0f; }
html[data-theme="dark"] .preloader { background: #05191a; }
html[data-theme="dark"] .preloader-word { color: var(--ink); }
html[data-theme="dark"] .ticker-2 { background: transparent; }
html[data-theme="dark"] .stat b { color: var(--teal-600); }
html[data-theme="dark"] .acc-item.open { border-color: rgba(46, 211, 192, 0.4); }
html[data-theme="dark"] .success-ring { background: var(--mint-100); color: var(--teal-600); }
html[data-theme="dark"] .scroll-cue { border-color: var(--muted); }

/* ---------- Theme toggle ---------- */
button.theme-toggle { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mint-100); color: var(--teal-700); display: grid; place-items: center; overflow: hidden; transition: background 0.3s, transform 0.4s var(--ease); }
button.theme-toggle:hover { transform: rotate(18deg) scale(1.06); }
.theme-toggle svg { position: absolute; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.7s var(--ease), opacity 0.4s; }
.theme-toggle .moon { transform: translateY(150%) rotate(-60deg); opacity: 0; }
html[data-theme="dark"] .theme-toggle .sun { transform: translateY(-150%) rotate(60deg); opacity: 0; }
html[data-theme="dark"] .theme-toggle .moon { transform: none; opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Circular reveal (View Transitions) with a quick colour fade as fallback */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after { transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease !important; }

@media (max-width: 1024px) {
  .nav-actions { margin-left: auto; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
}
