/* ============================================================================
   Segurando1 — hoja de estilos  ·  v1.0.0
   ----------------------------------------------------------------------------
   Idea de diseño: "instrumental nocturno". El sitio hermano (Segurando) es
   claro, cálido y plano. Éste es lo contrario a propósito: fondo en degradé
   profundo azul-noche con dos auroras (cian y violeta) muy tenues, superficies
   de vidrio elevadas y controles con volumen real — un bisel claro arriba, una
   sombra abajo y hundimiento al presionar. Nada de "flat".

   Contraste (WCAG 2.1, calculado contra el punto MÁS CLARO del degradé,
   #15324B — el centro de la aurora cian, el peor caso del fondo):
     --texto  #E9EFFC / fondo peor caso  11.5:1   (AA y AAA texto normal)
     --texto  #E9EFFC / superficie #0F1730 15.4:1
     --suave  #A8B6D9 / fondo peor caso   6.5:1   (AA texto normal)
     --cian   #38E1FF / fondo peor caso   7.8:1   (AA texto normal)
     --tinta  #050A16 / botón cian       12.6:1
     --tinta  #050A16 / botón violeta     5.1:1   (extremo oscuro del degradé)
     borde de control rgba->#4A5A82 / campo #0A1124  3.1:1 (WCAG 1.4.11)

   Mobile-first: todo se define a 375px y crece con clamp()/min(). Se probó
   además en alto corto (600x700), no sólo en ancho angosto.
   ============================================================================ */

/* --------------------------------------------------------------- 1. Tokens */

:root {
  color-scheme: dark;

  /* Fondo: tres profundidades dentro de una banda de luminancia angosta, para
     que el degradé no cambie el contraste del texto en ningún punto. */
  --fondo-0: #070b18;
  --fondo-1: #0a1226;
  --fondo-2: #101a33;

  /* Superficies elevadas */
  --sup-1: #0f1730;
  --sup-2: #131d3a;
  --campo: #0a1124;
  --inerte: #1b2440;

  /* Texto */
  --texto: #e9effc;
  --suave: #a8b6d9;
  --apagado: #9aa7ca;
  --tinta: #050a16; /* texto sobre acentos claros */

  /* Acentos */
  --cian: #38e1ff;
  --cian-hondo: #0891b2;
  --violeta: #7c6bff;
  --violeta-claro: #a99bff;
  --verde: #25d366; /* WhatsApp */
  --verde-hondo: #1ba24e; /* extremo oscuro del botón WhatsApp: 5.8:1 con su texto */

  /* Bordes y luz */
  --borde: rgba(126, 155, 224, 0.22);
  --borde-fuerte: #6e7fa8; /* borde de control: 4.7:1 vs campo, 4.2:1 vs panel */
  --bisel: rgba(255, 255, 255, 0.14);
  --bisel-fuerte: rgba(255, 255, 255, 0.42);

  /* Sombras con volumen (el "3D" reinterpretado en oscuro) */
  --alto-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(3, 7, 18, 0.55);
  --alto-2: 0 2px 4px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(3, 7, 18, 0.65);
  --alto-3: 0 4px 8px rgba(0, 0, 0, 0.45), 0 24px 60px rgba(3, 7, 18, 0.7);
  --brillo-cian: 0 0 0 1px rgba(56, 225, 255, 0.35), 0 8px 28px rgba(56, 225, 255, 0.22);

  /* Tipografía. Syne (Bonjour Monde) para títulos y controles: ancha, con
     terminaciones raras, nada del grotesco neutro de siempre. IBM Plex Sans
     para leer: técnica pero cálida, y con acentos españoles bien dibujados. */
  --display: 'Space Grotesk', 'Trebuchet MS', system-ui, sans-serif;
  --texto-fuente: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --t-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-1: clamp(1.0625rem, 1.02rem + 0.22vw, 1.1875rem);
  --t-2: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --t-3: clamp(1.5rem, 1.32rem + 0.9vw, 2rem);
  --t-4: clamp(1.6rem, 0.95rem + 2.9vw, 3.1rem);
  --t-cifra: clamp(2.2rem, 1.5rem + 3.2vw, 3.6rem);
  --t-chico: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);

  /* Espacio */
  --e-1: 0.25rem;
  --e-2: 0.5rem;
  --e-3: 0.75rem;
  --e-4: 1rem;
  --e-5: 1.5rem;
  --e-6: 2rem;
  --e-7: 3rem;
  --e-8: 4rem;

  --canal: clamp(1rem, 4vw, 2.5rem);
  --ancho: 74rem;
  --ancho-texto: 42rem;
  --radio: 14px;
  --radio-chico: 10px;
}

