/* ============================================================
   F2AIA — Diagnóstico gratis
   styles.css v20260724 — sistema visual F2AIA
   Consume tokens de /lib/f2aia-ui.css (linkeado antes).
   Reestiliza las clases-hook existentes SIN renombrarlas
   (main.js lee IDs/data-attrs/name/value, no estilos).
   ============================================================ */

:root {
  --nav-h:     64px;
  --container: 1160px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }

/* === FONDO OLED + GLOW === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(0,255,136,0.10) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 0% 88%, rgba(0,255,136,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 90% 40% at 50% 108%, rgba(0,0,0,0.55) 0%, transparent 60%);
}

/* === CURSOR GLOW (CSP-safe: la CSP estricta bloquea el <style> que inyecta cursor.js;
   estas reglas viven en CSS externo permitido para que el spotlight funcione igual) === */
#f2aia-cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
  background: radial-gradient(circle, rgba(0,255,136,0.10) 0%, rgba(0,255,136,0.045) 32%, rgba(0,255,136,0) 68%);
}

/* === CONTAINER === */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

/* === UTILIDADES === */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.green-text { color: var(--accent); }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,7,0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-color: var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .nav-inner { padding: 0 32px; } }
@media (min-width: 1200px) { .nav-inner { padding: 0 40px; } }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-escape { display: flex; align-items: center; gap: 8px; }
.nav-back {
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 6px 13px;
  border-radius: 99px;
  background: #131313;
  border: 1px solid rgba(0,255,136,0.28);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.nav-back:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.nav-demo-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 15px;
  border-radius: 99px;
  border: 1px solid var(--accent-line);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.nav-demo-btn:hover {
  box-shadow: 0 0 0 3px var(--accent-glow);
  border-color: rgba(0,255,136,0.45);
}

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 54px) 0 44px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 auto 22px;
  max-width: 640px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 28px;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 6px 14px;
  white-space: nowrap;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* === BOTONES === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: #131313;
  color: var(--accent);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--accent);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.25s, border-color 0.2s, transform 0.15s;
  box-shadow: 0 0 0 1px rgba(0,255,136,0.12), 0 0 26px -6px rgba(0,255,136,0.45);
  text-decoration: none;
}
.btn-primary:hover {
  background: #171b18;
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 34px -6px rgba(0,255,136,0.6);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: #131313;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(0,255,136,0.30);
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-ghost:hover {
  color: var(--accent);
  background: #171b18;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* === TRUST STRIP === */
.trust-strip {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.trust-strip-inner {
  display: flex;
  background:
    linear-gradient(180deg, rgba(0,255,136,0.05), rgba(0,255,136,0.015)),
    rgba(12,15,13,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,255,136,0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 18px;
  font-size: 0.82rem;
  color: var(--text-2);
  border-right: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1.05rem; flex-shrink: 0; }

/* === SECCIONES === */
section { position: relative; z-index: 1; padding: 80px 0; }
.diagnostico-section { padding-top: 0; padding-bottom: 100px; }

/* === CONTENEDOR FORM (estética .f2-card) === */
#diagnostico-form {
  max-width: 680px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(0,255,136,0.06) 0%, rgba(0,255,136,0.015) 45%, rgba(0,255,136,0.025) 100%),
    rgba(12,15,13,0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,255,136,0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 90px -30px rgba(0,255,136,0.28);
  overflow: hidden;
}

/* === BARRA DE PROGRESO === */
.progress-header {
  padding: 22px 32px 18px;
  border-bottom: 1px solid var(--border);
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}
.progress-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.progress-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: right;
  letter-spacing: 0.04em;
}
.progress-track {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  width: 12.5%;
}

/* === PANELES DE PASO === */
.step-panel {
  display: none;
  padding: 30px 32px;
  flex-direction: column;
  min-height: 400px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.step-panel.step-active { display: flex; }
.step-panel.step-enter  { opacity: 1; transform: none; }

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.step-subtitle {
  font-size: 0.86rem;
  color: var(--text-2);
  margin-bottom: 22px;
  line-height: 1.55;
}

/* === HONEYPOT === */
.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* === INPUTS (PASO 1) === */
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .input-grid { grid-template-columns: 1fr; } }

.input-group { margin-bottom: 18px; }
.input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 7px;
}
.input-group input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.input-group input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.input-group input.field-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px var(--error-glow);
}
.input-group input::placeholder { color: var(--text-3); }

