/* ==========================================================================
   Halcón — sitio de presentación (one-page)
   Lenguaje visual de la web de IntelAp (secciones claras y oscuras, badges de
   vidrio, tarjetas con radio grande, red de partículas en el hero) con la paleta
   del tablero Halcón (resources/css/prototipo/tokens.css).
   ========================================================================== */

:root {
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Raleway", sans-serif;
  --font-nav: "Poppins", sans-serif;

  /* Paleta Halcón, tema claro */
  --bg: #E8EBE7;
  --panel: #FBFBF9;
  --panel-2: #F2F4F1;
  --line: #C6CDD4;
  --line-2: #DDE2E6;
  --ink: #0D1626;
  --ink-2: #34404F;
  --ink-3: #5B6673;
  --accent: #1F3864;
  --accent-soft: #DDE5F1;
  --st-pv: #8A5000;
  --st-ven: #6B6B6B;
  --st-sd: #757575;
  --pos: #2E6B33;
  --pos-soft: #E1EFE1;

  /* Paleta Halcón, tema oscuro (hero, banda y pie) */
  --d-bg: #080C11;
  --d-panel: #0E141B;
  --d-panel-2: #131B24;
  --d-line: #2A3746;
  --d-ink: #E4E9EF;
  --d-ink-2: #B3BDC8;
  --d-ink-3: #8793A1;
  --d-accent: #8FB0E8;
  --d-accent-soft: #15233A;
  --d-vig: #A3C0F2;
  --d-pv: #E9A945;
  --d-pos: #7BC47F;

  /* Acento de IntelAp, solo en su bloque */
  --ia-cyan: #00b0d8;
  --ia-blue: #0a7ac4;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 4px 14px rgba(13, 22, 38, .06);
  --shadow: 0 10px 30px rgba(13, 22, 38, .09);
  --shadow-lg: 0 18px 50px rgba(13, 22, 38, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--ink-2); background: var(--bg); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--d-accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--panel-2); }
