/* ==========================================================================
   E-GLOBAL S.A. | Official Design System & Stylesheet
   Corporate B2B Technology & ICT Services
   ========================================================================== */

:root {
  /* Color Palette - Enterprise Deep Navy, Tech Blue & Cyan */
  --bg-darkest: #040711;
  --bg-primary: #070c1e;
  --bg-secondary: #0d1635;
  --bg-surface: rgba(14, 25, 58, 0.7);
  --bg-surface-elevated: rgba(22, 38, 86, 0.75);
  --bg-glass: rgba(10, 18, 42, 0.82);
  --bg-glass-card: rgba(13, 24, 56, 0.55);
  
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-accent-blue: #3b82f6;
  --color-cyan: #06b6d4;
  --color-cyan-light: #38bdf8;
  --color-cyan-glow: rgba(56, 189, 248, 0.25);
  --color-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-glass: rgba(56, 189, 248, 0.14);
  --border-glass-hover: rgba(56, 189, 248, 0.35);
  --border-light: rgba(255, 255, 255, 0.08);
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(2, 6, 23, 0.7), 0 1px 3px 0 rgba(56, 189, 248, 0.1);
  --shadow-glow: 0 0 35px -5px rgba(37, 99, 235, 0.35);
  --shadow-cyan-glow: 0 0 30px -5px rgba(6, 182, 212, 0.3);
  
  --container-max: 1240px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #0d1a42 0%, #060a1a 60%, #040711 100%);
  background-attachment: fixed;
}

::selection {
  background-color: rgba(56, 189, 248, 0.3);
  color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Base Typography & Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  line-height: 1.7;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Common Layout */
.section {
  padding: 6.5rem 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cyan-light);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 860px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Subtle Tech Glow Elements */
.glow-spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.glow-blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.6) 0%, transparent 70%);
}

.glow-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, transparent 70%);
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.825rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 4px 20px -2px rgba(37, 99, 235, 0.45);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 25px 0 rgba(37, 99, 235, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(15, 26, 60, 0.7);
  color: #ffffff;
  border-color: var(--border-glass);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(28, 45, 96, 0.85);
  border-color: var(--color-cyan-light);
  transform: translateY(-2px);
  color: var(--color-cyan-light);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 18px -2px rgba(16, 185, 129, 0.4);
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 24px 0 rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
  border-color: var(--color-cyan-light);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   NAVIGATION BAR (STICKY & RESPONSIVE)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-normal), 
              backdrop-filter var(--transition-normal), 
              border-color var(--transition-normal),
              padding var(--transition-normal);
  padding: 1.15rem 0;
  background: rgba(6, 10, 26, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
  background: rgba(5, 9, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  padding: 0.8rem 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-cyan-light);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav links desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-primary));
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xs);
  padding: 0.6rem;
  cursor: pointer;
  color: #ffffff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-headline {
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-cyan-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero Trust Pillars */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan-light);
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text-muted);
}
.trust-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.875rem;
}

/* Hero Right: Interactive Visual Architecture */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  pointer-events: auto;
  z-index: 1;
}

.hero-telemetry-card {
  position: absolute;
  background: rgba(9, 17, 40, 0.88);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.telemetry-card-1 {
  top: 6%;
  left: -5%;
}

.telemetry-card-2 {
  bottom: 8%;
  right: -6%;
  animation-delay: -3s;
}

.telemetry-card-3 {
  bottom: 12%;
  left: -2%;
  animation-delay: -1.5s;
}

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

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
}
.pulse-indicator::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  opacity: 0.6;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}

.telemetry-label {
  font-size: 0.725rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.telemetry-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE SELECTOR: ¿QUÉ NECESITA TU EMPRESA?
   ========================================================================== */
.needs-section {
  background: rgba(10, 19, 44, 0.5);
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  padding: 4.5rem 0;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.need-card {
  background: rgba(13, 23, 52, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.need-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.need-card:hover,
.need-card.active {
  background: rgba(22, 38, 86, 0.85);
  border-color: var(--color-cyan-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.25);
}

.need-card:hover::before,
.need-card.active::before {
  opacity: 1;
}

.need-emoji {
  font-size: 2rem;
  line-height: 1;
}

.need-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.need-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SOLUCIONES PRINCIPALES (6 BLOQUES)
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.solution-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.solution-card:hover {
  background: rgba(18, 32, 72, 0.75);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -8px rgba(2, 6, 23, 0.7), var(--shadow-cyan-glow);
}

.solution-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan-light);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.solution-card:hover .solution-icon-wrap {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(6, 182, 212, 0.3));
}

.solution-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.solution-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.solution-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.solution-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-features li::before {
  content: '✓';
  color: var(--color-cyan-light);
  font-weight: bold;
}

.solution-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-cyan-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast);
}

.solution-card:hover .solution-link {
  gap: 0.75rem;
}

/* ==========================================================================
   FEATURE DETAIL SPLIT SECTIONS (Infra, Ciberseguridad, Conectividad)
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.feature-split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-content h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.feature-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.feature-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.highlight-box {
  background: rgba(14, 25, 56, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.highlight-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Feature Tech Box / Abstract Dashboard / Diagrams */
