/* ==========================================================================
   SIMULADOR PATRIMONIAL MÉXICO - ESTILOS CSS FINTECH (QUIZ FUNNEL)
   Optimizado para Google Ads Search, alta conversión y 100% responsivo
   ========================================================================== */

:root {
  --primary-navy: #0A2540;
  --primary-dark: #06182A;
  --secondary-navy: #1A365D;
  --accent-emerald: #00C076;
  --accent-emerald-dark: #00875A;
  --accent-emerald-light: #E6F8F1;
  --accent-gold: #C29B38;
  --accent-gold-light: #FFF8E6;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-focus: #00C076;
  --danger-color: #EF4444;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(10, 37, 64, 0.08), 0 8px 10px -6px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(10, 37, 64, 0.15);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP NOTICE BAR */
.top-bar {
  background-color: var(--primary-dark);
  color: #E2E8F0;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 192, 118, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 192, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(0, 192, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 192, 118, 0); }
}

.top-bar-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
}

.separator {
  opacity: 0.4;
}

/* SITE HEADER */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-country {
  font-size: 0.65rem;
  font-weight: 700;
  background-color: var(--accent-emerald-light);
  color: var(--accent-emerald-dark);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 192, 118, 0.2);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-security {
  display: flex;
  align-items: center;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F1F5F9;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.shield-svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald-dark);
  flex-shrink: 0;
}

.sec-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sec-text strong {
  font-size: 0.75rem;
  color: var(--primary-navy);
}

