@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --bg: #0a0c0f;
  --bg-elev: #14171d;
  --bg-elev-2: #1b1f26;
  --bg-elev-3: #232833;
  --border: #2a2e37;
  --accent: #6d28d9;
  --accent-2: #4f46e5;
  --text: #f2f3f5;
  --text-dim: #9aa2ab;
  --text-faint: #6b7280;
  --success: #35d07f;
  --danger: #ff5459;
  --info: #4d9fff;
  --warning: #d97706;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; color: var(--text); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--info); outline-offset: 3px; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; display: block;
}
.grad-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Header ===== */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 15, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.brand-name span { color: var(--text-dim); font-size: 11px; display: block; font-weight: 500; letter-spacing: 0.1em; }
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a { font-size: 14.5px; color: var(--text-dim); font-weight: 500; transition: color 0.15s; }
nav.main a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  padding: 11px 22px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 24px -8px rgba(109, 40, 217, 0.6); }
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(109, 40, 217, 0.75); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent-2); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ===== Hero / network signature ===== */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero-network { position: absolute; inset: 0; z-index: 0; opacity: 0.55; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); letter-spacing: -0.02em; }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--text-dim); max-width: 620px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); }

.pulse-dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }
.pulse-line { stroke-dasharray: 4 4; animation: dash 3.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -160; } }

/* ===== Sections ===== */
section { padding: 84px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { margin-top: 14px; font-size: 16.5px; color: var(--text-dim); }

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

.card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
.card .icon { width: 40px; height: 40px; margin-bottom: 16px; }

.problem-card { border-color: rgba(255, 84, 89, 0.35); }
.problem-card .icon { color: var(--danger); }

.stat { text-align: left; }
.stat .num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--info); }
.stat .label { font-size: 13.5px; color: var(--text-dim); margin-top: 6px; line-height: 1.35; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--bg-elev-2); color: var(--text-dim); border: 1px solid var(--border); }

table.price-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
table.price-table th { text-align: left; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 14px 16px; }
table.price-table th:first-child { border-radius: 8px 0 0 0; }
table.price-table th:last-child { border-radius: 0 8px 0 0; }
table.price-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.price-table tr:nth-child(even) td { background: var(--bg-elev); }
table.price-table td.price { color: var(--info); font-family: var(--font-display); font-weight: 700; }

.cta-band { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 20px; padding: 56px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); }
.cta-band p { color: var(--text-dim); margin-top: 12px; font-size: 16px; }
.cta-band .hero-ctas { justify-content: center; margin-top: 26px; }

footer.site { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 40px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
footer.site a { display: block; font-size: 14px; color: var(--text-dim); padding: 5px 0; }
footer.site a:hover { color: var(--text); }
footer.site .bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.page-hero { padding: 64px 0 48px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 46px); }
.page-hero .lead { margin-top: 16px; font-size: 17px; color: var(--text-dim); max-width: 680px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--text); }
.check-list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-2); }

.disclaimer { font-size: 13px; color: var(--text-faint); font-style: italic; margin-top: 16px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav.main, .header-cta .btn-ghost { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .cta-band { padding: 36px 22px; }
  footer.site .cols { grid-template-columns: 1fr; }
}

/* ===== Burbuja flotante de WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ===== Formulario de contacto ===== */
.contact-form { display: grid; gap: 16px; max-width: 560px; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 13.5px; color: var(--text-dim); font-weight: 500; display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: 14.5px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-2); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { font-size: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.ok { background: rgba(53, 208, 127, 0.12); color: var(--success); display: block; }
.form-status.err { background: rgba(255, 84, 89, 0.12); color: var(--danger); display: block; }
@media (max-width: 640px) {
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

