/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #fffdf9;
  --bg-2: #f6f3ec;
  --surface: #ffffff;
  --ink: #16324a;
  --ink-soft: #3f5b70;
  --ink-mute: #74899a;
  --line: rgba(22, 50, 74, 0.13);

  --navy: #1b4d6e;
  --navy-dark: #123145;
  --navy-tint: #e9eff4;

  --gold: #c9a96e;
  --gold-dark: #a47c3a;
  --gold-tint: #f6efe0;

  --success: #1f9d55;
  --success-tint: #e9f9ee;
  --success-line: #b9ecc9;

  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(22, 50, 74, 0.07);
  --shadow-md: 0 12px 32px rgba(22, 50, 74, 0.11);
  --shadow-lg: 0 24px 60px rgba(22, 50, 74, 0.16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", var(--sans);
  --serif-italic: "Newsreader", Georgia, serif;
}

[hidden] { display: none !important; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.15; letter-spacing: -0.01em; color: var(--navy); }
::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .8rem 1.2rem; background: var(--navy); color: #fff;
  z-index: 9999; border-radius: 10px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-block-end: 1.5rem;
}

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--gold-dark); text-transform: uppercase; margin-bottom: .5rem;
}

.badge-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gold-tint); color: var(--gold-dark);
  font-family: var(--display); font-weight: 700; font-size: .88rem;
  padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.6rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out), opacity .2s var(--ease-out);
  min-height: 56px;
}
.btn-block { width: 100%; }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 28px rgba(27, 77, 110, 0.32);
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(27, 77, 110, 0.4); }
.btn-primary:disabled {
  background: #cbd6dd; color: #8ba0ac; box-shadow: none; cursor: not-allowed; transform: none;
}
.btn-whatsapp {
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }

.link-secondary {
  display: block; text-align: center; margin-top: 1.1rem;
  color: var(--navy); font-weight: 600; text-decoration: underline;
}

/* =============================================================
   4. Topbar / Nav
   ============================================================= */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .8rem; position: relative; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-size: 1.3rem; font-weight: 800;
}
.brand-name { font-size: 1.05rem; color: var(--navy); }

.nav { display: none; align-items: center; gap: 1.6rem; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--navy); }
.btn-sm { padding: .7rem 1.3rem; min-height: 46px; font-size: .95rem; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border-radius: 12px;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; }

.topbar.nav-open .nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: .5rem 1.25rem 1.25rem;
}
.topbar.nav-open .nav a:not(.btn) { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.topbar.nav-open .nav .nav-cta { margin-top: 1rem; }

@media (min-width: 960px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   5. Hero + secciones
   ============================================================= */
html { scroll-padding-top: 5rem; }
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3.5rem; }
}

.doctor-name { font-size: clamp(2.3rem, 5.5vw, 3.7rem); line-height: 1.05; }
.doctor-tagline {
  font-family: var(--serif-italic); font-style: italic; color: var(--gold-dark);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem); margin-top: .9rem;
}
.doctor-title { color: var(--ink-soft); margin-top: .5rem; font-size: 1.05rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #d8bb83; transform: translateY(-2px); }

.video-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9; background: var(--navy-dark);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff;
}
.video-play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--navy-dark);
}
.video-placeholder-text { font-family: var(--display); font-weight: 600; font-size: .95rem; color: rgba(255,255,255,0.85); }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stat-chip { text-align: left; }
.stat-value { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 1.9rem); color: var(--navy); line-height: 1.1; }
.stat-label { display: block; font-size: .85rem; color: var(--ink-mute); margin-top: .25rem; line-height: 1.3; }

