/* ==========================================================================
   Sabia — Landing 9J · v2 "ROMPEDORA"
   --------------------------------------------------------------------------
   El sistema es el punto de partida, no la jaula. Conserva: azul Sabia como
   hilo, Albert + Instrument, cápsulas, voz [S]/[M]. Tensa: escala tipográfica
   exagerada, foto a sangre en el hero, números fantasma fuera de grid,
   profundidad y capas, asimetrías.
   ========================================================================== */

html { scroll-behavior: smooth; }
body.sabia { margin: 0; background: var(--bg-page); overflow-x: hidden; }

:root {
  --sabia-blue-deep: oklch(0.34 0.135 259);
  --sabia-blue-deep-soft: oklch(0.42 0.16 259);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap--wide { max-width: 1500px; }

/* ---------- Overline funcional (voz M) ---------- */
.overline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sabia-blue-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px 0;
}

/* ---------- Chip de voz Sabia (voz S) ---------- */
.s-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 14px;
  letter-spacing: var(--letter-tight);
  margin-bottom: 28px;
}
.s-chip__avatar {
  width: 32px; height: 32px;
  border-radius: var(--r-circle);
  background: var(--sabia-blue-100);
  overflow: hidden;
  flex: none;
}
.s-chip__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.6);
  transform-origin: 50% 18%;
}
.s-chip--light {
  border-color: var(--sabia-blue-200);
  color: var(--ink-900);
  background: #fff;
}

/* ---------- Marcas de voz [S]/[M] (tweak) ---------- */
.voice-tag {
  display: none;
  position: absolute;
  top: 24px; right: 32px;
  z-index: 6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--sabia-warm-yellow);
  color: var(--ink-900);
}
body[data-voice-tags="on"] .voice-tag { display: inline-block; }
section { position: relative; }

/* ==========================================================================
   NAV — flota sobre la foto
   ========================================================================== */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.nav .wrap {
  max-width: 1500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 0;
}
.nav__logo img { height: 64px; width: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35)); }
.nav__right { display: flex; align-items: center; gap: 16px; }

/* Menú de anclas — minimalista */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__menu a {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  letter-spacing: var(--letter-tight);
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.nav__menu a:hover { color: #fff; border-color: rgba(255,255,255,0.7); }

/* Burger — solo móvil */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-circle);
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(3,30,80,0.25);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: 60;
  transition: background-color .15s ease;
}
.nav__burger span {
  display: block;
  width: 16px; height: 2px;
  border-radius: var(--r-pill);
  background: #fff;
  transition: transform .2s ease;
}
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
.nav__date { font-size: 14px; color: rgba(255,255,255,0.9); letter-spacing: var(--letter-tight); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  backdrop-filter: none;
  background: rgba(3,30,80,0.25);
  transition: background-color .15s ease, color .15s ease;
}
.nav__cta:hover { background: #fff; color: var(--sabia-blue-700); }

/* ==========================================================================
   1 · HERO — foto a sangre completa
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
body[data-anim="on"] .hero__bg img { animation: hero-kenburns 26s ease-out both; }
@keyframes hero-kenburns {
  from { transform: scale(1.1); }
  to   { transform: scale(1.0); }
}

/* Doble velo: legibilidad arriba (nav) + masa azul profunda abajo (titular) */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(8,20,48,0.55) 0%, rgba(8,20,48,0) 26%),
    linear-gradient(to top,
      oklch(0.26 0.11 259 / 0.97) 0%,
      oklch(0.30 0.125 259 / 0.82) 22%,
      oklch(0.32 0.13 259 / 0.40) 46%,
      rgba(0,0,0,0) 72%);
}
body[data-overlay="suave"] .hero__veil {
  background:
    linear-gradient(to bottom, rgba(8,20,48,0.45) 0%, rgba(8,20,48,0) 24%),
    linear-gradient(to top,
      oklch(0.28 0.12 259 / 0.85) 0%,
      oklch(0.31 0.125 259 / 0.55) 24%,
      rgba(0,0,0,0) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 200px 32px 96px;
}

.hero__support {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: var(--letter-tight);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--r-pill);
  padding: 9px 20px;
  margin-bottom: 40px;
  background: rgba(3,30,80,0.30);
}
.hero__support .dot { color: var(--sabia-sage-200); }