.sec-text span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* HERO SECTION */
.hero-intro {
  text-align: center;
  padding: 36px 0 24px;
  max-width: 820px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sparkle-icon {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.hero-title .text-accent {
  color: #1D4ED8;
  background: linear-gradient(135deg, #1E40AF 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* QUIZ CARD WRAPPER */
.quiz-card-wrapper {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 36px 40px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

/* PROGRESS BAR */
.quiz-progress-section {
  margin-bottom: 30px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-counter {
  color: var(--primary-navy);
}

.progress-percent {
  color: var(--accent-emerald-dark);
  font-family: var(--font-mono);
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00C076 0%, #10B981 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* QUIZ STEPS */
.quiz-step {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quiz-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-header {
  margin-bottom: 24px;
}

.step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald-dark);
  background-color: var(--accent-emerald-light);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step-question {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.step-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* QUIZ OPTIONS GRID */
.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  text-align: left;
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  width: 100%;
}

.quiz-option-btn:hover {
  border-color: #00C076;
  background-color: #F8FCF9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 192, 118, 0.12);
}

.quiz-option-btn:active {
  transform: translateY(0);
}

.option-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #F1F5F9;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 16px;
  transition: var(--transition);
}

.option-icon svg {
  width: 22px;
  height: 22px;
}

.quiz-option-btn:hover .option-icon {
  background-color: var(--accent-emerald-light);
  color: var(--accent-emerald-dark);
}

.amount-icon span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
}

.option-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.option-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.option-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.option-arrow {
  font-size: 1.25rem;
  font-weight: 700;
  color: #94A3B8;
  margin-left: 12px;
  transition: var(--transition);
}

.quiz-option-btn:hover .option-arrow {
  color: var(--accent-emerald-dark);
  transform: translateX(4px);
}

.option-badge {
  position: absolute;
  top: -9px;
  right: 18px;
  font-size: 0.65rem;
  font-weight: 800;
  background-color: #E2E8F0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.option-badge.popular-badge {
  background-color: #F59E0B;
  color: #FFFFFF;
}

.bank-opt .option-arrow {
  color: var(--accent-emerald-dark);
}

/* STEP NAVIGATION FOOTER */
.step-nav-footer {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.btn-prev-step {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  transition: var(--transition);
}

.btn-prev-step:hover {
  color: var(--primary-navy);
  text-decoration: underline;
}

/* STEP 5: PROCESSING ANIMATION */
.processing-wrap {
  text-align: center;
  padding: 30px 20px;
  max-width: 580px;
  margin: 0 auto;
}

.processing-spinner {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto 24px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
}

@keyframes sk-bounce {
  0%, 100% { transform: scale(0.0); }
  50% { transform: scale(1.0); }
}

.processing-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.processing-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  min-height: 24px;
}

.processing-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  background-color: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.proc-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.proc-check-item.done {
  color: var(--primary-navy);
  font-weight: 600;
}

.proc-check-item.done .chk-icon {
  color: var(--accent-emerald-dark);
}

/* STEP 6: RESULT & FORM */
.result-header {
  text-align: center;
  margin-bottom: 28px;
}

.qualification-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--accent-emerald-light);
  color: var(--accent-emerald-dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 192, 118, 0.3);
  margin-bottom: 12px;
}

.badge-icon {
  font-weight: 900;
}

.result-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.result-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* METRICS COMPARISON CARD */
.result-metrics-card {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.metric-comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 20px;
  align-items: center;
}

.metric-column {
  padding: 20px;
  border-radius: var(--radius-md);
  position: relative;
}

.metric-column.cetes-side {
  background-color: #F1F5F9;
  border: 1px solid #CBD5E1;
}

.metric-column.dynamic-side {
  background-color: #0A2540;
  color: #FFFFFF;
  border: 2px solid #00C076;
  box-shadow: 0 10px 30px -5px rgba(0, 192, 118, 0.25);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #00C076;
  color: #0A2540;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cetes-side .metric-label {
  color: #64748B;
}

.dynamic-side .metric-label {
  color: #94A3B8;
}

.metric-amount-muted {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: #475569;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-amount-highlight {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 800;
  color: #00C076;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-period {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.cetes-side .metric-period {
  color: #94A3B8;
}

.dynamic-side .metric-period {
  color: #CBD5E1;
}

.weekly-payout-chip {
  background-color: rgba(0, 192, 118, 0.15);
  border: 1px solid rgba(0, 192, 118, 0.4);
  color: #FFFFFF;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: inline-block;
}

.weekly-payout-chip strong {
  color: #00C076;
}

.metric-features-muted, .metric-features-highlight {
  list-style: none;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-features-muted li {
  color: #64748B;
}

.metric-features-highlight li {
  color: #E2E8F0;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #E2E8F0;
  color: var(--primary-navy);
  font-weight: 800;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.capital-selected-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.capital-selected-bar strong {
  color: var(--primary-navy);
}

/* LEAD FORM STYLES */
.lead-capture-box {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
}

.form-intro {
  margin-bottom: 22px;
  text-align: center;
}

.form-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.form-instructions {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.diagnostic-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-email-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  background-color: #F8FAFC;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.input-with-icon:focus-within {
  background-color: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 192, 118, 0.15);
}

.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 22px;
  height: 22px;
  color: #94A3B8;
  pointer-events: none;
}

.form-input {
  flex: 1;
  height: 100%;
  padding: 0 16px 0 46px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
}

.form-input:focus {
  outline: none;
}

/* PHONE CONTROL — intlTelInput */
.phone-input-container {
  height: 50px;
  background-color: #F8FAFC;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  overflow: visible;
}

.phone-input-container:focus-within {
  background-color: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 192, 118, 0.15);
}

.phone-input-container .iti {
  width: 100%;
  height: 100%;
  display: block;
}

.phone-input {
  border: none !important;
  background: transparent !important;
  padding: 0 14px 0 86px !important;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  font-weight: 600;
  height: 100%;
  width: 100%;
}

.field-error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--danger-color);
  font-weight: 600;
  margin-top: 4px;
}

.form-group.has-error .form-input,
.form-group.has-error .phone-input-container {
  border-color: var(--danger-color);
  background-color: #FEF2F2;
}

.form-group.has-error .field-error-msg {
  display: block;
}

/* CONSENT */
.consent-group {
  margin-top: 4px;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #CBD5E1;
  border-radius: 4px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.consent-checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background-color: var(--accent-emerald-dark);
  border-color: var(--accent-emerald-dark);
}

.consent-checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
}

.consent-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.legal-trigger {
  color: #1D4ED8;
  text-decoration: underline;
  cursor: pointer;
}

