/* =========================================================================
   Axionet — Sistema de diseño (dark-tech premium)
   Marca: indigo profundo + gradiente coral/magenta/violeta. Tema oscuro fijo.
   ========================================================================= */

:root {
  /* Superficies */
  --bg:            #110626;
  --bg-2:          #170A33;
  --surface:       #1D0E42;
  --surface-2:     #25125A;
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.16);

  /* Texto */
  --ink:           #F4EEFF;
  --ink-soft:      #C4B6E6;
  --ink-mute:      #9384B8;

  /* Acento de marca */
  --coral:         #FF5E80;
  --magenta:       #E0218A;
  --violet:        #7C3AED;
  --accent:        #F0337E;            /* acento único, fijo en toda la página */
  --grad:          linear-gradient(100deg, #FF6A8B 0%, #E0218A 48%, #7C3AED 100%);
  --grad-soft:     linear-gradient(100deg, rgba(255,106,139,.18), rgba(124,58,237,.18));

  /* Forma y elevación (un solo sistema de radios) */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow: 0 24px 60px -20px rgba(8, 2, 26, 0.8);
  --shadow-glow: 0 18px 50px -16px rgba(224, 33, 138, 0.45);

  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Aurora de fondo sutil, fija, sin coste de repintado en scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 78% -8%, rgba(124, 58, 237, 0.30), transparent 60%),
    radial-gradient(48% 40% at 8% 12%, rgba(224, 33, 138, 0.20), transparent 60%),
    radial-gradient(60% 50% at 50% 108%, rgba(255, 94, 128, 0.12), transparent 60%),
    var(--bg);
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Utilidades de estructura ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 11vw, 128px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .7; }
.lead { color: var(--ink-soft); font-size: clamp(17px, 2vw, 19px); max-width: 60ch; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); background-size: 140% 140%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 56px -14px rgba(224, 33, 138, 0.6); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(.98); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 70px; display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.scrolled {
  background: rgba(17, 6, 38, 0.78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-family: "Space Grotesk", sans-serif; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 3px; }
.lang-switch a { padding: 5px 9px; border-radius: var(--r-pill); color: var(--ink-mute); transition: color .2s, background .2s; line-height: 1; }
.lang-switch a.active { background: var(--grad); color: #fff; }
.lang-switch a:not(.active):hover { color: var(--ink); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-top: clamp(36px, 6vw, 64px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong);
  font-size: 13.5px; color: var(--ink-soft); font-weight: 500; margin-bottom: 24px;
}
.hero-tag b { color: var(--ink); font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #36e0a0; box-shadow: 0 0 0 0 rgba(54,224,160,.6); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2.4s infinite; } }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(54,224,160,.5)} 70%{box-shadow:0 0 0 9px rgba(54,224,160,0)} 100%{box-shadow:0 0 0 0 rgba(54,224,160,0)} }

.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px); letter-spacing: -0.03em;
}
.hero h1 .grad-text { display: inline; }
.hero p.lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-mute); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.hero-visual .float-card {
  position: absolute; left: -18px; bottom: 26px;
  background: rgba(29, 14, 66, 0.86); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  padding: 14px 18px; display: flex; align-items: center; gap: 13px; box-shadow: var(--shadow);
}
.float-card .num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 22px; }
.float-card .lbl { font-size: 12.5px; color: var(--ink-mute); line-height: 1.3; }