.sabia .hero__title {
  font-size: clamp(52px, 7.8vw, 126px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 32px 0;
  max-width: 12ch;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(3,20,60,0.35);
}
.sabia .hero__title .h-hero__accent {
  display: block;
  font-size: 1.12em;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  color: rgba(255,255,255,0.95);
  max-width: 30ch;
  margin: 0 0 48px 0;
  text-shadow: 0 1px 16px rgba(3,20,60,0.4);
}

.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-on-dark {
  background: #fff;
  color: var(--sabia-blue-700);
  border-radius: var(--r-pill);
  border: none;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: var(--letter-tight);
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}
.btn-on-dark:hover { background: var(--sabia-blue-100); box-shadow: 0 8px 24px rgba(3,20,60,0.35); }
.btn-on-dark:active { transform: scale(0.98); }
.btn-on-dark .play {
  width: 28px; height: 28px;
  border-radius: var(--r-circle);
  background: var(--sabia-blue-700);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.hero__ghost {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  padding-bottom: 2px;
}
.hero__ghost:hover { color: #fff; border-color: #fff; }

/* Cue de scroll */
.hero__cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  pointer-events: none;
}
.hero__cue::after {
  content: "";
  position: absolute;
  left: 50%; top: 9px;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: var(--r-pill);
  background: var(--sabia-sage-200);
}
body[data-anim="on"] .hero__cue::after { animation: cue-drop 1.8s ease-in-out infinite; }
@keyframes cue-drop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70%      { transform: translateY(12px); opacity: 0; }
  85%      { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee fluor ---------- */
.marquee {
  background: var(--sabia-sage-200);
  color: var(--ink-900);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
  position: relative;
  z-index: 3;
}
.marquee__track {
  display: inline-flex;
  animation-play-state: running;
}
body[data-anim="on"] .marquee__track { animation: marquee-scroll 36s linear infinite; will-change: transform; }
.marquee__track span {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: var(--letter-tight);
  padding-right: 12px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Bandas
   ========================================================================== */
.band { padding: 120px 0; }
.band--paper { background: var(--paper); }
.band--page  { background: var(--bg-page); }
.band--patron {
  background: var(--sabia-blue-100) url("assets/patron-2.png") repeat;
  background-size: 1000px auto;
}
.band--dark {
  background: var(--sabia-blue-700) url("assets/patron-3.png") repeat;
  background-size: 1000px auto;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sabia .band__title {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  text-wrap: balance;
}
.band__lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--fg-secondary);
  max-width: 56ch;
  margin: 0;
}
.band--dark .band__lede { color: rgba(255,255,255,0.88); }

/* Número fantasma 9J — rompe el grid */
.ghost {
  position: absolute;
  z-index: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  line-height: 0.8;
  font-size: clamp(260px, 34vw, 520px);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sabia-blue-200);
  pointer-events: none;
  user-select: none;
}
.ghost--dark { -webkit-text-stroke: 1.5px rgba(255,255,255,0.14); }
.datos .ghost {
  font-size: clamp(420px, 46vw, 720px);
  top: 50%;
  transform: translateY(-48%);
  right: -70px;
}

/* ==========================================================================
   2 · QUÉ PASÓ EL 9J  [M]
   ========================================================================== */
.datos { overflow: hidden; }
.datos__head { max-width: 720px; margin-bottom: 64px; position: relative; z-index: 1; }
.datos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.dato {
  background: var(--paper);
  border: 1px solid var(--sabia-blue-150);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: var(--tilt, none);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dato:hover { --tilt: translateY(-4px); box-shadow: 0 16px 40px rgba(3,92,221,0.10); }
.dato:nth-child(2) { --tilt: translateY(24px); }
.dato:nth-child(2):hover { --tilt: translateY(20px); }
.dato:nth-child(3) { --tilt: translateY(48px); }
.dato:nth-child(3):hover { --tilt: translateY(44px); }
.datos__grid { padding-bottom: 48px; }
.dato__picto {
  width: 64px; height: 64px;
  border-radius: var(--r-circle);
  background: var(--sabia-blue-75);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.dato__picto img { width: 42px; height: 42px; object-fit: contain; }
.dato__num {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(64px, 5vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sabia-blue-700);
}
.dato__label { margin: 0; font-size: 15px; color: var(--fg-secondary); }

/* Imagen inferior del card: a ras de los bordes, fundida por su degradado superior */
.dato__img {
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  margin: 20px -28px -32px;
  margin-top: auto;
  padding-top: 20px;
  border-radius: 0 0 calc(var(--r-md) - 1px) calc(var(--r-md) - 1px);
}

/* ==========================================================================
   3 · POR SI NO ME CONOCES  [S] — editorial gigante
   ========================================================================== */
.conoce { background: var(--paper); padding: 140px 0; }
.conoce__head { max-width: 1100px; margin-bottom: 56px; }
.sabia .conoce__title {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

/* La declaración gigante — el golpe visual de la sección */
.conoce__statement {
  margin: 64px 0 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-size: clamp(52px, 7.6vw, 116px);
  color: var(--ink-900);
  max-width: 14ch;
}
.conoce__statement .tachado {
  position: relative;
  white-space: nowrap;
}
.conoce__statement .tachado::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 54%;
  height: 0.075em;
  background: var(--sabia-blue-700);
  border-radius: var(--r-pill);
  transform: rotate(-2deg);
  transform-origin: center;
}
body[data-anim="on"] .conoce__statement .tachado::after {
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left center;
  transition: transform .6s ease-out .3s;
}
body[data-anim="on"] .conoce__statement.in .tachado::after { transform: scaleX(1) rotate(-2deg); }
.conoce__statement .criterio {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--sabia-blue-700);
  font-size: 1.14em;
}

.conoce__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 80px;
  align-items: center;
}
.conoce__copy {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.55;
  color: var(--ink-900);
  max-width: 46ch;
  margin: 0 0 48px 0;
}
.eco { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eco__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--sabia-blue-50);
  border: 1px solid var(--sabia-blue-150);
  border-radius: var(--r-pill);
  padding: 10px 22px 10px 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.eco__item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(3,92,221,0.12); }
.eco__item img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.eco__item strong { font-size: 16px; font-weight: 600; display: block; }
.eco__item small { font-size: 13px; color: var(--fg-secondary); display: block; }

/* Foto única con profundidad */
.conoce__photos { position: relative; }
.conoce__photos .ph--a {
  width: 100%;
  aspect-ratio: 4 / 5;
  transform: rotate(-2deg);
  box-shadow: 0 24px 64px rgba(3,40,110,0.18);
}
.ph--filled { padding: 0; margin: 0; border: none; }
.ph--filled .ph__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}
/* Paneo horizontal lento dentro del marco — la foto respira */
body[data-anim="on"] .conoce__photos .ph__img {
  animation: foto-pan 22s ease-in-out infinite alternate;
}
@keyframes foto-pan {
  from { object-position: 28% 40%; }
  to   { object-position: 82% 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .conoce__photos .ph__img { animation: none !important; }
}

/* ---------- Placeholder ---------- */
.ph {
  position: relative;
  border-radius: var(--r-md);
  background: var(--sabia-blue-75);
  border: 1px solid var(--sabia-blue-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--ink-700);
  overflow: hidden;
  min-height: 120px;
}
.ph img.ph__picto { width: 56px; height: 56px; object-fit: contain; opacity: 0.9; }
.ph__label { font-size: 14px; letter-spacing: var(--letter-tight); max-width: 30ch; margin: 0; }
.ph__meta { font-size: 12px; color: var(--ink-400); margin: 0; }
.ph--dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
}
.ph--dark .ph__meta { color: rgba(255,255,255,0.55); }

