/* ==========================================================================
   Elegant Dental Clinic — 3D mock-up
   ========================================================================== */
:root {
  --bg: #eef5f3;
  --bg-2: #f7fbfa;
  --ink: #0d2422;
  --ink-2: #3c5552;
  --muted: #5a716e;
  --teal: #0b5f59;
  --teal-2: #0e7a71;
  --teal-deep: #062a27;
  --mint: #9fd9cf;
  --mint-soft: #d6efea;
  --line: rgba(13, 36, 34, 0.12);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-line: rgba(255, 255, 255, 0.7);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
i { font-style: italic; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Stage (fixed background + canvas) ---------- */
.stage-bg {
  position: fixed; inset: 0; z-index: -2;
  background: var(--stage, var(--bg));
  transition: background-color .2s linear;
}
.stage-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(48% 52% at var(--gx, 70%) var(--gy, 48%), rgba(159, 217, 207, var(--ga, .55)), transparent 70%),
    radial-gradient(40% 40% at 12% 90%, rgba(14, 122, 113, .10), transparent 70%),
    radial-gradient(30% 30% at 90% 6%, rgba(255, 255, 255, .7), transparent 70%);
  transition: opacity .6s;
}
.stage-grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#scene {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1;
  display: block; pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.is-ready #scene { opacity: 1; }
.is-lite #scene { display: none; }

.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--mint), var(--teal-2)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s, color .4s;
}
.site-header.scrolled {
  padding: 8px 0;
  background: rgba(247, 251, 250, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.theme-dark .site-header.scrolled { background: rgba(6, 42, 39, .6); box-shadow: 0 1px 0 rgba(255,255,255,.08); color: #eaf6f3; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--teal-2), var(--teal-deep));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px rgba(11, 95, 89, .28);
}
.brand-mark svg { width: 22px; height: 22px; fill: #f4fbfa; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.nav-links { display: flex; gap: 30px; font-size: .9rem; font-weight: 500; }
.nav-links a { position: relative; opacity: .8; transition: opacity .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: .88rem; font-weight: 500; opacity: .85; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 500; font-size: .95rem; letter-spacing: .005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; isolation: isolate; overflow: hidden;
  transform: translate(var(--bx), var(--by));
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .4s, border-color .3s;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
  color: #fff;
  background: linear-gradient(160deg, #13877d, var(--teal) 55%, #084a45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 30px -8px rgba(11, 95, 89, .55);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 16px 40px -10px rgba(11, 95, 89, .7); }
.btn-ghost { color: var(--ink); border-color: rgba(13, 36, 34, .2); background: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(13, 36, 34, .45); background: rgba(255,255,255,.6); }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }

/* ---------- Type ---------- */
.display, .display-2 { font-family: var(--serif); font-weight: 300; letter-spacing: -.035em; line-height: .98; }
.display { font-size: clamp(3rem, 7.4vw, 7rem); }
.display-2 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; }
.display i, .display-2 i { font-weight: 300; color: var(--teal-2); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 20px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.sub { color: var(--ink-2); font-size: 1.08rem; max-width: 34rem; margin-top: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 28px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px rgba(14,122,113,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(14,122,113,0); } }

/* ---------- Hero ---------- */
section { position: relative; }
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 11ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.3s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 32rem; margin: 30px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 600px; }
.hero-meta dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-meta dd { font-size: .95rem; font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--teal-2), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Static fallback hero art (lite mode only) */
.fallback-hero { display: none; }
.is-lite .hero { background: radial-gradient(70% 60% at 78% 40%, #cfeee8 0%, rgba(207,238,232,0) 70%), linear-gradient(170deg, #f7fbfa 0%, #e3f2ef 60%, #d4ebe6 100%); overflow: hidden; }
.is-lite .fallback-hero { display: block; position: absolute; right: 6%; top: 50%; width: min(46vw, 520px); aspect-ratio: 1; transform: translateY(-50%); z-index: 0; }
.fb-orb { position: absolute; inset: 18%; border-radius: 46% 46% 40% 40% / 50% 50% 44% 44%;
  background: radial-gradient(60% 50% at 35% 28%, #fff 0%, #f5f7f4 35%, #dce9e6 70%, #b9d6d0 100%);
  box-shadow: inset -20px -30px 60px rgba(11,95,89,.18), inset 14px 18px 40px rgba(255,255,255,.9), 0 40px 80px -30px rgba(11,95,89,.35); }
.fb-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(14,122,113,.25); transform: rotateX(70deg); }
.fb-ring.r2 { inset: 0; border-color: rgba(14,122,113,.12); transform: rotate(-18deg) rotateX(72deg); }

/* ---------- Anatomy ---------- */
.anatomy { padding: 18vh 0 10vh; color: #e7f4f1; }
.anatomy .display-2 i, .anatomy .kicker { color: var(--mint); }
.anatomy .sub { color: rgba(231, 244, 241, .78); }
.is-lite .anatomy { background: radial-gradient(60% 50% at 80% 30%, #0f4d48, transparent 70%), var(--teal-deep); }
.anatomy-intro { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; max-width: 560px; }
.layer { min-height: 100vh; display: flex; align-items: center; gap: 28px; position: relative; }
.layer-num { position: absolute; left: -4px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-weight: 300; font-size: clamp(8rem, 18vw, 16rem); line-height: 1; color: rgba(159, 217, 207, .07); pointer-events: none; letter-spacing: -.05em; }
.layer-body {
  position: relative; max-width: 440px; padding: 36px 34px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.layer-body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.5rem); letter-spacing: -.02em; line-height: 1.08; margin-bottom: 14px; }
.layer-body p:not(.kicker) { color: rgba(231, 244, 241, .78); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font-size: .8rem; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(159, 217, 207, .3); color: #d6efea; background: rgba(159, 217, 207, .06); }

/* ---------- Services ---------- */
.services { padding: 20vh 0 16vh; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.card {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 32px 30px 34px; border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255,255,255,.72), rgba(255,255,255,.38));
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 50px -30px rgba(11, 60, 55, .35);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .5s, background .5s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.65), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 40px 70px -30px rgba(11, 60, 55, .45); }
.card:hover::after { opacity: 1; }
.card-n { position: absolute; top: 26px; right: 28px; font-size: .75rem; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-ico { width: 44px; height: 44px; margin-bottom: 30px; fill: none; stroke: var(--teal-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Care ---------- */
.care { padding: 16vh 0; }
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 90vh; }
.pillars { margin-top: 44px; display: grid; gap: 0; }
.pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars span { font-size: .8rem; color: var(--teal-2); font-weight: 600; letter-spacing: .1em; padding-top: 4px; }
.pillars h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; letter-spacing: -.01em; margin-bottom: 4px; }
.pillars p { color: var(--ink-2); font-size: .97rem; }

/* ---------- CTA ---------- */
.cta-band { padding: 46vh 0 18vh; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-band .sub { margin: 22px auto 34px; }
.is-lite .cta-band { padding: 16vh 0; background: radial-gradient(50% 60% at 50% 0%, #d6efea, transparent 70%); }

/* ---------- Visit ---------- */
.visit { padding: 14vh 0 16vh; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 18px; }
.panel {
  padding: 34px 32px; border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255,255,255,.82), rgba(255,255,255,.55));
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: inset 0 1px 0 #fff, 0 24px 50px -30px rgba(11, 60, 55, .3);
}
.panel h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.015em; margin-bottom: 22px; }
address { font-style: normal; display: grid; gap: 16px; }
.row { display: grid; gap: 2px; }
.row .lbl { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.row a { font-weight: 500; color: var(--teal); word-break: break-word; }
.row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .closed td { color: #9b3d3d; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--teal); font-weight: 600; }
.today { margin-top: 16px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.today::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #9aa9a7); }
.map-card { display: flex; flex-direction: column; padding: 14px; gap: 14px; transition: transform .6s var(--ease), box-shadow .5s; }
.map-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 36px 60px -30px rgba(11, 60, 55, .45); }
.map-art {
  position: relative; flex: 1; min-height: 260px; border-radius: 14px; overflow: hidden;
  background:
    linear-gradient(rgba(11,95,89,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(11,95,89,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(80% 80% at 60% 40%, #e8f5f2, #d3e9e4);
}
.road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(11,95,89,.08); border-radius: 6px; }
.r1 { left: -10%; right: -10%; top: 58%; height: 14px; transform: rotate(-14deg); }
.r2 { left: 34%; top: -10%; bottom: -10%; width: 9px; transform: rotate(8deg); }
.r3 { left: -10%; right: -10%; top: 24%; height: 6px; transform: rotate(4deg); opacity: .8; }
.r4 { left: 72%; top: -10%; bottom: -10%; width: 6px; transform: rotate(-6deg); opacity: .8; }
.pin { position: absolute; left: 50%; top: 46%; width: 34px; height: 34px; transform: translate(-50%, -100%) rotate(-45deg); border-radius: 50% 50% 50% 0; background: linear-gradient(150deg, var(--teal-2), var(--teal-deep)); box-shadow: 0 10px 20px -6px rgba(6,42,39,.6); z-index: 2; }
.pin span { position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
.pulse { position: absolute; left: 50%; top: 46%; width: 70px; height: 24px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(14,122,113,.25); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } }
.map-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 4px; font-size: .9rem; color: var(--ink-2); flex-wrap: wrap; }
.map-meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding: 46px 0 120px; border-top: 1px solid var(--line); background: rgba(247, 251, 250, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.foot { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.foot-brand { font-family: var(--serif); font-size: 1.3rem; }
.foot-brand span { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.foot-small { font-size: .85rem; color: var(--muted); }
.foot-links { display: flex; gap: 22px; font-size: .9rem; }
.foot-links a:hover { color: var(--teal); }
.credit { font-size: .72rem; letter-spacing: .04em; color: var(--muted); opacity: .7; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px;
  color: #fff; background: linear-gradient(150deg, #2bd36b, #1aa851);
  box-shadow: 0 14px 34px -10px rgba(18, 140, 70, .65), inset 0 1px 0 rgba(255,255,255,.3);
  font-weight: 500; font-size: .92rem;
  transition: transform .5s var(--ease), box-shadow .4s;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 44px -10px rgba(18, 140, 70, .75), inset 0 1px 0 rgba(255,255,255,.3); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #2bd36b; animation: waRing 2.8s var(--ease) infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Dark theme switch (3D mode: stage colour lerps, text flips) ---------- */
.theme-dark .site-header:not(.scrolled) { color: #eaf6f3; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .map-card { grid-column: 1 / -1; }
  .nav-phone { display: none; }
}
@media (max-width: 768px) {
  .wrap { width: calc(100% - 36px); }
  .nav-links { display: none; }
  .hero { padding: 110px 0 90px; }
  .is-lite .fallback-hero { right: -20%; top: 30%; width: 80vw; opacity: .55; }
  .hero-meta { gap: 22px; margin-top: 44px; }
  .anatomy-intro { min-height: auto; padding-bottom: 8vh; }
  .layer { min-height: auto; padding: 4vh 0; }
  .layer-num { font-size: 7rem; top: 0; transform: none; }
  .cards { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; min-height: auto; }
  .care-spacer { display: none; }
  .visit-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { flex-wrap: wrap; }
  .wa-float { padding: 0; width: 58px; justify-content: center; }
  .wa-label { display: none; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