.tech-diagram-box {
  background: linear-gradient(145deg, rgba(12, 22, 51, 0.85), rgba(7, 13, 31, 0.95));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.tech-diagram-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.diagram-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cyan-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-pill {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Interactive Layers in Security Section */
.security-layers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sec-layer-item {
  background: rgba(16, 29, 66, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.sec-layer-item:hover {
  border-color: var(--color-cyan-light);
  background: rgba(22, 38, 86, 0.9);
  transform: translateX(5px);
}

.sec-layer-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.sec-layer-tag {
  font-size: 0.75rem;
  color: var(--color-cyan-light);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   CONSULTORÍA: 4 FASES
   ========================================================================== */
.consulting-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}

.process-card {
  background: rgba(12, 22, 50, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  background: rgba(20, 36, 80, 0.8);
  border-color: var(--color-cyan-light);
  transform: translateY(-5px);
}

.process-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.process-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   CASOS DE USO / RESOLUCIÓN DE DESAFÍOS
   ========================================================================== */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.challenge-card {
  background: rgba(11, 20, 46, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.challenge-card:hover {
  background: rgba(18, 32, 70, 0.75);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

.challenge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.challenge-solution-arrow {
  color: var(--color-cyan-light);
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.challenge-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.challenge-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   NOSOTROS / IDENTIDAD CORPORATIVA E-GLOBAL S.A.
   ========================================================================== */
.about-box {
  background: linear-gradient(135deg, rgba(14, 25, 60, 0.8), rgba(8, 14, 34, 0.95));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.metric-card {
  background: rgba(10, 18, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.metric-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-cyan-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-card .label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA PRINCIPAL
   ========================================================================== */
.cta-banner {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #172d69 0%, #0c183d 60%, #060b1c 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(56, 189, 248, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

.cta-banner h2 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACTO & FORMULARIO B2B
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: rgba(12, 22, 52, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--color-cyan-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.official-data-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.data-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.data-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan-light);
  flex-shrink: 0;
}

.data-label {
  font-size: 0.775rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.data-value {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.data-value a:hover {
  color: var(--color-cyan-light);
  text-decoration: underline;
}

.quick-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Contact Form */
.contact-form-card {
  background: rgba(14, 25, 58, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(8, 14, 34, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-cyan-light);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
  background: rgba(10, 18, 44, 0.95);
}

.form-control::placeholder {
  color: var(--text-dim);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.form-checkbox-label input {
  margin-top: 0.25rem;
  accent-color: var(--color-primary);
}

.form-checkbox-label a {
  color: var(--color-cyan-light);
  text-decoration: underline;
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */
.site-footer {
  background: #03060e;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 1.25rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-cyan-light);
  padding-left: 4px;
}

.footer-legal-card {
  background: rgba(10, 18, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-dim);
}
.footer-bottom-links a:hover {
  color: var(--color-cyan-light);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & MODAL
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #070c1e;
}

.whatsapp-tooltip {
  background: rgba(9, 17, 39, 0.95);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1001;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: #080e24;
  border-left: 1px solid var(--border-glass);
  z-index: 1002;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.mobile-nav-open .mobile-nav-overlay {
  display: block;
  opacity: 1;
}

.mobile-nav-open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-cyan-light);
}

/* ==========================================================================
   LEGAL PAGES STYLING (politica-privacidad & terminos)
   ========================================================================== */
.legal-page-header {
  padding: 9rem 0 3.5rem 0;
  background: radial-gradient(circle at 50% 0%, #122152 0%, #070c1e 70%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.legal-content-container {
  padding: 4rem 0 6rem 0;
  max-width: 860px;
}

.legal-article {
  background: rgba(12, 22, 50, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 3rem 3.5rem;
  backdrop-filter: blur(10px);
}

.legal-article h2 {
  font-size: 1.5rem;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
}

.legal-article p,
.legal-article li {
  font-size: 0.985rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-article ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.legal-info-table th, 
.legal-info-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-info-table th {
  background: rgba(37, 99, 235, 0.15);
  color: var(--color-cyan-light);
  font-weight: 600;
}

.legal-info-table td {
  background: rgba(7, 13, 31, 0.6);
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust-bar {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-split,
  .feature-split.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .consulting-process {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-actions .btn-whatsapp {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .section {
    padding: 4.5rem 0;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .consulting-process {
    grid-template-columns: 1fr;
  }
  
  .challenges-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .about-box {
    padding: 2rem 1.5rem;
  }
  
  .legal-article {
    padding: 2rem 1.5rem;
  }
  
  .cta-banner {
    padding: 3rem 1.5rem;
  }
  
  .telemetry-card-1 {
    top: 2%;
    left: 2%;
  }
  .telemetry-card-2 {
    bottom: 2%;
    right: 2%;
  }
  .telemetry-card-3 {
    display: none;
  }
  
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-tooltip {
    display: none;
  }
}