/* ==========================================================================
   4 · VÍDEO RESUMEN  [M] — breakout full-width
   ========================================================================== */
.video__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.video__head .overline { justify-content: center; }
.video__frame {
  width: min(1500px, 94vw);
  margin: 0 auto;
}
.video__frame .ph {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(3,40,110,0.18);
}
.video__frame .play-capsule {
  width: 96px; height: 96px;
  border-radius: var(--r-circle);
  background: var(--sabia-blue-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-lift);
  transition: transform .15s ease;
}
.video__frame .ph:hover .play-capsule { transform: scale(1.08); }

/* Vídeo resumen: fachada clicable → iframe YouTube */
.video__facade {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(3,40,110,0.18);
  cursor: pointer;
  background: var(--ink-900);
}
.video__facade img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .2s ease;
}
.video__facade:hover img { transform: scale(1.03); }
.video__facade iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video__play {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(3,20,60,0.28);
  border: none;
  cursor: pointer;
  transition: background-color .2s ease;
}
.video__facade:hover .video__play { background: rgba(3,20,60,0.18); }
.video__play-icon {
  width: 96px; height: 96px;
  border-radius: var(--r-circle);
  background: var(--sabia-blue-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 32px rgba(3,40,110,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video__facade:hover .video__play-icon { transform: scale(1.08); box-shadow: 0 16px 48px rgba(3,40,110,0.45); }
.video__play-label {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: var(--letter-tight);
  text-shadow: 0 1px 12px rgba(3,20,60,0.5);
}

/* ==========================================================================
   5 · SE VIVIÓ ASÍ  [M]
   ========================================================================== */
.galeria__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 48px; }
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}
.galeria__grid .ph { border-radius: var(--r-md); transition: box-shadow .2s ease, transform .2s ease; }
.galeria__grid .ph:hover { box-shadow: 0 20px 48px rgba(3,40,110,0.16); transform: translateY(-4px) rotate(-0.5deg); }
.g-span-2c { grid-column: span 2; }
.g-span-2r { grid-row: span 2; }
.g-span-4c { grid-column: 1 / -1; }
.galeria__grid .ph--filled { background: var(--sabia-blue-100); }
.galeria__grid .ph--filled .ph__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease-out;
}
.galeria__grid .ph--filled:hover .ph__img { transform: scale(1.04); }

