/* ============================================================
   DigiBoxApp Delivery — Sitio corporativo
   ============================================================ */
:root {
  --bg: #0a1224;
  --bg-2: #0e1830;
  --surface: #14203c;
  --surface-2: #1a2a4d;
  --line: #22345c;
  --line-2: #30487c;
  --blue: #2f6bff;
  --blue-soft: rgba(47, 107, 255, 0.14);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.12);
  --orange: #f59e0b;
  --orange-soft: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.12);
  --teal: #2dd4bf;
  --text: #edf2fa;
  --muted: #9fb0cc;
  --muted-2: #6b7c9c;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(2, 8, 24, 0.55);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Utilidades ---------- */
.container { width: min(1180px, 92%); margin: 0 auto; }
.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.mb-16 { margin-bottom: 64px; }

.overline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.heading-2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.body-text { color: var(--muted); font-size: 18px; }
.text-blue { color: var(--blue); }

.section { padding: 110px 0; }
.section-alt { background: var(--bg-2); }
.section-dark {
  background:
    radial-gradient(720px 420px at 50% 0%, rgba(47, 107, 255, 0.1), transparent 70%),
    #070d1c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reveal-item { opacity: 0; transform: translateY(28px); }
.reveal-item.revealed { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--blue); color: #fff;
  padding: 10px 18px; border-radius: 8px;
  z-index: 200; transition: top .2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10, 18, 36, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(10, 18, 36, 0.95); }

.nav-container {
  width: min(1180px, 92%); margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark { height: 34px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  color: var(--text); letter-spacing: -0.01em; white-space: nowrap;
}
.nav-logo-text em { font-style: normal; color: var(--blue); }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-link {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 10px; border-radius: 8px;
  text-decoration: none; transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--surface); text-decoration: none; }