.error-msg {
  display: block;
  font-size: 0.74rem;
  color: #ff8a97;
  margin-top: 5px;
  min-height: 16px;
  line-height: 1.4;
}
.step-error {
  display: none;
  font-size: 0.78rem;
  color: #ff8a97;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* === RADIO CARDS === */
.radio-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 9px;
  margin-bottom: 4px;
  flex: 1;
  align-content: start;
}
.radio-card-label { cursor: pointer; display: block; position: relative; }
.radio-card-label input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}
.radio-card-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  min-height: 52px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  user-select: none;
}
.radio-card-label:hover .radio-card-body {
  border-color: rgba(0,255,136,0.28);
  background: rgba(255,255,255,0.06);
}
.radio-card-label input[type="radio"]:checked ~ .radio-card-body {
  border-color: var(--accent);
  background: rgba(0,255,136,0.10);
  box-shadow: 0 0 0 1px var(--accent-line), 0 0 22px -6px rgba(0,255,136,0.45);
}
.radio-card-label input[type="radio"]:focus-visible ~ .radio-card-body {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.radio-dot {
  width: 16px; height: 16px;
  min-width: 16px;
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 50%;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s, background 0.18s;
  flex-shrink: 0;
}
.radio-card-label input[type="radio"]:checked ~ .radio-card-body .radio-dot {
  border-color: var(--accent);
  background: var(--accent);
}
.radio-dot::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--bg);
  display: none;
}
.radio-card-label input[type="radio"]:checked ~ .radio-card-body .radio-dot::after { display: block; }
.radio-card-text {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* === MULTI-SELECT CARDS === */
.multi-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 9px;
  margin-bottom: 4px;
  flex: 1;
  align-content: start;
}
.multi-card-label { cursor: pointer; display: block; position: relative; }
.multi-card-label input[type="checkbox"] {
  position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}
