/* ==========================================================================
   Código Pipeline · Konzeppt B2B Boutique
   Estilos de la landing y de la página de gracias
   Manual Visual Konzeppt 2026 v1.2 · WCAG 2.2 AA
   ========================================================================== */

:root {
  /* Color de marca */
  --rojo: #B31C27;
  --rojo-oscuro: #8F1620;
  --tinta: #17191D;
  --tinta-2: #23262C;
  --marfil: #F7F5F2;
  --blanco: #FFFFFF;
  --gris: #5E6269;
  --linea: #DEDAD6;
  --rubor: #EEE6E2;
  --texto-claro: #D9DBDF;     /* texto secundario sobre Tinta, 12.4:1 */
  --linea-oscura: #3A3E46;

  /* Tipografía: Helvetica; segundo nivel de título en Light mientras se confirma la licencia web de Thin */
  --fuente: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --peso-fino: 300;

  /* Escala */
  --h1: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  --h2: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  --h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --texto: 1.125rem;          /* 18 px */
  --texto-chico: 1rem;

  /* Espacio, módulo de 8 px */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --radio: 3px;
  --radio-foto: 12px;
  --ancho: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: var(--texto);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--tinta);
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 var(--s2); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h3 { font-size: var(--h3); font-weight: 700; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }
.fondo-tinta :focus-visible, .fondo-rojo :focus-visible, .cabecera :focus-visible, .pie :focus-visible { outline-color: var(--blanco); }

.visualmente-oculto {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.saltar {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--blanco); color: var(--tinta); padding: 12px 16px; border-radius: var(--radio);
  font-weight: 700; text-decoration: none;
}
.saltar:focus { top: var(--s2); }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--s3); }
@media (max-width: 599px) { .contenedor { padding: 0 var(--s2); } }

/* --- Barra de revisión (quitar antes de publicar) ------------------------ */
.barra-revision {
  background: var(--rubor); color: var(--tinta); font-size: 0.875rem; line-height: 1.4;
  padding: 8px var(--s2); text-align: center; border-bottom: 3px solid var(--rojo);
}

/* --- Títulos en dos niveles ------------------------------------------------ */
.titulo { font-size: var(--h2); }
.titulo .bold, .titulo .fino { display: block; }
.titulo .bold { font-weight: 700; }
.titulo .fino { font-weight: var(--peso-fino); }
.titulo-hero { font-size: var(--h1); }

.etiqueta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rojo); margin-bottom: var(--s3);
}
.etiqueta::before { content: ""; width: 24px; height: 3px; background: var(--rojo); }
.fondo-tinta .etiqueta, .hero .etiqueta { color: var(--texto-claro); }

