/* ==========================================================================
   CODCOL — HOJA DE ESTILOS PRINCIPAL
   
   ÍNDICE
   ─────────────────────────────────────────────────────────────────────────
   1.  VARIABLES GLOBALES (ROOT)
   2.  RESET Y BASE
   3.  COMPONENTES REUTILIZABLES
       3.1  Tipografía
       3.2  Botones
       3.3  Glassmorphism
       3.4  Animaciones
   4.  HEADER Y NAVEGACIÓN
       4.1  Header
       4.2  Menú móvil (hamburguesa)
   5.  HERO (INICIO)
   6.  SERVICIOS
   7.  PORTAFOLIO (index)
   8.  SOBRE NOSOTROS
       8.1  Hero Nosotros
       8.2  Tarjetas (Misión / Equipo)
       8.3  Workflow
       8.4  Políticas
   9.  PROCESO DE TRABAJO
   10. FAQ
   11. FOOTER
   12. PORTAFOLIO (página dedicada)
   13. MEDIA QUERIES
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES GLOBALES (ROOT)
   ========================================================================== */
:root {
  /* Colores Base */
  --bg-dark:          #05010d;
  --bg-purple-deep:   #0a001a;

  /* Neón */
  --neon-purple:      #9d00ff;
  --neon-purple-alt:  #9d00ff;
  --neon-green:       #00ff88;

  /* Glassmorphism */
  --glass-bg:         rgba(255, 255, 255, 0.03);
  --glass-border:     rgba(255, 255, 255, 0.08);
  --glass-blur:       blur(15px);

  /* Texto */
  --text-main:        #ffffff;
  --text-dim:         #b8b0c5;

  /* Transición global */
  --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. RESET Y BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(circle at center bottom, #b20ff333 0%, transparent 60%),
    var(--bg-dark);
  box-shadow:
    inset 0 100px 100px -20px rgba(188, 19, 254, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: white;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ==========================================================================
   3. COMPONENTES REUTILIZABLES
   ========================================================================== */

/* ── 3.1 Tipografía ─────────────────────────────────────────────────────── */

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 50px;
  font-weight: 700;
  text-align: center;
  color: white;
}

.section-title span {
  color: var(--neon-purple);
  text-shadow: 0 0 15px rgba(188, 19, 254, 0.6);
}

.neon-text {
  color: white;
  animation: glowPulse 2s infinite alternate;
}

.neon-purple-text {
  color: #bc13fe;
  text-shadow: 0 0 20px rgba(188, 19, 254, 0.6);
}

/* ── 3.2 Botones ────────────────────────────────────────────────────────── */

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  border-radius: 50px;
  background: var(--neon-purple);
  border: 2px solid var(--neon-purple);
  color: white;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 20px var(--neon-purple);
  transition: var(--transition);
  cursor: pointer;
}

.btn-neon:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--neon-purple);
}

.btn-outline {
  padding: 14px 35px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(188, 19, 254, 0.5);
  color: white;
  text-decoration: none;
  font-weight: bold;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--neon-purple);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px var(--neon-purple);
  transform: translateY(-3px);
}

.neon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 45px;
  background: rgba(188, 19, 254, 0.15);
  border: 2px solid var(--neon-purple);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.5), inset 0 0 10px rgba(188, 19, 254, 0.4);
  transition: all 0.3s ease;
}

.neon-button span {
  margin-left: 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.neon-button:hover {
  background: var(--neon-purple);
  box-shadow: var(--neon-glow);
  transform: scale(1.05);
}

.neon-button:hover span {
  transform: translateX(5px);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid #00ff88 !important;
  padding: 8px 18px !important;
  border-radius: 50px;
  color: #00ff88 !important;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
  transition: var(--transition) !important;
}

.btn-whatsapp i { font-size: 1.2rem; }

.btn-whatsapp:hover {
  background: #00ff88 !important;
  color: #05010d !important;
  box-shadow: 0 0 20px #00ff88;
  transform: translateY(-2px) scale(1.05);
  text-shadow: none;
}

/* Elimina la línea morada del hover del nav en este botón */
.btn-whatsapp::after { display: none !important; }

.btn-about {
  background: transparent;
  border: 2px solid #a855f7;
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
  transition: all 0.3s ease;
}

.btn-about:hover {
  background: #a855f7;
  box-shadow: 0 0 30px #a855f7;
  transform: translateY(-3px);
}

.btn-view-all {
  display: inline-block;
  padding: 14px 35px;
  border: 2px solid var(--neon-purple);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  background: rgba(157, 0, 255, 0.1);
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
  transition: var(--transition);
}

.btn-view-all:hover {
  background: var(--neon-purple);
  box-shadow: 0 0 25px var(--neon-purple);
  transform: scale(1.05);
}

/* ── 3.3 Glassmorphism ──────────────────────────────────────────────────── */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(188, 19, 254, 0.4);
  box-shadow: 0 10px 40px rgba(188, 19, 254, 0.15);
  transform: translateY(-5px);
}

