/* ==========================================================================
   Cap Cana Dental Clinic — brand system
   Brand colours sampled from Cap Cana logo & website:
   leaf green #4F873E · forest #2F4532 · sage #E5F0E0 · ink #243426
   ========================================================================== */
:root {
  --magenta: #4f873e;
  --magenta-600: #3d6c2f;
  --magenta-50: #eef6eb;
  --magenta-100: #dbead5;
  --ink: #243426;
  --ink-2: #4d5c4e;
  --ink-3: #7b887c;
  --blue: #2f4532;
  --blue-700: #243727;
  --aqua: #c9dfc0;
  --aqua-50: #f3f8f1;
  --aqua-100: #e5f0e0;
  --white: #ffffff;
  --bg: #fbfdfb;
  --line: #e4ece1;
  --line-2: #d2dfd0;

  --f-head: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(36, 52, 38, .05), 0 4px 14px -6px rgba(36, 52, 38, .1);
  --shadow: 0 2px 6px rgba(36, 52, 38, .04), 0 24px 48px -24px rgba(47, 69, 50, .24);
  --shadow-pink: 0 14px 34px -14px rgba(79, 135, 62, .48);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.2em; height: 1.2em; flex: none; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 12.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-100); }
.eyebrow--light { color: var(--aqua); }
.eyebrow--light .dot { box-shadow: 0 0 0 4px rgba(79, 135, 62, .25); }
.h2 {
  font: 500 clamp(34px, 4.6vw, 58px)/1.04 var(--f-head); letter-spacing: -.025em; margin: 0 0 18px; text-wrap: balance;
}
.h2 strong, .hero__h strong, .cta h2 strong { font-weight: 800; color: var(--magenta); }
.h2--light { color: #fff; }
.lead { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; color: var(--ink-2); max-width: 54ch; margin: 0; text-wrap: pretty; }
.lead--light { color: rgba(255, 255, 255, .78); }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head--row .lead { max-width: 42ch; }

/* split reveal */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 15.5px/1 var(--f-body); white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent; will-change: transform;
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--brand { --bg: var(--magenta); box-shadow: var(--shadow-pink); }
.btn--brand:hover { --bg: var(--magenta-600); }
.btn--ghost { --bg: #fff; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--ink); background: #fff; }
.btn--wa { --bg: #1faa53; box-shadow: 0 14px 30px -14px rgba(31, 170, 83, .6); }
.btn--wa:hover { --bg: #178f45; }
.btn--white { --bg: #fff; --fg: var(--magenta); }
.btn--outline-white { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--magenta); }
.link:hover .i { transform: translateX(3px); }
.link .i { transition: transform .3s var(--ease); }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 80; height: var(--nav-h);
  transition: transform .45s var(--ease), background-color .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 48px; width: auto; }
.nav__links { display: flex; gap: 30px; font: 500 15px/1 var(--f-body); }
.nav__links a { position: relative; padding: 8px 0; color: var(--ink-2); transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--magenta); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav__tel .i { color: var(--magenta); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 79; background: #fff;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease); visibility: hidden;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer__links { display: flex; flex-direction: column; }
.drawer__links a { font: 600 30px/1 var(--f-head); padding: 18px 0; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
.drawer__foot { display: grid; gap: 10px; }

@media (max-width: 1080px) { .nav__links { display: none; } }
@media (max-width: 1080px) { .burger { display: block; } }
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .nav__tel span, .nav__cta .btn { display: none; }
  .nav__logo img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, var(--aqua-100) 0%, transparent 70%),
    radial-gradient(35% 35% at 10% 90%, var(--magenta-50) 0%, transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__h { font: 400 clamp(46px, 6.6vw, 92px)/.98 var(--f-head); letter-spacing: -.035em; margin: 0 0 24px; }
.hero__lead { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--ink-2); max-width: 46ch; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__trust { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .i { color: var(--blue); }

.hero__media { position: relative; }
.hero__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4.4; box-shadow: var(--shadow); background: var(--aqua-50); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.06); }
.tooth-line { position: absolute; width: 150px; right: -34px; top: -40px; z-index: 2; pointer-events: none; }
.tooth-line path { fill: none; stroke: var(--magenta); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.is-ready .tooth-line path { animation: draw 2.4s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.status-card, .doc-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
}
.status-card { left: -26px; bottom: 32px; max-width: 290px; }
.status-card strong { display: block; font: 700 15px/1.2 var(--f-head); }
.status-card small { font-size: 12.5px; color: var(--ink-2); }
.status-card__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); flex: none; position: relative; }
.status-card.is-open .status-card__dot { background: #19b25a; }
.status-card.is-open .status-card__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #19b25a; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.doc-chip { right: 22px; top: 22px; padding: 8px 16px 8px 8px; }
.doc-chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; }
.doc-chip strong { display: block; font: 700 14.5px/1.2 var(--f-head); }
.doc-chip small { font-size: 12px; color: var(--ink-2); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__img { aspect-ratio: 16 / 11; }
  .tooth-line { width: 96px; right: -8px; top: -30px; }
  .status-card { left: 12px; bottom: 12px; }
  .doc-chip { right: 12px; top: 12px; }
}
@media (max-width: 520px) { .doc-chip { display: none; } .status-card { right: 12px; max-width: none; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 15px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Finder ---------- */
.finder { background: #fff; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer;
  font: 600 15px/1 var(--f-body); color: var(--ink); transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.chip__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-50); color: var(--blue); font-size: 15px; transition: background-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.chip[aria-selected="true"] .chip__ico { background: var(--magenta); color: #fff; }
.finder__panel {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--aqua-50); border: 1px solid var(--aqua-100);
}
.finder__panel h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--f-head); margin: 0 0 12px; letter-spacing: -.02em; }
.finder__panel p { margin: 0 0 18px; color: var(--ink-2); }
.finder__panel .ticks { margin-bottom: 24px; }
.finder__panel .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.finder__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: #fff; }
.finder__img img { width: 100%; height: 100%; object-fit: cover; }
.finder__img img[src*="implant"] { object-fit: contain; background: #fff; }
.finder__urgent { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--magenta-50); color: var(--magenta-600); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.finder__panel.is-swap > * { animation: fadeUp .5s var(--ease) both; }
.finder__panel.is-swap > *:nth-child(2) { animation-delay: .08s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .finder__panel { grid-template-columns: 1fr; } .finder__img { order: -1; aspect-ratio: 16/9; } }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Treatments bento ---------- */
.treat { background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.tcard {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  padding: 26px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; text-align: left;
  transition: border-color .3s, box-shadow .4s var(--ease); isolation: isolate;
}
.tcard:hover { border-color: transparent; box-shadow: var(--shadow); }
.tcard__n { font: 600 13px/1 var(--f-body); color: var(--ink-3); letter-spacing: .08em; }
.tcard h3 { font: 700 clamp(22px, 2vw, 28px)/1.1 var(--f-head); margin: 0 0 8px; letter-spacing: -.02em; }
.tcard p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 40ch; }
.tcard__more { position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-50); color: var(--ink); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.tcard:hover .tcard__more { background: var(--magenta); color: #fff; transform: rotate(90deg); }
.tcard__img { position: absolute; inset: 0; z-index: -1; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.05); }
.tcard--photo { color: #fff; border: 0; min-height: 420px; }
.tcard--photo .tcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 40, 40, 0) 25%, rgba(43, 40, 40, .55) 55%, rgba(30, 26, 27, .92) 100%); }
.tcard--photo p { color: rgba(255, 255, 255, .85); }
.tcard--photo .tcard__n { color: rgba(255, 255, 255, .75); }
.tcard--photo .tcard__more { background: rgba(255, 255, 255, .9); }
.tcard--pink { background: var(--magenta); color: #fff; border: 0; }
.tcard--pink p, .tcard--pink .tcard__n { color: rgba(255, 255, 255, .85); }
.tcard--pink .tcard__more { background: rgba(255, 255, 255, .2); color: #fff; }
.tcard--pink:hover .tcard__more { background: #fff; color: var(--magenta); }
.tcard--aqua { background: var(--aqua-100); border-color: var(--aqua); }
.tcard__tag { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--magenta-600); margin-bottom: 14px; }
.tcard--pink .tcard__tag { background: rgba(255, 255, 255, .2); color: #fff; }
.tcard__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--aqua-50); color: var(--blue); margin-bottom: 18px; }
.tcard__icon .i { width: 26px; height: 26px; }
.tcard--aqua .tcard__icon { background: #fff; }
.tcard--pink .tcard__icon { background: rgba(255, 255, 255, .2); color: #fff; }

.bento > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento > :nth-child(2) { grid-column: span 5; }
.bento > :nth-child(3) { grid-column: span 5; }
.bento > :nth-child(4) { grid-column: span 4; }
.bento > :nth-child(5) { grid-column: span 4; }
.bento > :nth-child(6) { grid-column: span 4; }
.bento > :nth-child(7) { grid-column: span 12; min-height: 200px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > * { grid-column: span 1 !important; grid-row: auto !important; }
  .bento > :nth-child(1), .bento > :nth-child(7) { grid-column: span 2 !important; }
}
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento > :nth-child(n) { grid-column: 1 / -1 !important; } .tcard--photo { min-height: 360px; } }

/* whitening simulator card */
.sim { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; cursor: default; }
.sim:hover { box-shadow: var(--shadow-sm); border-color: var(--line); }
.sim__stage { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; user-select: none; touch-action: pan-y; background: var(--aqua-50); }
.sim__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.sim__before { filter: sepia(.55) saturate(1.4) hue-rotate(-10deg) brightness(.9) contrast(.95); }
.sim__after { clip-path: inset(0 0 0 var(--pos, 50%)); filter: brightness(1.04) saturate(.92) contrast(1.03); }
.sim__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.sim__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--magenta); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: var(--shadow-pink); }
.sim__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.sim__lbl { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .9); }
.sim__lbl--a { left: 12px; }
.sim__lbl--b { right: 12px; color: var(--magenta-600); }
.sim__note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } }

