/* ==========================================================================
   INNOVEXA - Digital Solutions
   Futuristic Cyberbionic Theme & High-Performance 60FPS Styles
   ========================================================================== */

/* --- CSS Variables & Paleta Neón Ciberbiónica --- */
:root {
  /* Fondos */
  --bg-black: #040508;
  --bg-deep: #080a12;
  --bg-card: rgba(14, 18, 32, 0.65);
  --bg-card-hover: rgba(22, 28, 50, 0.85);
  --bg-glass: rgba(10, 14, 28, 0.7);
  --bg-glass-heavy: rgba(6, 8, 18, 0.94);

  /* Acentos Neón */
  --neon-cyan: #00f0ff;
  --neon-cyan-rgb: 0, 240, 255;
  --neon-blue: #3b82f6;
  --neon-blue-rgb: 59, 130, 246;
  --neon-purple: #a855f7;
  --neon-purple-rgb: 168, 85, 247;
  --neon-pink: #ff007f;
  --neon-pink-rgb: 255, 0, 127;
  --neon-green: #22c55e;
  --neon-magenta: #f43f5e;

  /* Bordes & Resplandores */
  --border-subtle: rgba(0, 240, 255, 0.18);
  --border-bright: rgba(0, 240, 255, 0.65);
  --border-purple: rgba(168, 85, 247, 0.45);
  --border-pink: rgba(255, 0, 127, 0.5);

  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.35);
  --glow-purple: 0 0 30px rgba(168, 85, 247, 0.35);
  --glow-pink: 0 0 30px rgba(255, 0, 127, 0.4);
  --glow-green: 0 0 25px rgba(34, 197, 94, 0.4);
  --glow-subtle: 0 8px 32px 0 rgba(0, 0, 0, 0.6);

  /* Tipografía */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Colores de Texto */
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  /* Transiciones & Rendimiento 60FPS */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-spring);
  --transition-normal: 0.35s var(--ease-spring);
  --transition-slow: 0.6s var(--ease-spring);

  /* Espaciados */
  --header-height: 80px;
  --container-max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-black);
  color: var(--text-light);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(255, 0, 127, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom, #040508, #070914, #040508);
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Rejilla de Fondo Futurista */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, textarea, select {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 1;
}

/* --- Tipografía & Titulares --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #38bdf8 30%, var(--neon-purple) 70%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 60%, var(--neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  background-color: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse-dot 2s infinite ease-in-out;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

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

/* --- Botones Futuristas --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
  white-space: nowrap;
  user-select: none;
  z-index: 1;
  will-change: transform, box-shadow;
}

.btn-cyan {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(59, 130, 246, 0.2));
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25), inset 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, var(--neon-cyan), #0284c7);
  color: #020617;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6), 0 0 50px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.btn-cta {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
  background-size: 200% 200%;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4), 0 0 40px rgba(255, 0, 127, 0.25);
  animation: gradient-shift 6s ease infinite;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7), 0 0 60px rgba(255, 0, 127, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-whatsapp {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.35) 100%);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.6);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.35), inset 0 0 12px rgba(34, 197, 94, 0.15);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #022c22;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.7), 0 0 60px rgba(34, 197, 94, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-cyan);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

/* --- Efecto Glassmorphism --- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  will-change: transform, border-color, box-shadow;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.5), transparent);
  pointer-events: none;
}

.glass-panel:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow-cyan), var(--glow-subtle);
  transform: translateY(-4px);
}

/* --- Animaciones de Scroll (60fps aceleradas por hardware) --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   1. HEADER & HERO SECTION
   ========================================================================== */

/* Header Sticky */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(0, 240, 255, 0.1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 40%, var(--neon-purple) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
  line-height: 1;
}

.brand-logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.85;
}

/* Menú de Navegación */
.nav-menu {
  display: none; /* Mobile First */
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
  }
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  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(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

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

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

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    padding: 0.65rem 1.35rem;
    font-size: 0.85rem;
  }
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--text-white);
  gap: 5px;
  z-index: 1100;
  transition: all var(--transition-fast);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--neon-cyan);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(4, 5, 8, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px var(--neon-cyan);
}

.mobile-nav-cta {
  margin-top: 1rem;
  width: 100%;
  max-width: 280px;
}

/* ==========================================================================
   1. HERO SECTION (100vh Natural & Ultra Fluido)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 576px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 3D / Cyber Video Container (.hero-graphic-placeholder) */
.hero-graphic-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.18) 0%, rgba(0, 240, 255, 0.1) 45%, rgba(4, 5, 8, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.22), inset 0 0 40px rgba(168, 85, 247, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hero-graphic-placeholder {
    max-width: 340px;
  }
}

.hero-loop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