/* ── 3.4 Animaciones ────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowPulse {
  from { text-shadow: 0 0 5px var(--neon-purple-alt); }
  to   { text-shadow: 0 0 20px var(--neon-purple-alt), 0 0 40px var(--neon-purple-alt); }
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

@keyframes floatingAnim {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%       { transform: translateY(-15px) rotate(1deg); }
}

@keyframes scan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes blink-tech {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(0, 255, 136, 0.2); }
  50%       { opacity: 0.5; box-shadow: 0 0 2px rgba(0, 255, 136, 0.1); }
}

@keyframes energy-flow {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ==========================================================================
   4. HEADER Y NAVEGACIÓN
   ========================================================================== */

/* ── 4.1 Header ─────────────────────────────────────────────────────────── */

.main-header {
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(11, 1, 24, 0.7);
  border-bottom: 1px solid var(--glass-border);
}

.header-scrolled {
  padding: 10px 0;
  background: rgba(5, 1, 13, 0.9);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--neon-purple);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  width: 45px;
  height: auto;
  filter: drop-shadow(0 0 5px var(--neon-purple-alt));
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--neon-purple));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-item {
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-item:not(.active)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--neon-purple);
  box-shadow: 0 0 10px var(--neon-purple);
  transition: var(--transition);
}

.nav-item:hover::after { width: 100%; }

.nav-item:hover { color: var(--neon-purple-alt); }

.nav-item.active {
  border: 2px solid var(--neon-purple);
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(188, 19, 254, 0.15);
  box-shadow: inset 0 0 10px var(--neon-purple), 0 0 15px var(--neon-purple);
}

/* ── 4.2 Menú Móvil (Hamburguesa) ───────────────────────────────────────── */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 28px;
  height: 3px;
  background-color: white;
  border-radius: 5px;
  transition: var(--transition);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg);  background-color: var(--neon-purple); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--neon-purple); }

.nav-menu {
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ── Submenú (Dropdown) ────────────────────────────────── */

.nav-item-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(11, 1, 24, 0.9);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--neon-purple);
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.3);
    z-index: 100;
}

/* Mostrar en Desktop con Hover */
@media (min-width: 992px) {
    .nav-item-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-item-dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
        color: var(--neon-purple);
    }
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(188, 19, 254, 0.2);
    color: var(--neon-purple-alt);
    padding-left: 25px; /* Efecto de desplazamiento */
}

/* ── Ajustes para Móvil ────────────────────────────────── */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none; /* Controlado por JS */
        background: rgba(188, 19, 254, 0.05);
        border: none;
        border-left: 2px solid var(--neon-purple);
        margin: 10px 0;
        width: 100%;
    }

    .dropdown-menu.is-open {
        display: block;
    }
    
    .dropdown-icon.rotate {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   5. HERO (INICIO)
   ========================================================================== */

.hero {
  padding: 100px 0 50px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center bottom, rgba(188, 19, 254, 0.2) 0%, transparent 60%),
    var(--bg-dark);
  box-shadow:
    inset 0 100px 100px -20px rgba(188, 19, 254, 0.15),
    inset 0 1px 0 var(--glass-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 800;
}

.description {
  font-size: 1.1rem;
  color: #d1c4e9;
  max-width: 550px;
  margin-bottom: 35px;
}

.hero-benefits {
  margin-bottom: 40px;
  list-style: none;
}

.hero-benefits li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.neon-emoji {
  filter: drop-shadow(0 0 5px #00ff88) drop-shadow(0 0 10px #00ff88);
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 40px rgba(188, 19, 254, 0.3);
  margin-bottom: 50%;
  /* FUERZA EL USO DE LA GPU */
  transform: translateZ(0); 
  will-change: transform;
}
/* ==========================================================================
   6. SERVICIOS
   ========================================================================== */

.services-section {
  padding: 100px 0;
  text-align: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at center bottom, rgba(188, 19, 254, 0.2) 0%, transparent 60%),
    var(--bg-dark);
  box-shadow:
    inset 0 100px 100px -20px rgba(188, 19, 254, 0.15),
    inset 0 1px 0 var(--glass-border);
}

#tsparticles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent !important;
  pointer-events: none;
}