/* Tira de estadísticas */
.stats {
  margin-top: clamp(48px, 7vw, 76px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: var(--bg-2); padding: 26px 24px; }
.stat .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); }
.stat .t { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* =========================================================================
   MARQUEE de alianzas
   ========================================================================= */
.allies { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.allies .kicker { text-align: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: scroll 38s linear infinite; } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.ally { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 21px; color: var(--ink-soft); opacity: .72; letter-spacing: -.01em; white-space: nowrap; transition: opacity .2s, color .2s; }
.ally:hover { opacity: 1; color: var(--ink); }
.allies-grid { display: block; width: 100%; max-width: 1080px; margin: 0 auto; border-radius: var(--r); }
.ally-logo { height: 42px; width: auto; flex-shrink: 0; opacity: .82; transition: opacity .2s; }
.ally-logo:hover { opacity: 1; }

/* =========================================================================
   Encabezado de sección
   ========================================================================= */
.head { max-width: 64ch; margin-bottom: clamp(40px, 5vw, 60px); }
.head h2 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 16px; }
.head p { margin-top: 18px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .eyebrow::before { display: none; }

/* =========================================================================
   SERVICIO ESTRELLA — Microondas (split)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.badge-uptime {
  position: absolute; top: 20px; right: 20px;
  background: rgba(17,6,38,.82); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 12px 16px; text-align: right;
}
.badge-uptime .b { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 24px; }
.badge-uptime .s { font-size: 11.5px; color: var(--ink-mute); letter-spacing: .04em; }

.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.feat { display: flex; flex-direction: column; gap: 8px; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--coral); }
.feat .ic svg { width: 21px; height: 21px; }
.feat h4 { font-size: 17px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); }

/* =========================================================================
   COMPARATIVA (fibra vs Axionet)
   ========================================================================= */
.compare { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare > div { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.compare .col-h { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 16px; }
.compare .row-label { color: var(--ink-soft); font-size: 14.5px; }
.compare .c-fibra { color: var(--ink-mute); font-size: 14.5px; }
.compare .c-axio { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.compare .head-axio { background: var(--grad-soft); }
.compare .c-axio-col { background: rgba(224,33,138,0.06); }
.compare > div:nth-last-child(-n+3) { border-bottom: 0; }
.tick { color: #36e0a0; }

/* =========================================================================
   BENTO — Ecosistema de soluciones
   ========================================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.tile .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); color: var(--coral); margin-bottom: 18px; }
.tile .ic svg { width: 23px; height: 23px; }
.tile h3 { font-size: 20px; }
.tile p { color: var(--ink-soft); font-size: 14.5px; margin-top: 9px; }
.tile .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tile .tags span { font-size: 12px; color: var(--ink-mute); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.col-2 { grid-column: span 2; } .col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; }
.tile.feature { background: linear-gradient(135deg, rgba(224,33,138,0.16), rgba(124,58,237,0.10)), var(--surface); }
.tile.feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255,94,128,.25), transparent 70%); }

/* =========================================================================
   PLATAFORMAS / APPS
   ========================================================================= */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card {
  display: flex; flex-direction: column; gap: 11px;
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.app-card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--coral); }
.app-card .ic svg { width: 22px; height: 22px; }
.app-card .ext { color: var(--ink-mute); transition: color .25s var(--ease), transform .25s var(--ease); }
.app-card .ext svg { width: 18px; height: 18px; }
.app-card:hover .ext { color: var(--accent); transform: translate(2px, -2px); }
.app-card h3 { font-size: 18px; }
.app-card p { font-size: 14px; color: var(--ink-soft); flex-grow: 1; }
.app-card .host { font-family: "Space Grotesk", sans-serif; font-size: 12.5px; color: var(--ink-mute); letter-spacing: .01em; }

/* =========================================================================
   ROI — Laserway (números grandes)
   ========================================================================= */
.roi { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.roi-item { padding: 8px 28px; border-left: 1px solid var(--line); }
.roi-item:first-child { border-left: 0; padding-left: 0; }
.roi-item .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(40px, 6vw, 62px); line-height: 1; letter-spacing: -.03em; }
.roi-item .n span { font-size: .5em; vertical-align: super; }
.roi-item .l { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }

/* =========================================================================
   CIUDADES — AxioSmart (full width feature)
   ========================================================================= */
.smart { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(124,58,237,0.20), rgba(224,33,138,0.10)), var(--surface); padding: clamp(36px, 5vw, 60px); }
.smart-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.pillars { display: grid; gap: 14px; margin-top: 8px; }
.pillar { display: flex; gap: 16px; padding: 18px 20px; background: rgba(17,6,38,0.5); border: 1px solid var(--line); border-radius: var(--r); }
.pillar .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.pillar .ic svg { width: 21px; height: 21px; }
.pillar h4 { font-size: 16.5px; } .pillar p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.smart-modules { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.chip { font-size: 13px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); color: var(--ink-soft); }
.smart-pole { display: flex; align-items: flex-end; justify-content: center; }
.smart-pole img { max-height: 460px; width: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.45)); }
.pillars-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }

/* Diagrama Laserway (panel claro destacado) */
.laserway-diagram { background: #f3eefc; border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: clamp(18px, 2.5vw, 30px); margin-bottom: clamp(40px, 5vw, 56px); box-shadow: var(--shadow); }
.laserway-diagram img { width: 100%; border-radius: 8px; }

/* =========================================================================
   COBERTURA — Chile (split)
   ========================================================================= */
.cov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cov-media { display: flex; align-items: center; justify-content: center; }
.cov-media img { max-height: 560px; width: auto; margin: 0 auto; filter: drop-shadow(0 20px 50px rgba(224,33,138,.25)); }
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; margin-top: 28px; }
.city { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 15px; }
.city svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* =========================================================================
   NOSOTROS
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.about-head { max-width: 62ch; }
.about-banner { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); margin: clamp(32px,4vw,44px) 0; }
.about-points-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,32px); }
.about-points { display: grid; gap: 18px; margin-top: 28px; }
.about-point { display: flex; gap: 14px; }
.about-point .ic { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.about-point .ic svg { width: 22px; height: 22px; }
.about-point h4 { font-size: 16.5px; } .about-point p { font-size: 14.5px; color: var(--ink-soft); margin-top: 3px; }

/* =========================================================================
   BOXFERA — innovación
   ========================================================================= */
.boxfera { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: linear-gradient(135deg, rgba(54,224,160,0.10), rgba(124,58,237,0.10)), var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: clamp(32px, 4vw, 56px); }
.boxfera .mini-stats { display: flex; gap: 28px; margin-top: 24px; }
.boxfera .mini-stats .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 30px; color: #5fe9b4; }
.boxfera .mini-stats .l { font-size: 13px; color: var(--ink-soft); }
.leaf-badge { display:inline-flex; align-items:center; gap:8px; padding:6px 13px; border-radius:var(--r-pill); background:rgba(54,224,160,.12); border:1px solid rgba(54,224,160,.3); color:#5fe9b4; font-size:13px; font-weight:600; margin-bottom:18px;}
.boxfera-media img { width:100%; border-radius:var(--r); border:1px solid var(--line-strong); box-shadow:var(--shadow); }
.boxfera-tags { display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; justify-content:center; }
.boxfera-tags .chip { border-color:rgba(54,224,160,.28); color:#bdeBD6; }

/* =========================================================================
   CONTACTO / CTA
   ========================================================================= */
.cta { position: relative; }
.cta-card {
  background: linear-gradient(135deg, rgba(224,33,138,0.18), rgba(124,58,237,0.14)), var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px);
}
.cta-card h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-contact { display: grid; gap: 16px; margin-top: 28px; }
.cta-contact a { display: flex; align-items: center; gap: 13px; color: var(--ink-soft); font-size: 15.5px; transition: color .2s; }
.cta-contact a:hover { color: var(--ink); }
.cta-contact .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); color: var(--coral); flex-shrink: 0; }
.cta-contact .ic svg { width: 19px; height: 19px; }

