/* ═══════════════════════════════════════════════════════════
   Sonrisa Premium · Tema AZUL · Estilo Dentty
   Paleta corporativa, medical clean, editorial
   ═══════════════════════════════════════════════════════════ */

:root {
  --azul-dark:    #1e3a52;  /* azul oscuro dental (FAQ) */
  --azul:         #3a7ca5;  /* azul dental principal (hero) */
  --azul-deep:    #2d6589;  /* azul medio para gradient + pills sutiles */
  --azul-pill:    rgba(0,0,0,0.18); /* pills navbar camufladas */
  --azul-soft:    #87b8d8;  /* azul claro acentos */
  --gray-light:   #e9e9e9;
  --gray-bg:      #fbfbfb;
  --white:        #ffffff;
  --black:        #0d0d0d;
  --border:       rgba(30,58,82,0.10);
  --shadow-sm:    0 2px 8px rgba(30,58,82,0.08);
  --shadow-md:    0 8px 30px rgba(30,58,82,0.12);
  --shadow-lg:    0 20px 60px rgba(30,58,82,0.18);
  --radius-sm:    12px;
  --radius:       20px;
  --radius-lg:    28px;
  --radius-xl:    40px;
  --t:            cubic-bezier(0.4, 0, 0.2, 1);
  --cw:           min(94vw, 1680px); /* ancho de contenido fluido: llena pantallas grandes sin estirar el texto */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ═══ ESCALA VISUAL (20-jun-2026): el sitio se diseñó viéndolo al 150% de zoom.
   Estas reglas hacen que el 100% del visitante se vea así (zoom 1.5 en pantallas
   grandes), escalonado hacia abajo para que el nav (necesita ~1280px efectivos)
   no se rompa en portátiles. Móvil y tablet (<1420px) intactos. ═══ */
@media screen and (min-width: 1880px) { body { zoom: 1.5; } :root { --z: 1.5; } }
@media screen and (min-width: 1750px) and (max-width: 1879.98px) { body { zoom: 1.4; } :root { --z: 1.4; } }
@media screen and (min-width: 1550px) and (max-width: 1749.98px) { body { zoom: 1.25; } :root { --z: 1.25; } }
@media screen and (min-width: 1420px) and (max-width: 1549.98px) { body { zoom: 1.1; } :root { --z: 1.1; } }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 110px; }

body {
  font-family: 'Manrope', 'Inter', -apple-system, sans-serif;
  color: var(--azul-dark);
  background: var(--gray-bg);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings: Manrope con peso medio (estilo Dentty) — delgado pero estructurado */
.hero h1, .hero-compact h1, .section h2, .faq h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* H1 hero word-by-word reveal: wrappers para animación tipo SplitText */
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .word-inner { display: inline-block; will-change: transform, opacity; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─── Pronto banner ───────────────────────────────────────── */
.pronto-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: var(--azul-dark); color: var(--white);
  font-size: 12px; padding: 8px 5%; text-align: center;
  border-bottom: 1px solid var(--azul-deep);
  letter-spacing: -0.005em;
}
.pronto-banner strong { color: var(--azul-soft); font-weight: 700; }
.has-banner .navbar { top: 33px; }

/* ─── Navbar pill ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px max(32px, calc((100% - var(--cw)) / 2));
  display: flex; align-items: center; gap: 16px;
  background: transparent;
  transition: all 0.3s var(--t);
}
.navbar.scrolled {
  background: transparent;
  padding: 14px 32px;
}

.nav-logo {
  display: inline-flex; align-items: center;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 12px 22px; border-radius: 50px;
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.3s var(--t);
}
.nav-logo:hover { transform: translateY(-1px); }

.nav-links {
  list-style: none;
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px; border-radius: 50px;
  flex: 1; justify-content: center;
}
.nav-links li { position: relative; }
.nav-links a {
  display: inline-block;
  padding: 8px 18px; border-radius: 50px;
  color: rgba(255,255,255,0.85);
  font-size: 14px; font-weight: 500;
  transition: all 0.25s var(--t);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active {
  color: var(--white);
}
.nav-links a.active::before {
  content: '';
  display: inline-block; width: 6px; height: 6px;
  background: #f5a623; border-radius: 50%;
  margin-right: 8px; vertical-align: middle;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--azul-dark);
  padding: 14px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--t);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--azul-dark); color: var(--white);
}

.nav-lang {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--white); font-size: 13px; font-weight: 500;
  padding: 8px 4px;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(165deg, #4488b3 0%, var(--azul) 45%, var(--azul-deep) 100%);
  padding: 130px 32px 40px;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  /* Extiende el azul 40px más abajo para que se vea detrás de las esquinas
     curvas de la siguiente sección (efecto "valle hacia abajo") */
  box-shadow: 0 40px 0 var(--azul-deep);
}
/* La sección siguiente sube sobre el hero cubriendo los 40px de padding-bottom (azul),
   y empieza exactamente donde termina la foto */
