/* =========================================================
   DOXA — Waitlist Landing
   Sistema de diseño: tokens, base, componentes, utilidades
   ========================================================= */

:root {
  /* Color — identidad DOXA: blanco / negro / naranja, look premium */
  --ink: #0a0a0a;
  --ink-soft: #262626;
  --ink-muted: #737373;
  --cream: #ffffff;
  --cream-2: #f4f4f4;
  --paper: #ffffff;
  --line: #e5e5e5;
  --line-soft: #ececec;

  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #fef0e6;
  --gold: #ea580c;
  --gold-soft: #fde3cc;

  --dark: #0a0a0a;
  --dark-2: #151515;
  --dark-line: #2b2b2b;
  --on-dark: #ffffff;
  --on-dark-muted: #a3a3a3;

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --danger: #dc2626;

  /* Tipografía */
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Escala */
  --step-1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step2: clamp(1.4rem, 1.28rem + 0.6vw, 1.75rem);
  --step3: clamp(1.75rem, 1.5rem + 1.2vw, 2.4rem);
  --step4: clamp(2.1rem, 1.7rem + 2vw, 3.2rem);
  --step5: clamp(2.5rem, 1.9rem + 3vw, 4rem);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 999px;

  --shadow-s: 0 1px 2px rgba(10, 10, 10, 0.06), 0 1px 1px rgba(10, 10, 10, 0.04);
  --shadow-m: 0 8px 24px rgba(10, 10, 10, 0.08);
  --shadow-l: 0 16px 48px rgba(10, 10, 10, 0.14);

  --container: 1180px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; }

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: var(--on-dark); }
.on-dark p { color: var(--on-dark-muted); }

/* ---------- Foco accesible ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--dark { background: var(--dark); }
.section--alt { background: var(--cream-2); }

.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.on-dark .eyebrow {
  color: #fdba74;
  background: rgba(234, 88, 12, 0.16);
}
.section-title { font-size: var(--step3); }
.section-lead { font-size: var(--step1); max-width: 56ch; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease), opacity 0.15s var(--ease);
  box-shadow: var(--shadow-s);
  width: 100%;
}
@media (min-width: 560px) { .btn { width: auto; } }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); transition-duration: 0.1s; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn--primary { --btn-bg: var(--accent); --btn-fg: #ffffff; }
.btn--primary:hover {
  --btn-bg: var(--accent-dark);
  box-shadow: 0 18px 34px -12px rgba(234, 88, 12, 0.45), var(--shadow-m);
}

/* ---------- Tilt sutil (tarjetas de ruta y beneficios) ---------- */
.has-tilt {
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--ease);
}
.has-tilt:hover { transition-duration: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  .has-tilt { transform: none !important; }
}
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); border: 1.5px solid var(--line); }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #06210f; }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-dark); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.link-quiet {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 18px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-s);
  padding: 6px;
}
.logo__mark img { width: 100%; height: 100%; object-fit: contain; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.on-dark .logo__text { color: var(--on-dark); }
.on-dark .logo__text small { color: var(--on-dark-muted); }

/* ---------- HERO ---------- */
/* Mesh gradient de firma: respiración lenta y sutil en naranja de marca. */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -10%;
  z-index: -1;
  background:
    radial-gradient(42% 38% at var(--mesh-x) var(--mesh-y), rgba(234, 88, 12, 0.16), transparent 65%),
    conic-gradient(from var(--mesh-angle), rgba(234, 88, 12, 0.07), transparent 35%, rgba(234, 88, 12, 0.05), transparent 75%);
  filter: blur(70px);
  animation: heroMeshShift 26s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroMeshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 22%; --mesh-y: 30%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 62%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 22%; --mesh-y: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation-duration: 120s; }
}
.hero__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero__title {
  font-size: var(--step5);
  max-width: 15ch;
}
.hero__subtitle {
  font-size: var(--step1);
  max-width: 46ch;
  color: var(--ink-soft);
}
.hero__benefits {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
}
.hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: var(--step0);
  color: var(--ink);
}
.hero__benefits svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 1px;
}
.hero__trust {
  margin-top: 16px;
  font-size: var(--step-1);
  color: var(--ink-muted);
}
.hero__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 5;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero__media-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(10,10,10,0.72), rgba(10,10,10,0));
  color: #fff;
  font-size: var(--step-1);
  font-weight: 600;
}

