/* Clínica Dental Olivella · demo de clínica dental · ver ../../design.md */
:root {
  --bg: #FCFBF8;
  --white: #FFFFFF;
  --panel: #EDF2F6;
  --panel-2: #E2EAF1;
  --ink: #1D2C3B;
  --ink-2: #4B5967;
  --muted: #5E6B79;
  --line: #DCE3EA;
  --blue: #7E9BB5;
  --blue-soft: #E1EAF2;
  --action: #3B6383;
  --action-dark: #2C4D68;
  --mint: #D5E8DF;
  --mint-ink: #2E5B4B;
  --head: "Outfit", system-ui, sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
  --wrap: 1180px;
  --r-ph: 20px;
  --r-card: 20px;
  --r-band: 28px;
  --shadow: 0 18px 50px -24px rgb(29 44 59 / .28);
  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.center { text-align: center; }
.section { margin-top: 120px; }
.section--top { margin-top: 64px; }
@media (max-width: 760px) { .section { margin-top: 80px; } .section--top { margin-top: 40px; } }

/* ---------- Barra de desenvolupamentweb.com (design.md raíz) ---------- */
.dw-bar { background: #F0F2F4; color: #10213D; font: 500 14px/1.3 system-ui, sans-serif; border-bottom: 1px solid #E0E3E6; position: relative; z-index: 60; }
.dw-bar__in { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 8px 44px 8px 16px; position: relative; flex-wrap: wrap; text-align: center; }
.dw-bar__btn { background: #303133; color: #fff; text-decoration: none; border-radius: 999px; padding: 7px 16px; font-weight: 600; white-space: nowrap; }
.dw-bar__btn:hover { background: #10213D; }
.dw-bar__close { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 20px; color: #50585C; border-radius: 50%; }
.dw-bar__close:hover { background: #E0E3E6; }
@media (max-width: 560px) { .dw-bar__txt-long { display: none; } }

/* ---------- Tipografía ---------- */
.h1 { font: 500 clamp(40px, 5.2vw, 66px)/1.06 var(--head); letter-spacing: -.025em; text-wrap: balance; }
.h1--page { font-size: clamp(38px, 4.6vw, 58px); }
.h2 { font: 500 clamp(30px, 3.4vw, 44px)/1.12 var(--head); letter-spacing: -.02em; text-wrap: balance; }
.h3, h3 { font: 500 21px/1.3 var(--head); letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 50ch; text-wrap: pretty; }
.eyebrow { font: 600 14px/1.3 var(--sans); color: var(--action); margin-bottom: 14px; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
p { text-wrap: pretty; }
.link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--action); }
.link svg { width: 16px; transition: translate .3s var(--ease); }
.link:hover svg { translate: 3px 0; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link--center { justify-self: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--sans); padding: 15px 24px; min-height: 50px; border-radius: 14px; border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; text-align: center;
}
.btn svg { width: 18px; flex: none; }
.btn--main { background: var(--action); color: #fff; box-shadow: 0 10px 24px -12px rgb(59 99 131 / .7); }
.btn--main:hover { background: var(--action-dark); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); box-shadow: 0 6px 18px -12px rgb(29 44 59 / .25); }
.btn--line:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); }
.btn--ghost { border-color: rgb(255 255 255 / .6); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgb(255 255 255 / .12); }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btns { display: flex; gap: 12px 14px; flex-wrap: wrap; align-items: center; }
.btns--center { justify-content: center; }

/* ---------- Iconos en círculo ---------- */
.ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-soft); color: var(--action); flex: none; }
.ico svg { width: 22px; }
.ico--sm { width: 30px; height: 30px; }
.ico--sm svg { width: 16px; }
.ico--lg { width: 72px; height: 72px; }
.ico--lg svg { width: 34px; }
.ico--light { background: rgb(255 255 255 / .16); color: #fff; }
.ico--mint { background: var(--mint); color: var(--mint-ink); }

/* ---------- Cabecera ---------- */
/* El desenfoque va en ::before: un backdrop-filter en .nav la convertiría en el contenedor del menú móvil (position: fixed) y lo dejaría encerrado en la cabecera */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(252 251 248 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav.is-open::before { background: var(--bg); }
.nav.is-scrolled, .nav.is-open { border-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; flex: none; }
.logo svg { width: 36px; height: 36px; color: var(--action); stroke-width: 1.8; }
.logo__name { font: 600 27px/1 var(--head); letter-spacing: -.02em; display: grid; gap: 4px; }
.logo__name small { font: 500 12px/1 var(--sans); letter-spacing: .02em; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; margin-right: auto; }
.nav__links > a, .nav__droplink { text-decoration: none; padding: 8px 0; white-space: nowrap; border-bottom: 1.5px solid transparent; display: inline-flex; align-items: center; gap: 4px; }
.nav__links > a:hover, .nav__links > a[aria-current="page"], .nav__droplink:hover, .nav__droplink[aria-current="page"] { border-color: var(--action); }
.nav__droplink svg { width: 16px; }
.nav__drop { position: relative; }
.nav__sub { position: absolute; left: -18px; top: 100%; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow);
  display: grid; opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .2s, translate .2s var(--ease), visibility 0s .2s; }
.nav__drop:hover .nav__sub, .nav__drop:focus-within .nav__sub { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .2s, translate .2s var(--ease); }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--panel); }
.nav__sub .nav__all { color: var(--action); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; padding-top: 14px; }
.nav__all svg { width: 16px; }
.nav__links-tel { display: none !important; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav__tel svg { width: 18px; color: var(--action); }
.nav__cta { min-height: 44px; padding: 12px 20px; }
.nav__menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav__menu-btn span, .nav__menu-btn span::before, .nav__menu-btn span::after { position: absolute; left: 12px; right: 12px; height: 1.8px; border-radius: 2px; background: var(--ink); content: ""; transition: rotate .3s, translate .3s, background-color .3s; }
.nav__menu-btn span { top: 50%; }
.nav__menu-btn span::before { left: 0; right: 0; translate: 0 -6px; }
.nav__menu-btn span::after { left: 0; right: 0; translate: 0 6px; }
.nav__menu-btn[aria-expanded="true"] span { background: transparent; }
.nav__menu-btn[aria-expanded="true"] span::before { translate: 0; rotate: 45deg; }
.nav__menu-btn[aria-expanded="true"] span::after { translate: 0; rotate: -45deg; }
@media (max-width: 1160px) { .nav__tel span { display: none; } .nav__links { gap: 18px; } }
@media (max-width: 1000px) {
  .nav__in { justify-content: space-between; }
  .nav__menu-btn { display: block; }
  .nav__tel { display: none; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--nav-h)); bottom: 0; background: var(--bg); margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 40px; font: 500 24px/1.2 var(--head);
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .3s, translate .3s var(--ease), visibility 0s .3s; overflow-y: auto;
  }
  .nav__links > a, .nav__droplink { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav__links > a[aria-current="page"], .nav__droplink[aria-current="page"] { color: var(--action); border-color: var(--line); }
  .nav__droplink svg { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; translate: 0; box-shadow: none; border: 0; padding: 6px 0 10px; min-width: 0; background: transparent; }
  .nav__sub a { font: 500 17px/1.3 var(--sans); padding: 9px 0; }
  .nav__sub .nav__all { border: 0; margin: 0; padding-top: 9px; }
  .nav__links-tel { display: block !important; font: 600 17px/1.3 var(--sans); color: var(--action); }
  .nav__links.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .3s var(--ease); }
}
@media (max-width: 420px) { .nav__cta { padding: 10px 14px; } .logo__name { font-size: 24px; } .logo svg { width: 30px; height: 30px; } .nav__right { gap: 10px; } }