/* --- Botones ---------------------------------------------------------------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border: 2px solid var(--rojo); border-radius: var(--radio);
  background: var(--rojo); color: var(--blanco); font: 700 1.0625rem/1.2 var(--fuente);
  text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.boton:hover { background: var(--rojo-oscuro); border-color: var(--rojo-oscuro); }
.boton[disabled] { opacity: .55; cursor: not-allowed; }
.boton-claro { background: var(--blanco); border-color: var(--blanco); color: var(--rojo); }
.boton-claro:hover { background: var(--marfil); border-color: var(--marfil); color: var(--rojo-oscuro); }
.boton-contorno { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.boton-contorno:hover { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.fondo-tinta .boton-contorno { color: var(--blanco); border-color: var(--blanco); }
.fondo-tinta .boton-contorno:hover { background: var(--blanco); color: var(--tinta); }
.boton-texto {
  background: none; border: 0; padding: 12px 0; min-height: 44px; cursor: pointer;
  font: 700 1rem var(--fuente); color: var(--gris); text-decoration: underline; text-underline-offset: 3px;
}
.boton-texto:hover { color: var(--tinta); }

/* --- Cabecera y pie ----------------------------------------------------- */
.cabecera { background: var(--tinta); color: var(--blanco); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.cabecera img { height: 42px; width: auto; }
.cabecera a.sitio { font-size: 1rem; color: var(--texto-claro); text-decoration: none; padding: 12px 0; }
.cabecera a.sitio:hover { color: var(--blanco); text-decoration: underline; }

.pie { background: var(--tinta); color: var(--texto-claro); padding: var(--s5) 0; font-size: 1rem; border-top: 1px solid var(--linea-oscura); }
.pie .contenedor { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; }
.pie img { height: 30px; width: auto; }
.pie nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px var(--s3); }
.pie nav a { display: inline-block; padding: 10px 0; text-decoration: none; }
.pie nav a:hover { color: var(--blanco); text-decoration: underline; }
.pie small { display: block; width: 100%; font-size: 0.875rem; color: #A9ADB5; }

/* --- Secciones ---------------------------------------------------------- */
.seccion { padding: var(--s7) 0; }
@media (max-width: 767px) { .seccion { padding: var(--s6) 0; } }
.fondo-tinta { background: var(--tinta); color: var(--blanco); }
.fondo-marfil { background: var(--marfil); color: var(--tinta); }
.fondo-rojo { background: var(--rojo); color: var(--blanco); }
.cabeza-seccion { max-width: 760px; margin-bottom: var(--s5); }
.cabeza-seccion p { margin-top: var(--s3); color: var(--gris); max-width: 62ch; }
.fondo-tinta .cabeza-seccion p { color: var(--texto-claro); }

/* --- Hero --------------------------------------------------------------- */
.hero { background: var(--tinta); color: var(--blanco); padding: var(--s6) 0 var(--s7); }
.hero-rejilla { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: start; }
.hero-texto .bajada { font-size: 1.25rem; line-height: 1.55; color: var(--texto-claro); margin: var(--s4) 0; max-width: 58ch; }
.datos { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--s3); }
.datos li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; line-height: 1.4; }
.datos svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; stroke: var(--blanco); }
.datos strong { display: block; }
.ponente { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; border-top: 1px solid var(--linea-oscura); border-bottom: 1px solid var(--linea-oscura); margin-bottom: var(--s4); }
.ponente img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ponente p { margin: 0; font-size: 1.0625rem; line-height: 1.4; color: var(--texto-claro); }
.ponente strong { color: var(--blanco); }
.hero-mockup { border-radius: var(--radio-foto); width: 100%; max-width: 520px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.ir-formulario { display: none; }
.hero-formulario { position: sticky; top: var(--s3); }

@media (max-width: 1023px) {
  .hero-rejilla { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-formulario { position: static; }
  .hero-texto { display: contents; }
  .hero-intro { order: 1; }
  .hero-formulario { order: 2; }
  .hero-media { order: 3; }
  .ir-formulario { display: inline-flex; margin-bottom: var(--s2); }
}
@media (max-width: 599px) {
  .hero { padding: var(--s5) 0 var(--s6); }
  .datos { grid-template-columns: 1fr; }
  .hero-texto .bajada { font-size: 1.125rem; }
}

/* --- Tarjeta del formulario --------------------------------------------- */
.tarjeta-form {
  background: var(--blanco); color: var(--tinta); border-radius: 4px;
  padding: var(--s4); box-shadow: 0 0 0 1px var(--linea);
}
@media (max-width: 599px) { .tarjeta-form { padding: var(--s3) var(--s2); } }
.tarjeta-form .encabezado h2 { font-size: 1.625rem; line-height: 1.15; }
.tarjeta-form .encabezado p { color: var(--gris); font-size: 1rem; margin: 8px 0 0; }

.avance { margin: var(--s3) 0; }
.avance-cabeza { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.avance-cabeza span:last-child { color: var(--gris); font-weight: 400; }
.avance-pista { height: 8px; background: var(--rubor); border-radius: 4px; overflow: hidden; }
.avance-relleno { height: 100%; width: 0; background: var(--rojo); transition: width .35s ease; }

.paso { border: 0; margin: 0; padding: 0; min-width: 0; }
.paso[hidden] { display: none; }
.paso legend { font-size: 1.375rem; font-weight: 700; line-height: 1.3; padding: 0; margin-bottom: var(--s2); }
.paso .ayuda { font-size: 1rem; color: var(--gris); margin: -8px 0 var(--s2); }
.paso:focus { outline: none; }

.opciones { display: grid; gap: 10px; }
.opcion { position: relative; display: block; }
.opcion input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opcion span {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px;
  border: 1px solid #8A8E95; border-radius: var(--radio); font-size: 1.0625rem; line-height: 1.3;
  background: var(--blanco); transition: border-color .15s ease, background .15s ease;
}
.opcion span::after { content: ""; margin-left: auto; flex: 0 0 20px; height: 20px; border: 1.5px solid #8A8E95; border-radius: 50%; }
.opcion svg { flex: 0 0 28px; width: 28px; height: 28px; stroke: var(--tinta); }
.opcion input:hover + span { border-color: var(--tinta); }
.opcion input:focus-visible + span { outline: 3px solid var(--rojo); outline-offset: 2px; }
.opcion input:checked + span { border: 2px solid var(--rojo); background: var(--rubor); }
.opcion input:checked + span::after { border-color: var(--rojo); background: radial-gradient(circle, var(--rojo) 0 5px, transparent 6px); }

.deslizador { margin: var(--s3) 0 var(--s2); }
.deslizador-valor { display: flex; align-items: baseline; gap: 10px; margin-bottom: var(--s2); }
.deslizador-valor input[type="text"] {
  width: 9.5ch; font: 700 2.25rem/1.1 var(--fuente); color: var(--tinta); border: 0; border-bottom: 2px solid var(--linea);
  padding: 4px 0; background: transparent; text-align: left; min-height: 48px;
}
.deslizador-valor input[type="text"]:focus { border-bottom-color: var(--rojo); outline: none; }
.deslizador-valor .unidad { font-size: 1rem; color: var(--gris); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--rojo) var(--relleno, 50%), var(--rubor) var(--relleno, 50%)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--rubor); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--rojo); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--blanco); border: 3px solid var(--rojo); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--blanco); border: 3px solid var(--rojo); }
input[type="range"]:focus-visible { outline: 3px solid var(--rojo); outline-offset: 4px; }
.escala { position: relative; height: 1.5em; margin: 0 14px; font-size: 0.875rem; color: var(--gris); }
.escala span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.escala span:first-child { transform: translateX(-14px); }
.escala span:last-child { transform: translateX(calc(-100% + 14px)); }

