/* Vidadental, concept preview by slugweb (2026-10-08).
   Brand read (lab/brand.md): their logo blue #0174B3, tooth grey and the teal dot; white rooms, grey
   stone and daylight; geometric sans like their wordmark, a bold serif for their hook lines; blue
   rounded pills for every call to action, as on their posts. */

@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --white: #ffffff;
  --paper: #f5f8fa;
  --mist: #e8f1f7;
  --ink: #17222b;
  --ink-2: #3d4a55;
  --muted: #5d6973;
  --line: rgba(23, 34, 43, 0.12);
  --blue: #0174b3;
  --blue-2: #015f93;
  --navy: #0c304b;
  --navy-2: #123e5f;
  --teal: #0194a4;
  --grey: #b5b8bd;
  --on-navy: #f3f8fb;
  --on-navy-soft: #b9cddc;
  --text: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter: 20px;
  --gutter: clamp(18px, 5vw, 56px);
  --top-h: 64px;
  --bar-h: 34px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; font-weight: 450; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: currentColor; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; padding: 0 var(--gutter); }
section[id] { scroll-margin-top: calc(var(--top-h) + 12px); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- preview bar ---------- */
.pbar { background: var(--navy); color: var(--on-navy-soft); font-size: 13px; line-height: 1.4; padding: 0 20px; padding: 0 var(--gutter); }
.pbar summary { list-style: none; cursor: pointer; min-height: var(--bar-h); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 0; text-align: center; }
.pbar summary::-webkit-details-marker { display: none; }
.pbar strong { color: var(--on-navy); font-weight: 650; }
.pbar__more { text-decoration: underline; text-underline-offset: 3px; }
.pbar[open] .pbar__more { display: none; }
.pbar p { max-width: 62ch; margin: 0 auto; text-align: center; }
.pbar p:last-child { padding-bottom: 10px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; height: var(--top-h); max-width: 1240px; margin: 0 auto; padding: 0 20px; padding: 0 var(--gutter); }
.top__name { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.top__mark { width: 44px; height: auto; }
.top__nav { position: relative; display: none; margin-left: auto; }
.stops { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.stops a { display: block; padding: 10px 14px; font-size: 16px; font-weight: 550; color: var(--muted); text-decoration: none; border-radius: 999px; transition: color 160ms var(--ease-out); }
.stops a[aria-current="true"] { color: var(--ink); }
.stops__marker { position: absolute; left: 0; bottom: 2px; height: 2px; width: 100px; transform-origin: 0 50%; transform: translateX(var(--mx, 0px)) scaleX(var(--ms, 0)); background: var(--blue); border-radius: 2px; opacity: var(--mo, 0); transition: transform 280ms var(--ease-in-out), opacity 200ms var(--ease-out); }
.top .top__wa { display: none; }
.top__menu { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 15px/1 var(--text); cursor: pointer; transition: transform 160ms var(--ease-out); }
.top__menu:active { transform: scale(0.97); }
.top__menu .ico--close { display: none; }
.top__menu[aria-expanded="true"] .ico--close { display: block; }
.top__menu[aria-expanded="true"] .ico--open { display: none; }
.sheet { border-top: 1px solid var(--line); background: var(--white); }
.sheet ul { list-style: none; margin: 0; padding: 6px 20px 14px; padding: 6px var(--gutter) 14px; }
.sheet a { display: flex; align-items: center; min-height: 52px; font-weight: 600; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet li:last-child a { border-bottom: 0; color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font: 650 17px/1.1 var(--text); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--line { background: var(--white); color: var(--ink); border-color: rgba(23, 34, 43, 0.22); }
.btn--white { background: var(--white); color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--blue:hover { background: var(--blue-2); }
  .btn--line:hover { border-color: var(--blue); color: var(--blue); }
  .btn--white:hover { background: var(--mist); }
  .stops a:hover { color: var(--ink); }
}

/* ---------- hero ---------- */
.hero { position: relative; display: grid; gap: 22px; padding-bottom: 40px; background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); overflow: hidden; }
.hero__media { position: relative; will-change: transform; }
.hero__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe3e6; }
.hero__frame video { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.vidctl { position: absolute; z-index: 4; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(12, 48, 75, 0.55); color: var(--white); cursor: pointer; transition: transform 160ms var(--ease-out); }
.vidctl .ico { width: 16px; height: 16px; }
.vidctl .ico--play { display: none; }
.vidctl[data-state="paused"] .ico--play { display: block; }
.vidctl[data-state="paused"] .ico--pause { display: none; }
.vidctl:active { transform: scale(0.97); }
.hero__copy { padding: 0 20px; padding: 0 var(--gutter); }
.hero h1 { font-size: 48px; font-size: clamp(44px, 12vw, 104px); font-weight: 700; letter-spacing: -0.03em; line-height: 0.98; color: var(--ink); }
.hero__sub { margin-top: 10px; font-size: 19px; font-weight: 550; color: var(--ink-2); max-width: 30ch; }
.hero__tag { margin-top: 4px; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--blue); }
.hero__note { display: inline-block; margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 15px; font-weight: 650; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero__card { display: none; }

/* ---------- treatments ---------- */
.treat { padding: 64px 0; padding: clamp(56px, 8vw, 104px) 0; background: var(--paper); }
.treat__grid { display: grid; gap: 34px; }
.treat h2, .voices h2 { font-size: 40px; font-size: clamp(36px, 6vw, 64px); }
.lead { margin-top: 14px; font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 32ch; }
.treat__first { margin-top: 14px; color: var(--muted); max-width: 40ch; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; gap: 6px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 23px; font-weight: 650; letter-spacing: -0.01em; }
.row p { color: var(--ink-2); max-width: 54ch; }
.row__ask { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px; font-weight: 650; color: var(--blue); text-decoration: none; transition: transform 160ms var(--ease-out), color 160ms var(--ease-out); }
.row__ask .ico { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.row__ask:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .row__ask:hover { color: var(--blue-2); }
  .row__ask:hover .ico { transform: translateX(4px); }
}

/* ---------- the clinic ---------- */
.clinic { padding: 72px 0; padding: clamp(64px, 10vw, 128px) 0; background: var(--white); }
.clinic__grid { display: grid; gap: 36px; }
.clinic h2 { font-family: var(--serif); font-weight: 700; font-size: 40px; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.01em; max-width: 12ch; }
.clinic__then { margin-top: 16px; font-size: 22px; font-weight: 550; color: var(--blue); }
.facts { display: grid; gap: 0 32px; margin: 0; }
.fact { padding: 18px 0 18px 18px; border-left: 2px solid var(--mist); margin-bottom: 10px; }
.fact dt { font-size: 19px; font-weight: 650; color: var(--ink); }
.fact dd { margin: 4px 0 0; color: var(--muted); }

/* ---------- the free first visit ---------- */
.offer { padding: 64px 0; padding: clamp(56px, 9vw, 112px) 0; background: var(--navy); color: var(--on-navy); }
.offer__in { max-width: 1240px; }
.offer h2 { font-family: var(--serif); font-size: 36px; font-size: clamp(34px, 5.6vw, 68px); font-weight: 700; line-height: 1.04; max-width: 18ch; }
.offer p { margin-top: 18px; font-size: 19px; color: var(--on-navy-soft); max-width: 46ch; }
.offer__ctas { margin-top: 28px; }

/* ---------- reviews ---------- */
.voices { padding: 72px 0; padding: clamp(64px, 10vw, 128px) 0; background: var(--paper); }
.voices__head { margin-bottom: 34px; }
.rating { margin-top: 12px; color: var(--muted); font-weight: 550; }
.voices__grid { display: grid; gap: 22px; }
.voices__side { display: grid; gap: 22px; }
.quote { margin: 0; padding: 26px 24px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 rgba(23, 34, 43, 0.06), 0 14px 30px -24px rgba(0, 0, 0, 0.35); }
.quote blockquote { margin: 0; }
.quote p { font-size: 19px; line-height: 1.5; color: var(--ink); }
.quote--big p { font-family: var(--serif); font-size: 25px; font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.38; }
.quote figcaption { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--muted); }

/* ---------- hours and address ---------- */
.door { padding: 72px 0 80px; padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 136px); background: var(--white); }
.door__grid { display: grid; gap: 30px; }
.door__photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.door__photo img { width: 100%; height: 100%; object-fit: cover; }
.door h2 { font-size: 34px; font-size: clamp(32px, 4.6vw, 54px); max-width: 16ch; }
.door__addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.door__addr .ico { margin-top: 4px; color: var(--blue); }
.hours { width: 100%; max-width: 440px; margin-top: 24px; border-collapse: collapse; font-size: 18px; }
.hours caption { text-align: left; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); padding-bottom: 6px; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.hours th { font-weight: 600; padding-right: 18px; }
.hours td { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue); }
.hours tr.is-today th::after { content: " · hoy"; font-weight: 500; }
.hours__note { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 44ch; }
.door__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.door__more { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; }
.door__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: color 160ms var(--ease-out); }
.door__more .ico { color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .door__more a:hover { color: var(--blue); } }