#tsparticles canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  width: 320px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--neon-purple);
  box-shadow: 0 0 25px rgba(188, 19, 254, 0.25);
}

.icon { font-size: 3rem; margin-bottom: 15px; }

.neon-blue-icon   { filter: drop-shadow(0 0 10px #00d2ff); color: #00d2ff; }
.neon-purple-icon { filter: drop-shadow(0 0 10px var(--neon-purple)); color: var(--neon-purple); }
.neon-green-icon  { filter: drop-shadow(0 0 10px #8892b0); color: #8892b0; }

.service-card h3 {
  margin-bottom: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  color: white;
}

.service-card ul { list-style: none; padding: 0; width: 100%; }

.service-card li {
  font-size: 0.9rem;
  color: #b3a8c4;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  line-height: 1.6;
  text-align: left;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: #00ffcc;
  font-weight: bold;
  font-size: 1.1rem;
  text-shadow: 0 0 6px #00ffcc;
}

.cta-container { margin-top: 60px; }

.cta-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #8892b0;
}


/* ==========================================================================
   7. PORTAFOLIO (index)
   ========================================================================== */

.portfolio {
  padding: 80px 20px;
  text-align: center;
  background:
    radial-gradient(circle at center bottom, rgba(188, 19, 254, 0.15) 0%, transparent 60%),
    var(--bg-dark);
  position: relative;
}

.portfolio-title {
  font-size: 2.8rem;
  margin-bottom: 50px;
  font-weight: 800;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding-bottom: 25px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  background: rgba(157, 0, 255, 0.05);
  border-color: rgba(157, 0, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-container {
  background: linear-gradient(145deg, #1a0b2e, #0a0118);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  height: 200px;
  overflow: hidden;
  margin-bottom: 15px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .image-container img { transform: scale(1.08); }

.portfolio-info { padding: 0 20px; }

.portfolio-info h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-description {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 54px;
}

.btn-project-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid #00ff88;
  border-radius: 12px;
  color: #00ff88;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}

.btn-project-green:hover {
  background: #00ff88;
  color: #05010d;
  box-shadow: 0 0 25px #00ff88;
  transform: translateY(-3px);
  text-shadow: none;
}

.btn-project-green i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn-project-green:hover i { transform: translate(3px, -3px); }


/* ==========================================================================
   8. SOBRE NOSOTROS
   ========================================================================== */

/* ── 8.1 Hero Nosotros ──────────────────────────────────────────────────── */

.about-hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 20px 100px;
  overflow: hidden;
  background-color: #05010d;
  background-image:
    radial-gradient(circle at 0% 0%,   rgba(188, 19, 254, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.15)  0%, transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(188, 19, 254, 0.2) 0%, transparent 40%);
}

.about-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.glass-hero-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(188, 19, 254, 0.3);
  border-radius: 30px;
  padding: 40px;
}

.floating { animation: floatingAnim 4s ease-in-out infinite; }

.status-chip {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid #00ff88;
  color: #00ff88;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.status-chip .dot {
  width: 6px; height: 6px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88;
}

.hero-tag {
  color: #00ff88;
  font-weight: bold;
  letter-spacing: 3px;
  font-size: 0.85rem;
  border-left: 3px solid #00ff88;
  padding-left: 10px;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 20px 0;
  color: #fff;
}

.about-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 500px;
}

.about-mini-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.mini-stat { display: flex; flex-direction: column; }
.mini-stat .num { font-size: 1.8rem; font-weight: 800; color: #fff; }
.mini-stat .lab { font-size: 0.8rem; color: #00ff88; text-transform: uppercase; }

/* Stats (sección Sobre Nosotros general) */
.about-section {
  padding: 100px 5%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center bottom, rgba(188, 19, 254, 0.2) 0%, transparent 60%),
    var(--bg-dark);
  box-shadow:
    inset 0 100px 100px -20px rgba(188, 19, 254, 0.15),
    inset 0 1px 0 var(--glass-border);
}

.about-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.about-title-hollow {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1.5px #a855f7;
  margin-bottom: 20px;
}

.about-title-hollow .highlight {
  color: #ccc;
  -webkit-text-stroke: 0;
  display: inline-block;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
}

.about-subtitle {
  color: #b0a3c4;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 550px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 15px #a855f7, 0 0 30px #a855f7;
  margin: 0;
}

.stat-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.main-illustration {
  width: 100%;
  border-radius: 20px;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.2));
  z-index: 2;
  position: relative;
}

.bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 140%; height: 140%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ── 8.2 Tarjetas (Misión / Equipo) ─────────────────────────────────────── */

.about-cards-section {
  padding: 100px 20px;
  background-color: #05010d;
  background-image:
    radial-gradient(circle at 0% 0%,     rgba(188, 19, 254, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%,   rgba(157, 0, 255, 0.15)  0%, transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(188, 19, 254, 0.35) 0%, transparent 40%);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.about-card.glass-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(188, 19, 254, 0.15);
  padding: 40px 30px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-corner-top {
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: linear-gradient(225deg, rgba(188, 19, 254, 0.3) 50%, transparent 50%);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.card-id {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: #00ff88;
  letter-spacing: 2px;
}

.card-icon {
  font-size: 2.5rem;
  color: var(--neon-purple);
  filter: drop-shadow(0 0 10px var(--neon-purple));
}

.about-card h3   { font-size: 1.4rem; color: #fff; margin-bottom: 15px; text-align: left; }
.about-card p    { color: rgba(255, 255, 255, 0.6); line-height: 1.6; font-size: 0.95rem; text-align: left; }

.pilots-visual { display: flex; gap: 15px; margin-bottom: 20px; }

.pilot-circle {
  width: 45px; height: 45px;
  background: rgba(188, 19, 254, 0.1);
  border: 1px solid var(--neon-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.trajectory-map { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }

.node { width: 8px; height: 8px; background: rgba(255,255,255,0.2); border-radius: 50%; }
.node.active { background: #00ff88; box-shadow: 0 0 10px #00ff88; }
.line { width: 30px; height: 1px; background: rgba(255,255,255,0.1); }

.card-tech-footer { margin-top: auto; padding-top: 20px; }

.tech-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}

.percentage {
  font-family: 'Courier New', monospace;
  color: #00ff88;
  font-size: 0.8rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 255, 136, 0.1);
}

.bar-fill {
  height: 100%;
  background: #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(63, 7, 69, 0.573), transparent);
  animation: scan 3s infinite ease-in-out;
}

.status {
  font-size: 0.6rem;
  color: #00ff88;
  display: block;
  margin-bottom: 5px;
}

.about-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.02);
}

.about-card.active {
  border-color: var(--neon-purple);
  box-shadow: 0 0 30px rgba(188, 19, 254, 0.1);
}

/* ── 8.3 Workflow ───────────────────────────────────────────────────────── */

.workflow-section {
  padding: 100px 20px;
  background: linear-gradient(to top, rgba(188, 19, 254, 0.08) 0%, var(--bg-dark) 100%);
}

.workflow-header { text-align: center; margin-bottom: 80px; }

.workflow-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  position: relative;
}

.step-item { position: relative; z-index: 1; }

.step-number {
  font-family: 'Courier New', monospace;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(218, 209, 222, 0.314);
  -webkit-text-stroke: 1px rgba(188, 19, 254, 0.3);
  margin-bottom: -20px;
  margin-left: 20px;
}

.step-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(188, 19, 254, 0.15);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
}

.step-content:hover { border-color: #00ff88; transform: translateY(-5px); }

.step-icon {
  font-size: 2rem;
  color: #00ff88;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.step-content h3 { color: #fff; margin-bottom: 15px; font-size: 1.2rem; }

.step-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-status {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  animation: blink-tech 2s infinite ease-in-out;
}

.step-item:hover .step-icon {
  transform: scale(1.2) rotate(5deg);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 15px #00ff88);
}

/* ── 8.4 Políticas ──────────────────────────────────────────────────────── */

.policy-section {
  padding: 100px 20px;
  background: linear-gradient(to top, rgba(188, 19, 254, 0.08) 0%, var(--bg-dark) 100%);
}

.policy-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.policy-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(188, 19, 254, 0.1) !important;
  border-radius: 4%;
}

.policy-header { display: flex; align-items: center; gap: 20px; margin-bottom: 10px; }

.policy-main-icon {
  font-size: 2.5rem;
  color: #00ff88;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.4));
}

.policy-card h3 { font-size: 1.4rem; margin-top: 5px; }

.policy-intro { color: rgba(255, 255, 255, 0.6); font-size: 1.2rem; line-height: 1.6; }

.policy-list { list-style: none; padding: 0; margin-top: 8px; }

.policy-list li {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-list li i { color: #00ff88; font-size: 1.1rem; }

.policy-card:hover {
  border-color: #00ff88 !important;
  background: rgba(0, 255, 136, 0.01);
  transform: translateY(-5px);
}

.mini-version {
  height: 10px !important;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-top: 5px;
  border: 1px solid rgba(0, 255, 136, 0.1);
}

.mini-version .bar-fill {
  width: 0%;
  height: 100%;
  background: #00ff88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: relative;
  transition: width 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-version .bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: scan 3s infinite ease-in-out;
}

.feat-item .tech-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4px;
}

.feat-label {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: #00ff88;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0 ;
}

.mini-bar { width: 100%; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }

.mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #bc13fe, #00ff88);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}


/* ==========================================================================
   9. PROCESO DE TRABAJO
   ========================================================================== */

.how-we-work {
  padding: 80px 20px;
  text-align: center;
  background: radial-gradient(circle at center, #1a0533 0%, #0a0118 100%);
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  width: 250px;
  transition: transform 0.3s ease, border 0.3s ease;
  position: relative;
}

.step-card:hover,
.step-card.active {
  transform: translateY(-10px);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
}

.icon-box { font-size: 3rem; margin-bottom: 15px; filter: drop-shadow(0 0 5px var(--neon-purple)); }
.step-card h3 { font-size: 1.2rem; margin-bottom: 15px; color: #fff; }
.step-card p  { font-size: 0.9rem; color: #ccc; line-height: 1.6; }

.process { padding: 100px 0; }

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.step { flex: 1; text-align: center; }

.step-icon {
  width: 80px; height: 80px;
  background: var(--glass-bg);
  border: 1px solid var(--neon-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 2rem;
  box-shadow: var(--neon-glow);
}

.step-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple), transparent);
  opacity: 0.5;
}


/* ==========================================================================
   10. FAQ
   ========================================================================== */

.faq {
  text-align: center;
  padding: 100px 20px;
  background:
    radial-gradient(circle at center bottom, rgba(188, 19, 254, 0.2) 0%, transparent 60%),
    var(--bg-dark);
  box-shadow:
    inset 0 100px 100px -20px rgba(188, 19, 254, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover  { background: rgba(255,255,255,0.06); border-color: rgba(188,19,254,0.4); }
.faq-item.active { border-color: var(--neon-purple); background: rgba(255,255,255,0.08); box-shadow: 0 0 25px rgba(188,19,254,0.15); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  outline: none;
}

.faq-icon-wrapper {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-icon,
.faq-icon::before {
  content: '';
  position: absolute;
  width: 100%; height: 2px;
  background-color: var(--neon-purple);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 0 8px var(--neon-purple);
}

.faq-icon::before { transform: rotate(90deg); }

.faq-item.active .faq-icon        { transform: rotate(45deg); background-color: var(--neon-pink); box-shadow: 0 0 12px var(--neon-pink); }
.faq-item.active .faq-icon::before { background-color: var(--neon-pink); }

.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content { padding: 0 25px 25px; color: #ccc; line-height: 1.7; font-size: 0.95rem; }
.faq-content p { margin: 0; opacity: 0.9; }


/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.main-footer {
  padding: 100px 0 40px;
  background: linear-gradient(to top, rgba(188, 19, 254, 0.08) 0%, var(--bg-dark) 100%);
  border-top: 2px solid rgba(188, 19, 254, 0.2);
  margin-top: 80px;
  color: white;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding: 0 20px;
}

.footer-title.neon-text {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: var(--neon-purple);
  font-weight: 800;
  text-shadow: 0 0 10px var(--neon-purple), 0 0 20px rgba(188, 19, 254, 0.4);
}

.logo-wrapper { margin-bottom: 20px; display: inline-block; padding: 5px; }

.footer-logo-img {
  height: 65px;
  width: auto;
  filter: drop-shadow(0 0 12px var(--neon-purple)) drop-shadow(0 0 25px rgba(188, 19, 254, 0.5));
  transition: all 0.4s ease;
}

.footer-logo-img:hover {
  filter: drop-shadow(0 0 15px var(--neon-purple)) drop-shadow(0 0 35px var(--neon-purple)) brightness(1.3);
  transform: scale(1.05);
}

.footer-logo { font-size: 1.8rem; margin-bottom: 15px; letter-spacing: 3px; font-weight: 900; }
.footer-logo span { color: var(--neon-purple); text-shadow: 0 0 15px var(--neon-purple); }

.brand-col p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; margin-bottom: 25px; }

.social-pills { display: flex; gap: 15px; }

.pill {
  width: 46px; height: 46px;
  background: var(--glass-bg);
  border: 1px solid rgba(188, 19, 254, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pill:hover {
  background: var(--neon-purple);
  border-color: var(--neon-purple);
  box-shadow: 0 0 25px var(--neon-purple);
  transform: translateY(-8px);
  color: white;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 14px; }

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover { color: var(--neon-pink); transform: translateX(5px); }

.footer-specialties li { color: var(--text-dim); display: flex; align-items: center; gap: 12px; }

.check { font-size: 1.1rem; filter: drop-shadow(0 0 5px rgba(0,255,0,0.4)); }

.newsletter p { color: var(--text-dim); margin-bottom: 20px; font-size: 0.95rem; }

.input-group {
  display: flex;
  background: var(--glass-bg);
  padding: 6px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  transition: border 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--neon-purple);
  box-shadow: 0 0 10px rgba(188, 19, 254, 0.2);
}

.input-group input {
  background: none;
  border: none;
  padding: 10px 15px;
  color: white;
  flex: 1;
  outline: none;
}

.btn-send {
  background: var(--neon-purple);
  border: none;
  padding: 10px 25px;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.3s ease;
}

.btn-send:hover {
  background: var(--neon-pink);
  box-shadow: 0 0 20px var(--neon-pink);
  transform: scale(1.02);
}

.footer-bottom {
  text-align: center;
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #555;
  font-size: 0.85rem;
}


/* ==========================================================================
   12. PORTAFOLIO (página dedicada)
   ========================================================================== */

.lp-portfolio-wrapper {
  --lp-purple:    #bc13fe;
  --lp-green:     #00ff88;
  --lp-glass:     rgba(255, 255, 255, 0.03);
  --lp-border:    rgba(255, 255, 255, 0.1);
  --lp-font-main: 'Inter', sans-serif;
  --lp-font-mono: 'Space Mono', monospace;

  background-color: #1a0533;
  color: #ffffff;
  font-family: var(--lp-font-main);
  padding: 60px 0;
  min-height: 100vh;
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero portafolio */
.lp-hero {
  text-align: center;
  padding: 80px 0;
  background: radial-gradient(circle at center, rgba(188, 19, 254, 0.1) 0%, transparent 70%);
}

.lp-hero-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 255, 136, 0.1);
  color: var(--lp-green);
  border: 1px solid var(--lp-green);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-family: var(--lp-font-mono);
}

.lp-hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.lp-text-neon-purple {
  color: var(--lp-purple);
  text-shadow: 0 0 20px rgba(188, 19, 254, 0.5);
}

.lp-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Filtros */
.lp-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.lp-filter-btn {
  background: var(--lp-glass);
  border: 1px solid var(--lp-border);
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
  font-family: var(--lp-font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
}

.lp-filter-btn.active,
.lp-filter-btn:hover {
  background: var(--lp-purple);
  border-color: var(--lp-purple);
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
}

/* Cards de proyecto */
.lp-project-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 80px;
  padding: 40px;
  background: var(--lp-glass);
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  align-items: center;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
    /* Aseguramos que el estado inicial sea visible */
    opacity: 1;
    transform: scale(1);
}

.lp-project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(188, 19, 254, 0.3);
}

.lp-hidden {
    display: none !important;
}

.lp-project-card {
    transition: opacity 0.3s ease; /* Solo animamos la opacidad para evitar saltos bruscos */
}

.lp-visual-wrapper {
  position: relative;
  border-radius: 16px;
  margin: 25px 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.lp-visual-wrapper img {
  width: 100%;
  display: block;
  filter: grayscale(30%) brightness(0.8);
  transition: 0.6s;
}

.lp-project-card:hover .lp-visual-wrapper img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.lp-badges { position: absolute; top: 20px; left: 20px; display: flex; gap: 10px; z-index: 99; }

.lp-badge-item {
  background: rgba(0,0,0,0.8);
  color: var(--lp-green);
  padding: 5px 12px;
  font-size: 0.65rem;
  font-family: var(--lp-font-mono);
  border: 1px solid var(--lp-green);
  border-radius: 4px;
}

/* Estilo del Switch */
.lp-inspection-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-family: 'Space Mono', monospace;
}

.lp-tech-details {
    display: none; /* Oculto por defecto */
    background: rgba(188, 19, 254, 0.1);
    border: 1px solid #00ff88;
    padding: 15px;
    margin: 20px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: scanLine 0.5s ease-out;
}

.lp-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #b0b0b0;
    margin-bottom: 5px;
}

.lp-tech-val {
    color: #bc13fe; /* Tu color neón */
    font-weight: bold;
}

/* Animación de escaneo */
@keyframes scanLine {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mostrar cuando el switch esté activo */
.inspection-active .lp-tech-details {
    display: block;
    opacity: 1;
}

/* Estilo del Checkbox/Slider */
.lp-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 20px;
}

.lp-switch input { opacity: 0; width: 0; height: 0; }

.lp-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 20px;
    border: 1px solid #bc13fe;
}

.lp-switch input:checked + .lp-slider { background-color: #bc13fe; }

.lp-slider:before {
    position: absolute;
    content: "";
    height: 12px; width: 12px;
    left: 4px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.lp-switch input:checked + .lp-slider:before { transform: translateX(26px); }


.lp-info-content h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }

.lp-desc { color: rgba(255, 255, 255, 0.6); margin-bottom: 30px; font-size: 1rem; }

.lp-metrics { display: flex; gap: 40px; margin-bottom: 35px; }

.lp-met-val   { font-size: 3rem; font-weight: 800; line-height: 1; display: block; }
.lp-met-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; }

/* Performance bar */
.lp-perf-box { border-top: 1px solid var(--lp-border); padding-top: 25px; margin-bottom: 25px; }

.lp-perf-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--lp-font-mono);
  font-size: 0.75rem;
  margin-bottom: 10px;
  color: var(--lp-green);
}

.lp-bar-bg { width: 100%; height: 8px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; }

.lp-bar-fill {
  height: 100%;
  background: var(--lp-green);
  box-shadow: 0 0 15px var(--lp-green);
  width: 0%;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Botones portafolio */
.lp-btn-case {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--lp-purple);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  border-radius: 5px;
  transition: 0.3s;
}

.lp-btn-case:hover {
  background: var(--lp-purple);
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.5);
}

/* Utilidades de color portafolio */
.lp-text-green   { color: var(--lp-green); text-shadow: 0 0 15px rgba(0, 255, 136, 0.4); }
.lp-text-purple  { color: var(--lp-purple); text-shadow: 0 0 15px rgba(188, 19, 254, 0.4); }
.lp-bg-green     { background: var(--lp-green);  box-shadow: 0 0 15px var(--lp-green); }
.lp-bg-purple    { background: var(--lp-purple); box-shadow: 0 0 15px var(--lp-purple); }
.lp-border-green  { border: 1px solid var(--lp-green); }
.lp-border-purple { border: 1px solid var(--lp-purple); }
.lp-green-text   { color: var(--lp-green); }
.lp-purple-text  { color: var(--lp-purple); }
.lp-purple-bg    { background: var(--lp-purple); box-shadow: 0 0 15px var(--lp-purple); }
.lp-purple-border { border-color: var(--lp-purple); }

.lp-btn-primary {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.lp-btn-primary:hover { background: white; color: black; border-color: white; }


/* ==========================================================================
   12. PLANES DE SERVICIO (página dedicada)
   ========================================================================== */

/* Contenedor General */
.lp-pricing {
  padding: 100px 0;
  text-align: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at center bottom, rgba(188, 19, 254, 0.2) 0%, transparent 60%),
    var(--bg-dark);
  box-shadow:
    inset 0 100px 100px -20px rgba(188, 19, 254, 0.15),
    inset 0 1px 0 var(--glass-border);
}

.lp-flex-reverse {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
}

@media (min-width: 992px) {
    .lp-flex-reverse { flex-direction: row; justify-content: space-between; }
}

/* Grid de Precios */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

/* Tarjeta Estilo Glassmorphism */
.pricing-card.glass {
    background: rgba(18, 5, 35, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid #1a0533;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.2);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #00ff88;
    color: #000;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 20px;
    letter-spacing: 1px;
}

.plan-head h3 {
    font-family: 'Space Mono', monospace;
    color: var(--neon-purple-alt);
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.price span { font-size: 1rem; opacity: 0.6; }

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.plan-features i {
    color: var(--neon-purple);
    margin-right: 10px;
}

/* Botones */
.btn-plan {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: white;
    border: 1px solid var(--neon-purple);
    border-radius: 10px;
    transition: var(--transition);
    font-weight: bold;
}

.btn-plan.active, .btn-plan:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 20px var(--neon-purple);
}





/* ==========================================================================
   13. MEDIA QUERIES
   ========================================================================== */

/* ── Escritorio pequeño / Tablet landscape (max 1024px) ─────────────────── */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-subtitle { margin: 0 auto 40px; }

  .about-visual { order: -1; }

  .stats-grid { justify-content: center; }
}

/* ── Tablet (max 992px) ─────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-grid        { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero-left        { order: 1; }
  .hero-right       { order: 2; }
  .hero-img         { max-width: 500px; margin: 40px auto 0; }
  .hero-buttons     { justify-content: center; }
  .description      { margin: 0 auto 30px; }
  .main-title       { font-size: 2.8rem; }
  .hero-info-card   { margin: 0 auto 30px; }
  .hero-benefits li { justify-content: center; }

  .portfolio-title  { font-size: 2.2rem; }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }

  .about-hero-container { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .about-description    { margin: 0 auto; }
  .about-mini-stats     { justify-content: center; }
  .hero-tag             { border-left: none; border-bottom: 2px solid #00ff88; padding: 0 0 5px; }
  .glass-hero-wrapper   { padding: 30px; }

  .lp-project-card { grid-template-columns: 1fr; padding: 25px; gap: 30px; }
}

/* ── Tablet pequeña / Móvil grande (max 768px) ──────────────────────────── */
@media (max-width: 768px) {
  /* Menú móvil */
  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 1, 13, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.active { right: 0; }

  .nav-links { flex-direction: column; gap: 40px; }
  .nav-item  { font-size: 1.2rem; }

  /* Botón WhatsApp móvil */
  .btn-whatsapp { margin-top: 10px; justify-content: center; width: fit-content; }

  /* Secciones */
  .section-title    { font-size: 2.2rem; }
  .services-container { gap: 20px; }
  .service-card     { width: 100%; max-width: 350px; }

  .stats-grid       { grid-template-columns: repeat(2, 1fr); }

  .footer-grid,
  .form-group       { grid-template-columns: 1fr; }
  .process-steps    { flex-direction: column; gap: 40px; }
  .step-line        { display: none; }
}

/* ── Móvil (max 650px) ──────────────────────────────────────────────────── */
@media (max-width: 650px) {
  .portfolio-grid { grid-template-columns: 1fr; }

  .portfolio-info { text-align: center; }

  .btn-project {
    background: rgba(157, 0, 255, 0.1);
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
  }

  .btn-view-all { width: 100%; }
}

/* ── Móvil pequeño (max 600px) ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-pills,
  .footer-specialties li { justify-content: center; }

  .input-group {
    flex-direction: column;
    background: none;
    border: none;
    gap: 10px;
  }

  .input-group input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
  }

  .btn-send { padding: 15px; }
}

/* ── Móvil muy pequeño (max 480px) ─────────────────────────────────────── */
@media (max-width: 480px) {
  .stats-grid  { grid-template-columns: 1fr; }
  .about-title { font-size: 2.2rem; }
}