/* --------------------------------------------------------------- 2. Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Regla obligatoria: [hidden] tiene que ganarle a cualquier display de abajo.
   El JS del cotizador y el de la waitlist prenden y apagan elementos con el
   atributo hidden; sin esto un display:grid/flex lo dejaría visible. */
[hidden] {
  display: none !important;
}

html {
  background: var(--fondo-0);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--texto-fuente);
  font-size: var(--t-0);
  line-height: 1.6;
  color: var(--texto);
  background: transparent;
  overflow-wrap: break-word;
}

/* El degradé de fondo. Va en un pseudo fijo detrás de todo: así no se repinta
   al hacer scroll y no puede generar scroll horizontal (position:fixed con
   inset:0 nunca excede el viewport). */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background-image: linear-gradient(
    168deg,
    var(--fondo-0) 0%,
    var(--fondo-1) 38%,
    var(--fondo-2) 68%,
    var(--fondo-1) 100%
  );
}

/* Auroras. Los alfa son 0.09/0.09/0.05 y no más: el techo se fijó componiendo
   las TRES auroras a la vez sobre el punto más claro del degradé (#101A33), que
   es un caso imposible en pantalla pero sirve de cota dura. Ese peor caso da
   #1E3A5F (L=0.0416); con 0.12/0.12/0.07 daba #234465 (L=0.0564) y el texto
   apagado del pie caía a 2.95:1. Con estos valores el peor caso es 4.78:1. */
body::after {
  background-image:
    radial-gradient(120% 70% at 10% -8%, rgba(56, 225, 255, 0.09), transparent 62%),
    radial-gradient(95% 62% at 94% 6%, rgba(124, 107, 255, 0.09), transparent 64%),
    radial-gradient(90% 55% at 55% 106%, rgba(56, 225, 255, 0.05), transparent 66%);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  body::after {
    animation: respirar 22s ease-in-out infinite;
  }
}

@keyframes respirar {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 var(--e-3);
  text-wrap: balance;
}

h1 {
  font-size: var(--t-4);
}
h2 {
  font-size: var(--t-3);
}
h3 {
  font-size: var(--t-2);
}

p {
  margin: 0 0 var(--e-4);
}

a {
  color: var(--cian);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #8aeeff;
}

:focus-visible {
  outline: 3px solid var(--cian);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ------------------------------------------------------------ 3. Estructura */

.wrap,
main {
  width: min(100% - (var(--canal) * 2), var(--ancho));
  margin-inline: auto;
}

main {
  padding-block: var(--e-3) var(--e-7);
}

@media (min-width: 900px) {
  main {
    padding-block: var(--e-5) var(--e-8);
  }
}

/* ---------------------------------------------------------------- 4. Header */

.site-header {
  width: min(100% - (var(--canal) * 2), var(--ancho));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--e-2) var(--e-4);
  padding-block: var(--e-2);
  border-bottom: 1px solid var(--borde);
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--texto);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
}

.brand::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(140deg, var(--cian), var(--violeta));
  box-shadow: 0 0 10px rgba(56, 225, 255, 0.7);
}

.site-header nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: var(--e-4);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.site-header nav::-webkit-scrollbar {
  display: none;
}

.site-header nav a {
  color: var(--suave);
  text-decoration: none;
  font-size: var(--t-chico);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-block: 2px;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover {
  color: var(--texto);
  border-bottom-color: var(--cian);
}

.site-header > .btn {
  justify-self: end;
  min-height: 38px;
  padding: 0.4rem 0.9rem;
}

@media (min-width: 800px) {
  .site-header > .btn {
    min-height: 46px;
    padding: 0.7rem 1.35rem;
  }
}

@media (min-width: 800px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-block: var(--e-3);
  }
  .site-header nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
  }
}

/* ---------------------------------------------------------------- 5. Botones
   El "3D" del sitio hermano, releído en oscuro: relleno en degradé, bisel
   claro arriba (borde interior), sombra proyectada abajo y hundimiento de 1px
   al presionar. Volumen sin skeuomorfismo. */

