:root {
  --navy-950: #02182b;
  --navy-900: #053960;
  --navy-800: #0a4a7a;
  --navy-700: #0f5c93;
  --blue: #1380ee;
  --blue-dark: #1262d6;
  --gold: #fdc704;
  --gold-dark: #e0a800;
  --red: #eb0b2c;
  --text-light: #f4f8fc;
  --text-muted: #9fb9d4;
  --border-soft: rgba(255,255,255,.08);
  --shadow-glow: 0 0 40px rgba(19,128,238,.25);
  --radius: 16px;
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text-light);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Background layers ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(19,128,238,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,128,238,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 42px 84px, 42px 84px; }
}
#constellation {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
}
main, header, footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(19,128,238,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(19,128,238,.5); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text-light); border-color: var(--border-soft); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.icon-wa { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2,24,43,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 24px; gap: 16px; }
.brand-logo { height: 48px; width: auto; }
.nav-desktop { display: flex; gap: 28px; }
.nav-desktop a { font-weight: 500; font-size: .93rem; color: var(--text-muted); transition: color .15s; }
.nav-desktop a:hover { color: var(--gold); }
.btn-nav { margin-left: auto; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text-light); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; padding: 0 24px 16px; gap: 4px; }
.nav-mobile a { padding: 10px 0; border-top: 1px solid var(--border-soft); color: var(--text-muted); font-weight: 500; }
.nav-mobile.open { display: flex; }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .btn-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 130px 0 100px;
  text-align: center;
  overflow: hidden;
}
.radar {
  position: absolute; top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -55%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(19,128,238,.35), transparent 30%);
  animation: spin 6s linear infinite;
  filter: blur(2px);
  opacity: .5;
  z-index: -1;
}
.radar::before, .radar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(19,128,238,.18);
}
.radar::after { inset: 120px; }
@keyframes spin { to { transform: translate(-50%, -55%) rotate(360deg); } }

.eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(253,199,4,.1); border: 1px solid rgba(253,199,4,.3);
  color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 900px; margin: 0 auto 20px; color: var(--text-light); }
.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 620px; margin: 0 auto 34px; font-size: 1.08rem; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: .82rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: linear-gradient(180deg, rgba(19,128,238,.05), transparent); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-align: center; color: var(--text-light); }
.section-sub { text-align: center; max-width: 640px; margin: 0 auto 48px; font-size: 1.05rem; }
.section-note { text-align: center; margin-top: 24px; }

.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* tech cards */
.tech-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.tech-card:hover { transform: translateY(-4px); border-color: rgba(19,128,238,.4); box-shadow: var(--shadow-glow); }
.tech-icon { font-size: 2rem; margin-bottom: 12px; }
.tech-card h3 { font-size: 1.1rem; color: var(--text-light); }
.tech-card p { font-size: .92rem; margin-bottom: 0; }

/* feature grid */
.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 880px) { .grid-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-features { grid-template-columns: 1fr; } }
.feature {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border-soft);
  border-radius: 12px; padding: 14px 16px; font-size: .93rem; color: var(--text-light);
}
.feature-ico { font-size: 1.2rem; }

/* special cards */
.special-card {
  background: linear-gradient(160deg, rgba(19,128,238,.08), rgba(255,255,255,.02));
  border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, border-color .2s;
}
.special-card:hover { transform: translateY(-4px); border-color: rgba(253,199,4,.4); }
.special-icon { font-size: 1.8rem; margin-bottom: 10px; }
.special-card h3 { font-size: 1.05rem; color: var(--text-light); }
.special-card p { font-size: .9rem; margin-bottom: 0; }

