/* ============================================================
   NetworkTIC — Design System v2026
   Neo-Brutalism + Glassmorphism + Neumorphism 2.0
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --electric-blue: #0066FF;
  --electric-blue-vivid: #2979FF;
  --electric-blue-dark: #003CB3;
  --lavender: #C084FC;
  --lavender-dark: #9333EA;
  --neon-cyan: #00F5FF;
  --neon-yellow: #FFD600;
  --green-accent: #34D399;
  --dark-void: #020814;
  --dark-surface: #0A0F1E;
  --dark-card: #0D1525;
  --dark-border: #1A2340;
  --dark-border-hover: #2a3a6a;
  --white-primary: #F0F4FF;
  --white-secondary: #C8D4F0;
  --white-muted: #6C7FA8;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --glass-bg: rgba(10, 15, 30, 0.55);
  --glass-border: rgba(41, 121, 255, 0.2);
  --glass-blur: blur(20px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.25);
  --shadow-glow-cyan: 0 0 30px rgba(0, 245, 255, 0.2);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--dark-void);
  color: var(--white-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  color: var(--white-primary);
  background: transparent;
}

/* ---- Particles Canvas ---- */
#particlesCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Custom Cursor ---- */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--electric-blue);
  border-radius: 50%;
  position: fixed; z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  box-shadow: 0 0 10px var(--electric-blue);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0, 102, 255, 0.5);
  border-radius: 50%;
  position: fixed; z-index: 9998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, transform 0.05s linear, border-color 0.3s;
}
body:hover .cursor-ring { opacity: 1; }

/* ---- Container ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 100px 0; position: relative; z-index: 1; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--electric-blue), var(--electric-blue-vivid));
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
  border: 1px solid rgba(41, 121, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6); }
.btn-primary:hover::after { opacity: 0.08; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--white-primary);
  border: 1px solid var(--dark-border-hover);
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
}
.btn-secondary:hover {
  border-color: var(--electric-blue);
  background: rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }
.btn-sm { padding: 0.6rem 0.8rem; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-nav-cta {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--electric-blue), var(--lavender-dark));
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  border: 1px solid rgba(192, 132, 252, 0.3);
}
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4); }

/* ---- Glass Card ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(41, 121, 255, 0.45);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-4px);
}

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--electric-blue), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-cyan {
  background: linear-gradient(135deg, var(--neon-cyan), var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--electric-blue-vivid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white-primary);
}
.section-subtitle {
  color: var(--white-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Reveal Animations ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(2, 8, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--electric-blue);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--white-primary); }
.nav-link:hover::after { width: 60%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
  z-index: 1;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--neon-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0,245,255,0.4); }
  50% { opacity: 0.7; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0,245,255,0); }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  color: var(--white-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ---- Holographic Assistant ---- */
.holographic-assistant {
  position: relative;
  width: 220px; height: 220px;
  margin: 2.5rem auto 1.5rem;
  cursor: pointer;
}
.holo-aura {
  position: absolute;
  border-radius: 50%;
  animation: holoAura 3s ease-in-out infinite;
}
.holo-aura-1 {
  inset: -20px;
  background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
  animation-delay: 0s;
}
.holo-aura-2 {
  inset: -10px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  animation-delay: 0.5s;
  animation-name: holoRing;
}
.holo-aura-3 {
  inset: -35px;
  border: 1px solid rgba(192, 132, 252, 0.2);
  animation-delay: 1s;
  animation-name: holoRing;
}
@keyframes holoAura {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes holoRing {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.7; }
}
#holoCanvas {
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 1.5px solid rgba(0, 102, 255, 0.4);
  box-shadow: var(--shadow-glow), inset 0 0 30px rgba(0,0,0,0.5);
  background: radial-gradient(circle, #050d20, #020814);
}
.holo-label {
  position: absolute;
  bottom: -36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--white-muted);
  white-space: nowrap;
  font-family: var(--font-mono);
}
.holo-label i { color: var(--electric-blue); }
.holo-response-panel {
  position: absolute;
  top: calc(100% + 52px); left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: 420px;
  padding: 1rem 1.2rem;
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--white-secondary);
  display: none;
  text-align: left;
  box-shadow: var(--shadow-glow);
  z-index: 10;
}
.holo-response-panel.visible { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ---- Floating Badges ---- */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  backdropFilter: var(--glass-blur);
  border: 1px solid var(--dark-border-hover);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-secondary);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.floating-badge i { color: var(--electric-blue); }