.btn,
button[type='submit'] {
  --btn-fondo: linear-gradient(180deg, var(--sup-2), var(--sup-1));
  --btn-texto: var(--texto);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5ch;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--borde);
  border-radius: var(--radio-chico);
  background-image: var(--btn-fondo);
  color: var(--btn-texto);
  font-family: var(--display);
  font-size: var(--t-0);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-1);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover,
button[type='submit']:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-2);
}

.btn:active,
button[type='submit']:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45);
}

.btn-primary,
button[type='submit'] {
  --btn-fondo: linear-gradient(135deg, var(--cian) 0%, #5fc8ff 42%, var(--violeta) 100%);
  --btn-texto: var(--tinta);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 var(--bisel-fuerte), var(--alto-2),
    0 10px 30px rgba(56, 225, 255, 0.2);
}

.btn-primary:hover,
button[type='submit']:hover:not(:disabled) {
  box-shadow: inset 0 1px 0 var(--bisel-fuerte), var(--alto-3),
    0 12px 36px rgba(56, 225, 255, 0.3);
}

.btn-whatsapp {
  --btn-fondo: linear-gradient(180deg, var(--verde), var(--verde-hondo));
  --btn-texto: #041207;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 var(--bisel-fuerte), var(--alto-1);
}

.btn-ghost {
  --btn-fondo: linear-gradient(180deg, rgba(56, 225, 255, 0.08), rgba(56, 225, 255, 0.02));
  --btn-texto: var(--cian);
  border-color: rgba(56, 225, 255, 0.45);
}

/* ------------------------------------------------------------------ 6. Hero
   Sin foto arriba: a diferencia del sitio hermano, acá el primer bloque es
   puro degradé y texto. Eso mantiene el primer <select> del cotizador dentro
   del primer viewport incluso en pantallas bajas (600x700). */

.hero {
  position: relative;
  padding: var(--e-4) 0 var(--e-4);
}

@media (min-width: 900px) {
  .hero {
    padding: var(--e-6) 0 var(--e-5);
  }
}

.hero-etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  margin: 0 0 var(--e-2);
  padding: 0.25rem 0.8rem;
  border: 1px solid rgba(56, 225, 255, 0.4);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(56, 225, 255, 0.12), rgba(56, 225, 255, 0.03));
  box-shadow: inset 0 1px 0 var(--bisel);
  color: var(--cian);
  font-family: var(--display);
  font-size: var(--t-chico);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 .destello {
  color: var(--cian);
}

.hero-bajada {
  max-width: 46ch;
  font-size: var(--t-0);
  color: var(--suave);
  margin-bottom: var(--e-3);
}

@media (min-width: 900px) {
  .hero-bajada {
    font-size: var(--t-1);
    margin-bottom: var(--e-4);
  }
}

/* Abajo de 640px las tres garantías van como texto corrido con separador: dos
   filas de píldoras costaban 76px de alto y empujaban el primer <select> fuera
   del primer viewport en 375x667. No se esconde nada, sólo cambia la forma. */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5ch;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-chico);
  color: var(--suave);
}

.hero-chips li + li::before {
  content: '·';
  margin-right: 0.5ch;
  color: var(--cian);
}

@media (min-width: 640px) {
  .hero-chips {
    gap: var(--e-2);
  }

  .hero-chips li + li::before {
    content: none;
  }

  .hero-chips li {
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--borde);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sup-2), var(--sup-1));
    box-shadow: inset 0 1px 0 var(--bisel), var(--alto-1);
    font-weight: 500;
    color: var(--texto);
  }
}

/* ------------------------------------------------------------- 7. Cotizador
   Dos columnas lado a lado desde 900px: izquierda el auto, derecha los datos.
   Abajo de 900px se apilan. El <form data-lead-form> es una sola pieza y su
   botón submit vive adentro — contrato del JS, no tocar. */

.cotizador {
  margin-block: var(--e-4) var(--e-5);
}

.cot-titulo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--e-3);
  margin-bottom: var(--e-3);
}

@media (min-width: 900px) {
  .cot-titulo {
    margin-bottom: var(--e-4);
  }
}

.cot-titulo h1,
.cot-titulo h2 {
  margin: 0;
  font-size: var(--t-3);
}

