/* ==========================================================================
   Acuerdo de Convivencia Digital · 3° Básico B
   Tokens y clases base, compartidas por /, /devolucion y /responder.
   Sin fuentes remotas ni imports externos: todo vive en este archivo.
   ========================================================================== */

:root {
  /* Los siete tokens del curso — valores exactos, no tocar. */
  --navy: #1B2A5E;
  --red: #CE4638;
  --yellow: #E8B32C;
  --ink: #23282F;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --tint: #ECEFF6;

  /* Derivados: navy con más profundidad para el degradé del hero */
  --navy-deep: #14204a;

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 640px;
  --gap: 1.25rem;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
}

/* ---- Reset mínimo -------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, ul, ol { margin: 0; }

/* No hay scroll horizontal, en ningún breakpoint. */
html, body { overflow-x: hidden; }

/* Foco visible en todo lo interactivo (no depende del color, evita el
   amarillo — nunca se usa sobre blanco). */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn--ghost:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---- Contenedor compartido ------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---- Tipografía compartida -------------------------------------------- */

.lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
}

.muted { color: var(--muted); }

.small { font-size: 0.875rem; }

/* ---- Encabezado del curso --------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.5rem 1rem;
}

.site-header__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.site-header__name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}

/* ---- Hero: la franja navy que abre cada página ------------------------ */

.hero {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding-block: 2.5rem 3rem;
  border-radius: 0 0 28px 28px;
}

.hero h1 {
  font-size: clamp(1.75rem, 5.5vw + 0.9rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
}

.hero .horizonte {
  margin-top: 0.9rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34ch;
}

.hero .horizonte strong {
  color: var(--yellow);
  font-weight: 700;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
}

/* ---- El horizonte: 2026 → 2035, dibujado ------------------------------
   La proporción es el punto, no el adorno: la marca de "hoy" cae cerca del
   arranque del trazo (agosto de 2026 sobre nueve años de camino) para que
   se lea de un vistazo cuánto queda por delante. --yellow es el único color
   nuevo aquí y es a propósito: la regla del proyecto es que nunca va sobre
   blanco, y este hero es navy — es el único lugar del sitio donde el
   amarillo es protagonista. */

.horizonte-track {
  margin-top: 1.6rem;
  max-width: 460px;
}

.horizon {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.horizon__line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 1.5;
  stroke-linecap: round;
  /* Trazado por defecto: sin preferencia de movimiento reducido, el trazo
     ya está completo y quieto (offset 0 = dibujado entero). */
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

.horizon__ticks line {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.5;
}

.horizon__end {
  fill: rgba(255, 255, 255, 0.9);
}

.horizon__hoy {
  fill: var(--yellow);
}

.horizon__hoy-halo {
  fill: var(--yellow);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.horizon__year {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  fill: #fff;
}

.horizon__meta {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.62);
}

.horizon__hoy-label {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  fill: var(--yellow);
}

/* El trazo se dibuja solo (bajo un segundo) y la marca de "hoy" respira muy
   suave — pero solo si el visitante no pidió movimiento reducido. Sin esa
   preferencia, ambas animaciones quedan sin declarar y todo aparece ya
   dibujado y quieto (mismo patrón que .stepper__item--current más abajo). */
@media (prefers-reduced-motion: no-preference) {
  .horizon__line {
    stroke-dashoffset: 100;
    animation: horizonte-dibujo 0.9s ease-out 0.15s forwards;
  }

  .horizon__hoy-halo {
    animation: horizonte-respiro 2.6s ease-in-out 1.1s infinite;
  }
}

@keyframes horizonte-dibujo {
  to { stroke-dashoffset: 0; }
}

@keyframes horizonte-respiro {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.9); }
}

/* ---- Secciones de contenido -------------------------------------------- */

.section {
  padding-block: 2.25rem;
}

.section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.section p + p { margin-top: 0.75rem; }

/* ---- Tarjeta compartida -------------------------------------------------- */

.card {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 1.25rem 1.375rem;
}