.legal-trigger:hover {
  color: #0F172A;
}

/* SUBMIT CTA BUTTON */
.submit-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #00C076 0%, #00875A 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 192, 118, 0.35);
  transition: var(--transition);
  margin-top: 8px;
}

.submit-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 192, 118, 0.45);
}

.submit-cta-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.submit-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.submit-cta-btn.loading .btn-spinner {
  display: inline-block;
}

.submit-cta-btn.loading .btn-arrow,
.submit-cta-btn.loading .btn-text {
  display: none;
}

/* TRUST GUARANTEES */
.form-trust-guarantees {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
}

.trust-icon {
  width: 16px;
  height: 16px;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 20px 0 48px;
}

.section-title-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #00875A;
  background-color: var(--accent-emerald-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-emerald);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.user-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rating-stars {
  font-size: 0.75rem;
  color: #F59E0B;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.verified-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-emerald-dark);
  background-color: var(--accent-emerald-light);
  padding: 1px 6px;
  border-radius: 4px;
}

.testi-quote {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 16px;
  flex-grow: 1;
}

.testi-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.7rem;
  font-weight: 600;
}

.capital-tag {
  color: var(--primary-navy);
}

.status-tag {
  color: var(--accent-emerald-dark);
}

/* FAQ SECTION */
.faq-section {
  padding: 10px 0 48px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: #94A3B8;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-emerald-dark);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--text-dark);
}

/* SITE FOOTER */
.site-footer {
  background-color: var(--primary-dark);
  color: #94A3B8;
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-logo strong {
  display: block;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.footer-logo span {
  font-size: 0.75rem;
  color: #64748B;
}

.footer-links-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links-nav a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links-nav a:hover {
  color: var(--accent-emerald);
}

.footer-links-nav .sep {
  color: #475569;
}

.footer-disclaimer-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disclaimer-text {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #64748B;
}

.disclaimer-text strong {
  color: #94A3B8;
}

.copyright-text {
  font-size: 0.7rem;
  color: #475569;
  margin-top: 8px;
}

/* MODAL WINDOWS */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 24, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  display: none;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn 0.25s ease;
}

.modal-window.active {
  display: block;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  font-weight: 800;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748B;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close-btn:hover {
  color: var(--primary-navy);
}

.modal-body {
  padding: 24px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
}

.modal-body h4 {
  font-size: 1rem;
  color: var(--primary-navy);
  margin: 16px 0 8px;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.modal-body code {
  background-color: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  color: #1D4ED8;
  font-family: var(--font-mono);
}

/* SUCCESS MODAL SPECIFIC */
.success-modal-body {
  text-align: center;
  padding: 32px 24px;
}

.success-badge-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C076 0%, #00875A 100%);
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 20px rgba(0, 192, 118, 0.3);
}

.success-modal-body h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.success-ticket {
  background-color: #F1F5F9;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 20px auto;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.success-ticket span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.success-ticket strong {
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--primary-navy);
}

.success-note {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 24px;
}

.btn-close-success {
  background: var(--primary-navy);
  color: #FFFFFF;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-close-success:hover {
  background-color: #06182A;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST OVERFLOW SAFETY)
   ========================================================================== */

@media (max-width: 992px) {
  .metric-comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vs-divider {
    margin: -8px auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quiz-card-wrapper {
    padding: 24px 20px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .phone-email-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }

  .top-bar-info {
    display: none;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    display: none;
  }

  .header-security {
    display: none;
  }

  .quiz-option-btn {
    padding: 14px 16px;
  }

  .option-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
  }

  .option-icon svg {
    width: 18px;
    height: 18px;
  }

  .option-title {
    font-size: 0.95rem;
  }

  .option-desc {
    font-size: 0.78rem;
  }

  .lead-capture-box {
    padding: 18px 14px;
  }

  .metric-amount-highlight {
    font-size: 1.9rem;
  }

  .metric-amount-muted {
    font-size: 1.5rem;
  }

  .submit-cta-btn {
    font-size: 0.9rem;
    height: 52px;
  }
}