/* ---------- Sheet (treatment detail) ---------- */
.sheet { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(43, 40, 40, .45); opacity: 0; transition: opacity .4s var(--ease); backdrop-filter: blur(3px); }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .55s var(--ease); padding: 0 0 40px;
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__close { position: fixed; top: 16px; right: 16px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.sheet__hero { height: 300px; background: var(--aqua-50); overflow: hidden; }
.sheet__hero img { width: 100%; height: 100%; object-fit: cover; }
.sheet__content { padding: 28px clamp(22px, 4vw, 40px) 0; }
.sheet__content h3 { font: 800 clamp(28px, 3vw, 36px)/1.08 var(--f-head); letter-spacing: -.025em; margin: 8px 0 14px; }
.sheet__content h4 { font: 700 17px/1.3 var(--f-head); margin: 28px 0 10px; }
.sheet__content p { color: var(--ink-2); margin: 0 0 12px; }
.sheet__steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sheet__steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--aqua-50); font-size: 15px; }
.sheet__steps li::before { content: counter(s, decimal-leading-zero); font: 700 13px/1.6 var(--f-body); color: var(--magenta); }
.sheet__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
@media (max-width: 480px) { .sheet__acts { grid-template-columns: 1fr; } }
body.lock { overflow: hidden; }