.hero + section {
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding-top: 80px;
  background: var(--white);
}
/* Animated radial glow continuo en bg del hero (shimmer sutil) */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 20% 30%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none; z-index: 0;
  animation: heroGlow 12s ease-in-out infinite alternate;
}
.hero > * { position: relative; z-index: 1; }
@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(60%, 10%) scale(1.15); opacity: 1; }
  100% { transform: translate(0, 5%) scale(1.05); opacity: 0.85; }
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  max-width: var(--cw); width: 100%;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
  margin: 0;
}

.hero-meta {
  display: flex; flex-direction: column; gap: 14px;
  min-width: 280px;
}
.practice-hours { color: var(--white); }
.practice-hours strong {
  display: block;
  font-size: 17px; font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.practice-hours p {
  font-size: 14px; line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}
.today-pill {
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 18px;
  font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.today-pill .live-clock { font-weight: 700; }

/* Foto + benefit cards */
.hero-photo {
  position: relative;
  margin-top: 24px; margin-bottom: 0;
  max-width: var(--cw); width: 100%;
  margin-left: auto; margin-right: auto;
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 0;
}
.hero-photo-frame {
  background: var(--gray-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  flex: 1;
  min-height: 360px;
  max-height: min(60vh, 660px);
  width: 100%;
  position: relative;
}
/* Imagen IA generada al ratio 3:1 — llena exactamente todo el frame sin recortes.
   position absolute + inset 0 garantiza que llene el frame incluso si la cadena
   flex no propaga height en mobile Safari. */
.hero-photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.benefits {
  position: absolute; bottom: 60px; left: 20px; right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  z-index: 5;
}
.benefit-card {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(255,255,255,0.5);
  transition: all 0.4s var(--t);
  position: relative; overflow: hidden;
}
/* Radial glow behind benefit-card on hover */
.benefit-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(66,146,199,0.15), transparent 70%);
  opacity: 0; transition: opacity 0.5s var(--t);
  pointer-events: none;
}
.benefit-card:hover::before { opacity: 1; }
.benefit-card:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.benefit-card > * { position: relative; z-index: 1; }
.benefit-card-text strong {
  display: block;
  font-size: 17px; font-weight: 700;
  color: var(--azul-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.benefit-card-text p {
  font-size: 13px; line-height: 1.5;
  color: var(--azul-dark); opacity: 0.7;
  margin: 0;
}
.benefit-card-arrow {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--azul-dark);
  transition: transform 0.3s var(--t);
}
.benefit-card:hover .benefit-card-arrow { transform: rotate(-45deg); }

/* ─── SECTION base ────────────────────────────────────────── */
.section {
  padding: 120px 32px;
  max-width: var(--cw); margin: 0 auto;
  width: 100%;
}

.overline {
  font-size: 13px; font-weight: 500;
  color: var(--azul-dark); opacity: 0.55;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.section h2 {
  /* 12-jun: bajado de clamp(2.5rem,5.2vw,6rem) — los títulos azules opacaban hasta las fotos */
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--azul-dark);
  margin: 0;
}

/* ─── OUR CLINIC ──────────────────────────────────────────── */
.clinic { background: var(--white); }
.clinic-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 56px;
  gap: 40px;
}
.clinic-since {
  font-size: 13px; font-weight: 500;
  color: var(--azul-dark); opacity: 0.55;
}
/* Layout asimétrico: foto principal izquierda + 2 secundarias derecha (asimétricas) */
.clinic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 56px;
  margin-bottom: 80px;
  align-items: center;
}
.clinic-photo-main {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  max-height: 440px;
  width: 100%;
}
.clinic-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.clinic-photo-secondary {
  display: flex; flex-direction: column;
  gap: 32px;
}
.clinic-photo-secondary > div {
  background: var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  filter: grayscale(0.6);
  transition: filter 0.5s var(--t), transform 0.5s var(--t);
  aspect-ratio: 4/3;
  width: 75%;
}
/* Asimetría: primera alineada a la IZQUIERDA, segunda a la DERECHA, con offset vertical sutil */
.clinic-photo-secondary > div:first-child {
  align-self: flex-start;
  margin-top: 32px;
}
.clinic-photo-secondary > div:last-child {
  align-self: flex-end;
  margin-bottom: 16px;
}
.clinic-photo-secondary > div:hover { filter: grayscale(0); transform: translateY(-4px); }
.clinic-photo-secondary img { width: 100%; height: 100%; object-fit: cover; }