.cot-titulo p {
  margin: 0;
  color: var(--suave);
  font-size: var(--t-chico);
}

.cot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--e-4);
  align-items: start;
}

@media (min-width: 900px) {
  .cot-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--e-5);
  }
}

.panel {
  position: relative;
  padding: var(--e-4);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)) ,
    linear-gradient(180deg, var(--sup-2), var(--sup-1));
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-2);
}

@media (min-width: 640px) {
  .panel {
    padding: var(--e-5);
  }
}

.panel-paso {
  display: flex;
  align-items: center;
  gap: 0.7ch;
  margin: 0 0 var(--e-3);
  font-family: var(--display);
  font-size: var(--t-chico);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cian);
}

.panel-paso::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cian), transparent);
}

/* Campos */

.campos {
  display: grid;
  gap: var(--e-3);
}

@media (min-width: 480px) {
  .campos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .campos {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .campos {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-family: var(--display);
  font-size: var(--t-chico);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--suave);
}

label .hint {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--apagado);
}

select,
input[type='text'],
input[type='tel'],
input[type='email'] {
  width: 100%;
  min-height: 48px;
  margin-top: var(--e-2);
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio-chico);
  background-color: var(--campo);
  color: var(--texto);
  font-family: var(--texto-fuente);
  font-size: 1rem; /* 16px mínimo: evita el zoom automático de iOS */
  line-height: 1.3;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2338E1FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  cursor: pointer;
}

select option {
  background-color: var(--sup-1);
  color: var(--texto);
}

select:focus,
input:focus {
  border-color: var(--cian);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(56, 225, 255, 0.25);
}

select:disabled {
  background-color: var(--inerte);
  color: var(--apagado);
  border-color: rgba(126, 155, 224, 0.2);
  cursor: not-allowed;
  opacity: 1;
}

/* Resultado */

.cot-result {
  margin-top: var(--e-5);
  padding: var(--e-4);
  border: 1px solid rgba(56, 225, 255, 0.35);
  border-radius: var(--radio);
  background:
    linear-gradient(180deg, rgba(56, 225, 255, 0.1), rgba(56, 225, 255, 0.02)),
    linear-gradient(180deg, var(--sup-1), var(--campo));
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-1);
}

.cot-result > p:first-child {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-chico);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--suave);
}

.cot-result .valor {
  margin: var(--e-1) 0 var(--e-3);
  font-family: var(--display);
  font-size: var(--t-cifra);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cian);
  text-shadow: 0 0 28px rgba(56, 225, 255, 0.35);
}

.cot-result .disclaimer {
  margin: 0;
  font-size: var(--t-chico);
  color: var(--suave);
}

/* Formulario de datos */

.lead-form .form-titulo {
  font-family: var(--display);
  font-size: var(--t-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--texto);
  margin: 0 0 var(--e-4);
}

.lead-form .campos {
  margin-bottom: var(--e-4);
}

.lead-form button[type='submit'] {
  width: 100%;
}

.lead-form button[type='submit']:disabled {
  --btn-fondo: linear-gradient(180deg, var(--inerte), #141c33);
  --btn-texto: var(--apagado);
  border-color: rgba(126, 155, 224, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.form-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.6ch;
  margin: var(--e-3) 0 0;
  font-size: var(--t-chico);
  color: var(--cian);
}

.form-hint::before {
  content: '↖';
  flex: none;
  line-height: 1.5;
}

.form-nota {
  margin: var(--e-3) 0 0;
  font-size: var(--t-chico);
  color: var(--suave);
}

/* --------------------------------------------------------------- 8. Fotos
   Ubicación distinta a la del sitio hermano: acá las fotos NO abren la página,
   van después del cotizador como una banda de dos piezas. */

.foto-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--e-4);
  margin-block: var(--e-7);
}

@media (min-width: 760px) {
  .foto-band {
    grid-template-columns: 1.35fr 1fr;
    align-items: stretch;
  }
}

.foto {
  margin: 0;
  padding: var(--e-3);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: linear-gradient(180deg, var(--sup-2), var(--sup-1));
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-2);
}

.foto img {
  width: 100%;
  border-radius: var(--radio-chico);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.foto--alta img {
  aspect-ratio: 4 / 5;
}

.photo-credit {
  margin: var(--e-2) 0 0;
  font-family: var(--display);
  font-size: var(--t-chico);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--apagado);
}

