@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #1a1a24;
  --bg-card-hover: #22223a;
  --accent: #6366f1;
  --accent2: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-gold: #f59e0b;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --success: #22c55e;
  --border: rgba(99,102,241,.15);
  --glow: 0 0 30px rgba(99,102,241,.3);
  --radius: 16px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; scroll-padding-top:80px; }

body {
  font-family:'Inter',sans-serif;
  background:var(--bg-primary);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

h1,h2,h3,h4,h5,h6 { font-family:'Space Grotesk',sans-serif; font-weight:700; line-height:1.1; }

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

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

.container { max-width:1200px; margin:0 auto; padding:0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  padding:16px 0;
  transition:var(--transition);
  background:transparent;
}
.navbar.scrolled {
  background:rgba(10,10,15,.85);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  padding:10px 0;
}
.navbar .container { display:flex; align-items:center; justify-content:space-between; }
.nav-logo { text-decoration:none; display:block; }
.logo { display:flex; align-items:center; gap:12px; }
.logo-icon { display:flex; align-items:center; filter:drop-shadow(0 0 8px rgba(99,102,241,0.3)); transition:var(--transition); }
.logo:hover .logo-icon { transform:scale(1.1); filter:drop-shadow(0 0 12px rgba(99,102,241,0.6)); }

.logo-text { display:flex; flex-direction:column; line-height:1; }
.logo-text .brand { 
  font-size:1.4rem; font-weight:800; color:#fff; letter-spacing:-0.5px;
  display:flex; align-items:center; gap:4px;
}
.logo-text .brand span { color:var(--accent); }
.logo-text .tagline { 
  font-size:0.65rem; font-weight:500; color:rgba(255,255,255,0.5); 
  text-transform:uppercase; letter-spacing:2px; margin-top:2px;
}

@media (max-width: 768px) {
  .logo-text .tagline { display:none; }
  .logo-text .brand { font-size:1.2rem; }
}
.nav-links { display:flex; gap:32px; list-style:none; }
.nav-links a { color:var(--text-secondary); font-size:.9rem; font-weight:500; position:relative; }
.nav-links a:hover { color:var(--text); }
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  transition:var(--transition);
}
.nav-links a:hover::after { width:100%; }
.nav-cta {
  padding:10px 24px; border-radius:50px; font-size:.85rem; font-weight:600;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#fff; border:none; cursor:pointer; transition:var(--transition);
}
.nav-cta:hover { transform:translateY(-2px); box-shadow:var(--glow); color:#fff; }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { width:24px; height:2px; background:var(--text); transition:var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden; text-align:center; padding:120px 24px 80px;
}
.hero-video {
  position:absolute; top:50%; left:50%; min-width:100%; min-height:100%;
  transform:translate3d(-50%, -50%, 0); z-index:0;
  object-fit:cover;
  will-change: transform;
}
.hero-bg {
  position:absolute; inset:0; z-index:1;
  background: rgba(0, 0, 0, 0.45); /* Overlay oscuro para reemplazar el opacity y filter del video */
}
.hero-bg::after {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at center, rgba(10,10,15,0.2) 0%, var(--bg-primary) 100%);
}
.hero-content { 
  position:relative; z-index:2; max-width:900px; 
  padding: 40px;
  border-radius: 24px;
}
.hero h1 {
  font-size:clamp(2rem,5vw,3.8rem); /* Tamaño más elegante y menos invasivo */
  margin-bottom:20px;
  background:linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight: 800;
  line-height: 1.1;
}
.hero p {
  font-size:clamp(1rem,2vw,1.3rem);
  color:var(--text-secondary);
  margin-bottom:40px; max-width:650px; margin-left:auto; margin-right:auto;
}
.hero-buttons { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.btn-primary {
  padding:14px 32px; border-radius:50px; font-size:1rem; font-weight:600;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#fff; border:none; cursor:pointer; transition:var(--transition);
  display:inline-flex; align-items:center; gap:8px;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:var(--glow); color:#fff; }
.btn-secondary {
  padding:14px 32px; border-radius:50px; font-size:1rem; font-weight:600;
  background:transparent; color:var(--text);
  border:1px solid var(--border); cursor:pointer; transition:var(--transition);
  display:inline-flex; align-items:center; gap:8px;
}
.btn-secondary:hover { border-color:var(--accent); background:rgba(99,102,241,.1); color:#fff; }

/* ===== STATS BAR ===== */
.stats {
  padding:60px 0;
  background:var(--bg-secondary);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.stats .container { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; text-align:center; }
.stat-item h3 {
  font-size:clamp(2rem,4vw,3rem);
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.stat-item p { color:var(--text-secondary); font-size:.9rem; margin-top:4px; }

/* ===== SECTIONS ===== */
.section { padding:100px 0; }
.section-header { text-align:center; margin-bottom:64px; }
.section-header h2 { font-size:clamp(2rem,4vw,3rem); margin-bottom:16px; }
.section-header p { color:var(--text-secondary); max-width:600px; margin:0 auto; font-size:1.05rem; }
.section-label {
  display:inline-block; padding:6px 16px; border-radius:50px; font-size:.8rem;
  font-weight:600; color:var(--accent); background:rgba(99,102,241,.1);
  border:1px solid var(--border); margin-bottom:16px; letter-spacing:1px; text-transform:uppercase;
}

/* ===== SERVICES SECTION: HYPER-TECH HUD ===== */
.services-section { 
  position:relative; background: #07070a; overflow:hidden; 
  border-top: 1px solid var(--border);
}

/* ===== OUTSOURCING SECTION (INTEGRATED) ===== */
.outsourcing-section { 
  position: relative; padding: 100px 0; overflow: hidden;
  background: var(--bg-primary);
}
.outsourcing-wrapper { 
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
  /* Removed borders and background to integrate organically */
}

/* Background Atmospheric Glows */
.outsourcing-section::before {
  content: ''; position: absolute; top: 20%; left: -10%; width: 40%; height: 60%;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}

.outsourcing-content h2 { 
  font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 24px;
}
.outsourcing-content h2 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.outsourcing-content p { font-size: 1.15rem; color: var(--text-secondary); max-width: 580px; }

.benefit-list { margin: 40px 0; }
.benefit-item { 
  display: flex; gap: 16px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.benefit-item:hover { border-color: var(--accent); padding-left: 10px; }
.benefit-icon { 
  color: var(--accent); background: rgba(99,102,241,0.1);
  width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* 3D Visual Orb Refined */
.outsourcing-visual { position: relative; }
.visual-orb { width: 320px; height: 320px; margin: 0 auto; }
.orb-inner {
  position: absolute; inset: 70px;
  background: radial-gradient(circle at 30% 30%, var(--accent), #050508);
  border-radius: 50%; box-shadow: 0 0 60px rgba(99,102,241,0.4);
  animation: orbFloat 5s ease-in-out infinite;
}
.orb-rings .ring {
  position: absolute; inset: 0; border: 1px solid rgba(99,102,241,0.15);
  border-radius: 50%; animation: rotate 15s linear infinite;
}
.orb-rings .ring:nth-child(2) { inset: 30px; animation-duration: 20s; animation-direction: reverse; border-color: rgba(139,92,246,0.1); }

@media (max-width: 992px) {
  .outsourcing-wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .outsourcing-content p { margin: 24px auto; }
  .benefit-item { justify-content: center; }
  .visual-orb { width: 250px; height: 250px; }
}
.tech-grid-overlay {
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events:none;
}

.services-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:32px; }

.service-card {
  background: rgba(15, 15, 25, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(99, 102, 241, 0.1);
}

/* HUD Elements */
.card-hud { position: absolute; inset: 0; pointer-events: none; }
.hud-corner { position: absolute; width: 15px; height: 15px; border: 2px solid var(--accent); opacity: 0.3; transition: 0.3s; }
.hud-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.hud-scan {
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15; animation: scanHUD 4s linear infinite;
}

@keyframes scanHUD {
  0% { top: 0; opacity: 0; }
  10%, 90% { opacity: 0.3; }
  100% { top: 100%; opacity: 0; }
}

.service-card:hover .hud-corner { opacity: 1; width: 20px; height: 20px; }

/* Status Indicator */
.service-status {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  letter-spacing: 1px; color: var(--accent); font-weight: 700;
}
.status-blink {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  animation: statusBlink 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}
@keyframes statusBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; transform: scale(0.8); } }

/* Tech Icons */
.tech-icon { width: 48px; height: 48px; margin-bottom: 20px; overflow: visible; }
.hub-ring { animation: rotate 10s linear infinite; transform-origin: center; stroke-dasharray: 5 5; }
.hub-check { stroke-dasharray: 20; stroke-dashoffset: 20; animation: dashDraw 2s ease-in-out infinite; }
@keyframes dashDraw { 0%, 10% { stroke-dashoffset: 20; } 50%, 100% { stroke-dashoffset: 0; } }

.net-wave { stroke-dasharray: 100; animation: waveFlow 3s linear infinite; }
@keyframes waveFlow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

.srv-unit { animation: srvGlow 3s ease-in-out infinite; }
.srv-unit:nth-child(2) { animation-delay: 0.5s; }
.srv-unit:nth-child(3) { animation-delay: 1s; }
@keyframes srvGlow { 0%, 100% { fill-opacity: 0.2; } 50% { fill-opacity: 0.8; filter: brightness(1.5); } }

.shield-laser { animation: laserScan 2s ease-in-out infinite; }
@keyframes laserScan { 0%, 100% { transform: translateY(0); opacity: 0; } 50% { transform: translateY(15px); opacity: 1; } }

.cam-rec { animation: recBlink 1s step-end infinite; }
@keyframes recBlink { 50% { opacity: 0; } }

.cloud-up { animation: float 2s ease-in-out infinite; }

/* 7. Telefonia - Signal */
.phone-signal { animation: phoneSignal 1.5s ease-in-out infinite; }
@keyframes phoneSignal { 0%, 100% { opacity: 0.3; stroke-dashoffset: 4; } 50% { opacity: 1; stroke-dashoffset: 0; } }

/* 8. Cableado - Flow */
.cable-lines { animation: slide 1s linear infinite; }
.cable-jacks { animation: float 3s ease-in-out infinite; }

/* 9. Energia - Level & Bolt */
.power-level { animation: powerCharge 3s ease-in-out infinite; transform-origin: bottom; }
.power-bolt { animation: corePulse 1s ease-in-out infinite; }
@keyframes powerCharge { 0%, 100% { transform: scaleY(0.4); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 0.8; } }

/* 10. Consultoria - Radar */
.audit-ring { stroke-opacity: 0.3; }
.audit-scanner { animation: rotate 4s linear infinite; transform-origin: 20px 20px; }
.audit-core { animation: corePulse 2s ease-in-out infinite; transform-origin: center; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text); font-weight: 700; position: relative; z-index: 2; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 2; }

/* ===== AI SECTION ===== */
.ai-section {
  position:relative; overflow:hidden;
  background:var(--bg-secondary);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.ai-bg {
  position:absolute; inset:0;
  background:url('../assets/images/ai-section/ai-brain.png') center/cover no-repeat;
  opacity:.15;
}
.ai-bg::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(10,10,15,.9),rgba(17,17,24,.85));
}
.ai-content { position:relative; z-index:1; }
.ai-header { text-align:center; margin-bottom:64px; }
.ai-header h2 {
  font-size:clamp(2rem,4vw,3.2rem);
  background:linear-gradient(135deg,var(--accent),var(--accent-pink),var(--accent-gold));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  animation:shimmer 3s ease-in-out infinite;
  background-size:200% auto;
}
@keyframes shimmer {
  0%,100% { background-position:0% center; }
  50% { background-position:100% center; }
}
.ai-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:24px; }
.ai-card {
  background:rgba(26,26,36,.6); backdrop-filter:blur(10px);
  border:1px solid rgba(99,102,241,.2); border-radius:var(--radius);
  padding:32px; transition:var(--transition);
}
/* ===== AI SECTION ICONS: LIVING TECHNOLOGY ===== */
.ai-icon { 
  width:80px; height:80px; margin-bottom:28px; 
  display:flex; align-items:center; justify-content:center;
  position:relative;
}

/* Background Glow for icons */
.ai-icon::before {
  content:''; position:absolute; inset:-10px;
  background:radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  border-radius:50%; animation: glowBreath 4s ease-in-out infinite;
}

.icon-svg { width:100%; height:100%; overflow:visible; filter: drop-shadow(0 0 5px rgba(139,92,246,0.3)); }

/* 1. Core Pulse - Constant & Intense */
.core-pulse { animation: corePulse 2.5s ease-in-out infinite; transform-origin: center; }
.orbit { animation: rotate 8s linear infinite; transform-origin: center; opacity: 0.7; stroke-width: 1.5; }
.orbit-outer { animation: rotate 12s linear infinite reverse; transform-origin: center; opacity: 0.4; }

/* 2. Web Frame - Constant Floating */
.web-frame { animation: float 4s ease-in-out infinite; }
.web-line-1 { animation: slideIn 3s ease-in-out infinite; }
.web-line-2 { animation: slideIn 3s ease-in-out infinite 0.5s; }

/* 3. Cube - Constant 3D Assembler */
.cube-top { animation: cubeShift 3s ease-in-out infinite; }
.cube-left { animation: cubeShift 3s ease-in-out infinite 0.2s; }
.cube-right { animation: cubeShift 3s ease-in-out infinite 0.4s; }

/* 4. Growth Line - Particle Flow */
.growth-line { 
  stroke-dasharray: 100; stroke-dashoffset: 0; 
  animation: dashConstant 5s linear infinite; 
}
.growth-point { animation: pointPulse 2s ease-in-out infinite; transform-origin: 32px 10px; }

/* 5. Nodes - Constant Matching */
.node-a, .node-b { animation: nodePulse 3s ease-in-out infinite; transform-origin: center; }
.node-b { animation-delay: 1.5s; }
.node-link { stroke-dasharray: 4 4; animation: slide 1s linear infinite; opacity: 0.6; }

/* 6. API Rings - High Speed Sync */
.api-ring-1 { animation: rotate 6s linear infinite; transform-origin: center; stroke-opacity: 0.8; }
.api-ring-2 { animation: rotate 3s linear infinite reverse; transform-origin: center; stroke-opacity: 0.5; }

/* Keyframes de Máximo Impacto */
@keyframes glowBreath {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 1; }
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.2); filter: brightness(1.5) drop-shadow(0 0 15px var(--accent)); }
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes slideIn { 0%, 100% { opacity: 0.3; transform: translateX(-5px); } 50% { opacity: 1; transform: translateX(5px); } }
@keyframes cubeShift { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(2px, -2px); opacity: 0.8; } }
@keyframes dashConstant { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes pointPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); filter: brightness(1.5); } }
@keyframes nodePulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 1; } }