/* ==========================================================================
   5b · UN EVENTO VIVO  [M] — marquesina vertical + testimonios
   ========================================================================== */
.vivo__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 72px;
  align-items: center;
}
.vivo__main .band__lede { margin-bottom: 56px; }

/* Testimonios 1:1 — fila con vida, no plantilla */
.vivo__testis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.testi { margin: 0; transform: var(--tilt, none); }
.testi:nth-child(1) { --tilt: rotate(-1.2deg); }
.testi:nth-child(2) { --tilt: translateY(18px) rotate(0.8deg); }
.testi:nth-child(3) { --tilt: rotate(-0.6deg); }
.testi__video {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  box-shadow: 0 16px 40px rgba(3,40,110,0.10);
  overflow: hidden;
  background: var(--ink-900);
  border: 1px solid var(--sabia-blue-150);
}
.testi__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Facade: miniatura + play; el iframe de YouTube solo se carga al hacer clic */
.testi__facade {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: var(--ink-900);
  cursor: pointer;
}
.testi__facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity .15s ease;
}
.testi__facade:hover img { opacity: 1; }
.testi__facade .testi__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.testi__facade:hover .testi__play { transform: translate(-50%, -50%) scale(1.1); }
.testi__play {
  width: 52px; height: 52px;
  border-radius: var(--r-circle);
  background: var(--sabia-blue-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform .15s ease;
}
.testi__video:hover .testi__play { transform: scale(1.1); }
.testi figcaption { padding: 12px 4px 0; }
.testi figcaption strong { display: block; font-size: 15px; font-weight: 600; }
.testi figcaption small { display: block; font-size: 13px; color: var(--fg-secondary); margin-top: 2px; }

/* Marquesina vertical de fotos — dos columnas en contrasentido */
.vivo__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 660px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.vivo__col { display: flex; flex-direction: column; will-change: transform; }
.vivo__col img {
  width: 100%;
  display: block;
  border-radius: var(--r-md);
  margin-bottom: 14px;
}
body[data-anim="on"] .vivo__col--up   { animation: vivo-up 55s linear infinite; }
body[data-anim="on"] .vivo__col--down { animation: vivo-up 55s linear infinite reverse; }
.vivo__photos:hover .vivo__col { animation-play-state: paused; }
@keyframes vivo-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .vivo__col { animation: none !important; }
}

@media (max-width: 980px) {
  .vivo__grid { grid-template-columns: 1fr; gap: 56px; }
  .vivo__photos { height: 420px; }
}
@media (max-width: 560px) {
  .vivo__testis { grid-template-columns: 1fr; }
  .testi:nth-child(2) { --tilt: rotate(0.8deg); }
}