form .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
form label { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
form input, form select, form textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 15px;
  background: rgba(17,6,38,0.6); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
form input::placeholder, form textarea::placeholder { color: var(--ink-mute); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,51,126,0.2); }
form textarea { resize: vertical; min-height: 96px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .btn-primary { width: 100%; margin-top: 6px; }
.form-ok { display: none; padding: 16px; border-radius: var(--r-sm); background: rgba(54,224,160,.12); border: 1px solid rgba(54,224,160,.35); color: #5fe9b4; font-size: 14.5px; margin-top: 12px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-about { color: var(--ink-mute); font-size: 14px; max-width: 32ch; }
.footer h5 { font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 13.5px; }

/* =========================================================================
   Animaciones de entrada (revelado en scroll)
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .split, .cov-grid, .about-grid, .boxfera, .cta-card, .smart-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .col-2, .col-3, .col-4 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 70px; left: 0; right: 0; padding: 18px 24px 24px;
    background: rgba(17,6,38,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 10px 0; font-size: 17px; width: 100%; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .feat-list, .roi-grid, .cities, .compare { grid-template-columns: 1fr; }
  .roi-item { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; }
  .roi-item:first-child { padding-top: 0; border-top: 0; }
  .bento { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .pillars-row, .about-points-row { grid-template-columns: 1fr; }
  .compare { display: block; }
  .compare-mobile { display: grid; grid-template-columns: 1fr; }
  .boxfera .mini-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual .float-card { left: 0; }
}
