/* ============================================================
   MILCOM TECHNOLOGY LLC — Holding Portal Design System
   Premium Dark Theme with Glassmorphism & Electric Accents
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors — Dark Navy Core */
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1527;
  --bg-tertiary: #141a2e;
  --bg-card: rgba(20, 26, 46, 0.7);
  --bg-glass: rgba(15, 21, 39, 0.6);
  --bg-glass-hover: rgba(20, 30, 56, 0.8);

  /* Accent Colors */
  --accent-cyan: #00d4ff;
  --accent-cyan-rgb: 0, 212, 255;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  /* Vertical Brand Colors */
  --milcom-cyan: #00d4ff;
  --servijuridicos-gold: #f59e0b;
  --alorigen-terracotta: #dc5a32;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: var(--accent-cyan);

  /* Borders */
  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-glass: rgba(0, 212, 255, 0.15);
  --border-hover: rgba(0, 212, 255, 0.3);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #0f1527 50%, #1a1040 100%);
  --gradient-cyan: linear-gradient(135deg, #00d4ff, #3b82f6);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
  --gradient-alorigen: linear-gradient(135deg, #dc5a32, #a73c1b);
  --gradient-card: linear-gradient(145deg, rgba(20,26,46,0.9), rgba(15,21,39,0.4));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-cyan: 0 0 30px rgba(0, 212, 255, 0.15);
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.1);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--text-primary);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

/* --- Particle Canvas Background --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom-color: var(--border-glass);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-brand .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--bg-primary);
  box-shadow: var(--shadow-cyan);
}

.nav-brand .brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav-brand .brand-text span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: var(--space-xs) 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cyan);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-cyan);
  color: var(--bg-primary) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em;
  transition: transform var(--transition-spring), box-shadow var(--transition-base) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.35) !important;
  color: var(--bg-primary) !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-banner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: blur(2px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.3) 0%,
    rgba(10, 14, 26, 0.6) 60%,
    var(--bg-primary) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-4xl) var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 .gradient-text {
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-spring);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
  color: var(--bg-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-3px);
  color: var(--text-primary);
}

/* Hero stats counter */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

/* ============================================================
   SECTIONS — General
   ============================================================ */
section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}
.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent-cyan);
  opacity: 0.4;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   VERTICALS SECTION — Subsidiaries
   ============================================================ */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.vertical-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
}

.vertical-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-cyan);
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: height var(--transition-base);
}

.vertical-card:hover::before {
  height: 4px;
}

.vertical-card.milcom::before {
  background: var(--gradient-cyan);
}
.vertical-card.servijuridicos::before {
  background: var(--gradient-gold);
}
.vertical-card.alorigen::before {
  background: var(--gradient-alorigen);
}

.vertical-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vertical-card:hover .vertical-image {
  transform: scale(1.05);
}

.vertical-image-wrapper {
  overflow: hidden;
  position: relative;
}

.vertical-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-tertiary) 100%);
}

.vertical-body {
  padding: var(--space-xl);
  position: relative;
}

.vertical-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
  margin-top: -40px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.milcom .vertical-icon {
  background: var(--gradient-cyan);
}
.servijuridicos .vertical-icon {
  background: var(--gradient-gold);
}
.alorigen .vertical-icon {
  background: var(--gradient-alorigen);
}

.vertical-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.vertical-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.vertical-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.vertical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.tag {
  padding: 4px 12px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.vertical-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition-base);
}
.vertical-card.milcom .vertical-link { color: var(--milcom-cyan); }
.vertical-card.servijuridicos .vertical-link { color: var(--servijuridicos-gold); }
.vertical-card.alorigen .vertical-link { color: var(--alorigen-terracotta); }

.vertical-link:hover {
  gap: var(--space-md);
}

/* ============================================================
   CAPABILITIES SECTION
   ============================================================ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.capability-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.capability-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}

.capability-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.capability-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.capability-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   TECH STACK SECTION
   ============================================================ */
.tech-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.tech-visual {
  position: relative;
}

.tech-ring {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 60s linear infinite;
}

.tech-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed var(--border-glass);
  animation: rotate 40s linear infinite reverse;
}

.tech-center {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-cyan);
  animation: rotate 60s linear infinite reverse;
}

.tech-node {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: rotate 60s linear infinite reverse;
  transition: all var(--transition-base);
}
.tech-node:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
  transform: scale(1.2);
}

.tech-node:nth-child(2) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.tech-node:nth-child(3) { top: 25%; right: 0; transform: translate(50%, -50%); }
.tech-node:nth-child(4) { bottom: 25%; right: 0; transform: translate(50%, 50%); }
.tech-node:nth-child(5) { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.tech-node:nth-child(6) { bottom: 25%; left: 0; transform: translate(-50%, 50%); }
.tech-node:nth-child(7) { top: 25%; left: 0; transform: translate(-50%, -50%); }

.tech-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.tech-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tech-list li .check {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================================
   LATAM MAP SECTION
   ============================================================ */
.latam-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.latam-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.latam-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}
.latam-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.latam-flag {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.latam-country {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.latam-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.latam-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.latam-status.planned {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.latam-status.research {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.latam-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  text-align: center;
}

.cta-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,212,255,0.04), transparent 50%);
  animation: rotate 30s linear infinite;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}
.footer-col li a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}
.footer-social a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .verticals-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tech-ring {
    max-width: 300px;
  }

  .latam-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 100px var(--space-xl) var(--space-xl);
    gap: var(--space-lg);
    transition: right var(--transition-base);
    z-index: 999;
  }
  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .latam-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}