/* ==========================================================================
   6 · Y SE ESTÁ HABLANDO  [M]
   ========================================================================== */
.medios__head { max-width: 640px; margin-bottom: 56px; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logos .slot {
  height: 84px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-300);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  filter: grayscale(1);
}
.capturas-wrap { position: relative; margin-top: 56px; }
.capturas-carousel { width: 100%; overflow: hidden; }
.capturas-track { display: flex; width: max-content; padding: 4px 0; will-change: transform; }

/* Flechas — solo desktop; aceleran la marquesina */
.capturas-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 56px; height: 56px;
  border-radius: var(--r-circle);
  border: 1px solid var(--sabia-blue-150);
  background: rgba(255,255,255,0.92);
  color: var(--sabia-blue-700);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(3,40,110,0.14);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.capturas-arrow:hover { background: var(--sabia-blue-700); color: #fff; box-shadow: 0 10px 28px rgba(3,92,221,0.30); }
.capturas-arrow:active { transform: translateY(-50%) scale(0.94); }
.capturas-arrow--left { left: 16px; }
.capturas-arrow--right { right: 16px; }
@media (hover: none), (max-width: 760px) {
  .capturas-arrow { display: none; }
}
.captura {
  width: 360px;
  flex: none;
  margin-right: 16px;
  background: var(--paper);
  border: 1px solid var(--sabia-blue-150);
  border-radius: var(--r-md);
  overflow: hidden;
}
.captura__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-100);
}
.captura__chrome i { width: 9px; height: 9px; border-radius: var(--r-circle); background: var(--ink-100); }
.captura__chrome span { margin-left: 8px; font-size: 12px; color: var(--ink-400); }
.captura .ph { border: none; border-radius: 0; aspect-ratio: 4 / 3; background: var(--sabia-blue-50); }
.captura__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

/* ==========================================================================
   7 · LOS DETALLES  [M] — invitación (móvil dcha) + obsequio (foto izda)
   ========================================================================== */
.invita { padding-bottom: 0; overflow: hidden; }
.invita__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--sabia-blue-150);
}
.invita__copy { padding-bottom: 96px; }

/* Detalle 2 — en espejo, compacto */
.invita__grid--mirror {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  overflow: visible;
  border-bottom: none;
  padding: 72px 0 88px;
}
.invita__copy--end { padding-bottom: 0; }
.invita__obsequio {
  margin: 0;
  --tilt: rotate(-2deg);
  transform: var(--tilt);
}
.invita__obsequio img {
  width: min(460px, 92%);
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 28px 48px rgba(3,40,110,0.20));
}

/* El vídeo trae su propio marco de móvil. Sin ventana de altura fija:
   se muestra entero a su proporción natural y un margen negativo lo hunde
   una cantidad FIJA bajo el borde de la sección (overflow hidden la corta).
   Así el corte es siempre el mismo, mida lo que mida el mp4. */
.invita__media { display: flex; justify-content: center; align-items: flex-end; }
.invita__phone {
  position: relative;
  width: min(340px, 100%);
  margin-top: 24px;
  margin-bottom: -64px;
}
.invita__gif {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   8 · PREFERÍ CONTESTAR  [S] — directo, en vivo
   ========================================================================== */
.voz { text-align: center; padding: 160px 0; }
.voz .wrap { position: relative; z-index: 1; }

/* Avatar en directo con ondas concéntricas */
.voz__avatar-zone { position: relative; width: 168px; height: 168px; margin: 0 auto 48px; }
.voz__avatar {
  position: absolute;
  inset: 14px;
  border-radius: var(--r-circle);
  overflow: hidden;
  border: 3px solid var(--sabia-sage-200);
  background: var(--sabia-blue-500);
  z-index: 2;
}
.voz__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  transform: scale(1.7);
  transform-origin: 50% 16%;
}
.voz__ring {
  position: absolute;
  inset: 0;
  border-radius: var(--r-circle);
  border: 2px solid var(--sabia-sage-200);
  opacity: 0;
  z-index: 1;
}
body[data-anim="on"] .voz__ring { animation: ring-pulse 2.6s ease-out infinite; }
body[data-anim="on"] .voz__ring:nth-child(2) { animation-delay: 0.9s; }
body[data-anim="on"] .voz__ring:nth-child(3) { animation-delay: 1.8s; }
@keyframes ring-pulse {
  0%   { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}
.voz__live {
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--sabia-sage-200);
  color: var(--ink-900);
  white-space: nowrap;
}
.voz__live i {
  width: 7px; height: 7px;
  border-radius: var(--r-circle);
  background: var(--ink-900);
}
body[data-anim="on"] .voz__live i { animation: live-blink 1.6s ease-in-out infinite; }
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.sabia .voz__title {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 auto 28px;
  max-width: 16ch;
  text-wrap: balance;
}
.sabia .voz__title .h-hero__accent { font-size: 1.1em; }
.voz__copy {
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 42ch;
  margin: 0 auto 64px;
}
.voz__viz { max-width: 820px; margin: 0 auto; }

