/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }

:root {
  --red: #E63946;
  --red-light: #FF6B6B;
  --navy: #0F172A;
  --navy-soft: #141F38;
  --bg-light: #F5F6F8;
  --white: #FFFFFF;
  --text: #1E2430;
  --text-muted: #5B6472;
  --text-inverse: #E7EBF3;
  --text-inverse-muted: #94A3B8;
  --border: #E4E7EC;
  --border-inverse: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.45);
  --container: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-sm: 200ms;
  --dur-md: 300ms;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  color: var(--text-inverse);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Scroll reveal ---------- */
.feature-card, .step-card, .segment-card, .plan-card, .sub-plan-card,
.faq-item, .dash-stat, .stats-grid > div {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
    box-shadow var(--dur-md) var(--ease), border-color var(--dur-md) var(--ease);
}
.feature-card.is-visible, .step-card.is-visible, .segment-card.is-visible,
.plan-card.is-visible, .sub-plan-card.is-visible, .faq-item.is-visible,
.dash-stat.is-visible, .stats-grid > div.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .feature-card, .step-card, .segment-card, .plan-card, .sub-plan-card,
  .faq-item, .dash-stat, .stats-grid > div {
    opacity: 1;
    transform: none;
  }
}

/* El marquee de integraciones se revela como bloque, no chip a chip
   (son elementos en movimiento continuo -- un reveal individual podria
   dejar copias del bucle atascadas en opacity:0). */
.integrations-marquee {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.integrations-marquee.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .integrations-marquee { opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur-sm) var(--ease), box-shadow var(--dur-sm) var(--ease),
    background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease), border-color var(--dur-sm) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.28);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(230, 57, 70, 0.4); }
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.55); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3); }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-arrow span { display: inline-block; transition: transform var(--dur-sm) var(--ease); }
.btn-arrow:hover span { transform: translateX(4px); }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Header (barra flotante) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding: 14px 20px 0;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  height: 66px;
  margin: 0 auto;
  padding: 0 22px;
  gap: 24px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14), 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: box-shadow var(--dur-md) var(--ease);
}
.site-header.is-scrolled .header-inner {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2), 0 1px 0 rgba(15, 23, 42, 0.06);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 30px; }
.logo-word {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--dur-sm) var(--ease);
  padding: 8px 13px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-sm) var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--dur-sm) var(--ease), opacity var(--dur-sm) var(--ease); }

@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- Hero (video de fondo) ---------- */
.hero-video {
  padding-top: 80px; /* alto de la cabecera flotante: el video queda visible detras */
  margin-top: -80px;
  overflow: hidden;
  position: relative;
  min-height: min(800px, 92vh);
  display: flex;
  align-items: center;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 22%;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 15, 28, 0.66) 0%, rgba(10, 15, 28, 0.44) 28%, rgba(10, 15, 28, 0.16) 50%, rgba(10, 15, 28, 0) 66%),
    linear-gradient(0deg, rgba(10, 15, 28, 0.3), rgba(10, 15, 28, 0) 35%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}
.hero-copy {
  max-width: 540px;
  animation: fade-up 0.7s var(--ease) both;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-light);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); margin-bottom: 22px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 8px 40px rgba(0, 0, 0, 0.55); }
.hero-sub { font-size: 1.08rem; color: rgba(255, 255, 255, 0.92); max-width: 480px; margin-bottom: 32px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 6px 30px rgba(0, 0, 0, 0.6); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

@media (max-width: 720px) {
  .hero-video { min-height: 460px; padding-top: 80px; margin-top: -80px; }
  .hero-bg-video { object-position: 64% 26%; }
  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(10, 15, 28, 0.25) 0%, rgba(10, 15, 28, 0.45) 45%, rgba(10, 15, 28, 0.65) 100%);
  }
  .hero-inner { padding: 24px 0 20px; }
  .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: 1.9rem; margin-bottom: 14px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 22px; }
  .hero-actions { margin-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--navy-soft); }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-sub { color: var(--text-inverse-muted); font-size: 1.04rem; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(230, 57, 70, 0.3); }
