/* ==========================================================================
   Connectabot — Landing page
   Guía de estilos: brand/temp/land_page_spec.txt (estructura) +
   brand/reference/ (paleta e identidad real de marca — logo azul→violeta)
   Mobile-first · breakpoints: 641px (tablet) / 1025px (desktop)
   ========================================================================== */

:root {
  /* Paleta de marca (derivada del logo real) */
  --color-brand-blue: #2F5CFF;
  --color-brand-violet: #8B3CF0;
  --gradient-brand: linear-gradient(135deg, var(--color-brand-blue), var(--color-brand-violet));
  --color-navy: #0B0F1A;         /* fondo oscuro — footer, CTA final, cara del bot */

  /* Paleta funcional */
  --color-primary: #0B0F1A;      /* texto/UI oscura de confianza (antes azul grisáceo) */
  --color-accent: #22D3A6;       /* Verde menta — acción/éxito, tomado del logo */
  --color-accent-hover: #17B78D;
  --color-accent-active: #109871;
  --color-danger: #EF4444;
  --color-bg-light: #F9FAFB;
  --color-text: #0B0F1A;
  --color-text-secondary: #6B7280;
  --color-border: #E5E7EB;

  /* Tipografía */
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Courier New', monospace;

  /* Espaciado */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 48px;
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-sm);
}

.container--narrow { max-width: 800px; }

.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--sp-sm);
}

.section-subtext {
  font-size: 16px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--sp-xl);
}

@media (min-width: 1025px) {
  .section-title { font-size: 32px; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-out;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
}
.btn--primary:hover {
  box-shadow: 0px 4px 12px rgba(139, 60, 240, 0.35);
  filter: brightness(1.08);
}
.btn--primary:active {
  filter: brightness(0.95);
  transform: scale(0.98);
}

.btn--sm { font-size: 14px; padding: 12px 24px; }

.btn--lg {
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(47, 92, 255, 0.25);
}
.btn--lg:hover {
  box-shadow: 0px 8px 20px rgba(139, 60, 240, 0.35);
  transform: translateY(-2px);
}

.btn--outline-green {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent-hover);
  font-size: 15px;
  padding: 12px 24px;
}
.btn--outline-green:hover { background: var(--color-accent); color: #FFFFFF; }

.btn--outline-dark {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 15px;
  padding: 12px 24px;
}
.btn--outline-dark:hover { background: var(--color-primary); color: #FFFFFF; }

/* Pulse sutil del CTA hero (cada 3s) */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pulse { animation: pulse 3s ease-in-out infinite; }
.pulse:hover { animation-play-state: paused; }

/* ==========================================================================
   SECCIÓN 1: NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  padding: var(--sp-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.navbar__logo:hover { opacity: 0.8; }

.navbar__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
}

.brand-accent { color: var(--color-brand-violet); }

.navbar__nav {
  display: none; /* mobile: colapsado */
}

.navbar__nav a:not(.btn) {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.navbar__nav a:not(.btn):hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.navbar__cta { display: none; }
.navbar__cta-mobile { width: 100%; }

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  transition: transform 0.2s, opacity 0.2s;
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú mobile abierto */
.navbar__nav.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.08);
  padding: var(--sp-md) var(--sp-sm);
}

@media (min-width: 1025px) {
  .navbar__nav {
    display: flex;
    gap: var(--sp-md);
    align-items: center;
  }
  .navbar__cta { display: inline-block; }
  .navbar__cta-mobile { display: none; }
  .navbar__hamburger { display: none; }
}

/* ==========================================================================
   SECCIÓN 2: HERO
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%);
  padding: 60px var(--sp-sm);
  text-align: center;
}

.hero__headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto var(--sp-md);
}

.hero__subheadline {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

.hero__cta {
  min-width: 300px;
  margin: 0 auto 20px;
}

.hero__trust {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: var(--sp-sm);
  opacity: 0.9;
}

/* Comparación antes/después */
.hero__compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.compare-card {
  border-radius: 12px;
  padding: var(--sp-md);
}
.compare-card--before {
  background: #FEE2E2;
  border: 2px solid #FCA5A5;
}
.compare-card--after {
  background: #ECFDF5;
  border: 2px solid #A7F3D0;
}