/* ---------- footer ---------- */
.foot { padding: 48px 0 40px; background: var(--paper); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot__in { display: grid; gap: 16px; }
.foot__logo { width: 150px; height: auto; }
.foot__lines { color: var(--ink-2); line-height: 1.7; }
.foot__lines a { color: var(--blue); text-decoration: none; font-weight: 600; }
.foot__preview, .foot__credits { max-width: 70ch; }
.foot__preview a { color: var(--blue); font-weight: 600; }

/* ---------- phone dock ---------- */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, 0.35); transform: translateY(110%); visibility: hidden; transition: transform 320ms var(--ease-drawer), visibility 0s linear 320ms; }
.dock.is-on { transform: none; visibility: visible; transition: transform 380ms var(--ease-drawer), visibility 0s; }
.dock__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 12px; border-radius: 999px; border: 1.5px solid rgba(23, 34, 43, 0.2); color: var(--ink); font: 650 16px/1 var(--text); text-decoration: none; transition: transform 160ms var(--ease-out); }
.dock__btn--wa { background: var(--blue); border-color: var(--blue); color: var(--white); }
.dock__btn:active { transform: scale(0.97); }

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .door__photo[data-reveal] img { transform: scale(1.06); clip-path: inset(5% round 18px); transition: transform 620ms var(--ease-out), clip-path 620ms var(--ease-out); transition-delay: 60ms; }
.js .door__photo[data-reveal].is-in img { transform: none; clip-path: inset(0 round 0); }