.hero-graphic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.hud-tag {
  align-self: flex-start;
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--neon-cyan);
  background: rgba(0, 0, 0, 0.75);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  border-left: 2px solid var(--neon-cyan);
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.hud-status {
  align-self: flex-end;
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--neon-pink);
  background: rgba(0, 0, 0, 0.75);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  border-right: 2px solid var(--neon-pink);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   2. SERVICIOS (GRID 2 COLUMNAS ENFOCADO EN WEB Y AUTOMATIZACIÓN)
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  position: relative;
}

.services-grid-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 900px) {
  .services-grid-duo {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card-expanded {
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  will-change: transform, border-color, box-shadow;
}

.service-card-expanded::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
  transition: opacity var(--transition-normal);
}

.service-card-expanded:hover {
  transform: translateY(-8px);
  border-color: var(--border-bright);
  box-shadow: 0 12px 45px rgba(0, 240, 255, 0.22), inset 0 0 25px rgba(0, 240, 255, 0.06);
}

.service-card-expanded:hover::before {
  opacity: 1;
}

.service-card-expanded.automation::before {
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.service-card-expanded.automation:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 12px 45px rgba(168, 85, 247, 0.25), inset 0 0 25px rgba(168, 85, 247, 0.08);
}

.service-card-expanded.automation .service-icon-wrap {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.35);
  color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.service-card-expanded.automation:hover .service-icon-wrap {
  background: rgba(168, 85, 247, 0.25);
  border-color: var(--neon-purple);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.5);
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
}

.service-card-expanded:hover .service-icon-wrap {
  transform: scale(1.1) rotate(4deg);
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.service-icon-wrap svg {
  width: 36px;
  height: 36px;
}

.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  color: var(--text-white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.service-card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.25rem;
}

.service-features-list li {
  font-size: 0.92rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.service-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-expanded.automation .service-features-list li svg {
  color: var(--neon-purple);
}

/* ==========================================================================
   3. NUESTROS PROYECTOS (PORTAFOLIO CON CAPTURAS REALES)
   ========================================================================== */
.projects-section {
  padding: 6rem 0;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  border-radius: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  will-change: transform, border-color, box-shadow;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 12px 45px rgba(168, 85, 247, 0.25), 0 0 25px rgba(0, 240, 255, 0.2);
}

.project-preview {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #090d18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-browser-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: rgba(6, 8, 16, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 5;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-url-bar {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--neon-cyan);
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-spring);
  padding-top: 32px;
}

.project-card:hover .project-real-img {
  transform: scale(1.04);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  color: var(--text-white);
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--neon-cyan);
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  transition: all var(--transition-fast);
}

.project-btn:hover {
  background: var(--neon-cyan);
  color: #020617;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transform: translateX(3px);
}

.project-btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.project-btn:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   4. PLANES Y PRECIOS
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  will-change: transform, border-color, box-shadow;
}

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

/* Tarjeta Central Destacada */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(20, 26, 48, 0.9) 0%, rgba(12, 15, 28, 0.95) 100%);
  border: 1.5px solid var(--neon-purple);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25), inset 0 0 25px rgba(168, 85, 247, 0.1);
  position: relative;
}

@media (min-width: 992px) {
  .pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
  }
  .pricing-card.featured:hover {
    transform: scale(1.08) translateY(-6px);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.4), inset 0 0 30px rgba(0, 240, 255, 0.15);
  }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  min-height: 52px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card.featured .pricing-features li svg {
  color: var(--neon-purple);
}

.pricing-cta {
  width: 100%;
}

/* ==========================================================================
   5. CONTACTO & FOOTER (SOLO BOTONES INTERACTIVOS - SIN UBICACIÓN/TELÉFONO TEXTO)
   ========================================================================== */
.footer-section {
  background-color: #030407;
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-cyan) 30%, var(--neon-purple) 70%, transparent 100%);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.contact-action-banner {
  background: linear-gradient(135deg, rgba(14, 20, 36, 0.85) 0%, rgba(20, 26, 48, 0.9) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 240, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-action-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(0, 240, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.contact-banner-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-banner-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.65;
}

.contact-buttons-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.footer-nav-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .footer-nav-bar {
    flex-direction: row;
  }
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}

.footer-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--neon-cyan);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   MODAL DE PRESUPUESTO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  background: #0b0f19;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.3), 0 20px 60px rgba(0, 0, 0, 0.8);
  border-radius: 22px;
  padding: 2.25rem;
  position: relative;
  transform: scale(0.92);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 0, 127, 0.2);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.03);
}

.form-select option {
  background-color: #0b0f19;
  color: var(--text-white);
}

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

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   FAQ SECTION – Preguntas Frecuentes (SEO Rich Snippets)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-deep);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.3;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(var(--neon-cyan-rgb), 0.4);
  box-shadow: 0 0 20px rgba(var(--neon-cyan-rgb), 0.08);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  stroke: var(--neon-cyan);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--neon-cyan);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--neon-cyan);
  opacity: 0.7;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-answer strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 640px) {
  .faq-question {
    font-size: 0.93rem;
    padding: 1rem 1.1rem;
  }
  .faq-answer {
    padding: 0 1.1rem 1rem;
  }
}