/* ---------- Visit (dark) ---------- */
.visit { background: var(--ink); color: #fff; overflow: hidden; }
.visit::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 135, 62, .28), transparent 70%); pointer-events: none; }
.visit__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.visit__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.visit__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.visit__stats b { display: block; font: 800 56px/1 var(--f-head); color: var(--magenta); letter-spacing: -.03em; margin-bottom: 8px; }
.visit__stats span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.steps { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; display: grid; gap: 22px; }
.steps__rail { position: absolute; z-index: 0; left: 22px; top: 22px; bottom: 22px; width: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; }
.steps__fill { position: absolute; inset: 0 0 auto; height: 0; background: linear-gradient(var(--magenta), var(--aqua)); border-radius: 2px; }
.step { position: relative; z-index: 1; padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .4s, border-color .4s; }
.step.is-active { background: rgba(255, 255, 255, .08); border-color: rgba(79, 135, 62, .55); }
.step__n { position: absolute; left: -64px; top: 24px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 2px solid rgba(255, 255, 255, .2); font: 700 14px/1 var(--f-body); transition: background-color .4s, border-color .4s; }
.step.is-active .step__n { background: var(--magenta); border-color: var(--magenta); }
.step h3 { font: 700 24px/1.15 var(--f-head); margin: 0 0 10px; letter-spacing: -.015em; }
.step p { margin: 0 0 16px; color: rgba(255, 255, 255, .72); font-size: 15.5px; }
.step .ticks li { color: rgba(255, 255, 255, .9); font-size: 14.5px; }
@media (max-width: 960px) { .visit__grid { grid-template-columns: 1fr; } .visit__sticky { position: static; } }
@media (max-width: 520px) { .steps { padding-left: 52px; } .step__n { left: -52px; width: 40px; height: 40px; } .steps__rail { left: 19px; } .step { padding: 22px; } }