.clinic-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.clinic-bottom h3 {
  font-size: 16px; font-weight: 700;
  color: var(--azul-dark);
  margin-bottom: 14px;
}
.clinic-bottom p {
  font-size: 15px; line-height: 1.6;
  color: var(--azul-dark); opacity: 0.7;
}

/* ─── SERVICES ────────────────────────────────────────────── */
.services { background: var(--white); padding-top: 40px; }
.services-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 40px;
  gap: 40px;
}
.services-view-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--azul-dark);
  font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 50px;
  background: var(--gray-light);
  transition: all 0.3s var(--t);
}
.services-view-more:hover { background: var(--azul-dark); color: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  transition: transform 0.5s var(--t);
}
.service-card.with-photo { background: var(--gray-light); }
.service-card.with-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 1;
}
.service-card.with-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,0.65));
  z-index: 2;
}
.service-card.text-only {
  background: var(--gray-light);
  justify-content: flex-start;
  padding: 28px 26px;
}
.service-card.text-only .service-card-title { margin-top: 32px; font-size: 22px; }
.service-card.text-only .service-card-price {
  color: var(--azul-dark); margin-top: auto;
  font-size: 15px;
}
.service-card.text-only .service-card-price strong { color: var(--azul-dark); }
.service-card-arrow {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  color: var(--white);
  transition: all 0.3s var(--t);
}
.service-card.text-only .service-card-arrow {
  background: var(--azul-dark); color: var(--white);
}
.service-card:hover .service-card-arrow {
  background: var(--white); color: var(--azul-dark);
  transform: rotate(-45deg);
}
.service-card-title {
  position: relative; z-index: 3;
  font-size: 20px; font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
}
.service-card.text-only .service-card-title { color: var(--azul-dark); }
.service-card-price {
  position: relative; z-index: 3;
  font-size: 13px; color: rgba(255,255,255,0.92);
  margin-top: 4px;
}
.service-card-price strong { font-weight: 700; color: var(--white); }
.service-card.text-only .service-text {
  position: relative; z-index: 3;
  font-size: 13px; line-height: 1.55;
  color: var(--azul-dark); opacity: 0.75;
  margin-top: 8px;
}

