/* ============================================================
   F2AIA — Diagnóstico de Automatización Comercial
   styles.css v20260617
   Extiende el sistema de diseño de la landing principal
   ============================================================ */

/* === VARIABLES (idénticas a la landing) === */
:root {
  --bg:           #0e1628;
  --bg-card:      #162033;
  --bg-card-2:    #1b2640;
  --green:        #00FF88;
  --green-dim:    #00CC6A;
  --green-glow:   rgba(0,255,136,0.12);
  --green-border: rgba(0,255,136,0.30);
  --white:        #ffffff;
  --muted:        rgba(255,255,255,0.50);
  --muted-2:      rgba(255,255,255,0.26);
  --border:       rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.18);
  --shadow-card:  0 4px 32px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.06) inset;
  --shadow-float: 0 16px 64px rgba(0,0,0,0.75), 0 1px 0 rgba(255,255,255,0.07) inset;
  --nav-h:        66px;
  --container:    1200px;
  --radius:       14px;
  --radius-sm:    8px;
}

/* === 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: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
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; }

/* === BACKGROUND GRID (idéntico a landing) === */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(100,140,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,140,255,0.10) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-grid::before {
  content: '';
  position: absolute;
  top: -5%; right: -10%;
  width: 60%; height: 90%;
  background: radial-gradient(ellipse at 60% 40%,
    rgba(0,255,136,0.13) 0%, rgba(0,200,100,0.05) 40%, transparent 70%);
  pointer-events: none;
}
.bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 140% 50% at 50% 105%, rgba(11,17,32,0.98) 0%, transparent 65%),
    radial-gradient(ellipse 60% 30% at 0% 50%,   rgba(11,17,32,0.6)  0%, transparent 50%),
    radial-gradient(ellipse 60% 30% at 100% 50%, rgba(11,17,32,0.6)  0%, transparent 50%);
}

/* === CONTAINER === */
.container {
  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: 'Space Mono', monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.green-text { color: var(--green); }

/* === 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(8,8,16,0.88);
  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: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo span { color: var(--green); }

.nav-escape {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-back {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-back:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}
.nav-demo-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid var(--green-border);
  transition: background 0.2s, border-color 0.2s;
}
.nav-demo-btn:hover {
  background: var(--green-glow);
  border-color: rgba(0,255,136,0.45);
}

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 52px) 0 44px;
  text-align: center;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 5.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 28px;
}
.badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 5px 14px;
  white-space: nowrap;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 0;
}

/* === BOTONES === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--green);
  color: #081018;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.15s;
  box-shadow: 0 0 28px rgba(0,255,136,0.40), 0 0 8px rgba(0,255,136,0.20);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  background: #1affaa;
  border-color: #1affaa;
  box-shadow: 0 0 48px rgba(0,255,136,0.55), 0 0 16px rgba(0,255,136,0.35);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 0 20px rgba(0,255,136,0.35); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  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(--white);
  border-color: var(--green-border);
  background: rgba(0,255,136,0.05);
  box-shadow: 0 0 16px rgba(0,255,136,0.12);
}

/* === 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: var(--bg-card);
  border: 1px solid var(--border);
  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(--muted);
  border-right: 1px solid var(--border);
  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;
}

/* === SECCIÓN DIAGNÓSTICO === */
.diagnostico-section {
  padding-top: 0;
  padding-bottom: 100px;
}

/* === CONTENEDOR FORM === */
#diagnostico-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-float);
  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: 10px;
  gap: 8px;
}
.progress-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.progress-title {
  font-size: 0.78rem;
  color: var(--muted-2);
  text-align: right;
}
.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(--green), var(--green-dim));
  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: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 5px;
  line-height: 1.35;
}
.step-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}

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

.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(--muted);
  margin-bottom: 6px;
}
.input-group input {
  width: 100%;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  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(--green-border);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.08);
}
.input-group input.field-error {
  border-color: #ff4d6a;
  box-shadow: 0 0 0 3px rgba(255,77,106,0.09);
}
.input-group input::placeholder { color: var(--muted-2); }