.lectura-breve {
  margin: var(--s2) 0 0; padding: 14px 16px; border-left: 4px solid var(--rojo); background: var(--marfil);
  font-size: 1.0625rem; line-height: 1.45;
}
.lectura-breve[hidden] { display: none; }

.acciones-paso { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s3); flex-wrap: wrap; }
.acciones-paso .boton { flex: 1 1 auto; }

/* Pantalla de lectura y captura */
.resultado { border: 1px solid var(--linea); border-radius: 4px; padding: var(--s3); margin-bottom: var(--s3); }
.resultado .perfil { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); margin: 0 0 4px; }
.resultado .encaje { font-size: 1.5rem; font-weight: 700; line-height: 1.2; margin: 0 0 var(--s2); }
.medidor { height: 10px; background: var(--rubor); border-radius: 5px; overflow: hidden; margin-bottom: 8px; }
.medidor div { height: 100%; width: 0; background: var(--rojo); transition: width .8s ease; }
.medidor-escala { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--gris); }
.resultado .nota { margin: var(--s2) 0 0; font-size: 1rem; }
.lugares { display: flex; gap: 6px; margin-top: var(--s2); flex-wrap: wrap; }
.lugares i { width: 18px; height: 18px; border-radius: 2px; background: var(--rojo); display: block; }
.lugares i.ocupado { background: var(--linea); }
.lugares-texto { font-size: 1rem; margin: 8px 0 0; }

.campo { margin-bottom: var(--s2); }
.campo label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.campo label .opcional { font-weight: 400; color: var(--gris); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.0625rem/1.4 var(--fuente); color: var(--tinta);
  border: 1.5px solid #8A8E95; border-radius: var(--radio); background: var(--blanco);
}
.campo textarea { min-height: 88px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 3px solid var(--rojo); outline-offset: 1px; border-color: var(--tinta); }
.campo-tel { display: grid; grid-template-columns: 8.5rem 1fr; gap: 8px; }
.campo [aria-invalid="true"] { border-color: var(--rojo); border-width: 2px; }
.error { display: flex; gap: 8px; align-items: flex-start; color: var(--rojo); font-size: 0.9375rem; font-weight: 700; margin-top: 6px; }
.error[hidden] { display: none; }
.error::before { content: "!"; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--rojo); color: var(--blanco); font-size: 0.8125rem; line-height: 20px; text-align: center; }
.pista { font-size: 0.9375rem; color: var(--gris); margin-top: 6px; }