/* ─── TEAM ────────────────────────────────────────────────── */
.team { background: var(--white); }
.team-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 40px;
  gap: 40px;
}
.team-nav {
  display: flex; gap: 12px;
}
.team-nav button {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--azul-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--t);
}
.team-nav button:hover { background: var(--azul); transform: translateY(-2px); }
.team-nav button svg { width: 18px; height: 18px; }
.team-nav button:disabled { opacity: 0.4; cursor: default; }

.team-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  align-items: stretch;
}
.team-photo {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 360px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info {
  display: flex; flex-direction: column;
  padding: 8px 0;
}
.team-info-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--azul-dark); opacity: 0.65;
  margin-bottom: 24px;
}
.team-rating { display: inline-flex; gap: 6px; align-items: center; }
.team-rating .star { color: #f5a623; font-size: 16px; }
.team-info h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--azul-dark);
}
.team-info .team-exp {
  font-size: 16px; opacity: 0.7;
  margin-bottom: 24px;
  color: var(--azul-dark);
}
.team-info p {
  font-size: 16px; line-height: 1.65;
  color: var(--azul-dark); opacity: 0.85;
  margin-bottom: 28px;
}
.team-book {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--azul-dark);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  margin-top: auto;
  transition: all 0.3s var(--t);
}
.team-book:hover { background: var(--azul); transform: translateY(-2px); }

/* ─── TESTIMONIOS ─────────────────────────────────────── */
.testimonios { background: var(--white); }
.testimonios-header {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-bottom: 56px;
}
.testimonios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonio-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--t), box-shadow 0.4s var(--t);
}
.testimonio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.testimonio-stars {
  color: #f5a623; font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testimonio-quote {
  font-size: 15.5px; line-height: 1.6;
  color: var(--azul-dark);
  margin-bottom: 24px;
  flex: 1;
}
.testimonio-author {
  display: flex; gap: 14px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testimonio-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonio-author strong {
  display: block;
  font-size: 15px; font-weight: 700;
  color: var(--azul-dark);
  margin-bottom: 2px;
}
.testimonio-author span {
  font-size: 13px; color: var(--azul-dark); opacity: 0.65;
}

/* ─── CTA FINAL ──────────────────────────────────────── */
.cta-final {
  background: var(--azul);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 80px auto;
  padding: 96px 56px;
  max-width: calc(var(--cw) - 64px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(ellipse 500px 350px at 80% 70%, rgba(135,184,216,0.18), transparent 60%);
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-final .overline { color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.cta-final h2 {
  /* 12-jun: bajado de clamp(2rem,4.5vw,5rem) — pedido César + deja espacio al formulario */
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.cta-final p {
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
}
.cta-final-actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.cta-final-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.3s var(--t);
}
.cta-final-btn.primary {
  background: var(--white); color: var(--azul-dark);
  box-shadow: var(--shadow-md);
}
.cta-final-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--azul-dark); color: var(--white);
}
.cta-final-btn.secondary {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.cta-final-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ─── DIFERENCIA (nosotros) ───────────────────────────── */
.diferencia { background: var(--white); }
.diferencia-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.diferencia-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.4s var(--t);
}
.diferencia-card:hover { transform: translateY(-4px); }
.diferencia-num {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--azul);
  margin-bottom: 18px;
}
.diferencia-card h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--azul-dark);
  margin-bottom: 12px;
}
.diferencia-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--azul-dark); opacity: 0.75;
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq {
  background: var(--azul-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 80px auto;
  padding: 80px 56px;
  max-width: var(--cw);
}
.faq .overline { color: rgba(255,255,255,0.55); }
.faq h2 {
  color: var(--white); margin-bottom: 48px;
  /* 12-jun: era ~24px (default), casi igual que las preguntas (18px) — ahora sí es título */
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.faq-question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s var(--t);
}
.faq-question:hover { color: var(--azul-soft); }
.faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); opacity: 0.8;
  transition: transform 0.4s var(--t);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--t), padding 0.5s var(--t);
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 0 32px;
}
.faq-answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.faq-answer-img {
  background: var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.faq-answer-img img { width: 100%; height: 100%; object-fit: cover; }
.faq-answer p {
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.85);
}
.faq-answer p + p { margin-top: 12px; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--white); padding: 80px 32px 40px; }
.footer-inner {
  max-width: var(--cw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand-pill {
  display: inline-flex; align-items: center;
  background: var(--azul-dark);
  color: var(--white);
  padding: 12px 22px; border-radius: 50px;
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 14px; line-height: 1.6;
  color: var(--azul-dark); opacity: 0.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gray-light);
  color: var(--azul-dark);
  transition: all 0.3s var(--t);
}
.footer-social a:hover { background: var(--azul-dark); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 14px; font-weight: 700;
  color: var(--azul-dark);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px; color: var(--azul-dark); opacity: 0.7;
  transition: opacity 0.2s var(--t);
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  max-width: var(--cw); margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--azul-dark); opacity: 0.55;
  text-align: right;
}