.error-msg {
  display: block;
  font-size: 0.74rem;
  color: #ff7089;
  margin-top: 4px;
  min-height: 16px;
  line-height: 1.4;
}
.step-error {
  display: none;
  font-size: 0.78rem;
  color: #ff7089;
  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: var(--bg-card-2);
  border: 1px solid var(--border);
  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: var(--border-hover);
  background: rgba(255,255,255,0.04);
}
.radio-card-label input[type="radio"]:checked ~ .radio-card-body {
  border-color: var(--green);
  background: var(--green-glow);
  box-shadow: 0 0 0 1px var(--green-border);
}
.radio-card-label input[type="radio"]:focus-visible ~ .radio-card-body {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.radio-dot {
  width: 16px; height: 16px;
  min-width: 16px;
  border: 1.5px solid var(--border-hover);
  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(--green);
  background: var(--green);
}
.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(--white);
  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: var(--bg-card-2);
  border: 1px solid var(--border);
  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: var(--border-hover);
  background: rgba(255,255,255,0.04);
}
.multi-card-label input[type="checkbox"]:checked ~ .multi-card-body {
  border-color: var(--green);
  background: var(--green-glow);
  box-shadow: 0 0 0 1px var(--green-border);
}
.multi-card-label input[type="checkbox"]:focus-visible ~ .multi-card-body {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.multi-check {
  width: 16px; height: 16px;
  min-width: 16px;
  border: 1.5px solid var(--border-hover);
  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(--green);
  background: var(--green);
}
.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(--white);
  line-height: 1.4;
}

/* === CAMPO "OTRO" RUBRO === */
#rubro-otro-wrap {
  display: none;
  margin-top: 12px;
}
#rubro-otro-wrap input {
  width: 100%;
  background: var(--bg-card-2);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#rubro-otro-wrap input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.08);
}
#rubro-otro-wrap input::placeholder { color: var(--muted-2); }

/* === 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: var(--green);
  color: #081018;
  font-weight: 800;
  font-size: 0.93rem;
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.15s;
  box-shadow: 0 0 24px rgba(0,255,136,0.35), 0 0 8px rgba(0,255,136,0.18);
}
.btn-next:hover {
  background: #1affaa;
  border-color: #1affaa;
  box-shadow: 0 0 40px rgba(0,255,136,0.50), 0 0 12px rgba(0,255,136,0.28);
  transform: translateY(-1px);
}
.btn-next:active { transform: translateY(0); }
.btn-next:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-prev {
  padding: 12px 18px;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-prev:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}

/* === 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(--muted-2);
}
.step-escape a {
  font-size: 0.74rem;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.step-escape a:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.05);
}

/* === PANTALLA DE RESULTADO === */
#result-screen {
  display: none;
  max-width: 680px;
  margin: 0 auto;
}
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-float);
  text-align: center;
}
.result-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.25;
}
.result-nombre { color: var(--green); }

/* Badge temperatura */
.temp-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 14px 0 24px;
}
.temp-hot  { background: rgba(0,255,136,0.12);  border: 1px solid rgba(0,255,136,0.4);   color: var(--green); }
.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: rgba(255,255,255,0.45); }

.result-block {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: left;
  margin-bottom: 14px;
}
.result-block-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
  display: block;
}
.result-block p {
  font-size: 0.91rem;
  color: var(--white);
  line-height: 1.6;
}
.result-block p strong { color: var(--green); }

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

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

/* Error webhook */
.webhook-error {
  display: none;
  background: rgba(255,77,106,0.07);
  border: 1px solid rgba(255,77,106,0.22);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 18px;
  text-align: center;
}
.webhook-error p {
  font-size: 0.82rem;
  color: #ff8093;
  margin-bottom: 10px;
  line-height: 1.5;
}
#retry-btn {
  display: none;
  padding: 8px 20px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  border: 1px solid rgba(255,77,106,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
#retry-btn:hover  { color: var(--white); background: rgba(255,77,106,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: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-logo span { color: var(--green); }
.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-links a:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--muted-2);
}

/* === 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: 14px; }
  .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 { justify-content: center; }

  .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; }
}