/* tabs */
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.tab {
  padding: 10px 26px; border-radius: 999px; border: 1px solid var(--border-soft);
  background: rgba(255,255,255,.03); color: var(--text-muted); font-weight: 600;
  cursor: pointer; font-size: .95rem; transition: all .2s;
}
.tab.active { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* plan cards */
.plan-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
  position: relative; transition: transform .2s, border-color .2s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured { border-color: rgba(253,199,4,.45); box-shadow: 0 0 30px rgba(253,199,4,.12); }
.plan-badge {
  align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(19,128,238,.15); color: var(--blue);
}
.plan-badge-gold { background: rgba(253,199,4,.15); color: var(--gold); }
.plan-badge-blue { background: rgba(19,128,238,.15); color: var(--blue); }
.plan-badge-red { background: rgba(235,11,44,.15); color: #ff6b81; }
.plan-card h3 { font-size: 1.15rem; color: var(--text-light); }
.plan-card h3 span { display: block; font-size: .8rem; color: var(--text-muted); font-weight: 400; }
.plan-price { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.plan-price span { font-size: .8rem; color: var(--text-muted); font-weight: 400; }
.plan-features { margin-bottom: 16px; }
.plan-features li { font-size: .88rem; padding: 5px 0 5px 20px; position: relative; color: var(--text-light); }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.plan-methods { background: rgba(0,0,0,.2); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.plan-methods p { font-size: .82rem; margin: 0 0 6px; color: var(--text-muted); }
.plan-methods p:last-child { margin-bottom: 0; }
.plan-methods strong { color: var(--text-light); }
.plan-note { font-size: .78rem; color: var(--text-muted); margin-bottom: 14px; font-style: italic; }
.plan-footnote { text-align: center; font-size: .82rem; margin-top: 30px; color: var(--text-muted); max-width: 760px; margin-left: auto; margin-right: auto; }

/* coverage */
.city-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.city-chip {
  background: rgba(255,255,255,.04); border: 1px solid var(--border-soft);
  border-radius: 999px; padding: 9px 18px; font-size: .9rem; color: var(--text-light);
  transition: border-color .2s, transform .2s;
}
.city-chip:hover { border-color: var(--gold); transform: translateY(-2px); }

/* nosotros */
.check-list li { padding: 8px 0 8px 28px; position: relative; font-size: .95rem; }
.check-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .8rem; top: 12px; }
.nosotros-visual { display: flex; align-items: center; justify-content: center; }
.orbit-wrap { position: relative; width: 280px; height: 280px; }
.orbit-ring { position: absolute; border: 1px solid rgba(19,128,238,.3); border-radius: 50%; }
.orbit-ring.r1 { inset: 0; animation: spin 12s linear infinite; }
.orbit-ring.r2 { inset: 30px; animation: spin 18s linear infinite reverse; border-color: rgba(253,199,4,.25); }
.orbit-ring.r3 { inset: 60px; animation: spin 24s linear infinite; }
.orbit-ring.r1::after { content: "📡"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 1.3rem; }
.orbit-ring.r2::after { content: "🚗"; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); font-size: 1.3rem; }
.orbit-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 2.6rem; filter: drop-shadow(0 0 20px rgba(19,128,238,.6));
}

/* cta final */
.cta-final { padding: 90px 0; text-align: center; background: linear-gradient(135deg, rgba(19,128,238,.12), rgba(253,199,4,.06)); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.cta-final h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--text-light); }
.cta-final p { max-width: 480px; margin: 0 auto 30px; }

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: rgba(255,255,255,.03); border: 1px solid var(--border-soft); border-radius: 12px; padding: 16px 20px; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--text-light); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; margin-bottom: 0; font-size: .92rem; }

/* footer */
.site-footer { padding: 60px 0 30px; border-top: 1px solid var(--border-soft); text-align: center; }
.footer-logo { height: 56px; margin: 0 auto 16px; }
.footer-inner { max-width: 520px; margin: 0 auto; }
.footer-inner .btn { margin: 10px 0 24px; }
.footer-copy { font-size: .8rem; color: var(--text-muted); opacity: .7; }

/* floating whatsapp */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  animation: pulseWa 2.4s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 12px rgba(37,211,102,0); }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .hero { padding: 100px 0 70px; }
  .section { padding: 64px 0; }
}