/* ---------- phones ---------- */
@media (max-width: 899px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 44px; }
  .hero__sub, .hero__tag { font-size: 17px; }
  .btn { padding: 12px 20px; font-size: 16px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .hero__frame { aspect-ratio: 16 / 8.5; }
  .hero__tag { display: none; }
}

/* ---------- tablets and up ---------- */
@media (min-width: 700px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .voices__grid { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .row { grid-template-columns: minmax(180px, 0.9fr) 1.6fr auto; align-items: baseline; }
  .row__ask { margin-top: 0; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  :root { --top-h: 72px; }
  body { font-size: 18px; }
  .top__nav { display: block; }
  .top .top__wa { display: inline-flex; }
  .top__menu { display: none; }
  .sheet { display: none; }
  .top__name { font-size: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 0; min-height: calc(100svh - var(--top-h) - var(--bar-h)); padding: 40px 0 64px; }
  .hero__copy { grid-column: 1; grid-row: 1; padding: 0 32px 0 max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
  .hero__media { grid-column: 2; grid-row: 1; padding-right: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
  .vidctl { right: calc(max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))) + 14px); }
  .hero h1 { font-size: 64px; font-size: clamp(54px, 5.4vw, 78px); }
  .hero__frame { aspect-ratio: 16 / 11; border-radius: 28px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.4); }
  .hero__sub { font-size: 22px; }
  .hero__tag { font-size: 22px; }
  .hero__card { display: block; position: absolute; z-index: 3; left: -36px; bottom: -58px; width: 210px; padding: 18px 20px; border-radius: 20px; background: var(--white); box-shadow: 0 1px 0 rgba(23, 34, 43, 0.06), 0 22px 44px -26px rgba(0, 0, 0, 0.4); }
  .hero__card img { width: 100%; height: auto; }
  .treat__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
  .treat__head { position: sticky; top: calc(var(--top-h) + 32px); }
  .clinic__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .door__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .offer__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: end; }
  .offer h2 { grid-row: span 2; }
  .offer p { margin-top: 0; align-self: end; }
  .offer__ctas { align-self: start; }
  .door__photo { aspect-ratio: 4 / 3.4; }
  .foot__in { grid-template-columns: 170px 1fr; column-gap: 40px; align-items: start; }
  .foot__logo { grid-row: span 3; }
  .dock { display: none; }
}

/* ---------- less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity 240ms linear; transition-delay: 0ms; }
  .js .door__photo[data-reveal] img { transform: none; clip-path: none; transition: none; }
  .btn, .dock__btn, .vidctl, .top__menu, .row__ask { transition: none; }
  .btn:active, .dock__btn:active, .vidctl:active, .top__menu:active, .row__ask:active { transform: none; }
  .stops__marker { transition: opacity 200ms linear; }
  .dock { transition: visibility 0s; }
  .hero__media, .hero__copy, .hero__card { transform: none !important; }
}

/* ---------- 404 ---------- */
.nf { padding: 96px 0 112px; background: var(--paper); }
.nf h1 { font-size: 40px; font-size: clamp(36px, 6vw, 64px); }
.nf p { margin: 16px 0 26px; color: var(--ink-2); max-width: 46ch; }