.compare-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: var(--sp-sm);
}

.chat { font-family: var(--font-mono); font-size: 13px; color: var(--color-text); }
.chat__author { font-weight: 700; margin-top: var(--sp-xs); }
.chat__msg { margin: 4px 0; }
.chat__time { font-size: 11px; color: #9CA3AF; margin-bottom: var(--sp-xs); }
.chat__divider { border: none; border-top: 1px solid rgba(0, 0, 0, 0.1); margin: var(--sp-sm) 0; }

.compare-card__result {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  margin-top: var(--sp-xs);
}
.compare-card__result--bad { color: var(--color-danger); }
.compare-card__result--good { color: var(--color-accent); }

@media (min-width: 1025px) {
  .hero { padding: 80px var(--sp-md); }
  .hero__headline { font-size: 56px; }
  .hero__subheadline { font-size: 18px; }
  .hero__compare { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero__cta { width: 100%; min-width: 0; padding-left: var(--sp-sm); padding-right: var(--sp-sm); }
}

/* ==========================================================================
   SECCIÓN 3: PROBLEMA
   ========================================================================== */
.problems {
  background: #FFFFFF;
  padding: 80px var(--sp-sm);
}

.problems .section-title { margin-bottom: 60px; }

.problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  border-radius: 12px;
  padding: var(--sp-lg) var(--sp-md);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.problem-card:hover { transform: translateY(-4px); }

.problem-card--red {
  background: #FEE2E2;
  border: 2px solid #FECACA;
  box-shadow: 0px 4px 12px rgba(239, 68, 68, 0.1);
}
.problem-card--red:hover { box-shadow: 0px 8px 20px rgba(239, 68, 68, 0.15); }

.problem-card--yellow {
  background: #FEF3C7;
  border: 2px solid #FCD34D;
  box-shadow: 0px 4px 12px rgba(245, 158, 11, 0.1);
}
.problem-card--yellow:hover { box-shadow: 0px 8px 20px rgba(245, 158, 11, 0.15); }

.problem-card--blue {
  background: #EDE7FE;
  border: 2px solid #D8CCFB;
  box-shadow: 0px 4px 12px rgba(124, 58, 237, 0.1);
}
.problem-card--blue:hover { box-shadow: 0px 8px 20px rgba(124, 58, 237, 0.15); }

.problem-card__icon { display: block; margin-bottom: var(--sp-sm); }

.problem-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: var(--sp-sm);
}

.problem-card p:not(.problem-card__title) {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-xs);
}

.problem-card__quotes { font-style: italic; }