/* ---- Botones: 44x44 px mínimo, pensados para el pulgar ------------------ */

.btn,
.btn--ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.btn {
  background: var(--navy);
  color: #fff;
}

.btn:hover { background: var(--navy-deep); }
.btn:active { transform: scale(0.98); }

/* El botón de envío nace deshabilitado y form.js lo habilita al terminar de
   dibujar las preguntas. Si el JS nunca corre, se queda así: apagado y
   evidentemente no tocable, junto al aviso de #questions. */
.btn:disabled,
.btn:disabled:hover {
  background: var(--muted);
  cursor: not-allowed;
  opacity: 0.75;
}

.btn:disabled:active { transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost:hover { background: var(--tint); }
.btn--ghost:active { transform: scale(0.98); }

.cta__hint {
  text-align: center;
  margin-top: 0.75rem;
}

/* ---- El camino: en qué etapa vamos (elemento de firma) ------------------ */

.stepper { list-style: none; padding: 0; margin: 0; }

.stepper__item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  column-gap: 0.9rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.stepper__item:last-child { padding-bottom: 0; }

.stepper__marker {
  grid-row: 1 / span 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 700;
  background: var(--bg);
}

/* la línea que conecta cada paso con el siguiente */
.stepper__item:not(:last-child) .stepper__marker::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 1.5rem;
  transform: translateX(-50%);
  background: var(--muted);
  opacity: 0.35;
}

.stepper__item--done .stepper__marker {
  background: var(--navy);
  color: #fff;
}

.stepper__item--done:not(:last-child) .stepper__marker::after {
  background: var(--navy);
  opacity: 1;
}

.stepper__item--current .stepper__marker {
  background: var(--bg);
  border: 2.5px solid var(--red);
  color: var(--red);
}

.stepper__item--current:not(:last-child) .stepper__marker::after {
  background: var(--red);
  opacity: 0.6;
}

.stepper__item--upcoming .stepper__marker {
  border: 2px solid var(--muted);
  color: var(--muted);
  opacity: 0.7;
}

.stepper__label {
  font-weight: 600;
  color: var(--ink);
  padding-top: 0.15rem;
}

.stepper__item--current .stepper__label { color: var(--navy); }
.stepper__item--upcoming .stepper__label { color: var(--muted); font-weight: 500; }

.stepper__tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.stepper__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .stepper__item--current .stepper__marker {
    animation: pulso 2.4s ease-in-out infinite;
  }
}

@keyframes pulso {
  0%, 100% { box-shadow: 0 0 0 0 rgba(206, 70, 56, 0.28); }
  50% { box-shadow: 0 0 0 6px rgba(206, 70, 56, 0); }
}

/* ---- Cierre -------------------------------------------------------------- */

.site-footer {
  padding-block: 2rem 3rem;
  text-align: center;
}

/* ---- Desktop: misma columna, más aire, nunca multi-columna -------------- */

@media (min-width: 640px) {
  .hero { padding-block: 3.5rem 4rem; }
  .section { padding-block: 3rem; }
  .btn, .btn--ghost { width: auto; min-width: 280px; }
  .cta__actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
}

/* ==========================================================================
   /devolucion — específico de esta página
   Un documento largo, transcrito verbatim: la tipografía hace casi todo
   el trabajo. Nada de esto reordena o reescribe el texto de la delegatura.
   ========================================================================== */

.hero__kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow); /* solo sobre el navy del hero, nunca sobre blanco */
}

.saludo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.doc-download {
  margin-top: 1.5rem;
}

/* ---- "En qué nos encontramos": lista de coincidencias, marcada con un
   check — son puntos de acuerdo, no una secuencia. ---- */

.coincidencias {
  list-style: none;
  padding: 0;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.95rem;
}

.coincidencias li {
  position: relative;
  padding-left: 1.85rem;
  line-height: 1.55;
}

.coincidencias li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--tint);
  border: 1.5px solid var(--navy);
}