/* Secciones genéricas */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 2rem; }
.section-head-center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.5rem; }
.section-heading { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-lead { color: var(--ink-soft); margin-top: .8rem; }
.card-title { font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
.card-sub { color: var(--ink-mute); margin-top: .5rem; margin-bottom: 1.5rem; }

.booking-container { max-width: 760px; }

/* Servicios */

/* Sobre mí */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.bio { margin-top: 1.25rem; display: grid; gap: .9rem; }
.bio p { color: var(--ink-soft); }
.credentials { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.credentials li { display: flex; align-items: center; gap: 1rem; }
.credential-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; background: var(--navy-tint); color: var(--navy);
}
.credentials strong { display: block; color: var(--navy); font-family: var(--display); }
.credentials span:not(.credential-icon) { color: var(--ink-mute); font-size: .95rem; }

/* Reseñas (carrusel) */
.reviews-carousel { position: relative; }
.reviews-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 min(86%, 340px); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .7rem;
  align-self: flex-start;
}
@media (min-width: 720px) { .review-card { flex-basis: calc((100% - 2rem) / 3); } }
.review-head { display: flex; align-items: center; gap: .8rem; }
.review-avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.1rem;
}
.review-name { display: block; font-family: var(--display); color: var(--ink); line-height: 1.2; }
.review-date { display: block; font-size: .85rem; color: var(--ink-mute); }
.review-stars { color: #f4b400; font-size: 1.15rem; letter-spacing: .08em; line-height: 1; }
.review-text { color: var(--ink-soft); font-size: .98rem; }
.review-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { align-self: flex-start; color: var(--ink-mute); font-weight: 600; font-size: .9rem; text-decoration: underline; padding: .25rem 0; min-height: 32px; }
.reviews-nav {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 2;
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); color: var(--navy); box-shadow: var(--shadow-md); border: 1px solid var(--line);
  transition: opacity .2s var(--ease-out), background-color .2s var(--ease-out);
}
.reviews-nav:hover:not(:disabled) { background: var(--navy-tint); }
.reviews-nav:disabled { opacity: 0; pointer-events: none; }
.reviews-prev { left: -1rem; }
.reviews-next { right: -1rem; }
@media (min-width: 720px) { .reviews-nav { display: inline-flex; } }

