/* ============================================================
   OfertApp v2 — CSS propio, sin Framer.
   Tokens extraídos del sitio v1 (v2-reference/tokens.json).
   Breakpoints idénticos a v1: móvil <=809.98px, desktop >=1200px.
   ============================================================ */

:root {
  /* Color */
  --ink: rgb(36, 36, 38);
  --ink-75: rgba(36, 36, 38, 0.75);
  --ink-60: rgba(36, 36, 38, 0.68);
  --bg-page: #ffffff;
  --bg-hero: rgb(234, 239, 245);
  --bg-dark: rgb(53, 54, 59);
  --brand: #f26a1e;
  --brand-soft: rgba(242, 106, 30, 0.12);
  /* Naranja accesible (4.55:1 sobre blanco) para TEXTO — el vivo queda
     para iconos y superficies sin texto (solo exigen 3:1). */
  --brand-ink: #c7500a;
  --card-shadow: 0 16px 32px rgba(20, 20, 45, 0.12);

  /* Type — familia única del sitio */
  --font: "Inter Display", "Inter Display Placeholder", -apple-system, "Helvetica Neue", sans-serif;

  /* Layout */
  --container: 1200px;
  --nav-h: 56px;
}

/* ---------- Reset mínimo ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* Foco visible real (ADA) — anillo consistente en todo control */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Salto directo al contenido (ADA) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-size: 14px;
}
.skip-link:focus {
  left: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 12px 24px 0;
}
.nav-bar {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 6px 8px 6px 20px;
  border-radius: 999px; /* media luna completa (pedido de Eduardo) */
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.nav-logo img {
  width: 114px;
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links .nav-plain {
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-75);
  padding: 8px 2px;
}
.site-header.is-scrolled .nav-links .nav-plain {
  color: rgba(255, 255, 255, 0.75);
}
.nav-links a {
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-75);
  transition: color 0.2s ease;
  padding: 8px 2px;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--ink);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 18px 4px 4px;
  font-size: 14px;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(20, 20, 45, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta .arrow-chip {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--bg-hero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-cta .arrow-chip svg {
  width: 14px;
  height: 14px;
}

/* Estado scrolled (desktop) y estado permanente móvil: píldora oscura */
.site-header.is-scrolled .nav-bar {
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(20, 20, 45, 0.25);
}
.site-header.is-scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a[aria-current] {
  color: #fff;
}

/* Hamburguesa (móvil) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Menú móvil desplegable */
.mobile-menu {
  display: none;
}

@media (max-width: 809.98px) {
  .site-header {
    padding: 10px 16px 0;
  }
  .nav-bar {
    background: var(--ink);
    box-shadow: 0 10px 30px rgba(20, 20, 45, 0.25);
    padding: 6px 8px 6px 16px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 49;
    background: var(--ink);
    padding: 96px 28px 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-menu .nav-plain {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
    padding: 10px 4px;
    letter-spacing: -0.5px;
  }
  .mobile-menu a {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
    padding: 10px 4px;
    letter-spacing: -0.5px;
  }
  .mobile-menu .menu-cta {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    border-radius: 999px;
    padding: 6px 22px 6px 6px;
  }
  .mobile-menu .menu-cta .arrow-chip {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--bg-hero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu .menu-cta .arrow-chip svg {
    width: 15px;
    height: 15px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  /* Degradado al final hacia blanco: elimina el corte duro contra la
     sección de misión (fondo blanco) — feedback de Eduardo, ronda v2-3. */
  background: linear-gradient(to bottom, var(--bg-hero) 0%, var(--bg-hero) 78%, var(--bg-page) 100%);
  padding: 0 40px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 578px);
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 120px 0 60px;
}

.hero-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 500px;
  padding: 2px 16px 2px 2px;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.hero-badge .badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  margin: 22px 0 24px; /* gap píldora->título unificado en todo el sitio */
  font-size: 96px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-sub {
  margin: 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-75);
}

/* Foto + floaters */
.hero-media {
  position: relative;
}
.hero-photo {
  width: 578px;
  max-width: 100%;
  height: 627px;
  object-fit: cover;
  border-radius: 24px;
}
.hero-photo-mobile {
  display: none;
}

/* Floaters — mismas clases/estructura validadas en v1 */
.ofertapp-overlay-card {
  background: #fff;
  box-sizing: border-box;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
}
.ofertapp-overlay-card--row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 14px;
}
.ofertapp-overlay-card--icon-only {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.ofertapp-overlay-card--stack {
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.ofertapp-overlay-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ofertapp-overlay-body {
  flex: 1 1 auto;
  min-width: 0;
}
.ofertapp-overlay-label {
  font-size: 12px;
  color: #6f6f73;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ofertapp-overlay-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-top: 1px;
}
.ofertapp-overlay-text {
  font-size: 12.5px;
  color: #6f6f73;
  line-height: 1.3;
  margin-top: 1px;
}
.ofertapp-overlay-arrow {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}
.ofertapp-overlay-arrow svg,
.ofertapp-overlay-icon svg {
  width: 18px;
  height: 18px;
}
.ofertapp-overlay-card--icon-only svg {
  width: 26px;
  height: 26px;
}
.ofertapp-overlay-map {
  position: relative;
  width: 100%;
  height: 96px;
  border-radius: 12px;
  background: url(/images/ofertapp_hbanner_mapa.jpg) center center / cover;
  overflow: hidden;
  flex: none;
}
.ofertapp-overlay-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  color: var(--brand);
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
}
.ofertapp-overlay-stack-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 10px 2px 10px;
}
.ofertapp-overlay-cta {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--brand-ink);
  color: var(--brand-ink);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  margin: 0 2px 2px;
}
.ofertapp-overlay-cta svg {
  width: 14px;
  height: 14px;
}

/* Posiciones de los 4 floaters, relativas a la foto (medidas de v1 @1440) */
.float-1 {
  position: absolute;
  width: 64px;
  height: 64px;
  left: 38px;
  top: 58px;
  padding: 18px;
  animation: ofertapp-float-a 5s ease-in-out infinite;
}
.float-2 {
  position: absolute;
  width: 290px;
  left: 338px;
  top: 172px;
  animation: ofertapp-float-b 6.5s ease-in-out infinite;
}
.float-3 {
  position: absolute;
  width: 300px;
  left: -48px;
  top: 493px;
  animation: ofertapp-float-c 5.8s ease-in-out infinite;
}
.float-4 {
  position: absolute;
  width: 220px;
  left: 398px;
  top: 395px;
  animation: ofertapp-float-d 6.2s ease-in-out infinite;
}

@keyframes ofertapp-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes ofertapp-float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes ofertapp-float-c {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ofertapp-float-d {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Animación de entrada (carga) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-photo {
  opacity: 0;
  transform: scale(0.98) translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-photo.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ofertapp-float-card,
  .float-1, .float-2, .float-3, .float-4 {
    animation: none !important;
  }
  .reveal,
  .reveal-photo {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Hero móvil ---------- */
@media (max-width: 809.98px) {
  .hero {
    padding: 0 24px;
    min-height: 0;
    display: block;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 124px 0 28px;
    justify-items: center;
    text-align: center;
  }
  .hero h1 {
    margin: 22px 0 24px;
    font-size: 80px;
    line-height: 72px;
    letter-spacing: -3.2px;
  }
  .hero-sub {
    display: none; /* v1 móvil no muestra el subtítulo en el hero */
  }
  .hero-media {
    width: 100%;
  }
  .hero-photo,
  .float-1, .float-2, .float-3, .float-4 {
    display: none; /* v1 móvil usa la composición estática */
  }
  .hero-photo-mobile {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
}

/* Desktop ancho: geometría medida de v1 @1440 — hero fijo de 1200px de
   alto con el contenido anclado arriba (badge y≈307, h1 y≈337), y la foto
   sobresaliendo 46px del contenedor a la derecha y arrancando en y≈207
   (más arriba que el texto). Reproducido explícitamente en vez de
   depender de centrado vertical, que a 100vh daba otra composición. */
@media (min-width: 1200px) {
  .hero {
    /* 1200px fijos de v1 dejaban ~370px muertos bajo la foto — recortado
       a la mitad del gap hero->misión (pedido de Eduardo). */
    min-height: 920px;
    align-items: flex-start;
  }
  .hero-inner {
    align-items: start;
    padding: 307px 0 90px;
  }
  .hero h1 {
    margin: 22px 0 24px; /* mismo gap píldora->título que FAQ/Planes */
    font-size: 110px;     /* prueba de Eduardo: 96 -> 110 en desktop */
  }
  .hero-sub {
    max-width: 484px;
  }
  /* margin-left (no transform): la animación de entrada .reveal-photo
     termina en transform:none y pisaría un translateX aquí. */
  .hero-media {
    width: 578px;
    margin-left: 46px;
    margin-top: -100px;
  }
}

/* Tablet (810–1199): layout desktop compactado */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .hero h1 {
    font-size: 72px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  }
  .hero-photo {
    width: 480px;
    height: 520px;
  }
  .float-2 { left: 240px; }
  .float-4 { left: 300px; top: 330px; }
  .float-3 { top: 400px; }
}

/* ============================================================
   NOSOTROS (misión) — panel sticky 100vh en desktop, flujo en móvil
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Un solo scope: misión sticky de fondo + PASOs deslizando encima.
   `display:contents` en .paso-group hace que los articles sean hijos de
   layout directos del scope, para que su sticky se limite al scope
   completo (mismo truco de contenedor único que usa v1). */
.paso-group {
  display: contents;
}
.mission-panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  /* SIN fondo propio: la misión (y todo el stack de PASOs encima) vive
     sobre la misma capa de fondo de la página (.page-backdrop), así el
     cambio claro→oscuro al llegar a La Diferencia ocurre al unísono en
     TODO el viewport — con fondo blanco propio quedaba un rectángulo
     claro cortando contra el oscuro (feedback de Eduardo, ronda v2-6). */
  background: transparent;
}
.mission-text {
  margin: 0;
  max-width: 950px;
  font-size: 36px;
  line-height: 45px;
  letter-spacing: -1.08px;
  text-align: center;
  color: var(--ink);
  text-wrap: balance;
}
.mission-text--mobile {
  display: none;
}
.mission-divider {
  width: min(900px, 100%);
  height: 1px;
  background: rgba(36, 36, 38, 0.12);
  border: 0;
  margin: 72px 0 48px;
}
.mission-bullets {
  display: flex;
  gap: 48px;
  width: min(900px, 100%);
  list-style: none;
  margin: 0;
  padding: 0;
}
.mission-bullets li {
  flex: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.mission-bullet-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission-bullet-icon svg {
  width: 24px;
  height: 24px;
}
.mission-bullets strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-75);
  line-height: 1.3;
}
.mission-bullets p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(36, 36, 38, 0.7);
  line-height: 1.4;
}

@media (max-width: 809.98px) {
  .mission-panel {
    position: static;
    min-height: 0;
    padding: 64px 24px 0;
    align-items: center;
  }
  .mission-text {
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.3px;
    text-align: center;
  }
  .mission-text--desktop {
    display: none;
  }
  .mission-text--mobile {
    display: block;
  }
  .mission-divider {
    margin: 64px 0 0; /* mismo aire que el padding-top: balanceado */
  }
  .mission-bullets {
    display: none; /* v1 móvil no muestra los 3 bullets */
  }
}

/* ============================================================
   CÓMO FUNCIONA — 3 PASOs en sticky-stack (desktop Y móvil, como v1)
   ============================================================ */
.paso-card {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* SIN fondo: la sección de 100vh debe ser transparente para que la
     carta anterior (sticky detrás) siga visible mientras esta sube y la
     cubre — con fondo blanco el efecto de deslizamiento se pierde
     (feedback de Eduardo, ronda v2-3). El blanco de base lo pone la
     misión sticky que queda al fondo del stack. */
  padding: 0 40px;
}
.paso-frame {
  position: relative;
  width: 1200px;
  max-width: 100%;
  height: 720px;
  border-radius: 24px;
  padding: 8px;
  display: flex;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.paso-frame--1 { background-image: url(/misc/jsno522lfGcAGkYuLdJhgYTGPWs_0d2baf.jpg); }
.paso-frame--2 { background-image: url(/misc/aaddGluOTfsjFg6mEDRc6Okaaw_0d2baf.jpg); }
.paso-frame--3 { background-image: url(/misc/kG7BakFp07XkwgugzJJqzrRBu0_0d2baf.jpg); }

.paso-frame--reverse {
  flex-direction: row-reverse;
}
.paso-panel {
  flex: 1 1 50%;
  min-width: 0;
  background: #fff;
  border-radius: 16px; /* concéntrico: 24 del marco - 8 de padding */
  padding: 48px;
  display: flex;
  flex-direction: column;
}
.paso-media-wrap {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
}
.paso-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(235, 239, 245);
  border-radius: 500px;
  padding: 2px 16px 2px 2px;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink);
  margin: 24px 0 0;
}
.paso-pill .badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.paso-pill .badge-icon svg {
  width: 13px;
  height: 13px;
}
.paso-panel h3 {
  margin: 60px 0 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: -1.08px;
  color: var(--ink);
  max-width: 455px; /* quiebres exactos de v1 vía <br> en el HTML */
}
.paso-para {
  margin: 48px 0 0;
  max-width: 440px;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-75);
}
.paso-para--mobile {
  display: none;
}
.paso-price-note {
  margin: 16px 0 0;
  max-width: 440px;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-60);
}
.paso-check {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-75);
}
.paso-check svg {
  flex: none;
  width: 21px;
  height: 21px;
  color: rgba(36, 36, 38, 0.45);
}

