/* ============================================================
   Landing 01 — Storytelling (caso de José)
   Overrides específicos de página sobre shared/styles.css
   ============================================================ */

/* --- HERO ------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-4) 0 var(--space-7);
}
@media (min-width: 768px) {
  .hero { padding: var(--space-5) 0 var(--space-8); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 10%, rgba(212, 175, 55, 0.10), transparent 70%),
    radial-gradient(80% 60% at 50% 100%, rgba(176, 196, 222, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero .ed-display { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero .ed-lead    { max-width: 56ch; margin-left: auto; margin-right: auto; }

/* Hero CTA & final CTA share this style (gold pill on navy) */
.hero-cta {
  background: var(--ed-gold) !important;
  color: var(--ed-navy) !important;
  border-color: var(--ed-gold) !important;
  padding: 18px 36px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.hero-cta:hover {
  background: var(--ed-white) !important;
  color: var(--ed-navy) !important;
  border-color: var(--ed-white) !important;
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.18) !important;
}

/* --- CTA final (sección 9): full-bleed navy, sin card ----- */

.ed-final-cta {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}
.ed-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 60% at 50% 100%, rgba(212, 175, 55, 0.12), transparent 70%);
  pointer-events: none;
}
.ed-final-cta > * { position: relative; z-index: 1; }
.ed-final-cta .ed-display { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* --- FAQ: padding del body un poco más relajado --------- */

@media (min-width: 768px) {
  .ed-faq > summary { padding: var(--space-4) 0; font-size: 1.125rem; }
}

/* --- Aire extra debajo del form para que el FAB no tape  */

@media (max-width: 640px) {
  .ed-section + .ed-section:last-of-type { padding-bottom: 7rem; }
}

/* ============================================================
   APLICACIÓN PASO A PASO (reemplaza el survey de GHL)
   Mismos componentes visuales que el quiz de landing 04
   ============================================================ */

.quiz-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ed-white);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  box-shadow: 0 12px 40px rgba(12, 27, 51, 0.08);
}
@media (min-width: 768px) {
  .quiz-card { padding: var(--space-6); }
}

/* --- Progress --- */
.quiz-progress {
  width: 100%;
  height: 4px;
  background: rgba(12, 27, 51, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--ed-gold);
  transition: width var(--t-base) var(--ease);
  border-radius: 999px;
}
.quiz-progress-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-muted);
  margin: 0 0 var(--space-4);
}

/* --- Pregunta --- */
.quiz-question {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1.25;
  color: var(--ed-navy);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .quiz-question { font-size: 2rem; }
}

.quiz-help {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ed-muted);
  margin: 0 0 var(--space-4);
}

/* --- Opciones --- */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: var(--space-4);
}
.quiz-option {
  width: 100%;
  text-align: left;
  background: var(--ed-white);
  color: var(--ed-ink);
  border: 1.5px solid rgba(12, 27, 51, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  position: relative;
  padding-left: 48px;
}
.quiz-option::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 27, 51, 0.25);
  background: var(--ed-white);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.quiz-option:hover {
  border-color: var(--ed-navy);
  background: var(--ed-pearl);
}
.quiz-option.is-selected {
  border-color: var(--ed-gold);
  background: rgba(212, 175, 55, 0.06);
}
.quiz-option.is-selected::before {
  border-color: var(--ed-gold);
  background: var(--ed-gold);
  box-shadow: inset 0 0 0 4px var(--ed-white);
}

/* --- Actions --- */
.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.quiz-back {
  padding: 12px 20px !important;
  font-size: 0.9375rem !important;
}
.quiz-next {
  padding: 14px 28px !important;
  background: var(--ed-navy) !important;
  color: var(--ed-white) !important;
  border-color: var(--ed-navy) !important;
}
.quiz-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.quiz-next:not(:disabled):hover {
  background: var(--ed-gold) !important;
  color: var(--ed-navy) !important;
  border-color: var(--ed-gold) !important;
}

/* --- Campos de contacto --- */
.quiz-gate-form { max-width: 440px; margin: 0 auto; }
.quiz-field { display: block; margin-bottom: var(--space-3); }
.quiz-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ed-navy);
  margin-bottom: 0.4rem;
}
.quiz-field input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid rgba(12, 27, 51, 0.15);
  border-radius: var(--radius-sm);
  background: var(--ed-white);
  color: var(--ed-ink);
  transition: border-color var(--t-fast) var(--ease);
}
.quiz-field input:focus {
  outline: none;
  border-color: var(--ed-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}
.quiz-field input.is-invalid {
  border-color: #C53030;
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.10);
}

.ed-form-error {
  display: block;
  min-height: 1.2em;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #C53030;
  line-height: 1.3;
}
.ed-form-error:empty { min-height: 0; margin-top: 0; }

/* --- intl-tel-input override para matchear el brand --- */
.iti { display: block !important; width: 100%; }
.iti__country-list {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(12, 27, 51, 0.10);
  box-shadow: 0 12px 32px rgba(12, 27, 51, 0.18);
  max-height: 280px;
}
.iti__country.iti__highlight { background: var(--ed-pearl); }
.iti__selected-flag {
  border-right: 1px solid rgba(12, 27, 51, 0.10);
  padding: 0 12px 0 14px;
}
.iti--separate-dial-code .iti__selected-dial-code {
  color: var(--ed-navy);
  font-weight: 600;
  font-size: 0.9375rem;
}
.iti--separate-dial-code .iti__selected-flag { background: var(--ed-pearl); }
.iti__divider { border-bottom: 1px solid rgba(12, 27, 51, 0.08); }
.iti input[type="tel"] { padding-left: 100px !important; }