.ai-card:hover { 
  transform: translateY(-10px) scale(1.02); 
  border-color: var(--accent); 
  box-shadow: 0 20px 50px rgba(99,102,241,0.2); 
}
.ai-card:hover .ai-icon::before { background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: 0.4; }

.ai-card h3 { font-size:1.2rem; margin-bottom:12px; color:var(--text); font-weight: 700; }
.ai-card p { color:var(--text-secondary); font-size:.95rem; line-height:1.7; }

/* ===== TECH PARTNERS REFINED ===== */
.tech-section { background:var(--bg-primary); padding: 40px 0; border-top: 1px solid var(--border); }
.tech-track {
  display:flex; gap:60px; animation:scrollLogos 30s linear infinite;
  width:max-content; align-items: center;
}
.tech-logo {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #94a3b8; transition: var(--transition); flex-shrink: 0;
}
.tech-logo img { height: 32px; width: auto; object-fit: contain; transition: 0.3s; }
.tech-logo span { font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #64748b; }

.tech-logo:hover { color: var(--accent); transform: translateY(-5px); }
.tech-logo:hover svg, .tech-logo:hover span { opacity: 1; filter: drop-shadow(0 0 8px var(--accent)); }

@keyframes scrollLogos { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

.tech-tagline {
  text-align: center; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.tech-tagline p {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 4px; color: var(--accent);
  opacity: 0.8; animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; text-shadow: 0 0 0px var(--accent); }
  50% { opacity: 1; text-shadow: 0 0 10px var(--accent); }
}


/* ===== CONTACT SECTION ===== */
.contact-section { background: #07070a; padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.04); }

/* Grid: Formulario a la izquierda, Dashboard a la derecha */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: start; }

/* Formulario */
.contact-form {
  display: flex; flex-direction: column; gap: 20px;
  background: rgba(15,15,22,0.9); padding: 40px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  color: #fff; font-size: 0.95rem; font-family: 'Inter', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Dashboard de contacto */
.contact-dashboard { display: flex; flex-direction: column; gap: 16px; }

/* System Labels */
.sys-label {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  color: var(--accent); opacity: 0.6; letter-spacing: 1.5px; margin-bottom: 4px;
}

/* Cards con barra lateral */
.dashboard-card {
  padding: 20px 24px; border-left: 2px solid rgba(99,102,241,0.15);
  transition: all 0.3s ease;
}
.dashboard-card:hover {
  border-left-color: var(--accent); background: rgba(99,102,241,0.04);
  padding-left: 30px;
}
.card-body { display: flex; align-items: center; gap: 16px; }
.card-body .info { flex: 1; }
.card-body h4 { font-size: 0.95rem; color: #e2e8f0; margin-bottom: 3px; font-weight: 600; }
.card-body a { color: #94a3b8; font-size: 0.9rem; text-decoration: none; transition: color 0.3s; }
.card-body a:hover { color: var(--accent); }
.card-body p { color: #94a3b8; font-size: 0.9rem; }

/* Iconos SVG técnicos */
.tech-icon-small {
  width: 36px; height: 36px; flex-shrink: 0;
  color: var(--accent); opacity: 0.5; transition: opacity 0.3s;
}
.tech-icon-small svg { width: 100%; height: 100%; }
.dashboard-card:hover .tech-icon-small { opacity: 1; }

/* Trust Badge */
.trust-badge-minimal {
  margin-top: 16px; padding: 16px 24px; display: flex; gap: 14px; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.tech-icon-small.safe { color: #10b981; opacity: 0.6; }
.badge-text .sys-label { color: #10b981; }
.trust-badge-minimal p, .badge-text p { font-size: 0.8rem; color: #64748b; line-height: 1.5; margin: 0; }

@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer { padding:48px 0 24px; border-top:1px solid var(--border); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; margin-bottom:32px; }
.footer-brand p { color:var(--text-secondary); font-size:.85rem; margin-top:12px; line-height:1.7; }
.footer-col h4 { font-size:.85rem; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); margin-bottom:16px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:10px; }
.footer-col a { color:var(--text-secondary); font-size:.9rem; }
.footer-col a:hover { color:var(--text); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:24px; border-top:1px solid var(--border); }
.footer-bottom p { color:var(--text-muted); font-size:.8rem; }
.footer-socials { display:flex; gap:12px; }
.footer-socials a {
  width:36px; height:36px; border-radius:50%; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-secondary); transition:var(--transition); font-size:.9rem;
}
.footer-socials a:hover { background:var(--accent); color:#fff; border-color:var(--accent); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position:fixed; bottom:24px; right:24px; z-index:999;
  width:60px; height:60px; border-radius:50%;
  background:#25d366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.4);
  transition:var(--transition); cursor:pointer;
}
.whatsapp-float:hover { transform:scale(1.1); box-shadow:0 6px 30px rgba(37,211,102,.6); }
.whatsapp-float svg { width:28px; height:28px; fill:#fff; }
.whatsapp-float::before {
  content:''; position:absolute; inset:-4px; border-radius:50%;
  border:2px solid rgba(37,211,102,.4);
  animation:wpPulse 2s ease-in-out infinite;
}
@keyframes wpPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50% { transform:scale(1.2); opacity:0; }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity:0; transform:translateY(40px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-40px); transition:opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(40px); transition:opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity:1; transform:translateX(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .stats .container { grid-template-columns:repeat(2,1fr); }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .showcase { grid-template-columns:1fr 1fr; }
  .timeline::before { left:20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction:row; text-align:left; padding-left:48px; }
  .timeline-content { width:100%; }
  .timeline-dot { left:20px; }
}
@media(max-width:768px) {
  .nav-links { display:none; position:fixed; top:0; left:0; width:100%; height:100vh; background:rgba(10,10,15,.98); flex-direction:column; align-items:center; justify-content:center; gap:32px; }
  .nav-links.active { display:flex; }
  .nav-cta-desktop { display:none; }
  .hamburger { display:flex; }
  .hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
  .hamburger.active span:nth-child(2) { opacity:0; }
  .hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }
  .stats .container { grid-template-columns:1fr 1fr; }
  .services-grid { grid-template-columns:1fr; }
  .ai-grid { grid-template-columns:1fr; }
  .showcase { grid-template-columns:1fr; }
  .testimonial-card { min-width:280px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:16px; text-align:center; }
}
@media(max-width:480px) {
  .hero h1 { font-size:2rem; }
  .hero-buttons { flex-direction:column; align-items:center; }
  .stats .container { grid-template-columns:1fr; }
}