/* ---- Overlays de las fotos PASO (desktop) — clases portadas de v1 ---- */
.ofertapp-paso-media {
  position: relative;
  width: 100%;
  height: 100%;
}
.ofertapp-paso-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.ofertapp-paso-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 20px;
  box-sizing: border-box;
}
.ofertapp-paso-panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ofertapp-paso-panel-heading .ofertapp-overlay-icon {
  width: 36px;
  height: 36px;
}
.ofertapp-paso-panel-heading span {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.ofertapp-paso-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--brand-ink);
  color: var(--brand-ink);
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 700;
  min-width: 0;
  box-sizing: border-box;
}
.ofertapp-paso-pill svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.ofertapp-paso-pill--checked {
  background: var(--brand-ink);
  color: #fff;
  border-color: var(--brand-ink);
}
.ofertapp-paso-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.ofertapp-paso-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
}
.ofertapp-paso-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
}
.ofertapp-paso-offer-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.ofertapp-paso-offer-label svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
}
.ofertapp-paso-offer-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}
.ofertapp-paso-offer-sub {
  font-size: 13px;
  color: #64646a;
  margin: 6px 0 16px;
}
.ofertapp-paso-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e8e8ea;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  color: #6f6f73;
  font-size: 13px;
}
.ofertapp-paso-search svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.ofertapp-paso-search span {
  flex: 1 1 auto;
}
.ofertapp-paso-pill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.ofertapp-paso-pill-list .ofertapp-paso-pill {
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
}
.ofertapp-paso-map {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  background: url(/images/ofertapp_hbanner_mapa.jpg) center center / cover;
  overflow: hidden;
  margin-bottom: 14px;
}
.ofertapp-paso-map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px 999px 999px 2px;
  background: var(--brand);
  color: #fff;
  transform: rotate(45deg);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
}
.ofertapp-paso-map-pin svg {
  width: 14px;
  height: 14px;
  transform: rotate(-45deg);
}
.ofertapp-paso-map-label {
  position: absolute;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #1a1a1a;
  box-shadow: 0 4px 10px rgba(20, 20, 45, 0.15);
  white-space: nowrap;
}