/* ---------- Marcador de imagen ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #E8EEF3, #D9E3EC); aspect-ratio: var(--ar, 4/3); border-radius: var(--r-ph); }
.dev .ph.is-missing { background: repeating-linear-gradient(135deg, #E9EFF4 0 14px, #DDE6EE 14px 28px); }
.ph::after { display: none; }
.dev .ph.is-missing::after {
  display: block; content: attr(data-id) "\A" attr(data-file); white-space: pre; position: absolute; inset: auto 10px 10px 10px; text-align: center;
  font: 500 12px/1.4 var(--sans); color: #3D5468; background: rgb(255 255 255 / .92); border-radius: 8px; padding: 6px 8px; overflow: hidden; text-overflow: ellipsis; z-index: 2;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- Bandas y paneles ---------- */
.band { background: var(--panel); border-radius: var(--r-band); margin-inline: 12px; }
.band--soft { padding: 96px 0; }
@media (max-width: 760px) { .band { margin-inline: 8px; border-radius: 22px; } .band--soft { padding: 64px 0; } }
.panel { background: var(--panel); border-radius: var(--r-band); padding: clamp(24px, 5vw, 64px); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row__txt { color: var(--ink-2); margin-top: 12px; max-width: 52ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 4px 14px -10px rgb(29 44 59 / .4); }
.flag { display: inline-block; font: 600 11px/1 var(--sans); padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.stars { color: #C9A24B; letter-spacing: 2px; font-size: 15px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--mint-ink); }
.open-now:empty { display: none; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4F9478; box-shadow: 0 0 0 4px var(--mint); flex: none; }
.open-now.is-closed { color: var(--muted); }
.open-now.is-closed::before { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.open-now--light, .open-now--light.is-closed { color: #fff; }
.open-now--light::before { box-shadow: 0 0 0 4px rgb(255 255 255 / .2); }
.ticks { display: grid; gap: 10px; color: var(--ink-2); }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 6px); width: 8px; height: 4.5px; border-left: 1.8px solid var(--mint-ink); border-bottom: 1.8px solid var(--mint-ink); rotate: -45deg; }
.ticks li svg { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: 0; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: end; }
.hero__txt { padding: 88px 0 72px; display: grid; gap: 24px; justify-items: start; }
.hero__txt .eyebrow { margin: 0; }
.hero__txt .h1 { max-width: 13ch; }
.hero__contact { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 18px; }
.hero__contact li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.hero__contact b { display: block; font-weight: 600; color: var(--ink); }
.hero__contact a { text-decoration: none; color: var(--ink-2); }
.hero__contact .open-now { font-size: 14px; }
.hero__ph { --ar: 4/5 !important; border-radius: 999px 999px 0 0 / 46% 46% 0 0; margin-top: 56px; max-height: 640px; width: 100%; }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: 8px; }
  .hero__txt { padding: 48px 0 24px; }
  .hero__ph { margin: 24px auto 0; max-width: 440px; }
}

/* ---------- Presentación ---------- */
.intro__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 72px; align-items: start; }
.intro__txt { display: grid; gap: 22px; justify-items: start; }
.intro__txt p:not(.btns) { color: var(--ink-2); }
.intro__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; align-items: start; }
.intro__ph2 { margin-top: 72px; }
@media (max-width: 760px) {
  .intro__head { grid-template-columns: 1fr; }
  .intro__photos { gap: 12px; margin-top: 32px; }
  .intro__ph2 { margin-top: 40px; }
}