.multi-card-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  user-select: none;
}
.multi-card-label:hover .multi-card-body {
  border-color: rgba(0,255,136,0.28);
  background: rgba(255,255,255,0.06);
}
.multi-card-label input[type="checkbox"]:checked ~ .multi-card-body {
  border-color: var(--accent);
  background: rgba(0,255,136,0.10);
  box-shadow: 0 0 0 1px var(--accent-line), 0 0 22px -6px rgba(0,255,136,0.45);
}
.multi-card-label input[type="checkbox"]:focus-visible ~ .multi-card-body {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.multi-check {
  width: 16px; height: 16px;
  min-width: 16px;
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 4px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s;
  flex-shrink: 0;
}
.multi-card-label input[type="checkbox"]:checked ~ .multi-card-body .multi-check {
  border-color: var(--accent);
  background: var(--accent);
}
.multi-check-icon {
  font-size: 9px;
  font-weight: 900;
  color: var(--bg);
  display: none;
  line-height: 1;
}
.multi-card-label input[type="checkbox"]:checked ~ .multi-card-body .multi-check-icon { display: block; }
.multi-card-text {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.4;
}

/* === CAMPO "OTRO" RUBRO === */
#rubro-otro-wrap { display: none; margin-top: 12px; }
#rubro-otro-wrap input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#rubro-otro-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
#rubro-otro-wrap input::placeholder { color: var(--text-3); }

/* === ACCIONES DE PASO === */
.step-actions {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-btn-row { display: flex; gap: 10px; }
.btn-next {
  flex: 1;
  padding: 14px 20px;
  background: #131313;
  color: var(--accent);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.93rem;
  border: 1.5px solid var(--accent);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.25s, border-color 0.2s, transform 0.15s;
  box-shadow: 0 0 0 1px rgba(0,255,136,0.12), 0 0 24px -6px rgba(0,255,136,0.42);
}
.btn-next:hover {
  background: #171b18;
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 32px -6px rgba(0,255,136,0.58);
  transform: translateY(-1px);
}
.btn-next:active { transform: translateY(0); }
.btn-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; color: var(--text-3); border-color: var(--border-2); }
.btn-prev {
  padding: 12px 18px;
  background: #131313;
  color: var(--text-2);
  font-size: 0.86rem;
  border: 1px solid rgba(0,255,136,0.28);
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-prev:hover { color: var(--accent); background: #171b18; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* === CONSENTIMIENTO === */
.consent-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-3);
  line-height: 1.5;
}
.consent-note a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.consent-note a:hover { color: var(--accent); }

/* === ESCAPE LINKS EN EL FORM === */
.step-escape {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.step-escape span { font-size: 0.74rem; color: var(--text-3); }
.step-escape a {
  font-size: 0.74rem;
  color: var(--text-2);
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.step-escape a:hover { color: var(--text); border-color: var(--border-2); }

/* === PANTALLA DE RESULTADO === */
#result-screen { display: none; max-width: 680px; margin: 0 auto; }
.result-card {
  background:
    linear-gradient(180deg, rgba(0,255,136,0.06) 0%, rgba(0,255,136,0.015) 45%, rgba(0,255,136,0.025) 100%),
    rgba(12,15,13,0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,255,136,0.16);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 90px -30px rgba(0,255,136,0.28);
  text-align: center;
}
.result-card .kicker { text-align: center; }
.result-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.22;
}
.result-nombre { color: var(--accent); }

/* Badge temperatura */
.temp-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 14px 0 24px;
}
.temp-hot  { background: var(--accent-glow);       border: 1px solid var(--accent-line);      color: var(--accent); }
.temp-warm { background: rgba(255,180,0,0.10);      border: 1px solid rgba(255,180,0,0.35);    color: #ffb400; }
.temp-cold { background: rgba(150,160,180,0.08);    border: 1px solid rgba(150,160,180,0.28);  color: var(--text-2); }

.result-block {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: left;
  margin-bottom: 14px;
}
.result-block-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.result-block p { font-size: 0.92rem; color: var(--text); line-height: 1.6; }
.result-block p strong { color: var(--accent); }

.result-email-note {
  font-size: 0.82rem;
  color: var(--text-2);
  margin: 18px 0 28px;
  line-height: 1.55;
}
.result-email-note strong { color: var(--text); }

.result-actions { display: flex; flex-direction: column; gap: 10px; }
.result-actions .btn-primary,
.result-actions .btn-ghost { width: 100%; }

/* Error webhook */
.webhook-error {
  display: none;
  background: var(--error-glow);
  border: 1px solid rgba(239,68,68,0.24);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 18px;
  text-align: center;
}
.webhook-error p { font-size: 0.82rem; color: #ff8a97; margin-bottom: 10px; line-height: 1.5; }
#retry-btn {
  display: none;
  padding: 8px 20px;
  background: transparent;
  color: var(--text-2);
  font-size: 0.82rem;
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
#retry-btn:hover { color: var(--text); background: rgba(239,68,68,0.1); }
#retry-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* === FOOTER === */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-2);
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.footer-links a:hover { color: var(--text); border-color: var(--border-2); }
.footer-copy { font-size: 0.72rem; color: var(--text-3); }

/* === SCROLL REVEAL === */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .radio-cards-grid,
  .multi-cards-grid { grid-template-columns: 1fr; }

  #diagnostico-form { border-radius: var(--radius); }
  .step-panel       { padding: 22px 18px; }
  .progress-header  { padding: 18px 18px 14px; }
  .result-card      { padding: 30px 18px; }
  .progress-title   { display: none; }

  .hero-cta-group   { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-ghost { width: 100%; }

  .nav-escape .nav-back { display: none; }

  .trust-strip-inner { flex-direction: column; }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }
  .trust-item:last-child { border-bottom: none; }
}

@media (max-width: 479px) {
  .btn-next { font-size: 0.88rem; padding: 12px 14px; }
  .step-btn-row { flex-direction: column-reverse; }
  .btn-prev { width: 100%; text-align: center; }
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .step-panel { opacity: 1; transform: none; }
}