/* ---- PASOs móvil: foto arriba (280px), panel blanco debajo; solo la
   foto (sin overlays), marco glaseado con margen uniforme de 8px — la
   misma composición final validada en v1. Altura fija del marco (672px,
   medida de v1 @390) mantiene las 3 cartas idénticas sin JS. ---- */
@media (max-width: 809.98px) {
  .paso-card {
    padding: 0 24px;
  }
  .paso-frame {
    flex-direction: column;
    height: 672px;
    width: 100%;
  }
  .paso-frame--reverse {
    flex-direction: column;
  }
  .paso-media-wrap {
    flex: 0 0 280px;
    order: -1;
  }
  /* !important: varios overlays llevan display:flex inline (HTML portado
     de v1), que ganaría a esta regla sin él — mismo motivo que en v1. */
  .ofertapp-paso-media > :not(.ofertapp-paso-photo) {
    display: none !important;
  }
  .paso-panel {
    flex: 1 1 auto;
    padding: 28px;
  }
  .paso-pill {
    margin-top: 4px;
  }
  .paso-panel h3 {
    margin-top: 28px;
    font-size: 28px;
    line-height: 35px;
    letter-spacing: -0.84px;
  }
  .paso-para {
    margin-top: 20px;
  }
  .paso-check {
    margin-top: auto;
    padding-top: 16px; /* nunca pegado al borde inferior */
  }
  .paso-para--desktop {
    display: none;
  }
  .paso-para--mobile {
    display: block;
  }
  .paso-price-note {
    display: none;
  }
}
@media (max-width: 374.98px) {
  .paso-frame {
    height: 720px;
  }
  .paso-panel {
    padding: 22px;
  }
}