/* ---------- Tech ---------- */
.tech { background: #fff; }
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.tech__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/4.6; }
.tech__img img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.value { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); transition: border-color .3s, box-shadow .3s; }
.value:hover { border-color: var(--aqua); box-shadow: var(--shadow-sm); }
.value .i { width: 30px; height: 30px; color: var(--magenta); margin-bottom: 14px; }
.value h3 { font: 700 17.5px/1.25 var(--f-head); margin: 0 0 6px; }
.value p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) { .tech__grid { grid-template-columns: 1fr; } .tech__img { aspect-ratio: 16/11; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { background: var(--aqua-50); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.person { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.person figure { margin: 0; aspect-ratio: 4/3.4; overflow: hidden; background: var(--aqua-100); }
.person figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1s var(--ease); }
.person:hover figure img { transform: scale(1.04); }
.person__body { padding: 24px; }
.person__body h3 { font: 700 23px/1.15 var(--f-head); margin: 10px 0 8px; letter-spacing: -.015em; }
.person__body p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--magenta-50); color: var(--magenta-600); font-size: 12.5px; font-weight: 600; }
.insure { grid-column: 1 / -1; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); padding: 24px 28px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px 32px; }
.insure__txt h3 { margin-bottom: 4px; }
.insure h3 { font: 700 22px/1.2 var(--f-head); margin: 0; }
.insure p { margin: 0; color: var(--ink-2); font-size: 15px; }
.insure__logos { display: flex; gap: 12px; }
.insure__logos img { height: 60px; width: 180px; object-fit: contain; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
@media (max-width: 960px) { .insure { grid-template-columns: 1fr; } .insure__logos img { width: 50%; } }
@media (max-width: 600px) { .team__grid { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.book { background: linear-gradient(135deg, #1b291d 0%, var(--ink) 55%, #2f4532 100%); color: #fff; overflow: hidden; }
.book::after { content: ""; position: absolute; left: -160px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 135, 62, .32), transparent 70%); pointer-events: none; }
.book__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; position: relative; z-index: 1; }
.book__contact { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.book__contact li { display: flex; align-items: center; gap: 12px; }
.book__contact .i { color: var(--magenta); }
.book__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.wizard { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); position: relative; }
.wizard__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 14px; }
.wizard__bar span { display: block; height: 100%; width: 33.3%; background: var(--magenta); border-radius: 4px; transition: width .5s var(--ease); }
.wizard__count { margin: 0 0 6px; font-size: 13px; color: var(--ink-3); font-weight: 600; letter-spacing: .06em; }
.wstep { border: 0; margin: 0; padding: 0; display: none; }
.wstep.is-on { display: block; animation: fadeUp .45s var(--ease) both; }
.wstep legend { font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--f-head); letter-spacing: -.02em; margin-bottom: 20px; padding: 0; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opts--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.opt { cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; flex-direction: column; gap: 4px; min-height: 64px; justify-content: center; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); transition: border-color .2s, background-color .2s, box-shadow .2s; height: 100%; }
.opt b { font: 700 15.5px/1.2 var(--f-head); }
.opt small { font-size: 12.5px; color: var(--ink-3); }
.opt:hover span { border-color: var(--ink-3); }
.opt input:checked + span { border-color: var(--magenta); background: var(--magenta-50); box-shadow: 0 0 0 3px var(--magenta-100); }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 400; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79, 135, 62, .18); }
.field.is-err input { border-color: var(--magenta); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-top: 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--magenta); margin-top: 1px; flex: none; }
.err { color: var(--magenta-600); font-size: 13.5px; font-weight: 600; margin: 12px 0 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.wizard__nav .btn:last-child { margin-left: auto; }
.wizard__alt { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.wizard__alt a { color: var(--magenta); font-weight: 600; }
.wizard__done { text-align: center; padding: 30px 0 10px; animation: fadeUp .5s var(--ease) both; }
.wizard__done .ok { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #e8f8ee; color: #19b25a; }
.wizard__done .ok .i { width: 36px; height: 36px; }
.wizard__done h3 { font: 800 26px/1.2 var(--f-head); margin: 0 0 8px; }
.wizard__done p { color: var(--ink-2); margin: 0 0 20px; }
@media (max-width: 960px) { .book__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .opts, .opts--3, .row2 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__grid > div:first-child .btn { margin-top: 28px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 clamp(17px, 1.4vw, 19.5px)/1.35 var(--f-head); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--aqua-50); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.acc details[open] summary .i { transform: rotate(45deg); background: var(--magenta); color: #fff; }
.acc details > div { overflow: hidden; }
.acc details p { margin: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--bg); padding-top: 0; }
.contact__card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact__img { margin: 0; min-height: 100%; aspect-ratio: auto; background: var(--aqua-50); }
.contact__img img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 55%; }
.contact__body { padding: clamp(28px, 4vw, 52px); }
.facts { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 16px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--magenta-50); color: var(--magenta); }
.facts b { display: block; font: 700 15px/1.3 var(--f-head); margin-bottom: 2px; }
.facts span { color: var(--ink-2); font-size: 15px; }
.facts a:hover { color: var(--magenta); }
.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 26px; }
.hours th, .hours td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; color: var(--ink-2); }
.hours td { text-align: right; font-weight: 600; }
.hours tr.is-today { background: var(--aqua-50); }
.hours tr.is-today th { color: var(--ink); font-weight: 700; }
.hours tr.is-today th::after { content: " · hoy"; color: var(--magenta); font-weight: 600; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__map { grid-column: span 2; height: 340px; background: var(--aqua-50); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
@media (max-width: 900px) { .contact__card { grid-template-columns: 1fr; } .contact__map { grid-column: span 1; height: 280px; } .contact__img { aspect-ratio: 16/9; } }

/* ---------- CTA ---------- */
.cta { background: var(--magenta); color: #fff; padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font: 400 clamp(34px, 4.6vw, 60px)/1.05 var(--f-head); letter-spacing: -.03em; margin: 0; }
.cta h2 strong { color: #fff; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__tooth { position: absolute; right: 18%; top: 50%; width: 320px; transform: translateY(-50%); opacity: .14; pointer-events: none; }
.cta__tooth path { fill: none; stroke: #fff; stroke-width: 3; }

/* ---------- Footer ---------- */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot__logo { height: 56px; width: auto; margin-bottom: 16px; }
.foot p { color: var(--ink-2); font-size: 14.5px; max-width: 32ch; margin: 0; }
.foot h4 { font: 700 15px/1 var(--f-head); margin: 6px 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.foot a:hover { color: var(--magenta); }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; border-radius: 20px;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -10px rgba(43, 40, 40, .35); border: 1px solid var(--line);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 14px; font-weight: 600; font-size: 14px; color: var(--ink); }
  .mbar a .i { color: var(--magenta); }
  .mbar__main { background: var(--magenta); color: #fff !important; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14.5px; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { .toast { bottom: 100px; } }

/* ---------- Motion helpers ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }
.tilt { transform-style: preserve-3d; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-split] .w > span, .js .reveal { transform: none; opacity: 1; }
  .tooth-line path { stroke-dashoffset: 0; }
}