.casilla { display: flex; gap: 12px; align-items: flex-start; margin: var(--s2) 0; font-size: 1rem; line-height: 1.45; }
.casilla input { flex: 0 0 24px; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--rojo); }
.casilla a { color: var(--tinta); font-weight: 700; }
.que-sigue { font-size: 0.9375rem; color: var(--gris); margin: var(--s2) 0 0; }

/* --- Tres llaves -------------------------------------------------------- */
.llaves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); counter-reset: llave; }
.llaves li { border-top: 3px solid var(--tinta); padding-top: var(--s3); }
.llaves .numero { font-size: 4rem; font-weight: var(--peso-fino); line-height: 1; color: var(--rojo); display: block; margin-bottom: var(--s2); }
.llaves h3 { margin-bottom: 12px; }
.llaves p { color: #3F434A; margin: 0; }
@media (max-width: 767px) { .llaves { grid-template-columns: 1fr; gap: var(--s4); } }

/* --- Video -------------------------------------------------------------- */
.video-rejilla { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s6); align-items: center; }
.video-marco { position: relative; border-radius: var(--radio-foto); overflow: hidden; background: #000; aspect-ratio: 854 / 480; }
.video-marco video { width: 100%; height: 100%; object-fit: cover; }
.video-pie { font-size: 1rem; color: var(--texto-claro); margin: 12px 0 0; }
@media (max-width: 1023px) { .video-rejilla { grid-template-columns: 1fr; gap: var(--s4); } }

/* --- Tu lugar incluye --------------------------------------------------- */
.incluye-rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.incluye-rejilla img { border-radius: var(--radio-foto); width: 100%; height: auto; }
.lista-incluye { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.lista-incluye li { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s2); padding: 20px 0; border-bottom: 1px solid var(--linea); align-items: baseline; }
.lista-incluye .n { font-size: 1.5rem; font-weight: var(--peso-fino); color: var(--rojo); }
.lista-incluye strong { display: block; font-size: 1.1875rem; line-height: 1.35; }
.lista-incluye span.det { display: block; color: var(--gris); font-size: 1rem; margin-top: 4px; }
.valor-lista { display: inline-block; margin-top: 8px; padding: 4px 10px; border: 1.5px solid var(--rojo); border-radius: var(--radio); color: var(--rojo); font-weight: 700; font-size: 0.9375rem; }
@media (max-width: 1023px) { .incluye-rejilla { grid-template-columns: 1fr; gap: var(--s5); } .incluye-rejilla img { max-width: 480px; } }

/* --- Qué verás ---------------------------------------------------------- */
.referencia { border-left: 3px solid var(--rojo); padding-left: var(--s3); color: var(--texto-claro); max-width: 68ch; margin-bottom: var(--s5); }
.referencia strong { color: var(--blanco); }
.temario { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s6); }
.temario li { display: grid; grid-template-columns: 4rem 1fr auto; gap: var(--s2); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--linea-oscura); }
.temario .n { font-size: 2rem; font-weight: var(--peso-fino); line-height: 1; }
.temario .min { font-size: 0.875rem; color: #A9ADB5; white-space: nowrap; }
.temario li.destacado .n, .temario li.destacado strong { color: var(--blanco); }
.temario li.destacado { border-bottom-color: var(--rojo); }
@media (max-width: 767px) { .temario { grid-template-columns: 1fr; } .temario li { grid-template-columns: 3rem 1fr; } .temario .min { grid-column: 2; } }

/* --- Para quién y preguntas -------------------------------------------- */
.quien-rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); }
.perfiles { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.perfiles li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.perfiles svg { flex: 0 0 24px; width: 24px; height: 24px; stroke: var(--rojo); margin-top: 3px; }
.preguntas h2 { margin-bottom: var(--s3); }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  padding: 20px 0; font-weight: 700; font-size: 1.1875rem; min-height: 56px;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; font-size: 1.75rem; font-weight: var(--peso-fino); color: var(--rojo); line-height: 1; }
.preguntas details[open] summary::after { content: "−"; }
.preguntas details p { color: #3F434A; padding-bottom: var(--s2); max-width: 62ch; }
@media (max-width: 1023px) { .quien-rejilla { grid-template-columns: 1fr; gap: var(--s5); } }

/* --- Cierre ------------------------------------------------------------- */
.cierre .contenedor { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; }
.cierre .titulo .fino { color: var(--blanco); }

/* --- Barra fija móvil --------------------------------------------------- */
.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px var(--s2) calc(12px + env(safe-area-inset-bottom));
  background: var(--tinta); border-top: 1px solid var(--linea-oscura); display: none;
  transform: translateY(110%); transition: transform .25s ease;
}
.barra-movil.visible { transform: translateY(0); }
.barra-movil .boton { width: 100%; min-height: 52px; }
@media (max-width: 1023px) { .barra-movil { display: block; } body.con-barra { padding-bottom: 80px; } }