/* ---- Reveal on scroll (misión y bullets, como el translateY(24px)
   de v1) — activado por IntersectionObserver en main.js ---- */
.reveal-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-scroll.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   LA DIFERENCIA (sección oscura con galería de teléfono)
   ============================================================ */
.gallery {
  /* Sin fondo propio: el oscuro lo pone .page-backdrop (capa fija que
     cubre todo el viewport) cuando el scroll cruza la mitad entre los
     PASOs y esta sección — feedback de Eduardo, ronda v2-5: el cambio
     debe ser de TODO el fondo a la vez, no un degradado espacial. */
  background: transparent;
  color: #fff;
  padding: 22vh 40px 160px;
}
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-dark);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
body.bg-dark .page-backdrop {
  opacity: 1;
}
.gallery-header {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(77, 79, 87);
  border-radius: 500px;
  padding: 2px 16px 2px 2px;
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: #fff;
}
.gallery-badge .badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gallery-badge .badge-icon svg {
  width: 13px;
  height: 13px;
}
.gallery h2 {
  margin: 22px 0 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2.24px;
  color: #fff;
  max-width: 1120px;
  text-wrap: balance;
}
.gallery-intro {
  margin: 42px 0 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* Ancla del nav "Cómo funciona": centra el bloque en viewport al navegar */
.gallery-focus {
  scroll-margin-top: max(96px, calc(50vh - 380px));
}

/* ---- Split desktop: título + tabs izquierda, frame con teléfono derecha ---- */
.gallery-split {
  max-width: 1200px;
  margin: 110px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 804px);
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}
.gallery-split h3 {
  margin: 0 0 44px;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2.24px;
  color: #fff;
  max-width: 330px;
}
.gal-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.gal-tab {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 2px 0 2px 20px;
  color: inherit;
}
/* Track + fill de progreso verticales, a la izquierda de la tab activa */
.gal-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gal-tab .gal-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: var(--brand);
}
.gal-tab[aria-pressed="true"]::before {
  opacity: 1;
}
.gal-tab[aria-pressed="true"] .gal-fill {
  animation: gal-fill-anim 4s linear forwards;
}
@keyframes gal-fill-anim {
  from { height: 0; }
  to { height: 100%; }
}
.gal-tab h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.3s ease;
}
.gal-tab p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}
.gal-tab[aria-pressed="true"] h4 {
  color: #fff;
}
.gal-tab[aria-pressed="true"] p {
  color: rgba(255, 255, 255, 0.75);
}
.gal-cta {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* Naranja vivo de marca (pedido de Eduardo). El texto va en 19px/700 =
     "large text" WCAG, cuyo requisito de contraste es 3:1 — el 3.1:1 de
     blanco sobre #F26A1E CUMPLE AA sin cambiar el color de marca. */
  background: var(--brand);
  color: #fff;
  border-radius: 16px;
  padding: 6px 22px 6px 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gal-cta .arrow-chip {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gal-cta .arrow-chip svg {
  width: 15px;
  height: 15px;
}

/* Frame claro con crossfade de las 3 capturas del teléfono */
.gal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 804 / 603;
  border-radius: 24px;
  /* Blanco puro: los mockups (1234×1109, fondo blanco) van en `contain`
     — cover los recortaba/sobreampliaba (feedback de Eduardo, ronda
     v2-5); con el mismo fondo las bandas de contain son invisibles. */
  background: #fff;
  overflow: hidden;
}
.gal-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.gal-frame img.is-active {
  opacity: 1;
}

/* ---- Carrusel móvil ---- */
.gal-carousel-wrap {
  display: none;
}
.gal-arrow {
  position: absolute;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2b2b2b;
}
.gal-arrow svg {
  width: 18px;
  height: 18px;
}
.gal-arrow--left { left: 4px; }
.gal-arrow--right { right: 4px; }
/* En el carrusel de La Diferencia: centrar sobre la IMAGEN (aspect
   1234/1109 del ancho visible del slide), no sobre todo el bloque */
.gal-carousel-wrap .gal-arrow {
  top: calc((100vw - 64px) * 1109 / 1234 / 2);
}
/* el display:flex de arriba pisaría el atributo hidden sin esto */
.gal-arrow[hidden] { display: none; }

@media (max-width: 809.98px) {
  .gallery {
    padding: 14vh 24px 96px;
  }
  .gallery h2 {
    font-size: 36px;
    letter-spacing: -1.08px;
  }
  .gallery-intro {
    margin-top: 28px;
    font-size: 16px;
  }
  .gallery-split {
    display: none;
  }
  .gal-carousel-wrap {
    display: block;
    position: relative;
    margin-top: 56px;
  }
  .gal-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .gal-carousel::-webkit-scrollbar {
    display: none;
  }
  .gal-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    box-sizing: border-box;
    padding: 0 8px;
  }
  .gal-slide img {
    width: 100%;
    /* aspect nativo del mockup (1234×1109): cero recorte/sobreampliado */
    aspect-ratio: 1234 / 1109;
    object-fit: cover;
    border-radius: 16px;
    background: #fff;
  }
  .gal-slide h3 {
    margin: 16px 0 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #fff;
  }
  .gal-slide p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(255, 255, 255, 0.75);
  }
  .gal-cta--mobile {
    display: flex;
    width: fit-content;
    margin: 40px auto 0; /* centrado (pedido de Eduardo) */
  }
}
@media (min-width: 810px) {
  .gal-cta--mobile {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gal-tab[aria-pressed="true"] .gal-fill {
    animation: none;
    height: 100%;
  }
  .gal-frame img {
    transition: none;
  }
}

/* ============================================================
   PLANES (pricing)
   ============================================================ */
.pricing {
  padding: 140px 40px 120px;
  color: var(--ink);
}
.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 500px;
  padding: 2px 16px 2px 2px;
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(20, 20, 45, 0.06);
}
.pricing-badge .badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pricing-badge .badge-icon svg {
  width: 13px;
  height: 13px;
}
.pricing h2 {
  margin: 22px 0 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2.24px;
  color: var(--bg-dark);
  max-width: 720px;
  text-wrap: balance;
}
.pricing-sub {
  margin: 40px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-75);
}