.coincidencias li::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.58em;
  width: 0.5rem;
  height: 0.26rem;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

/* ---- "Las preguntas que nos quedan": siete preguntas, en el orden real
   del documento — la numeración aquí sí es información. ---- */

.preguntas {
  list-style: none;
  counter-reset: pregunta;
  padding: 0;
  margin-top: 1.25rem;
  display: grid;
  gap: 1.75rem;
}

.pregunta {
  counter-increment: pregunta;
  position: relative;
  padding-left: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tint);
}

.pregunta:first-child {
  padding-top: 0;
  border-top: none;
}

.pregunta::before {
  content: counter(pregunta);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  opacity: 0.55;
}

.pregunta:first-child::before { top: 0; }

.pregunta__enunciado {
  font-size: 1.0625rem;
  color: var(--navy);
}

.pregunta__respuesta {
  margin-top: 0.5rem;
  color: var(--ink);
}

.cierre .firma {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---- Enlace persistente a /responder, visible durante todo el scroll --- */

/* Colchón para la .barra-responder, que es `position: fixed` y flota sobre el
   final del scroll.

   Medido en el navegador: la barra ocupa 44px, no ~63px — `box-sizing:
   border-box` hace que `min-height: 44px` sea el alto TOTAL, con el padding
   vertical y el borde ya adentro. Con los 3.5rem (56px) de antes la firma de
   la delegatura NO quedaba tapada (le sobraban 48px). El colchón sube igual
   por dos razones reales: dejar aire de verdad entre el cierre del documento
   y la barra, y absorber el safe area del iPhone que la barra ahora se suma a
   sí misma (ver abajo). */
.devolucion { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }

.barra-responder {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  /* El home indicator del iPhone se come la franja de abajo: sin sumar el safe
     area, el texto de la barra queda dentro de esa zona y se toca mal. */
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--tint);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.barra-responder:hover { background: var(--tint); }

/* ==========================================================================
   /responder — específico de esta página
   El formulario se renderiza desde el schema (form.js); aquí solo vive el
   estilo. La decisión visual que más importa: el estado "seleccionado" de
   una opción tiene que leerse de un vistazo, con el sol pegando en la
   pantalla — por eso se rellena en --navy sólido en vez de un tinte tenue.
   ========================================================================== */

.hidden { display: none !important; }

/* ---- Utilidad de este layout: el <header class="hero"> de /responder no
   trae el <div class="wrap"> interno que usan / y /devolucion (aquí .hero
   ya vive dentro de <main class="wrap">). Sus dos hijos llevan su propio
   respiro horizontal para no pegarse al borde de la franja navy. ---- */

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-inline: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero__brand img { width: 30px; height: 30px; flex-shrink: 0; }

.hero__title {
  padding-inline: 1.25rem;
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 6vw + 0.6rem, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}

.intro {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---- Barra de avance: fija arriba, siempre visible mientras se responde --- */

.progress {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.65rem 1.25rem 0.55rem;
  background: var(--bg);
  border-bottom: 1px solid var(--tint);
}

.progress__track {
  max-width: var(--wrap);
  margin-inline: auto;
  height: 8px;
  border-radius: 999px;
  background: var(--tint);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 0%;
  background: var(--navy);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.progress__meta {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.progress__meta strong { color: var(--navy); font-size: 0.8125rem; }

/* ---- Bloque de pregunta -------------------------------------------------- */

#questions { margin-top: 0.5rem; }

.q {
  padding-block: 1.75rem;
  padding-left: 0.9rem;
  margin-left: -0.9rem;
  border-left: 4px solid transparent;
  border-bottom: 1px solid var(--tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.q:last-of-type { border-bottom: none; }

.q__label {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.q__req {
  margin-left: 0.2rem;
  color: var(--red);
}

.q__hint {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.q__error {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
}

.q__error:empty { display: none; }

/* Aviso estático de #questions (y del <noscript>): lo que la familia ve si
   form.js no llega a correr. Tiene que leerse como un mensaje del sitio, no
   como una pregunta más. */
.q__cargando {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--navy);
  font-size: 0.9375rem;
  text-align: center;
}

/* estado de error: acento rojo a la izquierda + fondo apenas teñido — el
   borde transparente de arriba ya reserva el espacio, así que marcarla no
   mueve nada alrededor. */
.q.is-error {
  border-left-color: var(--red);
  background: rgba(206, 70, 56, 0.06);
}

/* ---- Opciones: tarjetas táctiles, no una lista de radios de sistema ------ */

.opts {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--tint);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease, transform 0.06s ease;
}

.opt:active { transform: scale(0.98); }

/* el input real queda accesible (foco, lector de pantalla, tap del label)
   pero invisible: el .opt__mark dibuja el radio/checkbox real. */
.opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.opt__mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid var(--muted);
  background: var(--bg);
  position: relative;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

/* las opciones de P4 son checkbox: la marca es cuadrada, no redonda */
.opt:has(input[type="checkbox"]) .opt__mark { border-radius: 7px; }

.opt__text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

/* Estado seleccionado — la decisión visual más importante de la página:
   relleno sólido en --navy, no un tinte. Tiene que leerse de un vistazo,
   con sol directo en la pantalla y el pulgar tapando media tarjeta.
   Los selectores :checked ~ cubren la marca y el texto incluso sin
   soporte de :has(); :has() además rellena la tarjeta entera. */
.opt input:checked ~ .opt__mark {
  border-color: var(--navy);
  background: #fff;
}

.opt input:checked ~ .opt__mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: var(--navy);
}

.opt input:checked ~ .opt__text { color: var(--navy); font-weight: 700; }

.opt:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy);
}

.opt:has(input:checked) .opt__text { color: #fff; }

.opt:has(input:checked) .opt__mark {
  border-color: #fff;
  background: #fff;
}

.opt:has(input:checked) .opt__mark::after { background: var(--navy); }

.opt:has(input:focus-visible) {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.opt-other-field { margin-top: 0.6rem; }

.field {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--tint);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
}

.field::placeholder { color: var(--muted); }

.field:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-color: var(--navy);
}

/* ---- Barra de envío: pegada abajo, siempre a mano del pulgar ------------- */

.submitbar {
  position: sticky;
  bottom: 0;
  z-index: 15;
  margin-top: 1.5rem;
  padding-block: 0.9rem;
  padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--tint);
}

.submitbar__inner {
  display: grid;
  gap: 0.5rem;
}

.sendmsg {
  margin: 0;
  min-height: 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.sendmsg.is-show { opacity: 1; }

.sendmsg--error { color: var(--red); }

/* aviso, no error: se usa --navy (nunca --yellow sobre --bg blanco) */
.sendmsg--warn { color: var(--navy); }

/* ---- Banner de reingreso -------------------------------------------------- */

.reentry {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.reentry.is-show { display: block; }

.reentry__actions { margin-top: 0.85rem; }

/* ---- Pantalla de gracias --------------------------------------------------- */

.thanks {
  display: none;
  padding-block: 2rem 3rem;
  text-align: center;
}

.thanks.is-show { display: block; }

.thanks__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.thanks__body {
  margin-top: 0.6rem;
  font-size: 1.0625rem;
  color: var(--muted);
}

.counter { margin-top: 1.75rem; }

.counter__label {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.counter__track {
  height: 10px;
  border-radius: 999px;
  background: var(--tint);
  overflow: hidden;
}

.counter__fill {
  height: 100%;
  width: 0%;
  background: var(--navy);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Es un .btn--ghost; el HTML lleva las dos clases. Acá queda solo lo que de
   verdad lo distingue: su separación del contador que tiene encima. */
.wa-btn { margin-top: 1.5rem; }

/* ---- Honeypot: invisible para humanos, alcanzable por bots --------------- */
/* Nunca display:none — algunos bots se saltan los campos ocultos así, y el
   HTML ya trae aria-hidden="true" para lectores de pantalla. */

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