/* ==========================================================================
   Página de gracias
   ========================================================================== */
.gracias { padding: var(--s6) 0 var(--s7); min-height: 70vh; }
.gracias-rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: center; }
.mockup-sello { position: relative; max-width: 500px; }
.mockup-sello img { border-radius: var(--radio-foto); width: 100%; height: auto; }
.sello {
  position: absolute; right: -12px; top: 24px; transform: rotate(-8deg);
  background: var(--blanco); color: var(--rojo); border: 3px solid var(--rojo); border-radius: var(--radio);
  padding: 10px 18px; font-weight: 700; font-size: 1.125rem; letter-spacing: 0.14em; text-transform: uppercase;
  animation: sello .45s ease-out both .2s;
}
.sello[hidden] { display: none; }
@keyframes sello { from { opacity: 0; transform: rotate(-8deg) scale(1.5); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.icono-estado { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--s3); background: var(--rojo); }
.icono-estado svg { width: 38px; height: 38px; stroke: var(--blanco); }
.estado[hidden] { display: none; }
.estado .titulo { font-size: var(--h1); margin-bottom: var(--s3); }
.estado p.mensaje { font-size: 1.1875rem; color: var(--texto-claro); max-width: 56ch; }
.estado .detalle-evento { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: 8px; }
.estado .detalle-evento li { display: flex; gap: 12px; }
.estado .detalle-evento svg { flex: 0 0 22px; width: 22px; height: 22px; stroke: var(--blanco); margin-top: 3px; }
.calendario { margin: var(--s4) 0 var(--s3); }
.calendario p { font-weight: 700; margin-bottom: 12px; }
.calendario-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.calendario-botones .boton { min-height: 48px; padding: 10px 18px; font-size: 1rem; }
.antes-sesion { margin-top: var(--s4); padding: var(--s3); border: 1px solid var(--linea-oscura); border-radius: 4px; }
.antes-sesion h2 { font-size: 1.25rem; margin-bottom: 8px; }
.antes-sesion p { color: var(--texto-claro); margin: 0; }
.codigo-recordatorio { display: inline-flex; align-items: center; gap: 12px; margin-top: var(--s3); font-weight: 700; }
.codigo-recordatorio span { background: var(--rojo); color: var(--blanco); padding: 4px 10px; border-radius: var(--radio); font-size: 0.9375rem; letter-spacing: 0.06em; }
.nota-especial { margin-top: var(--s3); padding: 14px 16px; border-left: 3px solid var(--rojo); background: var(--tinta-2); color: var(--texto-claro); font-size: 1.0625rem; }
.nota-especial[hidden] { display: none; }
.regreso { display: inline-block; margin-top: var(--s4); color: var(--texto-claro); padding: 10px 0; }
.regreso:hover { color: var(--blanco); }
@media (max-width: 1023px) {
  .gracias-rejilla { grid-template-columns: 1fr; gap: var(--s5); }
  .gracias-rejilla .media { order: 2; }
  .mockup-sello { max-width: 420px; }
  .sello { right: 8px; }
}