/* ─── WhatsApp float ─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--t);
}
.wa-float::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  background: #25D366; opacity: 0.35; z-index: -1;
  animation: waPulse 2.4s var(--t) infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55); }
.wa-float svg { width: 30px; height: 30px; transition: transform 0.3s var(--t); }
.wa-float:hover svg { transform: rotate(-8deg); }
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.45; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 1100;
  background: var(--azul-soft);
  transform: scaleX(0); transform-origin: left center;
  pointer-events: none;
  opacity: 0.5;
}

.reveal { opacity: 0; transform: translateY(20px); will-change: transform, opacity; }
.no-js .reveal { opacity: 1; transform: none; }

/* ─── HERO COMPACT (nosotros/contacto) ───────────────────── */
.hero-compact {
  background: linear-gradient(165deg, #4488b3 0%, var(--azul) 60%, var(--azul-deep) 100%);
  padding: 120px 32px 60px;
  min-height: auto;
  box-shadow: 0 40px 0 var(--azul-deep);
}
.hero-compact-inner { max-width: var(--cw); width: 100%; margin: 0 auto; }
.hero-compact h1 {
  /* Mismo tamaño que el H1 REAL del home — nav.css:166 .hero:not(.hero-compact) h1 —
     (pedido César 12-jun: los heroes internos se veían inmensos) */
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--white);
  margin: 0;
  max-width: 900px;
}
.hero-compact p {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 700px;
  margin-top: 24px;
}
.hero-compact .hero-tag {
  /* Texto plano, sin pastilla (pedido César 12-jun: parecía un botón sin serlo) */
  display: inline-block;
  color: rgba(255,255,255,0.85);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ─── EQUIPO grid (nosotros) ──────────────────────────────── */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.equipo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--t);
}
.equipo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.equipo-card-photo { aspect-ratio: 3/4; background: var(--gray-light); }
.equipo-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.equipo-card-body { padding: 24px 26px 28px; }
.equipo-card-body .badge {
  display: inline-block;
  background: var(--azul);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.equipo-card-body h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--azul-dark);
}
.equipo-card-body .role {
  font-size: 13px; opacity: 0.7; margin-bottom: 12px;
  color: var(--azul-dark);
}
.equipo-card-body p {
  font-size: 14px; line-height: 1.55;
  color: var(--azul-dark); opacity: 0.75;
}

/* ─── CONTACTO ────────────────────────────────────────────── */
.contacto-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto-info-list {
  display: flex; flex-direction: column; gap: 24px;
  margin-top: 32px;
}
.contacto-info-block strong {
  display: block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--azul); margin-bottom: 8px;
}
.contacto-info-block p, .contacto-info-block a {
  font-size: 15px; line-height: 1.55;
  color: var(--azul-dark);
}
.contacto-info-block a:hover { color: var(--azul); }