/* Toggle Anual/Mensual — pestañas pegadas al panel, como v1 */
.period-toggle {
  display: flex;
  background: rgb(235, 239, 245);
  border-radius: 24px 24px 0 0;
  padding: 6px 6px 0;
  margin: 48px auto 0;
  position: relative;
  z-index: 1;
}
.period-toggle button {
  width: 195px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  border-radius: 18px 18px 8px 8px; /* 24 - 6 de padding */
  font-size: 14px;
  line-height: 21px;
  color: rgba(36, 36, 38, 0.7);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.period-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink-75);
}

/* Panel contenedor con las 2 tarjetas */
.pricing-panel {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(145deg, rgb(227, 232, 242), rgb(206, 216, 232));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  /* stretch: ambas tarjetas a la misma altura → los 8px del marco quedan
     idénticos en los 4 lados y entre tarjetas (feedback de Eduardo,
     ronda v2-8; el escalón de 24px que traía v1 se elimina). */
  align-items: stretch;
}
.plan-card {
  background: #fff;
  border-radius: 16px; /* concéntrico con el panel (24 - 8) */
  padding: 36px;
  min-height: 392px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: 32px;
}
.plan-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--ink-75);
}
.plan-tagline {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: rgb(108, 106, 135);
}
.plan-price {
  margin: 40px 0 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -1.44px;
  color: var(--ink);
}
.plan-eq {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 16px;
  color: rgba(36, 36, 38, 0.7);
}
.plan-cta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 4px 18px 4px 4px; /* píldora ceñida al chip, como el nav */
  font-size: 14px;
  line-height: 21px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: end;
  justify-self: start;
}
.plan-cta .arrow-chip {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.plan-cta .arrow-chip svg {
  width: 15px;
  height: 15px;
}
.plan-cta--light {
  background: rgb(235, 239, 245);
  color: var(--ink-75);
}
.plan-cta--light .arrow-chip {
  background: #fff;
  color: var(--ink);
}
.plan-cta--dark {
  background: var(--bg-dark);
  color: #fff;
}
.plan-cta--dark .arrow-chip {
  background: var(--brand);
  color: #fff;
}
.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink);
  border-bottom: 1px solid rgb(235, 237, 250);
}
.plan-features li:last-child {
  border-bottom: 0;
}
.plan-features svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: rgb(147, 145, 184);
  margin-top: 1px;
}
.plan-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plan-col-left .plan-cta {
  margin-top: auto;
  padding-top: 6px;
}
.pricing-footnote {
  margin: 48px auto 0;
  max-width: 600px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: rgb(107, 107, 108);
}