/* Mini reproductor — súper sencillo: play, onda, progreso, tiempo */
.voz__player {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-lg);
  padding: 28px 32px;
}
.voz__playbtn {
  width: 72px; height: 72px;
  border-radius: var(--r-circle);
  border: none;
  background: var(--sabia-sage-200);
  color: var(--ink-900);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.voz__playbtn:hover { transform: scale(1.06); box-shadow: 0 8px 24px rgba(187,255,218,0.25); }
.voz__playbtn:active { transform: scale(0.97); }
.voz__center { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.voz__progress {
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.18);
  cursor: pointer;
}
.voz__progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--sabia-sage-200);
}
.voz__time {
  flex: none;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-variant-numeric: tabular-nums;
}
.voz__playerlabel {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-align: center;
}
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 56px; }
.wave i {
  width: 7px;
  border-radius: var(--r-pill);
  background: var(--sabia-sage-200);
  height: 14px;
  opacity: 0.45;
}
.voz__player.playing .wave i { animation: wave-calm 1.8s ease-in-out infinite; opacity: 1; }
.wave i:nth-child(2)  { animation-delay: .12s; }
.wave i:nth-child(3)  { animation-delay: .24s; }
.wave i:nth-child(4)  { animation-delay: .36s; }
.wave i:nth-child(5)  { animation-delay: .48s; }
.wave i:nth-child(6)  { animation-delay: .60s; }
.wave i:nth-child(7)  { animation-delay: .72s; }
.wave i:nth-child(8)  { animation-delay: .84s; }
.wave i:nth-child(9)  { animation-delay: .96s; }
.wave i:nth-child(10) { animation-delay: 1.08s; }
.wave i:nth-child(11) { animation-delay: 1.20s; }
@keyframes wave-calm {
  0%, 100% { height: 12px; opacity: .7; }
  50%      { height: 52px; opacity: 1; }
}

/* ==========================================================================
   9 · QUIÉN HAY DETRÁS  [M]
   ========================================================================== */
.equipo__head { max-width: 640px; margin-bottom: 32px; }

/* Nota de incubadora — sobria, una línea de solvencia */
.equipo__incubada {
  max-width: 760px;
  margin: 0 0 56px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--sabia-blue-150);
  border-radius: var(--r-md);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.equipo__incubada strong { color: var(--ink-900); font-weight: 600; }

/* Las personas — avatar circular + nombre y puesto */
.equipo__personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.persona {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.persona img {
  width: 92px; height: 92px;
  border-radius: var(--r-circle);
  flex: none;
  border: 1px solid var(--sabia-blue-150);
}
.persona figcaption strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--sabia-blue-700);
}
.persona figcaption small {
  display: block;
  font-size: 14px;
  color: var(--fg-secondary);
  margin-top: 2px;
}
.equipo__photo .ph { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 28px 64px rgba(3,40,110,0.14); }
.equipo__photo .ph__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

/* ==========================================================================
   10 · CIERRE  [S] — gigante
   ========================================================================== */