.feature-card.is-visible:hover { transform: translateY(-5px); }
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(230, 57, 70, 0.1); color: var(--red);
  margin-bottom: 18px;
  transition: transform var(--dur-md) var(--ease);
}
.feature-card:hover .feature-icon { transform: translateY(-2px) scale(1.06); }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 9px; color: var(--navy); }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Cómo funciona (glow) ---------- */
.how-glow { position: relative; overflow: hidden; }
.how-glow-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(120, 170, 255, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%, #000 100%);
  mask-image: linear-gradient(180deg, transparent, #000 55%, #000 100%);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(120,170,255,0), rgba(120,170,255,0.55) 15%, rgba(120,170,255,0.55) 85%, rgba(120,170,255,0));
  box-shadow: 0 0 12px rgba(120, 170, 255, 0.35);
  z-index: 0;
}
.how-step { position: relative; z-index: 1; }
.how-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(120, 170, 255, 0.14), rgba(15, 23, 42, 0.5));
  border: 1.5px solid rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.06), 0 0 28px rgba(80, 140, 255, 0.28), inset 0 0 20px rgba(80, 140, 255, 0.08);
  color: var(--red-light);
  transition: transform var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease);
}
.how-step:hover .how-badge { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.1), 0 0 36px rgba(80, 140, 255, 0.4), inset 0 0 20px rgba(80, 140, 255, 0.1); }
.how-badge svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  color: var(--red-light);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.how-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.how-step p { color: var(--text-inverse-muted); font-size: 0.86rem; }

/* ---------- Segments / Soluciones ---------- */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.segment-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease), border-color var(--dur-md) var(--ease);
}
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(230, 57, 70, 0.3); }

.segment-photo { height: 190px; overflow: hidden; background: var(--bg-light); }
.segment-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.segment-card:hover .segment-photo img { transform: scale(1.08); }

.segment-icon {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); color: var(--red);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: -30px auto 0;
  position: relative;
  z-index: 1;
  transition: transform var(--dur-md) var(--ease), background var(--dur-md) var(--ease), color var(--dur-md) var(--ease);
}
.segment-card:hover .segment-icon { transform: translateY(-4px) scale(1.08); background: var(--red); color: var(--white); }
.segment-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.segment-body { padding: 16px 26px 28px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.segment-body h3 {
  display: inline-block;
  margin: 4px auto 10px;
  padding-bottom: 10px;
  position: relative;
  color: var(--navy);
}
.segment-body h3::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 34px; height: 3px;
  background: var(--red);
  transform: translateX(-50%);
}
.segment-body > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }

.segment-features {
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 18px 18px;
}
.segment-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--text); }
.check-badge {
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}
.check-badge svg { width: 11px; height: 11px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Integrations ---------- */
.integrations-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.integrations-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.integrations-marquee:hover .integrations-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .integrations-track { animation: none; }
}
.integration-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
  transition: transform var(--dur-md) var(--ease), border-color var(--dur-md) var(--ease);
}
.integration-chip:hover { transform: translateY(-3px); border-color: rgba(230, 57, 70, 0.35); }
.integration-chip .ic { color: var(--red); width: 16px; height: 16px; }
.integrations-note { text-align: center; color: var(--text-inverse-muted); font-size: 0.88rem; margin-top: 28px; }

/* ---------- Install plan tabs ---------- */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  max-width: fit-content;
  margin: 0 auto 48px;
}
.plan-tab {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: background var(--dur-sm), color var(--dur-sm);
}
.plan-tab small { font-weight: 500; opacity: 0.85; }
.plan-tab:hover { color: var(--navy); }
.plan-tab.active {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.28);
}
.plan-panel[hidden] { display: none; }
.plan-sector {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  background: rgba(230, 57, 70, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 6px;
}
.plan-audience { font-style: italic; font-size: 0.85rem !important; color: var(--text-muted); margin-bottom: 0 !important; }
.plans-grid.plan-panel-solo { grid-template-columns: 1fr; max-width: 640px; }
.plan-custom { border-color: var(--navy); }
.plan-custom .plan-badge { background: var(--navy); }
.plan-price-custom { margin-bottom: 22px; }
.plan-price-custom strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.plan-price-custom span { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Install plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.plan-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-featured {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-head h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--navy); }
.plan-head h3 small { color: var(--text-muted); font-weight: 500; font-size: 0.85rem; }
.plan-head p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.plan-price span { font-family: 'Manrope', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--navy); }
.plan-price small { color: var(--text-muted); font-size: 0.85rem; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); }
.plan-features .ic { color: var(--red); margin-top: 3px; width: 16px; height: 16px; }
.plans-note { text-align: center; color: var(--text-inverse-muted); font-size: 0.85rem; max-width: 700px; margin: 40px auto 0; }

/* ---------- Subscription plans ---------- */
.sub-plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.sub-plan-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.sub-plan-card:hover { transform: translateY(-4px); }
.sub-plan-featured { border-color: var(--red); box-shadow: var(--shadow-lg); }
.sub-plan-head h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--navy); }
.sub-plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.sub-plan-price span { font-family: 'Manrope', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--navy); }
.sub-plan-price small { color: var(--text-muted); font-size: 0.78rem; }
.sub-plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.sub-plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text); }
.sub-plan-features .ic { color: var(--red); margin-top: 3px; width: 15px; height: 15px; flex-shrink: 0; }
.sub-plans-legend { text-align: center; color: var(--text-inverse-muted); font-size: 0.82rem; max-width: 900px; margin: 28px auto 0; line-height: 1.7; }
.sub-plans-legend strong { color: var(--white); }