/* ---------- Formulario ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-m);
}
.form-card__head { margin-bottom: 22px; }
.form-card__head h2 { font-size: var(--step2); margin-bottom: 8px; }
.form-card__head p { margin: 0; color: var(--ink-muted); font-size: var(--step0); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-size: 1rem;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.field input:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fbeceb;
}
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 7px;
}
.field-error.is-visible { display: flex; }

.choice-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.choice-card { position: relative; }
.choice-card input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choice-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 14px 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--cream);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.1s var(--ease);
  min-height: 84px;
}
.choice-card label svg { width: 22px; height: 22px; color: var(--ink-muted); transition: color 0.15s var(--ease); }
.choice-card input:checked + label {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.choice-card input:checked + label svg { color: var(--accent-dark); }
.choice-card input:focus-visible + label {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.field-checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 14px 0 0;
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.9rem;
}
.form-status.is-visible { display: flex; }
.form-status--error { background: #fbeceb; color: var(--danger); }
.form-status--loading { background: var(--cream-2); color: var(--ink-soft); }

.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Video ---------- */
.video-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 16 / 9;
  background: var(--ink);
  cursor: pointer;
  border: none;
  width: 100%;
  padding: 0;
}
.video-frame img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
}
.video-frame__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.video-frame__play span {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-l);
  transition: transform 0.2s var(--ease);
}
.video-frame:hover .video-frame__play span { transform: scale(1.06); }
.video-frame__play svg { width: 28px; height: 28px; color: var(--ink); margin-left: 4px; }
.video-frame__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(10,10,10,0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.video-frame iframe, .video-frame video {
  width: 100%; height: 100%; border: none; display: block;
}

/* ---------- Tarjetas de beneficios ---------- */
.grid-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.benefit-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  box-shadow: var(--shadow-s);
}
.benefit-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.benefit-card__icon svg { width: 24px; height: 24px; }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.benefit-card p { font-size: 0.94rem; margin: 0; }

/* ---------- Dos rutas ---------- */
.routes {
  display: grid;
  gap: 24px;
}
@media (min-width: 800px) { .routes { grid-template-columns: 1fr 1fr; } }
.route-card {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-s);
}
.route-card__media { aspect-ratio: 3/4; overflow: hidden; }
.route-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.route-card__body { padding: 24px; }
.route-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.route-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.routes-note {
  text-align: center;
  max-width: 56ch;
  margin: 26px auto 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ---------- Fundadores ---------- */
.founders {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .founders { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.founders__media {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.founders__media img { width: 100%; height: auto; display: block; }
.founders__credentials {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
@media (min-width: 480px) { .founders__credentials { grid-template-columns: 1fr 1fr; } }
.credential {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
}
.credential strong { display: block; font-size: 1rem; margin-bottom: 3px; color: var(--on-dark); }
.credential span { font-size: 0.88rem; color: var(--on-dark-muted); }

.award-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-m);
  background: rgba(234, 88, 12, 0.14);
  border: 1px solid rgba(234, 88, 12, 0.4);
  margin-top: 8px;
}
.award-strip img {
  width: 56px; height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.award-strip span { font-size: 0.92rem; font-weight: 600; color: var(--gold-soft); }

/* ---------- Vista previa academia ---------- */
.preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.preview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .preview-grid { grid-template-columns: repeat(3, 1fr); } }
.preview-tile {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark-2);
  box-shadow: var(--shadow-s);
}
.preview-tile img { width: 100%; height: 100%; object-fit: contain; }
.preview-tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.78), rgba(0,0,0,0));
}

/* ---------- Testimonios ---------- */
.testi-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.testi-rating svg { width: 18px; height: 18px; color: var(--gold); }

.testi-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.testi-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: 22px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.95rem; }
.testi-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent-dark);
}
.testi-stars { display: flex; gap: 2px; }
.testi-stars svg { width: 14px; height: 14px; color: var(--gold); }
.testi-card p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }
.testi-source {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ---------- Cómo funciona ---------- */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: var(--radius-m);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-s);
}
.step-card__num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-card p { font-size: 0.94rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--container-narrow); margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.faq-item summary .plus svg { width: 14px; height: 14px; }
.faq-item[open] summary .plus { background: var(--ink); color: var(--cream); transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 4px 20px; color: var(--ink-muted); max-width: 65ch; }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  display: grid;
  align-items: stretch;
}
@media (min-width: 860px) { .final-cta { grid-template-columns: 1fr 1fr; } }
.final-cta__media { min-height: 260px; }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.final-cta__body {
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.final-cta__body h2 { font-size: var(--step3); }
.final-cta__body p { color: var(--on-dark-muted); font-size: var(--step0); max-width: 42ch; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.site-footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
}
.site-footer__links a { text-decoration: none; color: var(--ink-muted); }
.site-footer__links a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__base {
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  z-index: 100;
  transition: top 0.15s var(--ease);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Modal (testimonio original) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}
.modal-backdrop.is-open { display: flex; }
.modal-box {
  background: var(--paper);
  border-radius: var(--radius-m);
  max-width: 420px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  padding: 18px;
  position: relative;
}
.modal-box img { border-radius: var(--radius-s); width: 100%; }
.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ---------- Confirmación (gracias) ---------- */
.confirm-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.confirm-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0;
}
.confirm-card {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.confirm-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.confirm-avatars {
  display: flex;
  justify-content: center;
  margin: 22px 0;
}
.confirm-avatars img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-m);
}
.confirm-list {
  list-style: none;
  display: grid;
  gap: 12px;
  text-align: left;
  max-width: 380px;
  margin: 24px auto 30px;
}
.confirm-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.confirm-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.confirm-hint {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 16px;
}

/* ---------- Responsive helpers ---------- */
@media (max-width: 480px) {
  .choice-group { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .choice-card label { padding: 10px 4px; font-size: 0.78rem; min-height: 74px; }
  .choice-card label svg { width: 18px; height: 18px; }
}