.hl { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.hl--red { color: #DC2626; }
.hl--yellow { color: #D97706; }
.hl--blue { color: #7C3AED; }

@media (min-width: 1025px) {
  .problems__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   SECCIÓN 4: LA SOLUCIÓN
   ========================================================================== */
.solution {
  background: var(--color-bg-light);
  padding: 80px var(--sp-sm);
}

.timeline {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.timeline__step {
  display: flex;
  gap: var(--sp-sm);
  padding: 20px;
  position: relative;
}

/* Línea conectora vertical */
.timeline__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 43px; /* centro del círculo: 20px padding + 24px radio - 1px */
  top: 68px;
  bottom: -20px;
  width: 2px;
  background: #D1D5DB;
}

.timeline__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-text);
}

.timeline__desc { font-size: 14px; color: var(--color-text-secondary); }

/* Demo animado: marco de teléfono con conversación en vivo */
.demo-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--sp-xl) auto 0;
}

.demo-phone {
  width: 300px;
  height: 560px;
  background: #0B0F1A;
  border-radius: 36px;
  border: 8px solid #1F2937;
  box-shadow: 0 30px 60px rgba(11, 15, 26, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.demo-phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 18px;
  background: #0B0F1A;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.demo-phone__header {
  background: var(--gradient-brand);
  padding: 30px var(--sp-sm) var(--sp-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
}
.demo-phone__header svg { flex-shrink: 0; background: #fff; border-radius: 50%; padding: 3px; }

.demo-phone__name { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; }
.demo-phone__status { font-size: 11px; color: rgba(255,255,255,0.75); }

.demo-phone__chat {
  flex: 1;
  padding: var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(47,92,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(139,60,240,0.08), transparent 40%),
    #111827;
}

.demo-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  animation: bubbleIn 0.35s ease-out forwards;
}
@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

.demo-bubble--in {
  align-self: flex-start;
  background: #1F2937;
  color: #E5E7EB;
  border-bottom-left-radius: 4px;
}
.demo-bubble--out {
  align-self: flex-end;
  background: var(--gradient-brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.demo-typing {
  align-self: flex-start;
  background: #1F2937;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
}
.demo-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9CA3AF;
  animation: typingDot 1s infinite ease-in-out;
}
.demo-typing span:nth-child(2) { animation-delay: 0.15s; }
.demo-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.demo-phone__caption {
  color: var(--color-text-secondary);
  font-size: 13px;
  margin-top: var(--sp-md);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .demo-bubble { animation: none; opacity: 1; transform: none; }
  .demo-typing { display: none; }
}

/* Métrica de cierre */
.solution__metric {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-accent);
  background: #ECFDF5;
  padding: 20px var(--sp-lg);
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
}

/* ==========================================================================
   SECCIÓN 5: CASE STUDY
   ========================================================================== */
.case-study {
  background: #FFFFFF;
  padding: 80px var(--sp-sm);
}

.case-study .section-title { margin-bottom: var(--sp-xl); }

.case-study__identity {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.case-study__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--sp-sm);
  overflow: hidden;
}

.case-study__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
}

.case-study__meta { font-size: 14px; color: var(--color-text-secondary); }

/* Tarjetas antes/después */
.case-study__compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
  align-items: center;
  margin-bottom: var(--sp-lg);
}

.case-study__arrow {
  display: none;
  font-size: 32px;
  color: var(--color-text-secondary);
  text-align: center;
}

.cs-card {
  border-radius: 12px;
  padding: var(--sp-md);
}
.cs-card--before { background: #FEE2E2; border: 2px solid #FCA5A5; }
.cs-card--after { background: #ECFDF5; border: 2px solid #A7F3D0; }

.cs-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--sp-sm);
}

.cs-card ul { list-style: none; }
.cs-card li { font-size: 14px; margin-bottom: var(--sp-xs); }
.cs-card strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.cs-card--before strong { color: #DC2626; }
.cs-card--after strong { color: #16A34A; }

@media (min-width: 1025px) {
  .case-study__compare {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--sp-md);
  }
  .case-study__arrow { display: block; }
}

/* Desglose del valor */
.case-study__value {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-accent);
  padding: var(--sp-md);
  border-radius: 8px;
  margin-bottom: var(--sp-lg);
}

.case-study__value-title {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}

.case-study__value ul {
  list-style: none;
  color: var(--color-text-secondary);
  font-size: 15px;
}
.case-study__value li { margin-bottom: var(--sp-xs); padding-left: var(--sp-sm); position: relative; }
.case-study__value li::before { content: "–"; position: absolute; left: 0; }

.case-study__roi {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-accent);
  margin-top: var(--sp-sm);
}

/* Testimonial */
.testimonial {
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-light);
  padding: var(--sp-md);
  margin-top: var(--sp-lg);
}

.testimonial p {
  font-style: italic;
  font-size: 17px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: var(--sp-sm);
}

.testimonial footer {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
}

/* ==========================================================================
   SECCIÓN 6: PRICING
   ========================================================================== */
.pricing {
  background: var(--color-bg-light);
  padding: 80px var(--sp-sm);
}

.pricing .section-title { margin-bottom: 12px; }
.pricing .section-subtext { font-size: 15px; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.plan {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
}

.plan--pro {
  border: 2px solid var(--color-brand-violet);
  box-shadow: 0px 12px 32px rgba(139, 60, 240, 0.18);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-xs);
}

.plan__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  color: var(--color-text);
}
.plan__price span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.plan__ideal {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: var(--sp-xs) 0 var(--sp-md);
}

.plan__features {
  list-style: none;
  margin-bottom: var(--sp-md);
  flex-grow: 1;
}

.plan__features li {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  padding-left: var(--sp-md);
  position: relative;
}
.plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.plan__cta { width: 100%; }