.cierre { text-align: center; padding: 180px 0 0; }
.cierre .ghost { bottom: 32%; left: -60px; }
.cierre .wrap { position: relative; z-index: 1; }
.sabia .cierre__title {
  font-size: clamp(52px, 8vw, 124px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 auto 28px;
  max-width: 14ch;
  text-wrap: balance;
}
.sabia .cierre__title .h-hero__accent { font-size: 1.1em; }
.cierre__copy {
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 40ch;
  margin: 0 auto 56px;
}
.cierre__cta { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cierre__cta .btn-on-dark { font-size: 19px; padding: 18px 40px; }
.cierre__mail { font-size: 14px; color: rgba(255,255,255,0.65); text-decoration: none; }
.cierre__mail:hover { color: #fff; }

/* Marquee de despedida dentro del cierre */
.cierre__eatwise {
  margin-top: 120px;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding: 22px 0;
}
.cierre__eatwise-track { display: inline-flex; }
body[data-anim="on"] .cierre__eatwise-track { animation: marquee-scroll 30s linear infinite; will-change: transform; }
.cierre__eatwise-track span {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--sabia-sage-200);
  padding-right: 28px;
}

.cierre__footer {
  padding: 40px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.cierre__footer img { height: 60px; width: auto; }
.cierre__footer small { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: var(--letter-tight); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
body[data-anim="on"] .reveal {
  opacity: 0;
  transform: translateY(22px) var(--tilt, rotate(0deg));
  transition: opacity .5s ease-out, transform .5s ease-out;
}
body[data-anim="on"] .reveal.in { opacity: 1; transform: translateY(0) var(--tilt, rotate(0deg)); }

@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .marquee__track, .capturas-track, .cierre__eatwise-track,
  .wave i, .voz__ring, .voz__live i, .hero__cue::after { animation: none !important; }
  body[data-anim="on"] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  width: 48px; height: 48px;
  border-radius: var(--r-circle);
  border: none;
  background: var(--sabia-blue-700);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(3,92,221,0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .15s ease;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover { background: var(--sabia-blue-500); }
.back-top:active { transform: scale(0.95); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .nav__date { display: none; }
}
@media (max-width: 980px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 50;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: var(--sabia-blue-700) url("assets/patron-3.png") repeat;
    background-size: 1000px auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  body.menu-open .nav__menu { opacity: 1; pointer-events: auto; }
  .nav__menu a {
    font-size: 26px;
    font-weight: 600;
    padding: 12px 20px;
    text-shadow: none;
    border-bottom: none;
  }
  .hero__content { padding: 160px 24px 88px; }
  .datos__grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .dato:nth-child(2), .dato:nth-child(3) { --tilt: translateY(0); }
  .dato:nth-child(2):hover, .dato:nth-child(3):hover { --tilt: translateY(-4px); }
  .conoce__grid { grid-template-columns: 1fr; gap: 56px; }
  .conoce__photos .ph--a { max-width: 480px; margin: 0 auto; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .equipo__personas { grid-template-columns: repeat(2, 1fr); }
  .g-span-4c { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .invita__grid { grid-template-columns: 1fr; gap: 0; }
  .invita__copy { padding-bottom: 64px; }
  .invita__grid--mirror { padding: 56px 0 72px; gap: 40px; }
  .invita__obsequio { order: 2; }
  .invita__copy--end { order: 1; padding-bottom: 0; }
  .invita__phone { width: min(300px, 100%); margin-bottom: -56px; }
  .cierre__footer { flex-direction: column; gap: 20px; }
  .band { padding: 88px 0; }
  .invita { padding-bottom: 0; }
  .conoce { padding: 100px 0; }
  .voz { padding: 110px 0; }
  .voz__player { gap: 18px; padding: 20px; }
  .voz__playbtn { width: 56px; height: 56px; font-size: 16px; }
  .eco { grid-template-columns: 1fr; }
  .ghost { font-size: clamp(180px, 40vw, 320px); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero__content { padding: 132px 20px 68px; }
  .sabia .hero__title { margin-bottom: 20px; }
  .hero__sub { font-size: 17px; margin-bottom: 28px; }
  .hero__support { font-size: 13px; padding: 7px 14px; margin-bottom: 28px; }
  .btn-on-dark { font-size: 15px; padding: 13px 24px; }
  .nav__date { display: none; }
  .nav__logo img { height: 48px; }
  .galeria__grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .equipo__personas { grid-template-columns: 1fr; }
  .g-span-2c { grid-column: auto; }
  .g-span-2r { grid-row: auto; }
  .cierre__eatwise-track span { font-size: 30px; }
}