.fb-1 { top: 18%; left: 5%; animation-delay: 0s; }
.fb-2 { top: 35%; left: 3%; animation-delay: 0.8s; }
.fb-3 { top: 55%; left: 6%; animation-delay: 1.6s; }
.fb-4 { top: 18%; right: 5%; animation-delay: 2.4s; }
.fb-5 { top: 35%; right: 3%; animation-delay: 3.2s; }
.fb-6 { top: 55%; right: 6%; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--white-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--electric-blue), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================= METRICS BAR ================= */
.metrics-bar {
  position: relative;
  z-index: 1;
  background: rgba(0, 102, 255, 0.07);
  border-top: 1px solid rgba(0, 102, 255, 0.15);
  border-bottom: 1px solid rgba(0, 102, 255, 0.15);
  padding: 2rem 0;
}
.metrics-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.metric-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.metric-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--electric-blue), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.metric-suffix {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--electric-blue), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-size: 0.82rem;
  color: var(--white-muted);
  font-weight: 500;
}
.metric-divider {
  width: 1px; height: 40px;
  background: var(--dark-border);
}

/* ================= ABOUT ================= */
.about { background: linear-gradient(180deg, var(--dark-void) 0%, var(--dark-surface) 100%); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-lead { font-size: 1.1rem; font-weight: 500; margin-bottom: 1rem; line-height: 1.7; }
.about-text p { color: var(--white-secondary); margin-bottom: 1rem; line-height: 1.7; }
.about-text strong { color: var(--white-primary); }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.about-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--dark-border-hover);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-secondary);
  background: rgba(255,255,255,0.03);
}
.about-badge i { color: var(--electric-blue); }
.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.abt-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.abt-card-1 { border-color: rgba(0, 102, 255, 0.35); }
.abt-card-2 { border-color: rgba(192, 132, 252, 0.35); margin-left: 1.5rem; }
.abt-card-3 { border-color: rgba(0, 245, 255, 0.25); margin-left: 3rem; }
.card-icon {
  font-size: 1.6rem;
  min-width: 40px;
}
.abt-card-1 .card-icon { color: var(--electric-blue); }
.abt-card-2 .card-icon { color: var(--lavender); }
.abt-card-3 .card-icon { color: var(--neon-cyan); }
.abt-card h4 { font-family: var(--font-head); font-weight: 700; margin-bottom: 0.3rem; }
.abt-card p { color: var(--white-muted); font-size: 0.9rem; }

/* ================= SERVICES ================= */
.servicios { background: var(--dark-surface); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.servicio-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--lavender));
  opacity: 0;
  transition: opacity 0.3s;
}
.servicio-card:hover::before { opacity: 1; }
.featured-card {
  border-color: rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.04);
}
.featured-card::before { background: linear-gradient(90deg, var(--neon-cyan), var(--electric-blue)); opacity: 1; }
.featured-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 245, 255, 0.15);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-cyan);
}
.servicio-icon-wrap {
  margin-bottom: 1rem;
  width: 48px; height: 48px;
}
.servicio-svg { width: 100%; height: 100%; }
.servicio-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--white-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}
.servicio-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.servicio-card > p {
  color: var(--white-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.servicio-list { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.servicio-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--white-secondary);
}
.servicio-list .fa-check-circle { color: var(--electric-blue); font-size: 0.7rem; }
.servicio-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--electric-blue-vivid);
}

/* ================= PRODUCTS ================= */
.productos { background: var(--dark-void); }
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.producto-card {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.producto-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--lavender);
}
.producto-reg {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--white-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  background: rgba(192,132,252,0.08);
  border-radius: 4px;
  display: inline-block;
}
.producto-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.producto-card p {
  color: var(--white-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.producto-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--lavender);
  font-weight: 600;
  display: inline-block;
}