.pricing__note {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 640px;
  margin: var(--sp-lg) auto 0;
}

@media (min-width: 1025px) {
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }
  /* .is-visible (reveal) resetea transform — re-declarar el scale con la misma especificidad */
  .plan--pro, .plan--pro.reveal.is-visible { transform: scale(1.05); }
}

/* ==========================================================================
   SECCIÓN 7: CÓMO EMPEZAR
   ========================================================================== */
.onboarding {
  background: #FFFFFF;
  padding: 80px var(--sp-sm);
}

.onboarding .section-title { margin-bottom: var(--sp-xl); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  max-width: 800px;
  margin: 0 auto;
}

.step { text-align: center; position: relative; }

.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0 auto var(--sp-sm);
  background: #FFFFFF;
  position: relative;
  z-index: 1;
}

.step__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: var(--sp-xs);
}

.step__time {
  display: inline-block;
  background: #ECFDF5;
  color: var(--color-accent-hover);
  font-weight: 600;
  font-size: 12px;
  border-radius: 12px;
  padding: 4px 10px;
  margin-bottom: var(--sp-xs);
}

.step__desc { font-size: 14px; color: var(--color-text-secondary); }

@media (min-width: 1025px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
  /* Línea punteada conectora entre pasos */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    border-top: 2px dashed #D1D5DB;
  }
}

/* ==========================================================================
   SECCIÓN 8: FAQ
   ========================================================================== */
.faq {
  background: var(--color-bg-light);
  padding: 80px var(--sp-sm);
}

.faq .section-title { margin-bottom: 40px; }

.faq__list { max-width: 720px; margin: 0 auto; }

.faq__item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px var(--sp-md);
  margin-bottom: 12px;
}

.faq__item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-sm);
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: var(--sp-sm);
}

/* ==========================================================================
   SECCIÓN 9: CTA FINAL
   ========================================================================== */
.final-cta {
  background: var(--color-primary);
  padding: 80px var(--sp-sm);
  text-align: center;
}

.final-cta__headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: var(--sp-md);
}

.final-cta__subtext {
  font-size: 17px;
  color: #D1D5DB;
  margin-bottom: var(--sp-md);
}

.final-cta .btn--lg { font-size: 18px; padding: 18px 48px; }

.final-cta__link-wrap { margin-top: var(--sp-md); }

.final-cta__link {
  font-size: 15px;
  color: #86EFAC;
  text-decoration: none;
}
.final-cta__link:hover { text-decoration: underline; }

@media (min-width: 1025px) {
  .final-cta__headline { font-size: 36px; }
}

/* ==========================================================================
   SECCIÓN 10: FOOTER
   ========================================================================== */
.footer {
  background: var(--color-navy);
  padding: var(--sp-xl) var(--sp-sm);
  color: #9CA3AF;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-xs);
}

.footer__brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
}

.footer__tagline { font-size: 13px; margin-bottom: var(--sp-md); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-sm) var(--sp-md);
  margin-bottom: var(--sp-md);
}

.footer__links a,
.footer__contact a,
.footer__social a {
  font-size: 13px;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover,
.footer__contact a:hover,
.footer__social a:hover { color: #FFFFFF; }

.footer__contact { font-size: 13px; margin-bottom: var(--sp-xs); }

.footer__social { display: flex; justify-content: center; align-items: center; gap: var(--sp-md); }
.footer__social a { display: inline-flex; }

.footer__divider {
  border: none;
  border-top: 1px solid #374151;
  margin: var(--sp-md) auto;
  max-width: 1200px;
}

.footer__copyright { font-size: 12px; color: #6B7280; }

/* ==========================================================================
   Animaciones de entrada
   ========================================================================== */

/* Fade-in al cargar (hero) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-load { animation: fadeInUp 0.6s ease-out both; }
.fade-load--delay-1 { animation-delay: 0.2s; }
.fade-load--delay-2 { animation-delay: 0.4s; }

/* Fade-in on scroll (IntersectionObserver agrega .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* El hover del problem-card necesita ganar sobre el transform del reveal */
.problem-card.is-visible:hover { transform: translateY(-4px); }

/* Accesibilidad: sin animaciones para quien las desactiva */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-load, .pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