.foto figcaption {
  margin-top: var(--e-2);
  font-size: var(--t-chico);
  color: var(--suave);
}

/* ------------------------------------------------------- 9. Bloques varios */

.ramos {
  margin-block: var(--e-7);
}

.ramos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--e-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ramo-card {
  display: block;
  padding: var(--e-4);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: linear-gradient(180deg, var(--sup-2), var(--sup-1));
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-1);
  color: var(--texto);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ramo-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-2);
  color: var(--texto);
}

.ramo-card:active {
  transform: translateY(1px);
}

.ramo-card strong {
  display: block;
  font-family: var(--display);
  font-size: var(--t-1);
}

.ramo-card span {
  display: block;
  margin-top: var(--e-1);
  font-size: var(--t-chico);
  color: var(--suave);
}

/* ------------------------------------------------------ 10. Waitlist/gracias */

.waitlist,
.gracias {
  max-width: var(--ancho);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--e-5);
  align-items: center;
  margin-block: var(--e-5) var(--e-7);
}

@media (min-width: 860px) {
  .waitlist-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.waitlist-grid p {
  color: var(--suave);
  max-width: 52ch;
}

form[data-waitlist-form] {
  margin-top: var(--e-4);
  display: grid;
  gap: var(--e-3);
  max-width: 26rem;
}

form[data-waitlist-form] button {
  justify-self: start;
}

[data-waitlist-feedback] {
  margin-top: var(--e-4);
  padding: var(--e-4);
  border: 1px solid rgba(56, 225, 255, 0.35);
  border-radius: var(--radio);
  background: linear-gradient(180deg, rgba(56, 225, 255, 0.1), rgba(56, 225, 255, 0.02));
  box-shadow: inset 0 1px 0 var(--bisel);
  color: var(--texto);
  max-width: 34rem;
}

.gracias .acciones {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-3);
  margin-top: var(--e-5);
}

/* ------------------------------------------------------------- 11. Blog */

.blog-index,
.post {
  max-width: var(--ancho-texto);
}

.post h2 {
  font-size: var(--t-2);
  margin-top: var(--e-6);
}

.post p,
.blog-index p {
  color: var(--suave);
}

.post p strong {
  color: var(--texto);
}

.post .btn {
  margin-block: var(--e-5) var(--e-4);
}

.post .fuente,
.faq-fuente {
  font-size: var(--t-chico);
  color: var(--apagado);
}

.post-list {
  display: grid;
  gap: var(--e-3);
  margin: var(--e-5) 0 0;
  padding: 0;
  list-style: none;
}

.post-list a {
  display: block;
  padding: var(--e-4);
  border: 1px solid var(--borde);
  border-radius: var(--radio-chico);
  background: linear-gradient(180deg, var(--sup-2), var(--sup-1));
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-1);
  color: var(--texto);
  font-family: var(--display);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.post-list a:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-2);
  color: var(--cian);
}

.faq-list {
  display: grid;
  gap: var(--e-3);
  margin-top: var(--e-5);
}

.faq-item {
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: linear-gradient(180deg, var(--sup-2), var(--sup-1));
  box-shadow: inset 0 1px 0 var(--bisel), var(--alto-1);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--e-4);
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  color: var(--texto);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  margin-left: var(--e-3);
  color: var(--cian);
  font-size: 1.25em;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-respuesta {
  padding: 0 var(--e-4) var(--e-4);
  border-top: 1px solid var(--borde);
  padding-top: var(--e-4);
}

.faq-respuesta p {
  color: var(--suave);
}

.faq-cta {
  font-size: var(--t-chico);
}

/* ------------------------------------------------------------- 12. Footer */

.site-footer {
  width: min(100% - (var(--canal) * 2), var(--ancho));
  margin-inline: auto;
  padding-block: var(--e-5) var(--e-6);
  border-top: 1px solid var(--borde);
  font-size: var(--t-chico);
  color: var(--apagado);
}

.site-footer p {
  margin: 0 0 var(--e-2);
  max-width: 62ch;
}

.site-version {
  display: inline-block;
  margin-left: 0.4ch;
  padding: 0.1rem 0.55rem;
  border: 1px solid rgba(56, 225, 255, 0.35);
  border-radius: 999px;
  background: rgba(56, 225, 255, 0.08);
  color: var(--cian);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: 0.04em;
}