/* ================= IOT MAP ================= */
.iot-map-section {
  background: var(--dark-surface);
  position: relative;
  overflow: hidden;
}
.iot-map-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 245, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.iot-map-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.iot-map-canvas-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.2);
  box-shadow: var(--shadow-glow-cyan);
}
#iotMapCanvas {
  width: 100%;
  height: auto;
  display: block;
  background: linear-gradient(135deg, #030d1a, #050f25);
}
.iot-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-tag {
  position: absolute;
  padding: 0.3rem 0.8rem;
  background: rgba(2, 8, 20, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
}
.map-tag-1 { top: 20%; left: 20%; animation-delay: 0s; }
.map-tag-2 { top: 45%; right: 15%; animation-delay: 1s; }
.map-tag-3 { bottom: 20%; left: 35%; animation-delay: 2s; }
.iot-stats h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.iot-stat-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.iot-stat-item:hover { border-color: var(--dark-border-hover); background: rgba(0,102,255,0.05); }
.iot-stat-icon { font-size: 1.4rem; min-width: 30px; }
.iot-stat-item strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.iot-stat-item p { color: var(--white-muted); font-size: 0.82rem; line-height: 1.5; margin: 0; }

/* ================= MODELOS ================= */
.modelos { background: var(--dark-void); }
.modelos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.modelo-card {
  padding: 2.5rem 2rem;
  text-align: center;
}
.modelo-icon {
  font-size: 2.5rem;
  color: var(--electric-blue);
  margin-bottom: 1rem;
}
.modelo-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.modelo-card p { color: var(--white-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.modelo-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--white-secondary);
}
.modelo-features span { padding: 0.2rem 0; }

/* ================= ALIADOS ================= */
.aliados { background: var(--dark-surface); }
.aliados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.aliado-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
}
.aliado-item:hover {
  border-color: var(--dark-border-hover);
  background: rgba(0,102,255,0.05);
  transform: translateY(-4px);
}
.aliado-logo-wrap { display: flex; align-items: center; justify-content: center; height: 60px; }
.aliado-item span { font-size: 0.85rem; font-weight: 600; color: var(--white-muted); }

/* ================= CONTACTO ================= */
.contacto { background: var(--dark-void); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: var(--radius-sm);
  color: var(--electric-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.82rem; color: var(--white-muted); margin-bottom: 0.1rem; }
.contact-item a { color: var(--white-primary); font-weight: 500; transition: color 0.2s; }
.contact-item a:hover { color: var(--electric-blue); }
.contact-item span { color: var(--white-secondary); font-size: 0.95rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dark-border-hover);
  border-radius: var(--radius-sm);
  color: var(--white-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  background: rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}
.contacto-form { padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--white-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--white-primary);
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  background: rgba(0, 102, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-muted); }
.form-group select option { background: var(--dark-card); }
.form-message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: none;
}
.form-message.success { display: block; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: var(--green-accent); }
.form-message.error { display: block; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #F87171; }

/* ================= FOOTER ================= */
.footer {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  padding: 4rem 0 0;
  position: relative;
  z-index: 1;
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand {}
.footer-logo { height: 50px; margin-bottom: 1rem; }
.footer-brand p { color: var(--white-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-minciencias {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--white-muted);
  font-family: var(--font-mono);
}
.footer-minciencias i { color: var(--electric-blue); }
.footer-links h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--white-primary);
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--white-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--electric-blue); }
.footer-newsletter h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white-primary);
}
.footer-newsletter p { font-size: 0.82rem; color: var(--white-muted); margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--white-primary);
}
.newsletter-form input:focus { outline: none; border-color: var(--electric-blue); }
.newsletter-form input::placeholder { color: var(--white-muted); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--white-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--electric-blue); color: var(--electric-blue); transform: translateY(-2px); }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--white-muted); text-align: center; }
.footer-bottom a { color: var(--electric-blue); }
.footer-sub { font-size: 0.75rem !important; }

/* ================= FLOATING WIDGETS ================= */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem; right: 5.5rem;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: float 4s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--electric-blue);
  font-size: 0.9rem;
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--electric-blue); color: #fff; transform: translateY(-3px); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .iot-map-layout { grid-template-columns: 1fr; }
  .aliados-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .floating-badge { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .servicios-grid { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: 1fr 1fr; }
  .modelos-grid { grid-template-columns: 1fr; }
  .aliados-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2,8,20,0.97); padding: 6rem 2rem 2rem; align-items: center; justify-content: center; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .btn-nav-cta { display: none; }
  .hero-title { font-size: 2rem; }
  .metrics-container { gap: 1rem; }
  .metric-divider { display: none; }
  .abt-card-2, .abt-card-3 { margin-left: 0; }
  .holographic-assistant { width: 160px; height: 160px; }
  #holoCanvas { width: 160px; height: 160px; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .hero { padding: 100px 1.2rem 60px; }
  .section-title { font-size: 1.8rem; }
  .productos-grid { grid-template-columns: 1fr; }
  .aliados-grid { grid-template-columns: repeat(2, 1fr); }
}