/* ---------- Extra minutes ---------- */
.extra-minutes-block { max-width: 480px; margin: 56px auto 0; text-align: center; }
.extra-minutes-block h3 { font-size: 1.4rem; margin-bottom: 14px; }
.extra-minutes-block > p { color: var(--text-inverse-muted); margin-bottom: 28px; }

/* ---------- Savings table ---------- */
.savings-block { max-width: 720px; margin: 56px auto 0; text-align: center; }
.savings-block h3 { font-size: 1.4rem; margin-bottom: 14px; }
.savings-block > p { color: var(--text-inverse-muted); margin-bottom: 28px; }
.savings-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.savings-table { width: 100%; border-collapse: collapse; background: var(--white); color: var(--text); }
.savings-table th, .savings-table td { padding: 14px 20px; text-align: center; font-size: 0.92rem; }
.savings-table thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.savings-table tbody tr:nth-child(even) { background: var(--bg-light); }
.savings-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.savings-table tbody td:last-child { color: var(--red); font-weight: 700; }
.savings-note { color: var(--text-inverse-muted); font-size: 0.85rem; margin-top: 18px; margin-bottom: 0 !important; }

/* ---------- Panel section ---------- */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.panel-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.panel-list .ic { color: var(--red); }
.tag {
  background: rgba(230,57,70,0.1); color: var(--red);
  font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 4px;
}
.dash-card {
  background: var(--white);
  color: var(--text);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--dur-md) var(--ease);
}
.dash-card:hover { transform: translateY(-4px); }
.dash-topbar { display: flex; align-items: center; gap: 6px; padding: 14px 16px; background: var(--bg-light); }
.dash-topbar span:not(.dash-live) { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dash-live {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; color: #15803d;
}
.dash-live::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  animation: pulse-soft 2s infinite;
}
.dash-body { padding: 22px; }
.dash-row { display: flex; gap: 12px; margin-bottom: 20px; }
.dash-stat { flex: 1; background: var(--bg-light); border-radius: 12px; padding: 14px; }
.dash-stat small { display: block; color: var(--text-muted); font-size: 0.72rem; margin-bottom: 4px; }
.dash-stat strong { font-family: 'Manrope', sans-serif; font-size: 1.3rem; color: var(--navy); }
.dash-list { display: flex; flex-direction: column; gap: 10px; }
.dash-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text); padding: 10px 12px; border-radius: 10px; background: var(--bg-light); }
.dash-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: pulse-soft 2.2s infinite; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}
.faq-item:hover { border-color: rgba(230, 57, 70, 0.25); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--red);
  margin-left: 12px;
  flex-shrink: 0;
  transition: transform var(--dur-md) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; margin-top: 12px; overflow: hidden; }
.faq-item p.faq-animating { transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red-light), var(--red) 60%, #C62633);
  padding: 96px 0;
}
.cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-logo { height: 44px; width: auto; margin: 0 auto 24px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.cta-form { display: flex; flex-direction: column; gap: 12px; background: var(--white); color: var(--text); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cta-form input {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  transition: border-color var(--dur-sm) var(--ease);
}
.cta-form input:focus { outline: 2px solid var(--red); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-word { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; color: #94A3B8; max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: #94A3B8; transition: color var(--dur-sm); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 0.82rem; color: #64748B; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 60px 0 100px; }
.legal-page .container {
  max-width: 820px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 48px 56px;
}
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; color: var(--navy); }
.legal-page .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--navy); }
.legal-page h3 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--navy); }
.legal-page p, .legal-page li { color: var(--text); font-size: 0.95rem; margin-bottom: 10px; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 16px; }
.legal-page hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.legal-page strong { color: var(--navy); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; color: var(--red); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 640px) {
  .legal-page .container { padding: 32px 24px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
  .segment-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-visual { order: -1; }
  .sub-plans-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 88px 0; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
    gap: 6px;
  }
  .main-nav.open a::after { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .plans-grid { grid-template-columns: 1fr; }
  .sub-plans-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- ¡Estoy interesado! ---------- */
.main-nav a.nav-highlight {
  color: var(--red);
  font-weight: 700;
}
.main-nav a.nav-highlight:hover { color: var(--red-light); }

.signup-cta { text-align: center; }
.signup-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 52px 44px;
}
.signup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
  margin-bottom: 18px;
}
.signup-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signup-card .eyebrow { justify-content: center; }
.signup-card h2 { margin-bottom: 12px; color: var(--navy); }
.signup-card .section-sub { max-width: 46ch; margin: 0 auto 26px; color: var(--text-muted); }

@media (max-width: 640px) {
  .signup-card { padding: 36px 24px; }
}