.nav-cta {
  flex-shrink: 0;
  background: var(--blue); color: #fff;
  font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 10px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: #2458d8; transform: translateY(-1px); text-decoration: none; }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px;
  margin-left: auto;
}
.hamburger-line { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 18px 5%;
  display: none;
  flex-direction: column; gap: 4px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  color: var(--text); font-weight: 500; font-size: 17px;
  padding: 12px 10px; border-radius: 8px; text-decoration: none;
}
.mobile-nav-link:hover { background: var(--surface); text-decoration: none; }
.mobile-nav-cta {
  margin-top: 10px;
  background: var(--blue); color: #fff; text-align: center;
  font-weight: 600; padding: 13px; border-radius: 10px; text-decoration: none;
}
.mobile-nav-cta:hover { text-decoration: none; background: #2458d8; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; border-radius: 12px;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; border: 0; }
.btn-primary:hover { background: #2458d8; transform: translateY(-2px); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(20, 32, 60, 0.55);
}
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-2px); }
.btn-full { width: 100%; padding: 15px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 84px) 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 460px at 50% 0%, rgba(47, 107, 255, 0.16), transparent 65%),
    radial-gradient(560px 380px at 90% 90%, rgba(45, 212, 191, 0.06), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.2;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 25%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero-subheadline { color: var(--muted); font-size: 18.5px; max-width: 760px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-anim { opacity: 0; transform: translateY(24px); }
.hero-anim.revealed { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }

/* Hero visual */
.hero-visual {
  position: relative; z-index: 1;
  margin-top: 64px;
  display: flex; justify-content: center;
}
.hero-dashboard {
  width: min(880px, 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.hero-dashboard img { width: 100%; height: auto; }
.hero-phone {
  position: absolute;
  right: max(2%, calc(50% - 560px));
  bottom: -46px;
  width: min(230px, 34%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.hero-phone img { width: 100%; height: auto; }
.hero-status {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -26px;
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  max-width: 92%;
}
.hs-item {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(14, 24, 48, 0.95);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px; font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.hs-item i { width: 8px; height: 8px; border-radius: 50%; }
.hs-pending i { background: var(--orange); }
.hs-armando i { background: #fbbf24; }
.hs-listo i { background: var(--teal); }
.hs-camino i { background: var(--blue); }
.hs-entregado i { background: var(--green); }

/* ---------- Franja ---------- */
.strip {
  padding: 84px 0 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.strip-phrase {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.strip-phrase span { color: var(--blue); }

/* ---------- Flujo operativo ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: paso;
}
.flow-step {
  display: flex; gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .25s ease, transform .25s ease;
}
.flow-step:hover { border-color: var(--blue); transform: translateY(-3px); }
.flow-step:last-child { grid-column: 1 / -1; }
.flow-num {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: #fff; background: var(--blue);
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.flow-body p { color: var(--muted); font-size: 15px; }

/* ---------- Áreas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.area-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .25s ease, transform .25s ease;
}
.area-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.area-card h3 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  margin-bottom: 16px;
}
.area-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-blue { background: var(--blue); box-shadow: 0 0 8px rgba(47,107,255,.7); }
.dot-orange { background: var(--orange); box-shadow: 0 0 8px rgba(245,158,11,.7); }
.dot-green { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,.7); }
.dot-teal { background: var(--teal); box-shadow: 0 0 8px rgba(45,212,191,.7); }
.area-card ul li {
  position: relative; padding-left: 18px;
  margin-bottom: 9px;
  color: var(--muted); font-size: 14.5px;
}
.area-card ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--blue);
}

/* ---------- Centro de gestión ---------- */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.ops-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.ops-block h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 700; margin-bottom: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px; color: var(--muted);
}
.ops-counters { display: flex; flex-wrap: wrap; gap: 8px; }
.ops-counter {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px; font-weight: 600;
  border: 1px solid;
}
.oc-orange { color: var(--orange); border-color: rgba(245,158,11,.45); background: var(--orange-soft); }
.oc-amber { color: #fbbf24; border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.1); }
.oc-teal { color: var(--teal); border-color: rgba(45,212,191,.45); background: rgba(45,212,191,.1); }
.oc-blue { color: var(--blue); border-color: rgba(47,107,255,.5); background: var(--blue-soft); }
.oc-green { color: var(--green); border-color: rgba(34,197,94,.45); background: var(--green-soft); }
.oc-red { color: var(--red); border-color: rgba(239,68,68,.45); background: var(--red-soft); }

.check-list li {
  position: relative; padding-left: 24px;
  margin-bottom: 11px;
  color: var(--muted); font-size: 15px;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

.shot-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.shot-frame img { width: 100%; height: auto; }
.shot-frame figcaption {
  background: var(--surface);
  padding: 14px 20px;
  font-size: 13px; color: var(--muted-2);
  border-top: 1px solid var(--line);
}

/* ---------- App móvil ---------- */
.app-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.app-shot { text-align: center; }
.app-shot img {
  width: min(340px, 80%);
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.app-shot figcaption { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; }

/* ---------- Bitácora ---------- */
.bit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.bit-caption {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line-2);
}
.timeline li {
  position: relative;
  display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 22px;
}
.timeline li:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -26px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid var(--bg-2);
  flex-shrink: 0;
}
.tl-blue { background: var(--blue); }
.tl-orange { background: var(--orange); }
.tl-teal { background: var(--teal); }
.tl-green { background: var(--green); }
.timeline strong { display: block; font-family: var(--font-display); font-size: 16.5px; }
.timeline span { color: var(--muted); font-size: 14px; }

/* ---------- Geolocalización ---------- */
.geo-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.geo-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.geo-map {
  position: relative;
  height: 260px;
  border-radius: 12px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg-2);
  background-size: 42px 42px;
  overflow: hidden;
  margin-bottom: 16px;
}
.geo-pin {
  position: absolute; top: 22%; right: 24%;
  width: 20px; height: 20px;
  background: var(--blue);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 18px rgba(47, 107, 255, .8);
}
.geo-origin {
  position: absolute; bottom: 24%; left: 20%;
  width: 14px; height: 14px;
  background: var(--bg);
  border: 3px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(34, 197, 94, .7);
}
.geo-route {
  position: absolute;
  left: 23%; bottom: 30%;
  width: 52%; height: 42%;
  border-top: 3px dashed var(--blue);
  border-right: 3px dashed var(--blue);
  border-radius: 0 40px 0 0;
  opacity: .8;
}
.geo-coords { display: flex; flex-direction: column; gap: 3px; padding: 0 4px; }
.geo-coords-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2);
}
.geo-coords-value { font-family: var(--font-mono); font-size: 16px; color: var(--teal); }
.geo-coords-note { font-size: 12px; color: var(--muted-2); }

/* ---------- Beneficios ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 15px; font-weight: 500;
  transition: border-color .25s ease, transform .25s ease;
}
.benefit:hover { border-color: var(--green); transform: translateY(-2px); }

/* ---------- Comparativa ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  height: 100%;
}
.compare-before { border-top: 3px solid var(--red); }
.compare-after { border-top: 3px solid var(--green); background: linear-gradient(180deg, rgba(34,197,94,.06), var(--surface) 40%); }
.compare-badge {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.badge-red { color: var(--red); border: 1px solid rgba(239, 68, 68, .4); background: var(--red-soft); }
.badge-green { color: var(--green); border: 1px solid rgba(34, 197, 94, .4); background: var(--green-soft); }
.compare-card h3 { margin-bottom: 20px; }
.compare-list li {
  position: relative; padding-left: 22px;
  margin-bottom: 13px;
  color: var(--muted); font-size: 15.5px;
}
.compare-before .compare-list li::before {
  content: '✕'; position: absolute; left: 0; top: 0;
  color: var(--red); font-size: 13px; font-weight: 700;
}
.compare-after .compare-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}
.compare-arrow { display: flex; align-items: center; justify-content: center; }

/* ---------- Integración ---------- */
.int-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap;
  margin-top: 44px;
}
.int-node {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 22px 34px;
  text-align: center;
}
.int-label { display: block; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.int-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.int-link { display: flex; align-items: center; gap: 14px; }
.int-link-line { width: 44px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.int-link-text {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .08em; color: var(--teal);
  white-space: nowrap;
}

/* ---------- CTA / Contacto ---------- */
.section-cta {
  background:
    radial-gradient(700px 420px at 20% 20%, rgba(47, 107, 255, 0.14), transparent 65%),
    radial-gradient(600px 380px at 85% 85%, rgba(45, 212, 191, 0.07), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-direct { margin-top: 30px; }
.cta-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .45);
  color: var(--green);
  font-weight: 600; font-size: 15.5px;
  padding: 12px 20px; border-radius: 10px;
  text-decoration: none;
  transition: all .2s ease;
  margin-bottom: 12px;
}
.cta-wa:hover { background: rgba(34, 197, 94, .2); text-decoration: none; }
.cta-mail { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }
.cta-mail:hover { color: var(--text); }

.cta-form {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.cta-form-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.form-row { margin-bottom: 16px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .2);
}
.form-row input.invalid { border-color: var(--red); }
.form-row textarea { resize: vertical; min-height: 76px; }
.form-row select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239fb0cc' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-error { color: var(--red); font-size: 13.5px; margin: 8px 0 14px; }
.form-note { text-align: center; font-size: 12.5px; color: var(--muted-2); margin-top: 12px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-desc { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-nav a, .footer-contact a {
  display: block;
  color: var(--muted); font-size: 14.5px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 9px;
  color: var(--muted);
  margin-bottom: 0;
  transition: all .2s ease;
}
.footer-social a:hover { color: var(--text); border-color: var(--blue); background: var(--blue-soft); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted-2); font-size: 13.5px;
}
.footer-privacy { color: var(--muted-2); font-size: 13.5px; }
.footer-privacy:hover { color: var(--text); }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 95;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .mb-16 { margin-bottom: 42px; }
  .nav-cta { display: none; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 110px; }
  .hero-ctas .btn { flex: 1; }
  .hero-phone { width: 130px; bottom: -30px; }
  .hero-status { bottom: -34px; }
  .flow { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .bit-grid { grid-template-columns: 1fr; gap: 36px; }
  .geo-grid { grid-template-columns: 1fr; gap: 40px; }
  .compare-grid { grid-template-columns: 1fr; gap: 18px; }
  .compare-arrow { transform: rotate(90deg); }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .int-link-text { white-space: normal; text-align: center; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-item, .hero-anim { opacity: 1 !important; transform: none !important; }
}