.contacto-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contacto-form-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; gap: 12px;
}
.contacto-form-header strong { font-size: 18px; font-weight: 700; }
.contacto-form-header span {
  font-size: 12px; opacity: 0.7;
  display: inline-flex; align-items: center; gap: 6px;
}
.status-dot {
  width: 8px; height: 8px; background: #25D366; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  width: 100%;
  background: var(--gray-bg);
  color: var(--azul-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px; font-family: inherit;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none; border-color: var(--azul);
}
.contacto-form textarea { min-height: 100px; resize: vertical; }
.contacto-form button {
  width: 100%;
  background: var(--azul-dark); color: var(--white);
  padding: 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.3s var(--t);
}
.contacto-form button:hover {
  background: var(--azul);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .navbar { padding: 16px 20px; gap: 10px; }
  .hero { padding: 130px 20px 24px; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-meta { min-width: auto; flex-direction: row; gap: 20px; }
  .practice-hours { flex: 1; }
  .today-pill { flex-shrink: 0; }
  .benefits { grid-template-columns: 1fr; gap: 10px; bottom: 16px; left: 16px; right: 16px; }
  .clinic-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 20px; margin-bottom: 32px; }
  .clinic-photo-main { grid-column: 1; grid-row: auto; aspect-ratio: 4/3; }
  .clinic-photo-secondary { gap: 20px; }
  .clinic-photo-secondary > div {
    width: 100%;
    filter: none;
    align-self: stretch;
    margin: 0;
    aspect-ratio: 16/10;
  }
  .clinic-photo-secondary > div:first-child,
  .clinic-photo-secondary > div:last-child { grid-column: 1; grid-row: auto; align-self: stretch; margin: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: 1fr; }
  .contacto-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .clinic-bottom { gap: 40px; }
}

@media (max-width: 768px) {
  .pronto-banner { font-size: 10.5px; padding: 6px 12px; line-height: 1.35; }
  .has-banner .navbar { top: auto; }
  .navbar { padding: 12px 14px; gap: 6px; justify-content: space-between; }
  .nav-logo { padding: 8px 16px; font-size: 13px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; margin-left: auto; }
  .nav-lang { display: none; }
  .hero { padding: 100px 16px 24px; min-height: auto; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero-meta { flex-direction: column; gap: 14px; }
  /* Foto del hero mobile: cuadrada (1:1) para seguir la línea vertical del celular.
     Aspect-ratio reemplaza min/max-height; object-fit:cover llena perfecto sin huecos. */
  .hero-photo-frame {
    min-height: 0;
    max-height: none;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
  }
  .benefits {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  .section { padding: 64px 16px; }
  .clinic-header, .services-header, .team-header {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
  }
  .services-view-more { justify-self: start; }
  .section h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .services-grid { grid-template-columns: 1fr; }
  .team-card { padding: 20px; }
  .team-photo { aspect-ratio: 4/5; }
  .clinic-bottom { grid-template-columns: 1fr; gap: 24px; }
  .faq { padding: 56px 24px; margin: 32px 16px; border-radius: var(--radius); }
  .faq h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .faq-question { font-size: 16px; padding: 22px 0; gap: 16px; }
  .faq-answer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 56px 16px 32px; }
  .footer-bottom { text-align: center; }
  .hero-compact { padding: 110px 16px 60px; }
  .hero-compact h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-compact p { font-size: 16px; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .testimonio-card { padding: 24px; }
  .cta-final { padding: 64px 24px; margin: 40px 16px; }
  .cta-final-actions { flex-direction: column; gap: 10px; width: 100%; }
  .cta-final-btn { width: 100%; justify-content: center; }
  .diferencia-grid { grid-template-columns: 1fr; }
  .diferencia-card { padding: 28px; }
  /* Form contacto: header en columna para que "Respuesta en menos de 2 horas"
     no se apriete con el título */
  .contacto-form { padding: 24px; }
  .contacto-form-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contacto-info-list { gap: 18px; }
  /* Hero meta: stack vertical más estrecho en mobile (practice-hours + today-pill) */
  .practice-hours, .today-pill { width: 100%; }
}

/* ─── Fix 9-jun-2026 (verificado vs ventana real de César ~905px) ───
   1) El logo del navbar NUNCA se parte en varias líneas (nombres largos de clínica).
   2) La hoja blanca (.section margin-top:-40px) no debe tapar el texto del hero compacto:
      el media query ≤1024 bajaba el padding-bottom del hero a 24px y la hoja tapaba ~16px del lead. */
.nav-logo { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 769px) {
  .nav-logo { font-size: 14px; padding: 10px 16px; }
}
.hero-compact { padding-bottom: 84px; }

/* ─── Logo de IMAGEN para demos de clientes (10-jun-2026, caso real Oral+) ───
   Uso en nav.js:  <a class="nav-logo nav-logo--img"><img class="nav-logo-img" ...></a>
   Box = 50px (igual a la pill de texto) → el gate c-bis pasa sin iterar.
   El modificador --img NO altera la pill de texto del master. */
.nav-logo--img { padding-top: 8px; padding-bottom: 8px; }
.nav-logo-img { height: 34px; width: auto; display: block; filter: brightness(0) invert(1) drop-shadow(0 1px 1.5px rgba(0,0,0,.5)); }
.footer-logo-img { height: 36px; width: auto; display: block; filter: brightness(0) invert(1); }

/* ─── CTA de reseñas en testimonios (10-jun-2026) ───
   Entrada visible al sistema de reseñas desde el home: el deck del video invita a
   "ver el filtro de reseñas" y este botón es el camino (antes reviews.html era inalcanzable). */
.testimonios-review-cta {
  text-align: center; margin-top: 48px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 32px;
}
.testimonios-review-cta h3 {
  font-size: 24px; font-weight: 700;
  color: var(--azul-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.testimonios-review-cta p { color: #4a5a6e; font-size: 15px; margin-bottom: 22px; }
.review-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  background: var(--azul-dark); color: var(--white);
  border: 1.5px solid var(--azul-dark);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.review-cta-btn .star { color: #f5a623; font-size: 17px; line-height: 1; transition: all .3s ease; }
.review-cta-btn:hover {
  background: #f5a623; border-color: #f5a623; color: var(--azul-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.35);
}
.review-cta-btn:hover .star { color: var(--white); transform: scale(1.2) rotate(72deg); }

/* ─── Fix 10-jun-2026 · zona 769-1024px (ventana real del Mac de César) ───
   1) El carrusel de Equipo se quedaba apilado (media ≤1024 lo colapsaba a 1fr):
      se mantiene foto | info lado a lado hasta 769px; solo móvil real apila.
   2) Los items del menú (● Inicio) se partían en 2 líneas e inflaban la pastilla. */
@media (max-width: 1024px) and (min-width: 769px) {
  .team-card { grid-template-columns: 0.8fr 1fr; gap: 28px; }
}
.nav-links a { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 769px) {
  .nav-links a { padding: 8px 12px; font-size: 14px; }
}

/* ─── Fix 10-jun-2026 (parte 2) · contacto + footer en zona 769-1024px ───
   El bloque ≤1024 apilaba: formulario de contacto (1 col), y footer (2 cols).
   En la ventana real del Mac (~1000px) debe verse como en monitor. */
@media (max-width: 1024px) and (min-width: 769px) {
  .contacto-wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 24px; }
}

/* ─── Fix 12-jun-2026 · tanda 3 (reporte de César, Mac ~905px vs monitor) ───
   1) El collage "Nuestra clínica" y el grid de servicios del home se apilaban en
      769-1024px: se mantiene el layout de monitor; solo móvil real (≤768) apila.
   2) .stats-grid (contadores animados, ahora también en el home) apila solo en móvil. */
@media (max-width: 1024px) and (min-width: 769px) {
  .clinic-grid { grid-template-columns: 1.1fr 0.8fr; gap: 36px; margin-bottom: 56px; }
  .clinic-photo-main { aspect-ratio: 5/4; }
  .clinic-photo-secondary { gap: 24px; }
  .clinic-photo-secondary > div { width: 75%; aspect-ratio: 4/3; filter: grayscale(0.6); }
  .clinic-photo-secondary > div:first-child { align-self: flex-start; margin: 32px 0 0 0; }
  .clinic-photo-secondary > div:last-child { align-self: flex-end; margin: 0 0 16px 0; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  /* 24-jul: en móvil los 3 contadores van LADO A LADO (no apilados), con tipografía
     reducida para caber en cualquier celular. !important porque los tamaños vienen inline. */
  .stats-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
  .stats-grid [data-counter] { font-size: clamp(26px, 8vw, 34px) !important; }
  .stats-grid [data-counter] + div { font-size: 10px !important; letter-spacing: 0.04em !important; margin-top: 8px !important; }
}

/* 24-jul: en celulares ultra-angostos (≤380px) el footer de 2 columnas desbordaba 30px */
@media (max-width: 380px) {
  .footer-inner { grid-template-columns: 1fr !important; }
}

/* ─── Carrusel de equipo (24-jul v3) ───
   El crossfade lo aplica el JS con transiciones en línea (compatible con Safari).
   OJO: NO forzar opacity aquí sobre los textos — cada uno tiene su opacidad de
   diseño (.team-exp 0.7 · p 0.85) y el JS la lee para devolverlos a su valor
   correcto al terminar el fundido. */
.team-photo img { will-change: opacity, transform; }

/* ─── 12-jun-2026 · tanda 4 ───
   Doctores de nosotros lado a lado también en la ventana del Mac (769-1024). */
@media (max-width: 1024px) and (min-width: 769px) {
  .equipo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ─── BOOKING BAR (12-jun · el formulario, primero en el home) ───
   Tarjeta flotante en la transición azul→blanco justo bajo el hero: el formulario
   es de lo que más vende la web (pedido César) y aquí nadie se lo pierde.
   El home cierra en las FAQ; el form de contacto.html sigue intacto. */
.booking { position: relative; background: var(--white); padding: 0 32px; }
.booking::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 84px;
  background: var(--azul-dark);
}
.booking-bar {
  position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 30px 28px;
}
.booking-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-bottom: 16px;
}
.booking-head strong {
  font-size: 19px; font-weight: 700;
  color: var(--azul-dark); letter-spacing: -0.02em;
}
.booking-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #2e7d4f;
}
.booking-fields {
  /* Vertical, igual que el form de contacto (pedido César 12-jun) */
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.booking-fields input,
.booking-fields select,
.booking-fields textarea {
  width: 100%;
  background: var(--gray-bg);
  color: var(--azul-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 14px; font-family: inherit;
}
.booking-fields input:focus,
.booking-fields select:focus,
.booking-fields textarea:focus { outline: none; border-color: var(--azul); }
.booking-fields textarea { min-height: 100px; resize: vertical; }
.booking-fields button {
  background: var(--azul-dark); color: var(--white);
  padding: 15px 26px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap; cursor: pointer;
  transition: all 0.3s var(--t);
}
.booking-fields button:hover {
  background: var(--azul);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .booking { padding: 0 16px; }
  .booking-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ═══ CORRECCIÓN BLINK (24-jun): Chrome/Edge NO dividen vh entre el zoom CSS; Safari sí.
   Sin esto, en Chrome el hero (100vh) mide zoom×pantalla y la foto se estira.
   Solo aplica en motores Blink (detector @supports -webkit-app-region). ═══ */
@supports (-webkit-app-region: drag) {
  @media screen and (min-width: 1420px) {
    /* SOLO el hero del home (pantalla completa). Los .hero-compact internos
       tienen min-height:auto y NO deben tocarse (regresión 24-jun corregida). */
    body .hero:not(.hero-compact) { min-height: calc(100vh / var(--z, 1)) !important; }
    body .hero-photo-frame { max-height: min(calc(60vh / var(--z, 1)), 660px); }
  }
}