/* Carrusel móvil de planes */
.pricing-carousel-wrap {
  display: none;
}

@media (max-width: 809.98px) {
  .pricing {
    padding: 96px 24px 80px;
  }
  .pricing h2 {
    font-size: 36px;
    letter-spacing: -1.08px;
  }
  .pricing-sub {
    margin-top: 24px;
    font-size: 16px;
  }
  .period-toggle {
    margin-top: 40px;
    width: 100%;
    max-width: none; /* mismo ancho que el panel: una sola pieza */
    background: rgb(227, 232, 242); /* tono inicial del gradiente del panel — costura invisible */
  }
  .period-toggle button {
    width: 50%;
  }
  .pricing-panel {
    display: none;
  }
  .pricing-carousel-wrap {
    display: block;
    position: relative;
  }
  .pricing-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(145deg, rgb(227, 232, 242), rgb(206, 216, 232));
    padding: 8px;
  }
  .pricing-carousel::-webkit-scrollbar {
    display: none;
  }
  .pricing-carousel {
    gap: 8px; /* margen entre cartas = padding del panel: 8px en todo el contorno */
  }
  .pricing-carousel .plan-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    box-sizing: border-box;
  }
  .pricing-carousel .plan-card {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 100%;
    margin-top: 0;
    border-radius: 16px;
  }
  .pricing-carousel .plan-price {
    margin-top: 48px;
    font-size: 44px;
    text-align: center;
  }
  .pricing-carousel .plan-eq {
    text-align: center;
  }
  .pricing-carousel .plan-cta {
    margin: 32px auto 8px;
    align-self: center;
  }
  .pricing-carousel .plan-features {
    margin-top: 16px;
  }
  /* Flechas sobresaliendo del panel y en oscuro para contraste */
  .pricing-arrow--left { left: -6px; }
  .pricing-arrow--right { right: -6px; }
  .pricing-arrow {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 4px 14px rgba(20, 20, 45, 0.35);
  }
}

/* ============================================================
   FAQ + banner Hablemos
   ============================================================ */
.faq {
  padding: 120px 40px 120px;
  color: var(--ink);
}
.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.faq h2 {
  margin: 22px 0 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2.24px;
  color: var(--bg-dark);
  max-width: 720px;
  text-wrap: balance;
}
.faq-layout {
  max-width: 1200px;
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
/* Marcos grises envolventes (feedback de Eduardo, ronda v2-9: las cards
   deben flotar dentro de contenedores redondeados, como en v1 y como el
   panel de Planes — no sueltas sobre el fondo). */
.faq-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 96px;
  background: rgb(238, 241, 246);
  border-radius: 24px;
  padding: 8px;
}
.faq-listwrap {
  background: rgb(238, 241, 246);
  border-radius: 24px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-tab {
  position: relative;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 16px;
  padding: 26px 24px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(36, 36, 38, 0.7);
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow: hidden;
}
.faq-tab[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}
.faq-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.faq-tab[aria-pressed="true"]::before {
  opacity: 1;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-list[hidden] {
  display: none;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
}
.faq-item h3 {
  margin: 0;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 24px 36px;
  font-family: inherit;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: rgba(36, 36, 38, 0.75);
}
.faq-plus {
  flex: none;
  font-size: 24px;
  line-height: 1;
  color: rgba(36, 36, 38, 0.75);
  transition: transform 0.25s ease;
}
.faq-q[aria-expanded="true"] .faq-plus {
  transform: rotate(45deg);
}
/* Colapsable con grid 0fr→1fr: animación sin alturas mágicas */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  margin: 0;
  padding: 0 36px 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-60);
  max-width: 720px;
}
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

