/* =========================================================
   CUBE Soluciones — Landing (Parallax Tech)
   ========================================================= */
:root {
  --navy-950: #040A16;
  --navy-900: #060E1C;
  --navy-850: #0A1628;
  --navy-800: #0F1E36;
  --navy-700: #16294A;
  --line: rgba(148, 178, 230, .12);
  --line-strong: rgba(148, 178, 230, .22);
  --text: #E6EDF7;
  --text-2: #9AA9C2;
  --text-3: #6B7A94;
  --neon: #38BDF8;
  --blue: #3B82F6;
  --emerald: #10B981;
  --violet: #8B5CF6;
  --sos: #FF6B1A;
  --sos-2: #FFB020;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --glow: 0 0 0 1px rgba(56, 189, 248, .35), 0 10px 40px -10px rgba(56, 189, 248, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { letter-spacing: -.02em; font-weight: 700; }
a { color: var(--neon); text-decoration: none; }
a:hover { color: #7DD3FC; }
i[data-lucide], svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 2; vertical-align: -.15em; }
.text-muted-2 { color: var(--text-2); }
.mono { font-family: 'JetBrains Mono', monospace; }
.text-gradient {
  background: linear-gradient(90deg, #7DD3FC, var(--blue) 50%, var(--emerald));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Capas globales de fondo ---------- */
.bg-layers { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: -50% 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 30%, transparent 75%);
  opacity: .55;
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.orb-1 { width: 520px; height: 520px; background: #1D4ED8; top: -120px; left: -140px; }
.orb-2 { width: 420px; height: 420px; background: #0EA5E9; top: 40%; right: -160px; opacity: .3; }
.orb-3 { width: 380px; height: 380px; background: #059669; top: 120%; left: 20%; opacity: .22; }
[data-parallax] { will-change: transform; }

/* ---------- Navbar ---------- */
#mainNav { padding: 18px 0; transition: all .35s var(--ease); }
#mainNav.scrolled {
  padding: 10px 0;
  background: rgba(6, 14, 28, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand-icon { height: 44px; width: auto; filter: drop-shadow(0 0 10px rgba(47, 139, 255, .45)); transition: filter .3s, transform .3s var(--ease); }
.navbar-brand:hover .brand-icon { filter: drop-shadow(0 0 16px rgba(56, 189, 248, .75)); transform: translateY(-1px); }
#mainNav.scrolled .brand-icon { height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Michroma', 'Inter', sans-serif; font-size: 1.28rem; letter-spacing: .06em;
  background: linear-gradient(180deg, #FFFFFF 30%, #9CC8FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: .7px rgba(220, 235, 255, .9);
}
.brand-sub {
  font-weight: 600; font-size: .58rem; color: #1EC8FF; text-transform: uppercase;
  letter-spacing: .52em; margin-top: 5px;
}
.navbar .nav-link { color: var(--text-2); font-weight: 500; font-size: .95rem; padding: 8px 14px !important; border-radius: 10px; transition: color .2s; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: #fff; }
.navbar-toggler { border: 1px solid var(--line-strong); color: #fff; padding: 8px 10px; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: none; }

.product-menu {
  background: rgba(10, 22, 40, .96);
  border: 1px solid var(--line-strong);
  border-radius: 16px; padding: 8px; min-width: 380px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  margin-top: 10px !important;
}
.product-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 12px;
  color: var(--text); transition: background .2s;
}
.product-item:hover { background: rgba(255, 107, 26, .08); color: var(--text); }
.product-item strong { display: block; font-size: .95rem; }
.product-item small { color: var(--text-2); font-size: .8rem; line-height: 1.45; display: block; margin-top: 2px; }
.product-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sos), var(--sos-2)); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(255, 107, 26, .7);
}
.product-arrow { color: var(--text-3); flex: none; transition: transform .2s, color .2s; }
.product-item:hover .product-arrow { color: var(--sos); transform: translate(2px, -2px); }

/* ---------- Botones ---------- */
.btn { border-radius: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all .25s var(--ease); }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-glow {
  color: #fff; border: 0;
  background: linear-gradient(135deg, var(--blue), #0EA5E9);
  box-shadow: var(--glow);
}
.btn-glow:hover, .btn-glow:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(125, 211, 252, .6), 0 16px 44px -10px rgba(56, 189, 248, .8); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 107, 26, .6); transform: translateY(-2px); }
.btn-ghost:hover i, .btn-ghost:hover svg { color: var(--sos); }
.btn-sos {
  color: #fff; border: 0; background: linear-gradient(135deg, var(--sos), #FF8A3D);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, .5), 0 14px 40px -10px rgba(255, 107, 26, .75);
}
.btn-sos:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 176, 32, .8), 0 18px 48px -10px rgba(255, 107, 26, .9); }

/* ---------- Utilidades de sección ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 14px 0; }
.section-head p { color: var(--text-2); font-size: 1.08rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--neon); padding: 6px 12px; border-radius: 999px;
  background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .25);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; padding: 140px 0 100px; display: flex; align-items: center; position: relative; overflow: hidden; }
#heroNetwork { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-title { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.08; font-weight: 800; margin: 22px 0 20px; }
.hero-lead { color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 560px; margin-bottom: 32px; line-height: 1.65; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stats span { color: var(--text-3); font-size: .85rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--text-3); font-size: 1.4rem; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* Mockup 3D */
.mockup-stage { position: relative; perspective: 1400px; padding: 30px 10px; }
.mockup {
  transform: rotateY(-14deg) rotateX(8deg);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 41, 74, .9), rgba(10, 22, 40, .95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(56, 189, 248, .35);
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(4, 10, 22, .5); }
.mockup-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mockup-bar > span:nth-child(1) { background: #F87171; }
.mockup-bar > span:nth-child(2) { background: #FBBF24; }
.mockup-bar > span:nth-child(3) { background: #34D399; }
.mockup-url { margin-left: 12px; flex: 1; font-size: .72rem; color: var(--text-3); background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 4px 10px; font-family: 'JetBrains Mono', monospace; }
.mockup-body { display: flex; min-height: 330px; }
.mockup-side { display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; border-right: 1px solid var(--line); color: var(--text-3); }
.mockup-side .active { color: var(--neon); }
.mockup-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-width: 0; }
.kpi small { display: block; font-size: .62rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi strong { font-size: 1.05rem; display: block; margin: 2px 0; }
.kpi em { font-style: normal; font-size: .65rem; font-weight: 600; }
.kpi em.up { color: var(--emerald); }
.kpi em.ok { color: var(--neon); }
.chart-card { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.chart-head { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-2); margin-bottom: 6px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald); }
.chart-svg { width: 100%; height: 90px; display: block; }
.chart-svg .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .4s var(--ease) forwards; filter: drop-shadow(0 0 6px rgba(56, 189, 248, .7)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mini-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.mini-map {
  position: relative; border-radius: 12px; border: 1px solid var(--line); min-height: 92px;
  background:
    radial-gradient(circle at 30% 40%, rgba(56, 189, 248, .12), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 14px, var(--line) 14px 15px),
    repeating-linear-gradient(90deg, transparent 0 14px, var(--line) 14px 15px);
}
.pin { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.pin.is-alert { background: var(--sos); box-shadow: 0 0 0 0 rgba(255, 107, 26, .8); animation: pinPulse 1.6s infinite; }
@keyframes pinPulse { 70% { box-shadow: 0 0 0 12px rgba(255, 107, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); } }
.mini-log { list-style: none; margin: 0; padding: 10px; border-radius: 12px; border: 1px solid var(--line); font-size: .68rem; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mini-log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; }
.dot.ok { background: var(--emerald); }
.dot.is-alert { background: var(--sos); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
  background: rgba(15, 30, 54, .85); border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); font-size: .8rem;
}
.float-card strong { display: block; font-size: .85rem; }
.float-card small { color: var(--text-3); }
.float-card > i, .float-card > svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
.fc-1 { top: 0; left: -10px; }
.fc-1 > svg { background: rgba(16, 185, 129, .15); color: var(--emerald); }
.fc-2 { bottom: 0; right: 0; }
.fc-2 > svg { background: rgba(255, 107, 26, .15); color: var(--sos); }

/* ---------- Banda de frase parallax ---------- */
.quote-band { position: relative; padding: 110px 0; overflow: hidden; border-block: 1px solid var(--line); }
.quote-bg {
  position: absolute; inset: -40% 0;
  background:
    radial-gradient(600px 240px at 20% 50%, rgba(59, 130, 246, .22), transparent 70%),
    radial-gradient(500px 220px at 80% 50%, rgba(16, 185, 129, .16), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(148, 178, 230, .04) 22px 23px);
}
.quote-band.alt .quote-bg {
  background:
    radial-gradient(600px 240px at 75% 50%, rgba(56, 189, 248, .2), transparent 70%),
    radial-gradient(500px 220px at 25% 50%, rgba(139, 92, 246, .16), transparent 70%),
    repeating-linear-gradient(65deg, transparent 0 22px, rgba(148, 178, 230, .04) 22px 23px);
}
.quote { font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.35; max-width: 900px; margin: 0 auto; letter-spacing: -.02em; }

/* ---------- Servicios ---------- */
.service-card {
  position: relative; height: 100%; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 41, 74, .55), rgba(10, 22, 40, .6));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, opacity .8s var(--ease);
  transform-style: preserve-3d; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { border-color: rgba(56, 189, 248, .4); box-shadow: 0 30px 60px -30px rgba(56, 189, 248, .4); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; font-size: 1.5rem;
  color: var(--neon); background: rgba(56, 189, 248, .1); border: 1px solid rgba(56, 189, 248, .3);
}
.service-icon.emerald { color: var(--emerald); background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .3); }
.service-icon.violet { color: #A78BFA; background: rgba(139, 92, 246, .1); border-color: rgba(139, 92, 246, .3); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card > p { color: var(--text-2); }
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li { color: var(--text-2); font-size: .93rem; display: flex; gap: 10px; align-items: center; }
.check-list svg { color: var(--emerald); flex: none; }
.card-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { transition: transform .2s; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Postes SOS ---------- */
.sos-section {
  position: relative; overflow: hidden; padding: 130px 0;
  background: linear-gradient(180deg, var(--navy-950), #0B0F17 50%, var(--navy-950));
  border-block: 1px solid rgba(255, 107, 26, .18);
}
.sos-bg {
  position: absolute; inset: -30% 0;
  background:
    radial-gradient(700px 400px at 78% 45%, rgba(255, 107, 26, .18), transparent 70%),
    radial-gradient(500px 300px at 10% 80%, rgba(56, 189, 248, .08), transparent 70%),
    repeating-linear-gradient(45deg, transparent 0 40px, rgba(255, 255, 255, .015) 40px 41px),
    linear-gradient(135deg, rgba(148, 163, 184, .05), transparent 40%, rgba(148, 163, 184, .04) 60%, transparent);
}
.sos-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 26, .06), transparent);
  height: 200px; animation: scan 7s linear infinite;
}
@keyframes scan { from { transform: translateY(-200px); } to { transform: translateY(1200px); } }
.eyebrow-sos { color: var(--sos-2); background: rgba(255, 107, 26, .1); border-color: rgba(255, 107, 26, .35); }
.sos-title { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; margin: 18px 0; line-height: 1.12; }
.sos-title span {
  background: linear-gradient(90deg, #fff, #CBD5E1 40%, var(--sos-2) 80%, var(--sos));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sos-lead { color: var(--text-2); font-size: 1.1rem; max-width: 620px; margin-bottom: 30px; }
.sos-feat {
  display: flex; gap: 14px; padding: 16px; border-radius: 14px; height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .07);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.sos-feat:hover { border-color: rgba(255, 107, 26, .45); transform: translateY(-3px); background: rgba(255, 107, 26, .05); }
.sos-feat > svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 11px; color: var(--sos); background: rgba(255, 107, 26, .12); }
.sos-feat strong { display: block; font-size: .95rem; }
.sos-feat small { color: var(--text-2); font-size: .83rem; }

/* Ilustración del poste */
.pole-stage { position: relative; height: 520px; display: grid; place-items: center; }
.radar { position: absolute; top: 28%; left: 50%; width: 0; height: 0; }
.radar span {
  position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; margin: -180px 0 0 -180px;
  border-radius: 50%; border: 1px solid rgba(255, 107, 26, .5); opacity: 0;
  animation: radar 3.6s linear infinite;
}
.radar span:nth-child(2) { animation-delay: 1.2s; }
.radar span:nth-child(3) { animation-delay: 2.4s; }
@keyframes radar { 0% { transform: scale(.1); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }

.pole { position: relative; width: 140px; height: 480px; }
.pole-solar {
  position: absolute; top: 18px; left: 50%; width: 150px; height: 56px; transform: translateX(-50%) perspective(300px) rotateX(38deg);
  background: repeating-linear-gradient(90deg, #1E3A8A 0 22px, #0F172A 22px 24px), #1E3A8A;
  border: 3px solid #94A3B8; border-radius: 6px;
  box-shadow: inset 0 0 20px rgba(56, 189, 248, .35), 0 10px 20px rgba(0, 0, 0, .5);
}
.pole-antenna { position: absolute; top: 48px; right: 22px; width: 3px; height: 50px; background: #CBD5E1; border-radius: 2px; }
.pole-antenna::after { content: ''; position: absolute; top: -4px; left: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.pole-head {
  position: absolute; top: 88px; left: 50%; transform: translateX(-50%); width: 78px; height: 34px; border-radius: 8px;
  background: linear-gradient(180deg, #E2E8F0, #64748B); box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
}
.pole-cam { position: absolute; bottom: -12px; left: 12px; width: 26px; height: 16px; border-radius: 4px 4px 10px 10px; background: #1E293B; }
.pole-cam::after { content: ''; position: absolute; left: 8px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 6px var(--neon); }
.pole-mast {
  position: absolute; top: 122px; left: 50%; transform: translateX(-50%); width: 64px; height: 320px; border-radius: 6px;
  background: linear-gradient(90deg, #64748B, #F1F5F9 35%, #CBD5E1 55%, #475569);
  box-shadow: 0 30px 40px -10px rgba(0, 0, 0, .6);
}
.pole-panel {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%); width: 92px; height: 150px; border-radius: 12px;
  background: linear-gradient(180deg, var(--sos), #D9480F);
  box-shadow: 0 0 0 3px #1E293B, 0 0 40px -4px rgba(255, 107, 26, .7);
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 14px;
}
.pole-sos { font-weight: 900; font-size: 1.35rem; color: #fff; letter-spacing: .08em; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.pole-speaker { width: 54px; height: 30px; border-radius: 6px; background: repeating-linear-gradient(90deg, #1E293B 0 3px, #334155 3px 6px); }
.pole-btn { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE4D6, #fff 20%, #E2E8F0); box-shadow: 0 0 0 4px #1E293B, 0 0 16px rgba(255, 255, 255, .6); animation: btnGlow 2s infinite; }
@keyframes btnGlow { 50% { box-shadow: 0 0 0 4px #1E293B, 0 0 28px rgba(255, 255, 255, .95); } }
.pole-base { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 40px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #475569, #1E293B); }
.pole-base::after { content: ''; position: absolute; left: -40px; right: -40px; bottom: -18px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 107, 26, .35), transparent); }


/* ---------- Beneficios ---------- */
.benefit {
  height: 100%; padding: 28px 22px; border-radius: var(--radius); text-align: center;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s, opacity .8s var(--ease);
}
.benefit:hover { transform: translateY(-6px); border-color: rgba(16, 185, 129, .4); }
.benefit-icon {
  width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 18px; display: grid; place-items: center; font-size: 1.5rem;
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--emerald));
  box-shadow: 0 14px 30px -12px rgba(16, 185, 129, .6);
}
.benefit h3 { font-size: 1.08rem; margin-bottom: 8px; }
.benefit p { color: var(--text-2); font-size: .9rem; margin: 0; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; position: relative; }
.process::before { content: ''; position: absolute; top: 22px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--neon), var(--emerald), transparent); }
.step { text-align: center; position: relative; padding: 0 10px; }
.step span {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  font-family: 'JetBrains Mono', monospace; font-size: .85rem; color: var(--neon);
  background: var(--navy-900); border: 1px solid rgba(56, 189, 248, .45); box-shadow: 0 0 20px -4px rgba(56, 189, 248, .6);
}
.step strong { display: block; }
.step small { color: var(--text-3); }

/* ---------- Contacto ---------- */
.contact-section { padding-bottom: 140px; }
.contact-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 16px 0; line-height: 1.2; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; color: var(--text-2); }
.contact-list svg { color: var(--neon); margin-right: 10px; }
.contact-card {
  padding: 34px; border-radius: 22px; position: relative;
  background: linear-gradient(180deg, rgba(22, 41, 74, .6), rgba(10, 22, 40, .7));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.contact-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(56, 189, 248, .6), transparent 35%, transparent 65%, rgba(16, 185, 129, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.form-label { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.form-control, .form-select {
  background-color: rgba(4, 10, 22, .55); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 12px; padding: 12px 14px;
}
.form-control::placeholder { color: var(--text-3); }
.form-control:focus, .form-select:focus { background-color: rgba(4, 10, 22, .8); color: var(--text); border-color: var(--neon); box-shadow: 0 0 0 4px rgba(56, 189, 248, .15); }
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239AA9C2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-select option { background: var(--navy-850); color: var(--text); }
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: #F87171; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: rgba(16, 185, 129, .6); }
.invalid-feedback { color: #FCA5A5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 12px 16px; border-radius: 12px; font-size: .92rem; }
.form-alert.ok { display: block; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .4); color: #6EE7B7; }
.form-alert.err { display: block; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #FCA5A5; }
.contact-card.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { box-shadow: 0 0 0 2px var(--neon), 0 0 60px -10px rgba(56, 189, 248, .7); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: rgba(4, 10, 22, .7); }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--text-2); font-size: .93rem; }
.site-footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--line-strong); transition: all .2s; }
.socials a:hover { color: #fff; border-color: var(--neon); background: rgba(56, 189, 248, .1); transform: translateY(-2px); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .85rem; }
.footer-bottom .mono { font-size: .75rem; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(15, 30, 54, .9); border: 1px solid var(--line-strong); color: #fff; z-index: 50;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: #fff; border-color: var(--neon); box-shadow: var(--glow); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  #mainNav { background: rgba(6, 14, 28, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .navbar-collapse { padding: 16px 0 8px; }
  .navbar-collapse .btn-glow { width: 100%; justify-content: center; margin-top: 10px; }
  .product-menu { min-width: 0; background: rgba(255, 255, 255, .03); box-shadow: none; }
  .hero { padding-top: 120px; }
  .mockup { transform: rotateY(0) rotateX(4deg); }
  .section { padding: 90px 0; }
  .sos-section { padding: 30px 0 90px; }
  .pole-stage { height: 460px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .process::before { display: none; }
}
@media (max-width: 575.98px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 1.45rem; }
  .btn-lg { width: 100%; justify-content: center; }
  .mockup-side { display: none; }
  .kpi strong { font-size: .9rem; }
  .mini-row { grid-template-columns: 1fr; }
  .mini-map { display: none; }
  .float-card { scale: .85; }
  .fc-1 { left: -6px; }
  .service-card, .contact-card { padding: 24px; }
  .benefit { padding: 22px 14px; }
  .benefit h3 { font-size: .98rem; }
  .benefit p { font-size: .82rem; }
  .pole-stage { height: 420px; scale: .88; }
  .quote-band { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-svg .line { stroke-dashoffset: 0; }
}

/* ---------- FAQ ---------- */
.faq-section { padding-bottom: 40px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list .accordion-item {
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 14px !important; overflow: hidden;
  transition: border-color .25s;
}
.faq-list .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: rgba(56, 189, 248, .4); }
.faq-list .accordion-header { margin: 0; }
.faq-list .accordion-button {
  background: transparent; color: var(--text); font-weight: 600; font-size: 1rem; padding: 18px 20px; box-shadow: none;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2338BDF8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
}
.faq-list .accordion-button:not(.collapsed) { color: #fff; background: rgba(56, 189, 248, .06); }
.faq-list .accordion-button:focus-visible { box-shadow: 0 0 0 3px rgba(56, 189, 248, .35); }
.faq-list .accordion-body { color: var(--text-2); padding: 4px 20px 20px; }
.faq-list .accordion-body strong { color: var(--text); font-weight: 600; }
.hero-lead strong, .sos-lead strong { color: var(--text); font-weight: 600; }

/* =========================================================
   Página de producto: Postes SOS
   ========================================================= */
.sos-section.product-hero { padding: 130px 0 100px; min-height: 92vh; display: flex; align-items: center; }
.product-hero h1.sos-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text-3); margin-bottom: 26px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }
.chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: 'JetBrains Mono', monospace; font-size: .75rem; padding: 6px 12px; border-radius: 999px;
  color: var(--text-2); border: 1px solid rgba(255, 107, 26, .3); background: rgba(255, 107, 26, .06);
}
.section-tight { padding: 80px 0; }
.text-gradient-sos { background: linear-gradient(90deg, var(--sos-2), var(--sos)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.sos-feat.feat-lg { padding: 24px; }
.sos-feat.feat-lg > svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; }
.sos-feat h3 { font-size: 1.08rem; margin: 2px 0 8px; }
.sos-feat p { color: var(--text-2); font-size: .92rem; margin: 0; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow::before {
  content: ''; position: absolute; top: 50px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sos), var(--sos-2), transparent); opacity: .6;
}
.flow li {
  position: relative; text-align: center; padding: 26px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
}
.flow-n { position: absolute; top: 12px; right: 14px; font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--text-3); }
.flow li > svg {
  width: 48px; height: 48px; padding: 12px; border-radius: 50%; margin-bottom: 14px; position: relative;
  color: #fff; background: linear-gradient(135deg, var(--sos), var(--sos-2)); box-shadow: 0 10px 26px -10px rgba(255, 107, 26, .8);
}
.flow strong { display: block; margin-bottom: 4px; }
.flow small { color: var(--text-2); }

.app-card {
  height: 100%; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 41, 74, .45), rgba(10, 22, 40, .5)); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s;
}
.app-card:hover { transform: translateY(-5px); border-color: rgba(255, 107, 26, .45); }
.app-card > svg { width: 30px; height: 30px; color: var(--sos); margin-bottom: 16px; }
.app-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.app-card p { color: var(--text-2); font-size: .93rem; margin: 0; }

.check-list.big li { font-size: 1rem; color: var(--text); }

@media (max-width: 991.98px) {
  .navbar-collapse .btn-sos { width: 100%; justify-content: center; margin-top: 10px; }
  .sos-section.product-hero { padding: 100px 0 70px; min-height: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }
  .section-tight { padding: 60px 0; }
}
@media (max-width: 575.98px) {
  .flow { grid-template-columns: 1fr; }
}

/* ---------- Réplica del sistema de monitoreo ---------- */
.monitor-checks { max-width: 980px; margin: 0 auto 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 36px; }
.monitor-checks li { align-items: flex-start; }
.monitor-checks svg { margin-top: 3px; }

.pm-window {
  --pm-bg: #1B1C31; --pm-side: #1D1E34; --pm-card: #25263E; --pm-line: #34365A; --pm-text: #C8CBE3; --pm-muted: #8E91B3; --pm-green: #3DDC6A;
  margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 90px -30px rgba(61, 220, 106, .35);
  font-family: 'JetBrains Mono', monospace; color: var(--pm-text);
}
.pm-window .mockup-bar { background: #141528; }
.pm-app { display: grid; grid-template-columns: 250px 1fr; background: var(--pm-bg); font-size: .78rem; }
.pm-app svg { width: 15px; height: 15px; }

.pm-side { background: var(--pm-side); border-right: 1px solid var(--pm-line); display: flex; flex-direction: column; }
.pm-side-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; letter-spacing: .08em; color: #fff; border-bottom: 1px solid var(--pm-line); }
.pm-side-top svg { color: var(--pm-muted); }
.pm-menu { padding: 10px 0; flex: 1; }
.pm-group { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-weight: 700; letter-spacing: .06em; color: #E4E6F5; }
.pm-group > svg:not(.pm-caret) { color: var(--pm-green); width: 17px; height: 17px; }
.pm-caret { color: var(--pm-muted); width: 13px !important; height: 13px !important; }
.pm-group:first-child { padding-left: 30px; }
.pm-item { padding: 8px 16px 8px 34px; color: #E4E6F5; }
.pm-item.active { background: rgba(61, 220, 106, .12); color: var(--pm-green); }
.pm-side-foot { border-top: 1px solid var(--pm-line); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; color: var(--pm-muted); font-size: .72rem; }
.pm-toggle { display: inline-flex; align-items: center; gap: 10px; }
.pm-toggle b { width: 28px; height: 14px; border-radius: 99px; background: #111225; border: 1px solid var(--pm-line); }

.pm-main { min-width: 0; display: flex; flex-direction: column; }
.pm-crumb { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--pm-line); color: var(--pm-muted); letter-spacing: .06em; }
.pm-crumb svg:first-child { color: var(--pm-green); }
.pm-crumb strong { color: #fff; font-weight: 500; letter-spacing: 0; }
.pm-body { padding: 18px 22px 24px; }
.pm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--pm-green); margin-bottom: 16px; }
.pm-updated { color: var(--pm-muted); display: inline-flex; align-items: center; gap: 8px; }
.pm-updated svg { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pm-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-filters span { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--pm-line); background: #1F2036; white-space: nowrap; }
.pm-filters .f-ok { color: var(--pm-green); border-color: rgba(61, 220, 106, .45); background: rgba(61, 220, 106, .08); }
.pm-filters .f-err { color: #F87171; }
.pm-filters .f-warn { color: #FBBF24; }
.pm-filters .f-off { color: var(--pm-muted); }
.pm-filters .f-total { color: #fff; border-color: #C8CBE3; }

.pm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pm-card { background: var(--pm-card); border: 1px solid var(--pm-line); border-radius: 7px; overflow: hidden; font-size: .7rem; }
.pm-card-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 5px 8px; background: var(--pm-green); color: #0C1A11; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.pm-head-r { display: inline-flex; align-items: center; gap: 6px; }
.pm-health { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.pm-app .pm-card-head svg { width: 12px; height: 12px; color: #1E3A26; }
.pm-card dl { margin: 0; padding: 6px 8px 7px; display: grid; gap: 3px; }
.pm-card dl > div { display: flex; justify-content: space-between; gap: 6px; line-height: 1.35; }
.pm-card dt { font-weight: 400; color: var(--pm-muted); white-space: nowrap; }
.pm-card dd { margin: 0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pm-app .pm-card dd svg { width: 12px; height: 12px; }
.pm-app .ok { color: var(--pm-green); }
.pm-card-foot { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 6px; border-top: 1px solid var(--pm-line); color: var(--pm-muted); white-space: nowrap; }
.pm-card-foot span { display: inline-flex; align-items: center; gap: 3px; }
.pm-app .pm-card-foot svg { width: 12px; height: 12px; }
.bars { display: inline-flex; align-items: flex-end; gap: 1px; height: 10px; }
.bars b { width: 3px; background: var(--pm-green); border-radius: 1px; }
.bars b:nth-child(1) { height: 30%; } .bars b:nth-child(2) { height: 55%; } .bars b:nth-child(3) { height: 80%; } .bars b:nth-child(4) { height: 100%; }

@media (max-width: 1199.98px) {
  .pm-app { grid-template-columns: 210px 1fr; }
  .pm-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991.98px) {
  .pm-app { grid-template-columns: 1fr; }
  .pm-side { display: none; }
  .monitor-checks { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .pm-grid { grid-template-columns: repeat(3, 1fr); }
  .pm-body { padding: 12px; }
  .pm-app { font-size: .7rem; }
}
@media (max-width: 575.98px) {
  .pm-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .pm-card { font-size: .6rem; }
  .pm-card-head { padding: 4px 6px; }
  .pm-card dl { padding: 5px 6px 6px; gap: 2px; }
  .pm-card dd { gap: 3px; }
  .pm-app .pm-card dd svg { width: 10px; height: 10px; }
  .pm-long { display: none; }
  .pm-card-foot { padding: 3px 6px 5px; }
  .pm-app .pm-card-foot svg { width: 10px; height: 10px; }
  .bars { height: 8px; }
  .bars b { width: 2px; }
  .pm-filters .f-err, .pm-filters .f-warn, .pm-filters .f-off { display: none; }
}