/* ---------- Tarjetas de tratamiento ---------- */
.tcard { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 26px 16px; text-decoration: none; color: inherit; box-shadow: 0 10px 30px -24px rgb(29 44 59 / .5); transition: box-shadow .3s, translate .3s var(--ease); }
.tcard:hover { box-shadow: var(--shadow); translate: 0 -3px; }
.tcard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tcard__name { font: 500 22px/1.2 var(--head); letter-spacing: -.01em; }
.tcard__go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background-color .25s, color .25s, border-color .25s; }
.tcard__go svg { width: 16px; }
.tcard:hover .tcard__go { background: var(--action); border-color: var(--action); color: #fff; }
.tcard__txt { color: var(--ink-2); font-size: 16px; }
.tcard__from { font: 600 15px/1 var(--sans); color: var(--action); margin-top: auto; padding-top: 4px; }
.tcard__ph { --ar: 4/3 !important; border-radius: 14px; margin: 8px -10px 0; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tgrid { grid-template-columns: 1fr; } }

/* Carrusel */
.slider { min-width: 0; }
.slider__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 24px; margin: -4px -2px 0; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track .tcard { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.slider__arrows { display: flex; justify-content: space-between; margin-top: 4px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s, border-color .25s; box-shadow: 0 6px 18px -12px rgb(29 44 59 / .3); }
.arrow svg { width: 20px; }
.arrow:hover:not(:disabled) { background: var(--action); border-color: var(--action); color: #fff; }
.arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 960px) { .slider__track .tcard { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 620px) { .slider__track { margin-right: -20px; padding-right: 20px; } .slider__track .tcard { flex-basis: 84%; } }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; align-items: stretch; }
.values li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.values h3 { margin-bottom: 8px; }
.values p { color: var(--ink-2); font-size: 16px; max-width: 44ch; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .values li { padding: 24px; } }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.member { display: flex; flex-direction: column; }
.member__ph { --ar: 1/1 !important; }
.member__ph img { object-position: 50% 20%; }
.member__body { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px 0; margin-top: auto; }
.member h3 { font-size: 22px; }
.member__role { font-size: 15px; color: var(--muted); margin-top: 2px; }
.member__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--action); flex: none; background: #fff; transition: background-color .25s, color .25s; }
.member__go svg { width: 18px; }
.member__go:hover { background: var(--action); color: #fff; }
@media (max-width: 860px) {
  .team { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -20px; padding-right: 20px; gap: 14px; }
  .team::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ---------- Primera visita (Home) ---------- */
.visitblock { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.visitblock__ph { --ar: 4/5 !important; border-radius: 999px 999px var(--r-ph) var(--r-ph) / 40% 40% var(--r-ph) var(--r-ph); }
.visitblock__txt { display: grid; gap: 24px; justify-items: start; }
.visitblock__txt .eyebrow { margin: 0; }
.visitblock__price { display: flex; gap: 18px; align-items: center; background: var(--panel); border-radius: 16px; padding: 18px 22px; }
.visitblock__price b { font: 500 44px/1 var(--head); color: var(--action); letter-spacing: -.02em; }
.visitblock__price span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .visitblock { grid-template-columns: 1fr; gap: 32px; } .visitblock__ph { max-width: 420px; } }

/* ---------- Financiación ---------- */
.fin { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 40px 64px; align-items: center; }
.fin__txt { display: grid; gap: 20px; }
.fin__txt .eyebrow { margin: 0; }
.fin__txt > p { color: var(--ink-2); }
.fin__calc { background: #fff; border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); display: grid; gap: 12px; }
.fin__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.fin__amount { font: 500 40px/1 var(--head); letter-spacing: -.02em; }
.fin input[type=range] { width: 100%; accent-color: var(--action); height: 28px; cursor: pointer; }
.fin__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: -6px; margin-bottom: 8px; }
.fin__months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fin__months button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 6px; font-weight: 600; font-size: 15px; cursor: pointer; }
.fin__months button:hover { border-color: var(--ink); }
.fin__months button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fin__result { margin-top: 10px; background: var(--panel); border-radius: 16px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ink-2); font-size: 15px; }
.fin__result b { font: 500 36px/1.1 var(--head); color: var(--action); letter-spacing: -.02em; }
.fin__note { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .fin { grid-template-columns: 1fr; } }

/* ---------- Opiniones ---------- */
.reviews { margin-top: 48px; }
.review { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: end; max-width: 940px; margin-inline: auto; }
.review__ph { grid-column: 1; grid-row: 1; --ar: 4/5 !important; border-radius: 999px 999px var(--r-ph) var(--r-ph) / 44% 44% var(--r-ph) var(--r-ph); }
.review__card { grid-column: 1 / -1; grid-row: 1; margin: 0 0 48px 300px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3.5vw, 44px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.review blockquote { font: 500 clamp(22px, 2.2vw, 28px)/1.3 var(--head); letter-spacing: -.01em; }
.review figcaption { font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.review figcaption b { color: var(--ink); }
.reviews__nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 32px; }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.dot[aria-pressed="true"] { background: var(--action); width: 26px; border-radius: 6px; }
.rating { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 24px; color: var(--ink-2); font-size: 15px; flex-wrap: wrap; text-align: center; }
.rating b { font: 600 20px/1 var(--head); color: var(--ink); }
@media (max-width: 760px) {
  .review { grid-template-columns: 1fr; }
  .review__ph { max-width: 300px; margin-inline: auto; width: 100%; }
  .review__card { grid-row: 2; margin: -64px 0 0; }
}

/* ---------- Llamada final ---------- */
.cta { position: relative; overflow: hidden; background: var(--action); color: #fff; border-radius: var(--r-band); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: center; isolation: isolate; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .16); z-index: -1; }
.cta::before { width: 520px; height: 520px; right: -140px; top: -260px; box-shadow: 0 0 0 60px rgb(255 255 255 / .04), 0 0 0 120px rgb(255 255 255 / .03); }
.cta::after { width: 260px; height: 260px; right: 220px; bottom: -190px; }
.cta p:not(.btns) { color: #DCE6EF; margin-top: 14px; max-width: 52ch; }
.cta .h2 { color: #fff; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Preguntas frecuentes (icono propio) ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 40px; align-items: start; }
@media (max-width: 860px) { .faq2 { grid-template-columns: 1fr; } .faq2 .faq + .faq { border-top: 0; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 500 18px/1.35 var(--head); padding: 22px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px -8px rgb(29 44 59 / .4); position: relative; transition: rotate .3s var(--ease), background-color .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 2px; background: var(--action); translate: -50% -50%; }
.faq__icon::after { rotate: 90deg; }
.faq summary:hover .faq__icon { background: var(--blue-soft); }
.faq details[open] .faq__icon { rotate: 45deg; background: var(--action); border-color: var(--action); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: #fff; }
.faq details p { padding: 0 54px 24px 0; color: var(--ink-2); }

/* ---------- Visítanos ---------- */
.visit { position: relative; }
.visit__ph { --ar: 16/7 !important; }
.visit__card { position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); width: min(480px, calc(100% - 32px)); margin: -150px 0 0 40px; display: grid; gap: 16px; justify-items: start; }
.visit__city { font-size: 26px; }
.visit__list { display: grid; gap: 12px; width: 100%; }
.visit__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); }
.visit__list a { text-decoration: none; color: var(--ink); font-weight: 600; }
.visit__list svg { width: 20px; color: var(--action); margin-top: 2px; }
@media (max-width: 760px) { .visit__ph { --ar: 4/3 !important; } .visit__card { margin: -48px auto 0; } }

/* ---------- Cabeceras de página ---------- */
.page-head { padding: 80px 0 88px; }
.page-head__in { display: grid; justify-items: center; text-align: center; gap: 20px; }
.page-head__in .eyebrow { margin: 0; }
.page-head__in .lead { margin-inline: auto; }
.page-head--photo { padding-bottom: 0; background: linear-gradient(var(--panel) 0 calc(100% - 180px), transparent 0); }
.page-head__ph { --ar: 16/7 !important; margin-top: 56px; }
.page-head--split .page-head__in { grid-template-columns: 1.1fr .9fr; text-align: left; justify-items: start; align-items: center; gap: 56px; }
.page-head--split .page-head__in > div { display: grid; gap: 20px; justify-items: start; }
.page-head--split .lead { margin: 0; }
.page-head__side { --ar: 4/5 !important; width: 100%; max-width: 440px; justify-self: end; border-radius: 999px 999px var(--r-ph) var(--r-ph) / 40% 40% var(--r-ph) var(--r-ph); }
@media (max-width: 860px) {
  .page-head { padding: 48px 0 56px; }
  .page-head--photo { padding-bottom: 0; background: linear-gradient(var(--panel) 0 calc(100% - 90px), transparent 0); }
  .page-head__ph { --ar: 4/3 !important; margin-top: 36px; }
  .page-head--split .page-head__in { grid-template-columns: 1fr; gap: 32px; }
  .page-head__side { justify-self: center; max-width: 360px; }
}

/* ---------- Página de tratamiento ---------- */
.thead { padding: 72px 0 96px; }
.thead__txt { display: grid; gap: 18px; justify-items: start; max-width: calc(100% - 440px); }
.thead__txt .eyebrow { margin: 6px 0 -6px; }
.thead__txt .ico--lg { background: #fff; box-shadow: 0 8px 24px -14px rgb(29 44 59 / .5); }
.tbody { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.tbody__side { margin-top: -380px; position: sticky; top: calc(var(--nav-h) + 20px); }
.tbody__main { display: grid; gap: 72px; padding-top: 64px; }
.tsec { display: grid; gap: 20px; }
.prose { display: grid; gap: 14px; color: var(--ink-2); max-width: 64ch; }
.tsec__ph { margin-top: 8px; }
.tsec__sub { color: var(--ink-2); margin-top: -8px; }
.tsec__note { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); background: var(--panel); border-radius: 14px; padding: 14px 18px; }
.tsec__note svg { width: 22px; flex: none; color: var(--action); }
.tsec__note a { color: var(--action); font-weight: 600; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: s; align-items: stretch; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps p { color: var(--ink-2); font-size: 16px; }
.steps__n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--action); display: grid; place-items: center; font: 600 16px/1 var(--head); margin-bottom: 6px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
@media (max-width: 960px) { .steps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--4 { grid-template-columns: 1fr; } }
.prices { border-top: 1px solid var(--line); }
.prices li { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prices__n { font-weight: 500; }
.prices__n small { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.prices__p { font: 600 18px/1.2 var(--head); white-space: nowrap; color: var(--ink); }
.prices--compact li { padding: 12px 0; font-size: 15px; }
.who { display: flex; gap: 22px; align-items: center; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; transition: box-shadow .3s; }
.who:hover { box-shadow: var(--shadow); }
.who__ph { --ar: 1/1 !important; width: 120px; flex: none; border-radius: 14px; }
.who__ph img { object-position: 50% 15%; }
.who > span { display: grid; gap: 4px; }
.who b { font: 500 21px/1.2 var(--head); }
.who small { color: var(--muted); font-size: 15px; }
.who .link { margin-top: 6px; }
.formcard { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 14px; }
.formcard__title { font: 500 24px/1.2 var(--head); margin-top: 4px; }
.formcard__sub { color: var(--ink-2); font-size: 15px; margin-top: -6px; }
.formcard--wide { padding: clamp(22px, 3vw, 36px); }
.formcard--wide .formcard__sub { margin: 0; }
@media (max-width: 960px) {
  .thead__txt { max-width: none; }
  .tbody { grid-template-columns: 1fr; gap: 0; }
  .tbody__side { margin-top: 56px; position: static; order: 2; }
  .thead { padding: 48px 0 56px; }
  .tbody__main { padding-top: 48px; gap: 56px; }
}

/* ---------- Página Tratamientos ---------- */
.pricegroups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
.pricegroup { display: grid; gap: 14px; }
.pricegroup__h { display: flex; gap: 12px; align-items: center; }
.pricegroup__h a { text-decoration: none; }
.pricegroup__h a:hover { color: var(--action); }
@media (max-width: 860px) { .pricegroups { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 100px; }
.split__txt { display: grid; gap: 20px; justify-items: start; }
.split__txt > p:not(.btns) { color: var(--ink-2); }
.split__txt .prices { width: 100%; }
.split--rev .split__ph { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split--rev .split__ph { order: 0; } }

/* ---------- Equipo (página) ---------- */
.pros { display: grid; gap: 104px; }
.pro { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; scroll-margin-top: 100px; }
.pro__ph { --ar: 4/5 !important; position: sticky; top: calc(var(--nav-h) + 24px); }
.pro__body { display: grid; gap: 20px; justify-items: start; }
.pro__body .eyebrow { margin: 0; }
.pro__txt { color: var(--ink-2); max-width: 56ch; }
.pro__h { font: 600 15px/1 var(--sans); margin-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; width: 100%; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { font-weight: 600; }
@media (max-width: 860px) { .pros { gap: 72px; } .pro { grid-template-columns: 1fr; gap: 28px; } .pro__ph { position: static; max-width: 420px; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Primera visita ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tile p { color: var(--ink-2); }
.tile .prices, .tile .hours { width: 100%; }
.tile .link { margin-top: auto; }

/* ---------- Cita ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px 48px; align-items: start; }
.booking__steps { display: grid; gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 500 24px/1.1 var(--head); margin-bottom: 4px; }
.step legend + * { clear: both; }
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--action); font: 600 16px/1 var(--head); }
.step__info { font-size: 15px; color: var(--ink-2); display: flex; gap: 8px 18px; flex-wrap: wrap; background: var(--panel); border-radius: 12px; padding: 12px 14px; }
.step__info b { color: var(--ink); }
.step__info:empty, .step__msg:empty { display: none; }
.step__msg { font-size: 15px; color: var(--action-dark); background: var(--blue-soft); padding: 10px 14px; border-radius: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: #F6F8FA; padding: 12px 14px; font-size: 16px; }
.field textarea { resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 52px; cursor: pointer; text-overflow: ellipsis;
  background: #F6F8FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6383' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--action); outline-offset: 0; border-color: transparent; background-color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--action); flex: none; }
.procards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: stretch; }
.procard { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, background-color .2s; background: #fff; }
.procard input { position: absolute; opacity: 0; pointer-events: none; }
.procard__ph { --ar: 1/1 !important; border-radius: 12px; }
.procard__ph img { object-position: 50% 18%; }
.procard__ph--any { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--panel); color: var(--action); }
.procard__ph--any svg { width: 38px; }
.procard__txt { display: grid; gap: 2px; padding: 0 4px 4px; }
.procard__txt b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.procard__txt small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.procard:hover { border-color: var(--ink-2); }
.procard:has(input:checked) { border-color: var(--action); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--action); }
.procard:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.procard.is-off { opacity: .4; cursor: not-allowed; }
.procard.is-off:hover { border-color: var(--line); }
@media (max-width: 700px) { .procards { grid-template-columns: 1fr 1fr; } }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.day { flex: 0 0 64px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 10px 4px; cursor: pointer; display: grid; gap: 2px; text-align: center; }
.day small { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.day b { font: 600 22px/1 var(--head); }
.day i { font-style: normal; font-size: 11px; color: var(--muted); }
.day:hover:not(:disabled) { border-color: var(--ink); }
.day[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-checked="true"] small, .day[aria-checked="true"] i { color: #D6E0EA; }
.day:disabled { background: var(--panel); cursor: not-allowed; opacity: .6; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slots__group { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.slots__empty { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.slot { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 6px; cursor: pointer; font-size: 15px; font-weight: 600; }
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot[aria-checked="true"] { background: var(--action); border-color: var(--action); color: #fff; }
.slot:disabled { color: #A3AEB9; text-decoration: line-through; cursor: not-allowed; background: var(--panel); border-color: var(--panel); }
.booking__side { position: sticky; top: calc(var(--nav-h) + 20px); }
.summary { background: var(--panel); border-radius: 22px; padding: 28px; display: grid; gap: 18px; }
.summary__title { font: 500 26px/1 var(--head); }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { text-align: right; font-weight: 600; }
.summary__total dd { font: 600 22px/1 var(--head); color: var(--action); }
.summary__note { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } .booking__side { position: static; } }
.confirm { max-width: 760px; margin-inline: auto; display: grid; gap: 18px; text-align: center; justify-items: center; }
.confirm .eyebrow { margin: 0; color: var(--mint-ink); }
.confirm__txt { color: var(--ink-2); max-width: 54ch; }
.mail { width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.mail__head { display: flex; gap: 10px; align-items: center; background: var(--panel); padding: 14px 18px; font-size: 14px; color: var(--ink-2); }
.mail__head svg { width: 20px; flex: none; color: var(--action); }
.mail__head b { color: var(--ink); font-weight: 600; }
.mail__body { padding: 22px 22px 26px; display: grid; gap: 10px; font-size: 16px; color: var(--ink-2); }
.mail__body b { color: var(--ink); font-weight: 600; }
.mail__body ul { list-style: disc; padding-left: 20px; }
.mail__body .btns { margin-top: 6px; }
.confirm > .btns { justify-content: center; }

/* ---------- La clínica ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story__txt { display: grid; gap: 18px; justify-items: start; }
.story__txt > p:not(.btns) { color: var(--ink-2); }
.story__side { position: relative; }
.story__ph { --ar: 4/3 !important; }
.stats { position: relative; z-index: 2; display: flex; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 30px; box-shadow: var(--shadow); width: max-content; max-width: 100%; margin: -48px 0 0 -32px; }
.stats div { display: grid; gap: 4px; }
.stats dt { font-size: 14px; color: var(--muted); order: 2; }
.stats dd { font: 500 44px/1 var(--head); letter-spacing: -.02em; color: var(--action); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 36px; } .stats { margin: -40px auto 0; gap: 28px; padding: 18px 24px; } }
.techs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.tech { background: #fff; border-radius: var(--r-card); padding: 14px 14px 26px; display: flex; flex-direction: column; gap: 12px; }
.tech .ph { border-radius: 14px; margin-bottom: 8px; }
.tech h3, .tech p { padding-inline: 10px; }
.tech p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .techs { grid-template-columns: 1fr; } }
.gal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.gal__item { display: grid; gap: 10px; }
.gal__item figcaption { font-size: 15px; font-weight: 500; }
.gal__open { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--r-ph); overflow: hidden; display: block; width: 100%; }
.gal__open .ph { transition: scale .5s var(--ease); }
.gal__open:hover .ph { scale: 1.03; }
@media (max-width: 760px) { .gal__grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
dialog.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); width: 100%; max-height: 92vh; overflow: visible; }
dialog.viewer::backdrop { background: rgb(20 30 40 / .9); }
.viewer__fig { display: grid; gap: 14px; color: #fff; }
.viewer__fig .ph { max-height: 78vh; width: 100%; }
.viewer__btn { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .7); background: rgb(20 30 40 / .4); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.viewer__btn svg { width: 20px; }
.viewer__prev { left: -64px; }
.viewer__next { right: -64px; }
.viewer__close { right: 0; top: -58px; translate: 0; }
@media (max-width: 1140px) { .viewer__prev { left: 8px; } .viewer__next { right: 8px; } .viewer__close { right: 8px; top: 8px; } }
.arrive { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.arrive .visit__ph { --ar: 4/3 !important; }
.arrive .visit__card { margin: -110px 0 0 24px; }
.map { border-radius: var(--r-ph); overflow: hidden; background: var(--panel); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.7); }
@media (max-width: 860px) { .arrive { grid-template-columns: 1fr; } .arrive .visit__card { margin: -48px auto 0; } .map, .map iframe { min-height: 300px; } }

/* ---------- Contacto ---------- */
.chead { padding: 80px 0; }
.chead__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.chead__txt { display: grid; gap: 20px; justify-items: start; }
.chead__txt .eyebrow { margin: 0; }
.clist { display: grid; gap: 16px; margin-top: 8px; }
.clist li { display: flex; gap: 14px; align-items: center; font-size: 15px; color: var(--ink-2); }
.clist b { display: block; color: var(--ink); font-weight: 600; }
.clist a { color: var(--ink-2); }
@media (max-width: 960px) { .chead { padding: 48px 0; } .chead__in { grid-template-columns: 1fr; gap: 36px; } }
.ctiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .ctiles { grid-template-columns: 1fr; } }
.hours { display: grid; width: 100%; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { text-align: right; }
.hours li.is-today { font-weight: 700; color: var(--action); }
.how { display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.how b { color: var(--ink); font-weight: 600; }

/* ---------- Pie ---------- */
.footer { margin-top: 120px; padding-bottom: 12px; }
.footer__panel { background: var(--panel); border-radius: var(--r-band); margin-inline: 12px; padding: 64px 0 24px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 28px 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__txt { color: var(--ink-2); font-size: 15px; margin-top: 14px; max-width: 36ch; }
.footer__txt a { text-decoration: none; }
.footer__txt a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 32px; padding: 44px 0 40px; align-items: start; }
.footer__h { font: 600 16px/1.2 var(--head); margin-bottom: 14px; }
.footer nav a { display: block; text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 4px 0; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__grid .footer__txt { margin-top: 0; margin-bottom: 12px; }
.footer__card { background: var(--action); color: #fff; border-radius: 22px; padding: 26px; display: grid; gap: 12px; }
.footer__cardtitle { font: 500 24px/1 var(--head); }
.footer__card .hours li { border-color: rgb(255 255 255 / .2); }
.footer__card .hours li.is-today { color: #fff; }
.footer__card .btn { margin-top: 8px; }
.footer__legal { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .footer { margin-top: 80px; } .footer__panel { margin-inline: 8px; padding-top: 44px; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Aviso de demo ---------- */
dialog.demo { border: 0; border-radius: 24px; padding: 40px 32px; max-width: 460px; width: calc(100% - 32px); background: #fff; color: var(--ink); text-align: center; }
dialog.demo::backdrop { background: rgb(29 44 59 / .55); }
dialog.demo h2 { font: 500 30px/1.1 var(--head); margin-bottom: 14px; letter-spacing: -.02em; }
dialog.demo p { color: var(--ink-2); }
dialog.demo .demo__sum { margin-top: 14px; padding: 12px; background: var(--panel); border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; }
dialog.demo .demo__sum:empty { display: none; }
dialog.demo .btns { justify-content: center; margin-top: 24px; }
dialog.demo .btn--dw { background: #D9231F; color: #fff; border-radius: 999px; }
dialog.demo .btn--dw:hover { background: #B81C18; }
dialog.demo .btn--line { border-radius: 999px; }

/* ---------- Barra fija móvil ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(29 44 59 / .1); }
  .mbar .btn { min-height: 48px; padding: 12px 10px; }
  body { padding-bottom: 76px; }
  .p-primera-visita .mbar { display: none; }
  .p-primera-visita { padding-bottom: 0; }
}

/* ---------- Movimiento (solo con .fx) ---------- */
.fx [data-reveal] { opacity: 0; translate: 0 14px; transition: opacity .6s var(--ease) var(--d, 0ms), translate .6s var(--ease) var(--d, 0ms); }
.fx [data-reveal].is-in { opacity: 1; translate: 0 0; }
.captura .slider__track, html.captura { scroll-behavior: auto; }

/* ---------- Ajustes tras la revisión (28/11/2026) ---------- */
.logo__name { font-size: 29px; }
.visitblock__price b { white-space: nowrap; flex: none; }
.open-now { align-items: flex-start; }
.open-now::before { margin-top: .45em; }
.fin__months button { white-space: nowrap; }
.gal__grid { grid-template-columns: repeat(4, 1fr); }
.gal .ph { --ar: 4/3 !important; }
@media (max-width: 760px) {
  .values li { flex-direction: column-reverse; gap: 16px; }
  .fin__months button { font-size: 14px; padding: 12px 4px; }
  .gal__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .logo__name { font-size: 25px; } }