/* ---- Banner Hablemos (vive dentro del marco gris de la lista) ---- */
.hablemos {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  min-height: 318px;
  display: flex;
  align-items: center;
}
.hablemos-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hablemos-content {
  position: relative;
  padding: 48px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hablemos-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(235, 239, 245);
  border-radius: 500px;
  padding: 2px 16px 2px 2px;
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink);
}
.hablemos-badge .badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hablemos-badge .badge-icon svg {
  width: 13px;
  height: 13px;
}
.hablemos h3 {
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--ink);
}
.hablemos p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-60);
}
.hablemos-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 16px;
  padding: 6px 22px 6px 6px;
  font-size: 14px;
  line-height: 21px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hablemos-cta .arrow-chip {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hablemos-cta .arrow-chip svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 809.98px) {
  .faq {
    padding: 88px 24px 88px;
  }
  .faq h2 {
    font-size: 36px;
    letter-spacing: -1.08px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 16px;
  }
  .faq-tabs {
    position: static;
    flex-direction: row;
    background: #fff;
    border: 1px solid rgb(235, 239, 245);
    border-radius: 24px;
    padding: 6px;
    gap: 8px;
  }
  .faq-tab {
    flex: 1;
    text-align: center;
    background: transparent;
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 15px;
  }
  .faq-tab::before {
    display: none;
  }
  .faq-tab[aria-pressed="true"] {
    background: rgb(235, 239, 245);
    color: var(--ink);
  }
  /* Preguntas condensadas: los valores validados en v1 móvil */
  .faq-q {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    letter-spacing: 0;
  }
  .faq-plus {
    font-size: 20px;
  }
  .faq-a p {
    padding: 0 24px 16px;
    font-size: 14px;
  }
  .hablemos {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .hablemos-photo {
    position: static;
    width: 100%;
    height: 230px;
    object-position: center 20%;
  }
  .hablemos-content {
    padding: 24px;
    max-width: none;
  }
}

/* ============================================================
   CTA final (sección oscura con foto asomando abajo)
   ============================================================ */
.cta {
  position: relative;
  padding: 120px 40px 0;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.cta-logo {
  width: 137px; /* 150% del original, pedido de Eduardo */
  height: auto;
}
.cta h2 {
  margin: 56px 0 0;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -2.56px;
  color: #fff;
  max-width: 720px;
  text-wrap: balance;
}
.cta-sub {
  margin: 40px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
  max-width: 540px;
}
.cta-stores {
  margin: 56px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cta-stores img {
  height: 48px;
  width: auto;
  display: block;
}
.cta-photo {
  margin-top: 64px;
  width: min(1176px, 100%);
  height: auto; /* imagen completa, sin recorte ni radius forzado — trae su propio estilo */
}

@media (max-width: 809.98px) {
  .cta {
    padding: 88px 24px 0;
  }
  .cta h2 {
    margin-top: 40px;
    font-size: 40px;
    letter-spacing: -1.4px;
  }
  .cta-sub {
    margin-top: 24px;
    font-size: 16px;
  }
  .cta-stores {
    margin-top: 40px;
  }
  .cta-stores img {
    height: 44px;
  }
  .cta-photo {
    margin-top: 48px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgb(235, 239, 245);
  color: var(--ink);
  padding: 72px 40px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(140px, auto));
  gap: 48px;
}
.footer-brand img {
  width: 137px;
  height: auto;
}
.footer-col strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col .nav-plain {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-60);
}
.footer-col a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-60);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  max-width: 1200px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 36, 38, 0.1);
  font-size: 13px;
  color: var(--ink-60);
}
@media (max-width: 809.98px) {
  .site-footer {
    padding: 40px 24px 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  /* Compañía ocupa la columna 1 en dos filas; Social y Legal apilan en
     la columna 2 (pedido de Eduardo) */
  .footer-col--company {
    grid-row: span 2;
  }
  .footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
  }
}