.dark {
  --ink: #fff; --ink-2: var(--d-ink-2); --ink-3: var(--d-ink-3); --accent: var(--d-accent);
  background: var(--d-bg); color: var(--d-ink-2);
}
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-nav); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
}
.dark .eyebrow { background: rgba(143, 176, 232, .12); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.015em; }
.section-head p { font-size: 18px; color: var(--ink-3); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-nav); font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--d-accent); color: #08101C; box-shadow: 0 6px 18px rgba(143, 176, 232, .28); }
.btn-primary:hover { background: #a9c3f0; color: #08101C; box-shadow: 0 10px 26px rgba(143, 176, 232, .42); }
.btn-navy { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(31, 56, 100, .28); }
.btn-navy:hover { background: #28477f; color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(8, 12, 17, .55); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.header.scrolled { background: rgba(8, 12, 17, .88); border-bottom-color: rgba(255, 255, 255, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 40px; width: auto; }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.navmenu ul { display: flex; align-items: center; gap: 4px; }
.navmenu a {
  display: block; padding: 9px 14px; border-radius: 999px; color: rgba(255, 255, 255, .78);
  font-family: var(--font-nav); font-size: 14px; font-weight: 500; transition: color .2s, background .2s;
}
.navmenu a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.navmenu a.active { color: #08101C; background: var(--d-accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 96px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; animation: drift 22s ease-in-out infinite; pointer-events: none; }
.orb-1 { width: 420px; height: 420px; left: -120px; top: 8%; background: #1F3864; }
.orb-2 { width: 340px; height: 340px; right: -80px; top: 36%; background: #2a4a85; animation-delay: -8s; animation-duration: 28s; }
.orb-3 { width: 260px; height: 260px; left: 40%; bottom: -100px; background: #15233A; animation-delay: -14s; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.badge-glass {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 9px 16px; border-radius: 999px;
  font-family: var(--font-nav); font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
}
.badge-glass .ico { width: 16px; height: 16px; color: var(--d-accent); }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin-bottom: 22px; }
.text-gradient { background: linear-gradient(90deg, #a9c3f0, #8FB0E8 45%, #5f86d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .74); max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.by-intelap { display: inline-flex; align-items: center; gap: 12px; color: var(--d-ink-3); font-size: 14px; }
.by-intelap img { height: 26px; width: auto; }

.hero-visual { position: relative; aspect-ratio: 1; width: min(460px, 100%); margin-inline: auto; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(143, 176, 232, .28); animation: spin 60s linear infinite; }
.orbit-1 { inset: 4%; }
.orbit-2 { inset: 20%; border-style: solid; border-color: rgba(143, 176, 232, .14); animation-direction: reverse; animation-duration: 90s; }
.orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--d-accent); box-shadow: 0 0 14px var(--d-accent); top: -5px; left: 50%; }
.orbit-2 i { background: var(--d-pv); box-shadow: 0 0 14px var(--d-pv); top: auto; bottom: -5px; }
.hero-core {
  position: relative; width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #1b2d4d, #0E141B 70%); border: 1px solid rgba(143, 176, 232, .3);
  box-shadow: 0 0 60px rgba(143, 176, 232, .22), inset 0 0 30px rgba(143, 176, 232, .1);
  animation: pulse 6s ease-in-out infinite;
}
.hero-core img { width: 62%; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  font-family: var(--font-nav); font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(14, 20, 27, .78); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: float 7s ease-in-out infinite;
}
.chip .ico { width: 18px; height: 18px; color: var(--d-accent); }
.chip-1 { top: 6%; left: -2%; animation-delay: -1s; }
.chip-2 { top: 22%; right: -6%; animation-delay: -3s; }
.chip-3 { bottom: 14%; left: -6%; animation-delay: -5s; }
.chip-4 { bottom: 2%; right: 6%; animation-delay: -2s; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--accent); background: var(--accent-soft);
}
.card h3 { font-size: 20px; font-weight: 700; }
.card p { margin: 0; font-size: 15px; color: var(--ink-3); }
.card .tag {
  display: inline-block; margin-top: 16px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  font-family: var(--font-nav); background: #F6E9D4; color: var(--st-pv);
}

/* ---------- Qué es ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-grid h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.checks { display: grid; gap: 14px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--pos); margin-top: 3px; }
.checks b { color: var(--ink); }

/* ---------- Tablero ilustrativo ---------- */
.board {
  background: var(--d-panel); border: 1px solid var(--d-line); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-lg); color: var(--d-ink-2);
}
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-family: var(--font-nav); font-size: 13px; color: var(--d-ink-3); }
.board-top strong { color: var(--d-ink); font-size: 15px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--d-line); }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eje {
  background: var(--d-panel-2); border: 1px solid var(--d-line); border-top: 3px solid var(--d-vig);
  border-radius: 12px; padding: 14px 16px;
}
.eje.pv { border-top-color: var(--d-pv); }
.eje.sd { border-top-color: #7C848D; }
.eje h4 { color: var(--d-ink); font-size: 15px; margin-bottom: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--d-vig); font-family: var(--font-nav); }
.eje.pv .status { color: var(--d-pv); }
.eje.sd .status { color: #9097A0; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eje small { display: block; margin-top: 8px; color: var(--d-ink-3); font-size: 12px; }
.board-note { margin: 14px 0 0; font-size: 12px; color: var(--d-ink-3); text-align: center; }

/* ---------- Mapa ---------- */
.map-card { position: relative; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; background: var(--d-panel); border: 1px solid var(--d-line); box-shadow: var(--shadow-lg); }
.map-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card .legend { position: absolute; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.map-card .legend span { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; font-family: var(--font-nav); color: #fff; background: rgba(14, 20, 27, .8); border: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Pasos ---------- */
.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--d-line); }
.steps li::before {
  counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; font-family: var(--font-head); font-weight: 800; color: #08101C; background: var(--d-accent);
}
.steps h3 { color: #fff; font-size: 18px; }
.steps p { margin: 0; font-size: 15px; color: var(--d-ink-3); }

/* ---------- App de avisos ---------- */
.phone {
  position: relative; width: min(290px, 100%); aspect-ratio: 9 / 18; margin-inline: auto; padding: 14px; border-radius: 40px;
  background: #0b1018; border: 2px solid var(--d-line); box-shadow: var(--shadow-lg);
}
.phone-screen { height: 100%; border-radius: 28px; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #0E141B, #15233A); color: var(--d-ink); }
.phone-screen h4 { color: #fff; font-size: 17px; margin: 0; }
.phone-screen small { color: var(--d-ink-3); }
.sos { position: relative; margin: 8px auto; width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; background: radial-gradient(circle at 40% 35%, #b73a3a, #7d1f1f); box-shadow: 0 0 30px rgba(183, 58, 58, .5); }
.sos::before, .sos::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(183, 58, 58, .6); animation: ripple 3s ease-out infinite; }
.sos::after { animation-delay: 1.5s; }
.pills { display: grid; gap: 8px; margin-top: auto; }
.pills span { padding: 9px 12px; border-radius: 12px; font-size: 13px; background: rgba(255, 255, 255, .06); border: 1px solid var(--d-line); }

/* ---------- Confianza ---------- */
.trust-card .icon-wrap { color: var(--pos); background: var(--pos-soft); }

/* ---------- IntelAp ---------- */
.intelap-band { text-align: center; }
.intelap-band .logo-big { height: 64px; width: auto; margin: 0 auto 26px; }
.intelap-band p { max-width: 680px; margin-inline: auto; font-size: 18px; }
.intelap-band .btn { margin-top: 12px; background: linear-gradient(135deg, var(--ia-cyan), var(--ia-blue) 60%, #0060a0); color: #fff; box-shadow: 0 6px 20px rgba(0, 120, 190, .4); }

/* ---------- Contacto / pie ---------- */
.contact-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--d-bg); color: var(--d-ink-2); position: relative; overflow: hidden; }
.contact-box h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.contact-box ul { display: grid; gap: 14px; }
.contact-box li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--d-line); color: #fff; }
.contact-box li .ico { color: var(--d-accent); }
.footer { padding: 56px 0 30px; background: #05080c; color: var(--d-ink-3); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--d-line); }
.footer-logos { display: flex; align-items: center; gap: 22px; }
.footer-logos img { height: 38px; width: auto; }
.footer-logos .sep { width: 1px; height: 30px; background: var(--d-line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--d-ink-2); }
.footer-links a:hover { color: #fff; }
.copyright { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--d-accent); color: #08101C; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Cifras ---------- */
.facts { padding: 0 0 8px; margin-top: -1px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0 44px; border-top: 1px solid var(--d-line); }
.facts-grid div { text-align: center; }
.facts strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; background: linear-gradient(90deg, #a9c3f0, #8FB0E8 50%, #5f86d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--d-ink-3); }

/* ---------- Capturas ---------- */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--d-panel); border: 1px solid var(--d-line); box-shadow: var(--shadow-lg); cursor: zoom-in; }
.shot img { width: 100%; height: auto; display: block; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0b1119; border-bottom: 1px solid var(--d-line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--d-line); }
.shot-bar span { margin-left: 10px; font-family: var(--font-nav); font-size: 12px; color: var(--d-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--d-ink-2); background: var(--d-panel); border-top: 1px solid var(--d-line); }
.shot figcaption small { color: var(--d-ink-3); }
#que-es .shot { margin-top: 48px; }

/* ---------- Dos columnas ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse { grid-template-columns: 1.1fr 1fr; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.015em; }
.h3-lg { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.app-split { margin-top: clamp(48px, 7vw, 88px); }

/* ---------- Tarjeta ancha y grande ---------- */
.card.wide { display: flex; gap: 24px; align-items: center; margin-top: 22px; }
.card.wide .icon-wrap { margin: 0; flex: none; width: 64px; height: 64px; }
.card.wide h3 { font-size: 22px; }
.card.big { padding: 32px; }
.card.big h3 { font-size: 22px; }
.card .sub { margin-bottom: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.two-col h4 { font-size: 14px; font-family: var(--font-nav); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.two-col p { margin: 0 0 14px; }
.dots-list { display: grid; gap: 8px; }
.dots-list li { position: relative; padding-left: 16px; font-size: 15px; color: var(--ink-3); }
.dots-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Regla de vigencia ---------- */
.rule-head { margin: clamp(56px, 7vw, 88px) 0 24px; text-align: center; }
.rule-head h3 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.state { padding: 22px; border-radius: var(--radius); background: var(--d-panel); border: 1px solid var(--d-line); border-top: 4px solid var(--d-vig); }
.state b { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 20px; color: #fff; }
.state span { font-size: 15px; color: var(--d-ink-3); }
.state.s-pv { border-top-color: var(--d-pv); }
.state.s-ven { border-top-color: #9097A0; }
.state.s-sd { border-top-color: #7C848D; border-top-style: dashed; }
.rule-note { margin: 28px auto 0; max-width: 640px; text-align: center; color: var(--d-ink-2); }

/* ---------- Modo proyección ---------- */
.mini { padding: 24px; border-radius: var(--radius); background: var(--d-panel); border: 1px solid var(--d-line); display: grid; gap: 6px; align-content: start; }
.mini .ico { width: 28px; height: 28px; color: var(--d-accent); margin-bottom: 8px; }
.mini b { color: #fff; font-family: var(--font-head); font-size: 18px; }
.mini span { font-size: 15px; color: var(--d-ink-3); }

/* ---------- App del vecino ---------- */
.phone-shot { width: min(300px, 100%); margin-inline: auto; padding: 12px; border-radius: 40px; background: #0b1018; border: 2px solid var(--d-line); box-shadow: var(--shadow-lg); }
.phone-shot img { width: 100%; border-radius: 30px; }
.flow { counter-reset: f; display: grid; gap: 18px; margin-top: 18px; }
.flow li { position: relative; padding-left: 54px; }
.flow li::before { counter-increment: f; content: counter(f); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--accent); }
.flow b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 18px; }
.flow span { color: var(--ink-3); }

/* ---------- IntelAp y contacto ---------- */
.intelap-band .section-head { max-width: 780px; }
.intelap-band .section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.intelap-band .logo-big { height: 60px; width: auto; margin: 0 auto 24px; }
.company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 8px; }
.company h3 { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.company-data { text-align: left; }
.company-data dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0 0 22px; padding: 22px; border-radius: var(--radius); background: var(--d-panel); border: 1px solid var(--d-line); }
.company-data dt { color: var(--d-ink-3); font-size: 14px; }
.company-data dd { margin: 0; color: #fff; }
.company-data a { color: var(--d-accent); }
.company .checks b, .company .checks span { color: var(--d-ink-2); }
.company .checks .ico { color: var(--d-pos); }
.people { display: grid; gap: 16px; text-align: left; justify-items: start; }
.person { display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 20px; border-radius: var(--radius); background: var(--d-panel); border: 1px solid var(--d-line); }
.person .avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #08101C; background: var(--d-accent); }
.person b { color: #fff; font-family: var(--font-head); font-size: 18px; }
.person small { margin-left: 8px; color: var(--d-ink-3); }
.person a { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--d-ink-2); font-size: 15px; word-break: break-word; }
.person a:hover { color: #fff; }
.person a .ico { color: var(--d-accent); width: 18px; height: 18px; }

/* ---------- Caso de referencia y adaptación ---------- */
.adapt-head { margin-top: clamp(56px, 7vw, 88px); margin-bottom: 28px; }
.reference { display: flex; gap: 28px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.reference .icon-wrap { flex: none; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.reference .icon-wrap .ico { width: 32px; height: 32px; }
.reference h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.reference p { margin: 0; color: var(--ink-3); max-width: 760px; }
@media (max-width: 560px) { .reference { flex-direction: column; align-items: flex-start; } }

/* ---------- Imagen ampliada ---------- */
.zoom { width: min(1280px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #000; overflow: auto; }
.zoom::backdrop { background: rgba(0, 0, 0, .82); }
.zoom img { width: 100%; height: auto; display: block; }
.zoom-close { position: sticky; top: 8px; float: right; margin: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; font-size: 26px; line-height: 1; background: #fff; color: #000; cursor: pointer; z-index: 2; }

/* ---------- Animaciones ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 60px rgba(143, 176, 232, .22), inset 0 0 30px rgba(143, 176, 232, .1); } 50% { box-shadow: 0 0 90px rgba(143, 176, 232, .38), inset 0 0 40px rgba(143, 176, 232, .16); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(50px, -40px); } 66% { transform: translate(-30px, 30px); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .split, .split.reverse, .company { grid-template-columns: 1fr; }
  .states, .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .contact-box { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(340px, 80%); }
  .hero { padding-top: calc(var(--header-h) + 24px); }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .navmenu { position: absolute; top: var(--header-h); left: 0; right: 0; padding: 12px 20px 20px; background: rgba(8, 12, 17, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--d-line); display: none; }
  .navmenu.open { display: block; }
  .navmenu ul { flex-direction: column; align-items: stretch; }
  .navmenu a { padding: 13px 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .states, .two-col, .facts-grid { grid-template-columns: 1fr; }
  .card.wide { flex-direction: column; align-items: flex-start; }
  .company-data dl { grid-template-columns: 1fr; gap: 2px 0; }
  .company-data dt { margin-top: 8px; }
  .grid-4, .steps, .board-grid { grid-template-columns: 1fr; }
  .chip-2, .chip-3 { display: none; }
  .brand span { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