/* Contacto (oscuro) */
.section-dark { background: var(--navy-dark); color: rgba(255,255,255,0.8); }
.section-dark .section-heading { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,0.7); }
.section-dark .eyebrow { color: var(--gold); }
.contact-grid { display: grid; gap: 2rem; align-items: stretch; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; align-content: start; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; background: rgba(201,169,110,0.2); color: var(--gold);
}
.contact-icon-wa { background: rgba(37,211,102,0.16); color: var(--whatsapp); }
.contact-list strong { display: block; color: #fff; font-family: var(--display); }
.contact-list span:not(.contact-icon) { color: rgba(255,255,255,0.72); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; min-height: 280px; background: rgba(255,255,255,0.06); }
.contact-map iframe { width: 100%; height: 100%; min-height: 280px; display: block; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.5rem; }

/* Tarjeta motivo */
.motivo-card { margin-block-end: 1.5rem; }
.motivo-options { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.motivo-option {
  display: flex; align-items: center; gap: .9rem;
  width: 100%; text-align: left;
  padding: 1.05rem 1.2rem; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: var(--bg-2);
  font-size: 1.05rem; font-weight: 600;
  min-height: 64px;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.motivo-option:hover { border-color: var(--gold); transform: translateY(-1px); }
.motivo-option .box {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  border: 2.5px solid var(--ink-mute); position: relative;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.motivo-option .box svg { position: absolute; inset: 0; margin: auto; opacity: 0; transition: opacity .15s var(--ease-out); color: #fff; }
.motivo-option[aria-checked="true"] { border-color: var(--navy); background: var(--navy-tint); }
.motivo-option[aria-checked="true"] .box { background: var(--navy); border-color: var(--navy); }
.motivo-option[aria-checked="true"] .box svg { opacity: 1; }

/* =============================================================
   6. Booking section (Paso 2 y 3)
   ============================================================= */

.stepper {
  display: flex; flex-wrap: wrap; gap: .6rem; list-style: none;
  margin-bottom: 1.25rem; padding: 0;
}
.stepper li {
  font-size: .85rem; font-weight: 700; color: var(--ink-mute);
  background: var(--surface); padding: .5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line);
}
.stepper li.is-done { color: var(--navy); border-color: var(--gold); }
.stepper li.is-current { color: #fff; background: var(--navy); border-color: var(--navy); }

/* Calendario tipo grilla mensual */

.times-wrap { margin-top: 1.75rem; }
.times-heading { font-size: 1.05rem; margin-bottom: .9rem; }
.times-heading span { color: var(--navy); }
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.time-chip {
  min-height: 52px;
  border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--bg-2);
  font-weight: 700; font-size: 1rem;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.time-chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.time-chip[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.time-chip:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; transform: none; }

/* Formulario */
.patient-form { display: grid; gap: 1.1rem; margin-top: .5rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.field-optional { font-weight: 400; color: var(--ink-mute); }
.field input {
  font: inherit; font-size: 1.05rem;
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: var(--bg-2); color: var(--ink);
  min-height: 54px;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.field input:focus { border-color: var(--navy); background: #fff; outline: none; }
.field input:invalid:not(:placeholder-shown) { border-color: #d64545; }

/* =============================================================
   7. Confirmación (Paso 4)
   ============================================================= */
.confirmation-card {
  text-align: center;
  background: var(--success-tint); border: 1.5px solid var(--success-line);
}
.confirmation-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--success); color: #fff; margin-bottom: 1rem;
}
.confirmation-title { font-size: clamp(1.4rem, 3vw, 1.8rem); color: #14532d; }
.confirmation-details {
  display: grid; gap: .9rem; text-align: left; margin: 1.6rem 0;
  background: #fff; border-radius: var(--radius-sm); padding: 1.3rem 1.4rem;
}
.confirmation-details div { display: grid; gap: .15rem; }
.confirmation-details dt { font-size: .82rem; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .03em; }
.confirmation-details dd { font-size: 1.05rem; font-weight: 600; color: var(--ink); }

.confirmation-map { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1.4rem; box-shadow: var(--shadow-sm); }
.confirmation-map iframe { width: 100%; height: 220px; }

/* =============================================================
   8. Footer & WhatsApp FAB
   ============================================================= */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding-block: 2rem; }
.footer-inner { display: grid; gap: .3rem; font-size: .92rem; }
.footer-inner strong { color: #fff; }

.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }

/* =============================================================
   9. Responsive
   ============================================================= */
@media (max-width: 539px) {
  body { font-size: 17px; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .stat-chip { padding: .8rem .3rem; }
  
}

/* =============================================================
   10. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01s; }
}

/* =============================================================
   11. Versión informe 2026-10: inicio con video + motivo, reserva por días
   ============================================================= */
.hero-grid { gap: 2rem; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 3rem; }
  .hero-right { position: sticky; top: 5.5rem; }
  .hero-grid.is-booked { grid-template-columns: minmax(0, 620px); justify-content: center; }
}
.hero-left .video-frame { margin-top: 1.5rem; max-width: 640px; }
.hero-left .stats-row { max-width: 640px; }
.stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem .75rem; }
@media (min-width: 540px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-size: clamp(1.25rem, 3vw, 1.6rem); white-space: nowrap; }

.motivo-card { margin-block-end: 0; }
.motivo-options { gap: .7rem; }
.motivo-option { min-height: 68px; font-size: 1.12rem; line-height: 1.3; padding: 1rem 1.2rem; }
.motivo-option .box { width: 30px; height: 30px; border-radius: 8px; }
.motivo-text { display: flex; flex-direction: column; gap: .1rem; }
.motivo-sub-label { font-size: .92rem; font-weight: 500; color: var(--ink-mute); }

.otro-box { margin: -.4rem 0 1.25rem; display: grid; gap: .4rem; }
.otro-box label { font-weight: 600; color: var(--ink-soft); }
.otro-box textarea {
  font: inherit; font-size: 1.05rem; padding: .9rem 1.1rem; resize: vertical;
  border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; color: var(--ink);
}
.otro-box textarea:focus { border-color: var(--navy); outline: none; }

.demo-banner {
  margin-bottom: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm);
  background: #fff4d6; color: #7a5a00; font-weight: 600; font-size: .95rem;
}
.booking-alert {
  margin: 0 0 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm);
  background: #fdecec; color: #a12727; font-weight: 600;
}
.avail-status { color: var(--ink-soft); padding: .5rem 0 1rem; }
.link-btn { color: var(--navy); font-weight: 700; text-decoration: underline; padding: .25rem .1rem; }

.days-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 640px) { .days-grid { grid-template-columns: repeat(3, 1fr); } }
.day-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  min-height: 150px; padding: 1rem .5rem; text-align: center;
  border-radius: var(--radius-md); border: 2px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.day-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.day-tile .dow { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.day-tile .num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1.05; color: var(--navy); }
.day-tile .mon { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.day-tile .free { margin-top: .35rem; font-size: .85rem; font-weight: 600; color: var(--gold-dark); }
.day-tile[aria-selected="true"] { background: var(--navy); border-color: var(--navy); }
.day-tile[aria-selected="true"] .dow, .day-tile[aria-selected="true"] .mon, .day-tile[aria-selected="true"] .free { color: rgba(255,255,255,.85); }
.day-tile[aria-selected="true"] .num { color: #fff; }
.days-more { margin-top: 1rem; }

.times-wrap { margin-top: 1.75rem; }
.times-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.time-chip { min-height: 58px; font-size: 1.1rem; }

.field-hint { font-size: .9rem; color: var(--ink-mute); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confirmation-note { margin: -.4rem 0 1.2rem; color: #14532d; font-weight: 500; }
.confirmation-details dd small { display: block; font-weight: 500; color: var(--ink-mute); }
.contact-list strong span { font-weight: inherit; }

/* =============================================================
   12. Rediseño según referencia: hero con foto, galería y reseñas
   ============================================================= */
.hero-top { position: relative; overflow: clip; background: var(--bg); padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.hero-top::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  right: -180px; top: -140px; background: var(--gold-tint); opacity: .75; pointer-events: none;
}
.hero-top-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-top-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.hero-top .stats-row { max-width: 560px; }
.hero-photo { position: relative; isolation: isolate; width: 100%; max-width: 460px; margin-inline: auto; }
.hero-photo::after {
  content: ""; position: absolute; inset: 22px -16px -16px 22px; z-index: -1;
  border: 2px solid var(--gold); border-radius: var(--radius-lg);
}
.hero-photo-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; background: var(--navy-tint);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

#turno .hero-left .section-heading { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
#turno .hero-left .video-frame { margin-top: 1.5rem; max-width: 640px; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; background: var(--navy-tint); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1rem .9rem; color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(to top, rgba(18,49,69,.85), transparent);
}

.review-card { position: relative; background: var(--surface); }
.review-quote {
  position: absolute; top: .6rem; right: 1.1rem; font-family: Georgia, serif; font-size: 3.6rem; line-height: 1;
  color: var(--navy-tint); pointer-events: none;
}
.review-avatar-photo { object-fit: cover; display: block; }
.section-alt .review-card { border-color: transparent; }
#testimonios { background: var(--bg-2); }
#testimonios .review-card { border-color: transparent; }

@media (max-width: 959px) {
  .hero-top::before { width: 380px; height: 380px; right: -190px; top: -60px; }
}

.social-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.social-link {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.social-link:hover { background: rgba(255,255,255,.12); border-color: var(--gold); transform: translateY(-2px); }
.social-link[hidden], .social-links[hidden] { display: none; }

.review-stars .star { color: #f4b400; }
.review-stars .star.empty { color: #d9d9d9; }
.review-stars .star.half {
  background: linear-gradient(90deg, #f4b400 50%, #d9d9d9 50%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* Video con carga diferida */
.video-facade { position: relative; display: block; width: 100%; height: 100%; padding: 0; background: var(--navy-dark); overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade .video-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s var(--ease-out); }
.video-facade:hover .video-play { transform: scale(1.08); }
.consent-note { font-size: .88rem; color: var(--ink-mute); text-align: center; }
.consent-note a { color: var(--navy); text-decoration: underline; font-weight: 600; }
.footer-legal { margin-top: .4rem; font-size: .88rem; }
.footer-legal a { text-decoration: underline; }
.legal-page { max-width: 760px; padding-block: 3rem 4rem; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