/* ============================================================
   DRAWER DE CONTACTO
   ============================================================ */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 20, 25, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.contact-overlay.is-open {
  opacity: 1;
}
.contact-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  width: min(480px, 100vw);
  background: #fff;
  color: var(--ink);
  padding: 64px 40px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -24px 0 60px rgba(20, 20, 45, 0.2);
}
.contact-drawer.is-open {
  transform: none;
}
.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgb(235, 239, 245);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close svg {
  width: 18px;
  height: 18px;
}
.drawer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(235, 239, 245);
  border-radius: 500px;
  padding: 2px 16px 2px 2px;
  margin: 0;
  font-size: 14px;
  line-height: 21px;
}
.drawer-badge .badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.drawer-badge .badge-icon svg {
  width: 13px;
  height: 13px;
}
.contact-drawer h2 {
  margin: 20px 0 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.84px;
}
.drawer-intro {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-60);
}
.drawer-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.drawer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.drawer-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-75);
}
.drawer-opt {
  font-weight: 400;
  color: var(--ink-60);
}
.drawer-form input,
.drawer-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: rgb(246, 248, 251);
  border: 1.5px solid rgb(228, 232, 240);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}
.drawer-form input:focus,
.drawer-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.drawer-form textarea {
  resize: vertical;
}
.drawer-send {
  border: 0;
  align-self: flex-start;
  font-family: inherit;
  cursor: pointer;
}
.drawer-note {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-60);
}
@media (max-width: 809.98px) {
  .contact-drawer {
    padding: 60px 24px 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-drawer,
  .contact-overlay {
    transition: none;
  }
}

/* ============================================================
   Animación de flecha en hover (desktop) — como el original:
   la flecha sale del chip por la derecha y otra entra desde la
   izquierda. El clon .arrow-b lo crea main.js.
   ============================================================ */
.arrow-chip {
  position: relative;
  overflow: hidden;
}
.arrow-chip .arrow-b {
  display: none;
}
@media (hover: hover) and (min-width: 810px) {
  .arrow-chip .arrow-a,
  .arrow-chip .arrow-b {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .arrow-chip .arrow-b {
    display: block;
    position: absolute;
    inset: 0;
    margin: auto;
    transform: translateX(-220%);
  }
  a:hover .arrow-chip .arrow-a,
  button:hover .arrow-chip .arrow-a {
    transform: translateX(220%);
  }
  a:hover .arrow-chip .arrow-b,
  button:hover .arrow-chip .arrow-b {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .arrow-chip .arrow-a,
  .arrow-chip .arrow-b {
    transition: none !important;
  }
}

/* ============================================================
   PÁGINA LEGAL (/privacidad/) — patrón tipo changelog: columna
   izquierda fija (número + título), contenido a la derecha.
   Compartido por la página standalone y el drawer inferior.
   ============================================================ */
.legal-page {
  padding: 150px 40px 100px;
}
.legal-doc {
  max-width: 1000px;
  margin: 0 auto;
}
.legal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 72px;
}
.legal-header h1 {
  margin: 22px 0 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2.24px;
  color: var(--bg-dark);
  text-wrap: balance;
}
.legal-sub {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-75);
  max-width: 540px;
}
.legal-date {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-60);
}
.legal-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  padding: 44px 0;
  border-top: 1px solid rgba(36, 36, 38, 0.1);
}
.legal-row-side {
  position: sticky;
  top: 110px;
  align-self: start;
}
.legal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(235, 239, 245);
  border-radius: 500px;
  padding: 2px 14px;
  font-size: 13px;
  line-height: 21px;
  color: var(--ink-75);
}
.legal-row-side h2 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.legal-row-body p,
.legal-row-body li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-75);
}
.legal-row-body p {
  margin: 0 0 14px;
}
.legal-row-body p:last-child {
  margin-bottom: 0;
}
.legal-row-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-row-body ul:last-child {
  margin-bottom: 0;
}
.legal-row-body a {
  color: var(--brand-ink);
  text-decoration: underline;
}
.legal-row-body strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-footer {
  padding: 32px 40px;
}
@media (max-width: 809.98px) {
  .legal-page {
    padding: 120px 24px 72px;
  }
  .legal-header h1 {
    font-size: 36px;
    letter-spacing: -1.08px;
  }
  .legal-header {
    margin-bottom: 40px;
  }
  .legal-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  .legal-row-side {
    position: static;
  }
}

/* ============================================================
   DRAWER LEGAL (bottom sheet): cubre todo menos el header
   ============================================================ */
.legal-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 88px; /* deja visible la barra de navegación */
  z-index: 80;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -24px 60px rgba(20, 20, 45, 0.25);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.legal-drawer.is-open {
  transform: none;
}
.legal-drawer .legal-page {
  padding-top: 72px;
}
.legal-drawer-close {
  position: sticky;
  top: 16px;
  margin-left: calc(100% - 60px);
  margin-right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgb(235, 239, 245);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.legal-drawer-close svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 809.98px) {
  .legal-drawer {
    top: 76px;
  }
  .legal-drawer .legal-page {
    padding-top: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .legal-drawer {
    transition: none;
  }
}
