/* ==========================================================================
   CONFIGURACIÓN DE VARIABLES (THEME WILLYTECH PREMIUM)
   ========================================================================== */
:root {
  /* Colores Base (Dark Theme - Premium Negro Absoluto) */
  --bs-background-primary: #000000; /* Negro Absoluto - Fondo principal de la web */
  --bs-primary-dark: #0D0D0D;       /* Gris Carbón Profundo - Para tarjetas o secciones destacadas (Cero azul) */

  /* Textos - Jerarquía de Contraste Corregida */
  --bs-primary-text-title: #FFFFFF; /* Blanco Puro - Máximo impacto para títulos y destacados */
  --bs-primary-text: rgba(255, 255, 255, 0.85);       /* Gris Plata Mate - Legibilidad premium sin fatiga visual para párrafos */

  /* Acentos y Acciones (Tu Oro Original e Interacciones) */
  --bs-active: #C89B3C;             /* Oro Premium Original - Botones, enlaces e identidad */
  --bs-active-hover: #E1B55A;       /* Oro Brillante Original - Estados de interacción (Hover) */
  --bs-primary-border-subtle: rgba(200, 155, 60, 0.25); /* Borde dorado translúcido para tarjetas glass */

  /* Degradados e Iluminación Ambiental basados en tu Oro Original */
  --bs-text-gradient-gold: linear-gradient(90deg, var(--bs-active), #FFFFFF);
  --bs-glow-ambient-gold: radial-gradient(circle, rgba(200, 155, 60, 0.12) 0%, rgba(0, 0, 0, 0) 60%);

  /* Identidad Visual (Logo - Queda exactamente IGUAL como pediste) */
  --logo-color-willy: #FFFFFF;
  --logo-color-tech: #C89B3C;

  /* Tipografía (Queda exactamente IGUAL) */
  --font-display: 'Plus Jakarta Sans', sans-serif; /* Títulos y Logotipo */
  --font-body: 'Inter', sans-serif;               /* Textos generales y párrafos */
}
/* ==========================================================================
   ESTILOS GLOBALES Y UTILIDADES
   ========================================================================== */

/* Navegación fluida nativa para los anclajes del menú */
html {
    scroll-behavior: smooth; 
}

* {
    font-family: var(--font-body);
    font-style: normal;
    box-sizing: border-box;
}

/* Personalización del resaltado de texto (Eliminamos el azul genérico del navegador) */
::selection {
    background-color: var(--bs-active); /* Fondo Oro Premium */
    color: var(--bs-background-primary); /* Texto Negro Absoluto */
}
::-moz-selection {
    background-color: var(--bs-active);
    color: var(--bs-background-primary);
}

body {
  background-color: var(--bs-background-primary);
  color: var(--bs-primary-text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  /* Vital para que las fuentes luzcan perfectamente nítidas sobre el negro absoluto */
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--bs-primary-text-title);
    font-weight: 700;
    margin-bottom: 1rem;
    /* Un tracking sutilmente negativo hace que los títulos grandes se vean más sofisticados */
    letter-spacing: -0.02em; 
}

p {
    color: var(--bs-primary-text);
    /* Aumentado a 1.7: El texto gris sobre negro requiere un poco más de aire para mejor lectura */
    line-height: 1.7; 
}

/* Enlaces y Hovers Generales */
a {
    color: var(--bs-active);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bs-active-hover);
}
/* ==========================================================================
   IDENTIDAD DE MARCA (LOGO EN CÓDIGO)
   ========================================================================== */
.brand-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem; /* Ajustable según tu navbar */
    text-decoration: none;
    letter-spacing: -1px; /* Agrupa las letras para un look de logotipo sólido */
    display: inline-block;
}

.brand-logo .willy {
    color: var(--logo-color-willy);
}

.brand-logo .tech {
    color: var(--logo-color-tech);
}

/* Microinteracción premium al pasar el ratón sobre el logo */
.brand-logo:hover .tech {
    filter: brightness(1.2);
    transition: filter 0.3s ease;
}

/* ==========================================================================
   ANIMACIONES DE ENTRADA (REVEAL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* =================================================================================== */
/* ==========================================================================
   NAVBAR PRO - ESTILOS (VERSIÓN DARK PREMIUM)
   ========================================================================== */

.willy-header {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1050;
}

.willy-header.scroll-down {
    transform: translateY(-150%);
}
.willy-header.scroll-up {
    transform: translateY(0);
}

/* La Píldora Flotante (Glassmorphism Oscuro tipo iOS) */
.nav-glass-pill {
    background: rgba(10, 10, 10, 0.65); /* Negro translúcido, sin rastro de azul */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); /* Sombra acentuada para dar profundidad */
    transition: all 0.3s ease;
    max-width: 1200px;
}

/* Tipografía de utilidad */
.text-gold { color: var(--bs-active); }
.logo-text-gold { color: var(--logo-color-tech); }
.display-font { font-family: var(--font-display); }

/* Enlaces de Escritorio */
.nav-link-pro {
    color: var(--bs-primary-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 8px 4px;
    transition: color 0.3s ease;
}

.nav-link-pro:hover, .nav-link-pro.active {
    color: var(--bs-primary-text-title);
}

/* El indicador de sección activa (Punto Oro Premium) */
.nav-link-pro::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px; height: 4px;
    border-radius: 50%;
    background-color: var(--bs-active);
    box-shadow: 0 0 10px var(--bs-active);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link-pro:hover::after, .nav-link-pro.active::after {
    transform: translateX(-50%) scale(1);
}

/* Botón CTA Moderno (Alineado al Oro Premium, cero colores cian) */
.btn-willy-cta {
    background: rgba(200, 155, 60, 0.1); /* Fondo dorado ultra tenue */
    color: var(--bs-active);
    border: 1px solid var(--bs-primary-border-subtle);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-willy-cta:hover {
    background: var(--bs-active);
    color: var(--bs-background-primary); /* El texto pasa a negro para máximo contraste */
    box-shadow: 0 0 20px rgba(200, 155, 60, 0.4); /* Resplandor dorado */
    transform: translateY(-2px);
}

/* ==========================================
   MENÚ MÓVIL (DESPLEGABLE TIPO DROPDOWN)
   ========================================== */

.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1100;
}

.hamburger-btn .line {
    width: 25px; height: 2px;
    background-color: var(--bs-primary-text-title);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .line-1 { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.active .line-2 { opacity: 0; }
.hamburger-btn.active .line-3 { transform: translateY(-8px) rotate(-45deg); }

/* Transformamos el Overlay en un Dropdown flotante (Glass Negro) */
.mobile-menu-overlay {
    position: absolute;
    top: calc(100% + 15px);
    left: 0; 
    right: 0;
    
    background: rgba(10, 10, 10, 0.85); /* Negro profundo con opacidad */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7); /* Sombra pesada para separarlo del fondo */
    
    z-index: 1040;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-link {
    color: var(--bs-primary-text);
    font-size: 1.15rem;
    font-family: var(--font-display);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.mobile-link:hover, .mobile-link.active {
    color: var(--bs-active);
    background-color: rgba(200, 155, 60, 0.05); /* Tono oro ultra sutil de fondo */
    padding-left: 20px;
}
/* ==========================================================================
   HERO INTERACTIVO - ESTILOS (VERSIÓN DARK PREMIUM & GOLD)
   ========================================================================== */

.hero-section {
    position: relative;
    background-color: var(--bs-background-primary);
    overflow: hidden;
    color: var(--bs-primary-text);
}

/* El resplandor interactivo que sigue al mouse (Ajustado al Oro Premium) */
.hero-section::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 20%);
    left: var(--mouse-x, 10%);
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    /* Degradado dorado muy sutil que se desvanece hacia el negro */
    background: radial-gradient(circle, rgba(200, 155, 60, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    transition: top 0.1s ease-out, left 0.1s ease-out;
}

/* ==========================================================================
   BURBUJAS 3D REALISTAS (ESTILO CRISTAL / IOS PREMIUM)
   ========================================================================== */
.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    
    /* 1. Centro casi transparente para no tapar el fondo negro puro */
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    
    /* 2. Reducimos el blur propio para que se vea como cristal fino y nítido.
          El desenfoque fuerte lo harán las cajas que se le pongan encima. */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    
    /* 3. Borde ultra fino blanco para definir la circunferencia */
    border: 1px solid rgba(255, 255, 255, 0.15);
    
    /* 4. LA MAGIA DEL 3D (Simulación de la imagen de referencia) */
    box-shadow: 
        /* Aro dorado grueso en la parte inferior derecha */
        inset -25px -20px 45px rgba(200, 155, 60, 0.5), 
        /* Línea de luz dorada muy definida y brillante en el filo */
        inset -5px -5px 12px rgba(200, 155, 60, 0.8), 
        /* Reflejo de luz blanca sutil en el borde opuesto (arriba izquierda) */
        inset 15px 15px 30px rgba(255, 255, 255, 0.15), 
        /* Sombra negra interior para dar volumen de esfera vacía */
        inset -50px -50px 100px rgba(0, 0, 0, 0.7), 
        /* Resplandor dorado exterior que contamina sutilmente el fondo negro */
        0 0 50px rgba(200, 155, 60, 0.15);
        
    z-index: 0; /* Fundamental: Se asegura de pasar por DEBAJO de todo el contenido */
    pointer-events: none; /* Evita que estorben si el usuario intenta hacer clic en algo */
    
    /* 5. Animación de recorrido largo */
    animation: floatBubble 28s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* El "Brillo de Ventana" (Ese reflejo curvo blanco clave en las burbujas reales) */
.hero-glow-orb::after {
    content: '';
    position: absolute;
    top: 12%;
    left: 15%;
    width: 40%;
    height: 18%;
    border-radius: 50%;
    /* Un degradado blanco en forma de elipse rotada */
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    transform: rotate(-40deg);
}

/* --- Ajuste de tamaño para las burbujas existentes --- */
/* Burbuja 1 (Izquierda/Superior) */
.orb-hero-cyan {
    width: 320px; height: 320px;
    top: 5%; left: 2%;
    animation-duration: 25s;
}

/* Burbuja 2 (Derecha/Inferior) */
.orb-hero-gold {
    width: 420px; height: 420px;
    bottom: 0%; right: 5%;
    animation-duration: 32s;
    animation-delay: -12s; /* Comienza en un punto diferente de la animación */
}

/* --- Animación de Recorrido Amplio (El "Viaje") --- */
@keyframes floatBubble {
    0% { 
        transform: translate(0, 0) scale(1) rotate(0deg); 
    }
    33% { 
        /* Se desplaza un 20% del ancho de la pantalla hacia la derecha y baja un 15% */
        transform: translate(20vw, 15vh) scale(1.05) rotate(15deg); 
    }
    66% { 
        /* Cruza hacia la izquierda y baja un poco más */
        transform: translate(-10vw, 25vh) scale(0.95) rotate(-10deg); 
    }
    100% { 
        /* Regresa a su punto de origen suavemente */
        transform: translate(0, 0) scale(1) rotate(0deg); 
    }
}

/* ==========================================
   TIPOGRAFÍA Y BOTONES
   ========================================== */
/* Aunque la clase HTML dice "cyan", el efecto visual ahora es 100% Oro Premium */
.text-gradient-cyan {
    background: linear-gradient(90deg, var(--bs-active), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
.cursor-blink {
    font-weight: 300;
    color: var(--bs-active);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Botones alineados al Oro */
.btn-primary-glass {
    background: rgba(200, 155, 60, 0.1);
    color: var(--bs-active) !important;
    border: 1px solid var(--bs-active);
    transition: all 0.3s ease;
}
.btn-primary-glass:hover {
    background: var(--bs-active);
    color: var(--bs-background-primary) !important; /* Texto negro al hacer hover */
    box-shadow: 0 10px 25px rgba(200, 155, 60, 0.4);
    transform: translateY(-3px);
}
.btn-outline-glass {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--bs-primary-text-title) !important;
    border: 1px solid var(--bs-primary-border-subtle);
    transition: all 0.3s ease;
}
.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* ==========================================
   TARJETA 3D INTERACTIVA (Right Column)
   ========================================== */
.tilt-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 550px;
}

/* Tarjeta principal (Mismo cristal oscuro de la Navbar) */
.glass-hero-card {
    background: rgba(10, 10, 10, 0.65); /* Negro cristalino, cero azul */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Borde sutil */
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8); /* Sombra intensa para despegarla del fondo */
    transform-style: preserve-3d;
    transition: transform 0.1s;
}

/* Ventana de Código (Negro casi total para máxima legibilidad) */
.bg-dark-glass { 
    background: rgba(0, 0, 0, 0.85); 
    border: 1px solid rgba(255, 255, 255, 0.03);
}
.shadow-inner { box-shadow: inset 0 0 25px rgba(0,0,0,1); }

/* Cajas de métricas interiores */
.glass-inner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-buttons .circle {
    width: 12px; height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Animación del punto de estado (Alineada al Oro) */
.pulse-animation {
    width: 10px; height: 10px;
    background-color: var(--bs-active);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--bs-active);
    animation: pulseGold 2s infinite;
}
@keyframes pulseGold {
    0% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(200, 155, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0); }
}

/* Badges flotantes (Oscuros con borde dorado) */
.floating-badge {
    position: absolute;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--bs-primary-border-subtle);
    padding: 12px 20px;
    border-radius: 50px;
    color: var(--bs-primary-text-title);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    transform: translateZ(50px); 
}
.badge-top-right { top: -20px; right: -30px; }
.badge-bottom-left { bottom: 20px; left: -40px; }
/* ==========================================================================
   SECCIÓN DE SERVICIOS (TARJETAS GLASS PREMIUM)
   ========================================================================== */
.services-section {
    background-color: var(--bs-background-primary);
    overflow: hidden; 
    position: relative;
}

/* --- Burbujas 3D para la sección de Servicios --- */
.orb-service-1 {
    width: 300px; height: 300px;
    top: 5%; left: -5%;
    animation-duration: 20s;
}
.orb-service-2 {
    width: 200px; height: 200px;
    bottom: 10%; right: -2%;
    animation-duration: 18s;
    animation-delay: -3s;
}

/* Etiqueta pequeña superior */
.premium-badge {
    background-color: rgba(200, 155, 60, 0.1);
    color: var(--bs-active);
    border: 1px solid var(--bs-primary-border-subtle);
    padding: 0.5rem 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Tarjetas Base (Efecto Glassmorphism Dark MEJORADO) --- */
.service-card {
    background: rgba(18, 18, 18, 0.65); /* Ligeramente más claro que el fondo negro absoluto */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borde sutil */
    
    /* EL TRUCO: Sombra exterior oscura + Sombra interior blanca (reflejo del cristal) */
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6), 
        inset 0 1px 1px rgba(255, 255, 255, 0.15); 
        
    border-radius: 24px; /* Curva un poco más pronunciada tipo iOS */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    position: relative;
    overflow: hidden; 
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(200, 155, 60, 0.3); 
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(200, 155, 60, 0.3); /* El reflejo se vuelve dorado */
}

.feature-list li {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: var(--bs-primary-text);
    display: flex;
    align-items: center;
}

/* --- Tarjeta Recomendada (Resaltada con Oro) --- */
.card-recommended {
    border: 1px solid var(--bs-active);
    background: rgba(200, 155, 60, 0.04);
    /* Sombra con tinte dorado + Reflejo interior dorado más fuerte */
    box-shadow: 
        0 15px 40px rgba(200, 155, 60, 0.1),
        inset 0 1px 1px rgba(200, 155, 60, 0.4); 
    z-index: 2;
}
.card-recommended:hover {
    border-color: var(--bs-active) !important;
}


@media (min-width: 992px) {
    .card-recommended {
        transform: scale(1.08);
        z-index: 3;
    }
    .card-recommended:hover {
        transform: scale(1.08) translateY(-10px);
        box-shadow: 
            0 25px 50px rgba(200, 155, 60, 0.2),
            inset 0 1px 2px rgba(200, 155, 60, 0.5);
          
    }
}

.recommended-label {
    position: absolute;
    top: 0; /* Pegado exactamente al techo de la tarjeta */
    left: 50%;
    transform: translateX(-50%); /* Quitamos el valor en Y que lo empujaba hacia afuera */
    background: var(--bs-active);
    color: var(--bs-background-primary); 
    padding: 0.4rem 1.5rem;
    width: max-content;
    /* Recto arriba para fusionarse con el borde, curvo abajo */
    border-radius: 0 0 16px 16px; 
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 8px 15px rgba(200, 155, 60, 0.3);
    z-index: 2;
}
/* ==========================================================================
   BOTONES UNIFICADOS (TIPO IOS TRANSPARENTE)
   ========================================================================== */
.btn-glass-ios {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03); /* Fondo casi imperceptible */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bs-primary-text-title);
    border-radius: 12px;
    padding: 14px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-glass-ios:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* El acento sutil para diferenciar la tarjeta recomendada */
.btn-glass-ios.btn-gold-accent {
    background: rgba(200, 155, 60, 0.05);
    border: 1px solid rgba(200, 155, 60, 0.3);
    color: var(--bs-active);
}

.btn-glass-ios.btn-gold-accent:hover {
    background: rgba(200, 155, 60, 0.15);
    box-shadow: 0 0 20px rgba(200, 155, 60, 0.2);
    color: var(--bs-active-hover);
}

/* ==========================================================================
   ESTILOS DEL ENLACE SUTIL (STAGGERED)
   ========================================================================== */
.compare-plans-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--bs-primary-text);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.char-wrap { position: relative; display: inline-block; overflow: hidden; }
.char { display: inline-block; position: relative; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.char::after { content: attr(data-char); position: absolute; left: 0; top: 100%; color: var(--bs-active); }
.compare-plans-link:hover .char { transform: translateY(-100%); }

.compare-plans-link .icon-slide {
    font-size: 1.2rem;
    margin-left: 4px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}
.compare-plans-link:hover .icon-slide { transform: translateX(6px); color: var(--bs-active); }

/* ==========================================================================
   EFECTO JS SPOTLIGHT (MOUSE TRACKING GLOW)
   ========================================================================== */
.service-card::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(200, 155, 60, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::before { opacity: 1; }
.service-card .card-body { position: relative; z-index: 1; }

/* ==========================================================================
   TARJETA DE PROPIEDAD DIGITAL (SELLO DE GARANTÍA)
   ========================================================================== */
.digital-property-card {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.digital-property-card:hover {
    border-color: rgba(200, 155, 60, 0.3);
    transform: translateY(-3px);
}

.property-icon-wrapper {
    background: rgba(200, 155, 60, 0.05);
    border: 1px solid rgba(200, 155, 60, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(200, 155, 60, 0.1);
}

/* ==========================================================================
   CANVAS INTERACTIVO - FONDO DE LABORATORIO
   ========================================================================== */
.lab-section {
    /* Eliminamos el #030610 (azul oscuro) y pasamos a un negro carbón profundo */
    background: linear-gradient(180deg, var(--bs-background-primary) 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

.lab-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; 
}
.lab-badge {
    background-color: rgba(200, 155, 60, 0.1);
    color: var(--bs-active);
    border: 1px solid rgba(200, 155, 60, 0.3);
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Tarjetas del Laboratorio (Efecto Glassmorphism Dark) --- */
.perspective-container {
    perspective: 1000px; 
}

.lab-card {
    /* Negro cristalino (Cero azul) */
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    
    /* El truco: Sombra exterior suave + Sombra interior blanca para definir el borde superior */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.12);
        
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    will-change: transform;
}

.lab-card:hover {
    border-color: rgba(200, 155, 60, 0.4);
    /* Al hacer hover, el reflejo superior se vuelve dorado */
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7), 
        inset 0 1px 1px rgba(200, 155, 60, 0.3),
        0 0 20px rgba(200, 155, 60, 0.15);
}

/* Área de la imagen del proyecto */
.lab-card-image {
    height: 220px;
    position: relative;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fondos placeholder modernos para los proyectos */
.tech-bg-1 { background-image: url('/assets/img/laboratorio/autodoc-ai.png'); }
.tech-bg-2 { background-image: url('/assets/img/laboratorio/voltmarket-v1.png');  }
.tech-bg-3 { background-image: url('/assets/img/laboratorio/baluartedecristal.png');  }

/* Overlay que aparece al hacer hover para ver en vivo */
.lab-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Oscurecido a negro absoluto para quitar el azul anterior */
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.lab-card:hover .lab-overlay {
    opacity: 1;
}

/* Etiquetas tecnológicas */
.tech-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--bs-primary-text); /* Ahora usa tu Gris Plata premium en lugar de un tono azulado */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sello de Validación W3C */
.w3c-validation {
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}/* ==========================================================================
   SECCIÓN DE BENEFICIOS Y CTA MAGNÉTICO (DARK PREMIUM GLASS)
   ========================================================================== */
.benefits-section {
    background-color: var(--bs-background-primary); /* Fondo negro absoluto */
    position: relative;
    overflow: hidden; /* Vital para contener las burbujas */
}

/* --- Burbujas 3D para la sección de Beneficios --- */
.orb-benefit-1 {
    width: 350px; height: 350px;
    top: 20%; left: -10%;
    animation-duration: 22s;
}
.orb-benefit-2 {
    width: 250px; height: 250px;
    bottom: 5%; right: -5%;
    animation-duration: 19s;
    animation-delay: -7s;
}

.benefits-glow {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 40vh;
    
    pointer-events: none;
    z-index: 0;
}

/* Iconos de Beneficios */
.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Ajustado para el fondo negro: Más sutil con borde definido */
    background: rgba(200, 155, 60, 0.05); 
    border: 1px solid rgba(200, 155, 60, 0.2); 
    color: var(--bs-active);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.benefit-icon:hover {
    transform: scale(1.1);
    background: rgba(200, 155, 60, 0.15);
    box-shadow: 0 10px 20px rgba(200, 155, 60, 0.2);
}

/* Caja del CTA Final (Cristal Oscuro Premium) */
.cta-box {
    /* Fondo gris neutro absoluto, sin rastro de canal azul */
    background: rgba(18, 18, 18, 0.65) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(255, 255, 255, 0.15); 
    z-index: 1;
}

.cta-bg-effect {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Destello dorado interior más sutil */
    background: radial-gradient(circle at center, rgba(200, 155, 60, 0.08) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* --- ESTILOS DEL BOTÓN MAGNÉTICO --- */
.magnetic-wrap {
    width: 280px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2; /* Por encima del efecto del fondo de la caja */
}

.btn-magnetic {
    background: var(--bs-active);
    color: var(--bs-background-primary); /* Texto negro sobre oro */
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.btn-magnetic:hover {
    background: var(--bs-active-hover);
    color: var(--bs-background-primary);
    box-shadow: 0 10px 25px rgba(200, 155, 60, 0.4);
}

.btn-text {
    display: inline-block;
    pointer-events: none; 
}/* ==========================================================================
   SECCIÓN MATRIZ TÉCNICA (CONTENEDOR Y BURBUJAS)
   ========================================================================== */
.matrix-section {
    background-color: var(--bs-background-primary); /* Negro puro */
    position: relative;
    overflow: hidden; /* Fundamental para contener el fondo de burbujas */
}

/* --- Burbujas 3D para la sección de Matriz --- */
.orb-matrix-1 {
    width: 400px; height: 400px;
    top: -5%; right: -10%;
    animation-duration: 25s; /* Más lentas para no distraer de la tabla */
}
.orb-matrix-2 {
    width: 250px; height: 250px;
    top: 40%; left: -5%;
    animation-duration: 18s;
    animation-delay: -5s;
}
.orb-matrix-3 {
    width: 300px; height: 300px;
    bottom: -10%; right: 20%;
    animation-duration: 22s;
    animation-delay: -12s;
}

/* ==========================================================================
   TABLA MATRIZ TÉCNICA (FEATURE MATRIX)
   ========================================================================== */
.technical-matrix {
  /* Hacemos el contenedor transparente para dejar ver las burbujas del fondo */
  background-color: transparent; 
  font-family: var(--font-body);
  position: relative;
  z-index: 1; /* Para que la tabla esté sobre las burbujas */
}

.matrix-title {
  font-family: var(--font-display);
  color: var(--bs-primary-text-title);
}

.matrix-subtitle {
  color: var(--bs-primary-text);
}

/* Contenedor de la tabla con efecto Glass */
.matrix-glass-container {
    background: rgba(18, 18, 18, 0.4); /* Fondo translúcido muy sutil */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1px; /* Para que la tabla interna encaje bien */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.willy-matrix-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px; 
}

/* Cabeceras de Columna */
.willy-matrix-table thead th {
  position: sticky;
  top: 0;
  /* Fondo casi opaco para cuando scrolleas sobre las filas */
  background-color: rgba(10, 10, 10, 0.95); 
  backdrop-filter: blur(10px);
  padding: 2rem 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1); /* Borde blanco sutil, no gris */
  z-index: 10;
  text-align: center;
  vertical-align: bottom;
  transition: background-color 0.3s ease;
}

.feature-col-header {
  text-align: left !important;
  font-family: var(--font-display);
  color: var(--bs-primary-text-title);
  font-size: 1.25rem;
}

.plan-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary-text-title);
  margin-bottom: 0.5rem;
}

.plan-type {
  display: block;
  font-size: 0.85rem;
  color: var(--bs-primary-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-premium {
  color: var(--bs-active) !important;
}

/* Filas de Categoría (Separadores oscuros elegantes) */
.category-row td {
  /* Reemplazamos el azul oscuro por un negro puro al 80% */
  background-color: rgba(5, 5, 5, 0.8); 
  color: var(--bs-primary-text-title);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  /* Borde sutil superior e inferior para enmarcar la categoría */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Celdas de Datos */
.willy-matrix-table tbody td {
  padding: 1.2rem 1.5rem;
  /* Borde de celda con opacidad blanca, cero rastro azul/gris */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
  color: var(--bs-primary-text);
  text-align: center;
  transition: all 0.2s ease;
}

.willy-matrix-table tbody td.feature-name {
  text-align: left;
  font-weight: 500;
  color: var(--bs-primary-text-title);
}

/* Columna Destacada (Apex) */
.highlight-col, .highlight-cell {
  background-color: rgba(200, 155, 60, 0.04); 
  border-left: 1px solid rgba(200, 155, 60, 0.1);
  border-right: 1px solid rgba(200, 155, 60, 0.1);
}

.willy-matrix-table thead th.highlight-col {
  border-top: 3px solid var(--bs-active);
  border-radius: 8px 8px 0 0;
}

/* Columna Bloqueada (Custom Platform) */
.locked-col, .locked-cell {
  opacity: 0.5;
}

/* --- Efecto Hover (SIN AZUL) --- */
.data-row:hover td {
  /* Fondo blanco al 3% para dar un brillo sutil en lugar de color */
  background-color: rgba(255, 255, 255, 0.03); 
  color: var(--bs-primary-text-title); 
}
/* Mantiene el tinte dorado en la columna destacada durante el hover */
.data-row:hover td.highlight-cell {
  background-color: rgba(200, 155, 60, 0.06); 
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { height: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: var(--bs-background-primary); }
.custom-scrollbar::-webkit-scrollbar-thumb { 
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 4px; 
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }

/* ==========================================================================
   RESPONSIVIDAD MÓVIL (CARD STACKING)
   ========================================================================== */
@media (max-width: 991px) {
  .willy-matrix-table { min-width: 100%; }
  .willy-matrix-table thead { display: none; }
  .willy-matrix-table tbody, .willy-matrix-table tr, .willy-matrix-table td {
    display: block; width: 100%;
  }

  /* Tarjetas móviles: Negras cristalinas */
  .willy-matrix-table tr.data-row {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }

  .willy-matrix-table td.feature-name {
    background-color: rgba(255, 255, 255, 0.03); 
    text-align: center !important;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-active) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
  }

  .willy-matrix-table td.data-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .willy-matrix-table td.data-cell:last-child { border-bottom: none; }

  .willy-matrix-table td.data-cell::before {
    content: attr(data-plan);
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--bs-primary-text);
    text-align: left;
    margin-right: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .willy-matrix-table td.highlight-cell {
    background-color: rgba(200, 155, 60, 0.05); 
    border: none;
  }
  .willy-matrix-table td.highlight-cell::before { color: var(--bs-active); }

  .willy-matrix-table tr.category-row td {
    background: transparent;
    color: var(--bs-primary-text-title);
    font-size: 1.2rem;
    text-align: center;
    padding: 2.5rem 0 1rem 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
}



   /* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ) - DARK PREMIUM GLASS
   ========================================================================== */

.faq-section {
  background-color: var(--bs-background-primary); /* Negro puro absoluto */
  font-family: var(--font-body);
  position: relative;
  overflow: hidden; /* Fundamental para atrapar las burbujas */
  padding-bottom: 4rem;
}

/* --- Burbujas 3D de Continuidad --- */
/* Esta asoma por arriba a la izquierda, simulando venir de la sección anterior */
/* --- Burbujas 3D de Continuidad (Lado a Lado) --- */

/* Burbuja izquierda (Acompaña las primeras preguntas) */
.orb-faq-1 {
    width: 400px; 
    height: 400px;
    top: 20%; 
    left: -15%;
    animation-duration: 24s;
}

/* Burbuja derecha (Acompaña las últimas preguntas) */
.orb-faq-2 {
    width: 450px; 
    height: 450px;
    bottom: 15%; 
    right: -15%;
    animation-duration: 20s;
    animation-delay: -7s;
}

/* Contenedor principal para asegurar que el texto flote sobre las burbujas */
.faq-container-glass {
    position: relative;
    z-index: 1;
}

.faq-title {
  font-family: var(--font-display);
  color: var(--bs-primary-text-title);
}

.faq-subtitle {
  color: var(--bs-primary-text);
}

/* Títulos de Categoría */
.faq-category {
  font-family: var(--font-display);
  color: var(--bs-active);
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Línea divisoria muy sutil */
  padding-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 30px;
}

/* --- Láminas de Cristal (FAQ Items) --- */
.faq-item {
  /* Cristal oscuro al 40% de opacidad para dejar ver el fondo y las burbujas */
  background: rgba(18, 18, 18, 0.4); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

/* Efecto al pasar el mouse (Se eleva y toma el borde dorado) */
.faq-item:hover {
  background: rgba(255, 255, 255, 0.03); /* Brillo blanco casi imperceptible */
  border-color: rgba(200, 155, 60, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* El botón que el usuario clickea */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bs-primary-text-title);
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover span {
  color: var(--bs-active);
}

.faq-icon {
  color: var(--bs-primary-text);
  font-size: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

/* El contenedor animado de la respuesta */
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* El texto de la respuesta */
.faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--bs-primary-text);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* --- CLASES ACTIVAS (Agregadas por JS cuando se abre la pregunta) --- */
.faq-item.active {
  /* Al abrirse, el cristal toma un baño de oro muy suave */
  background: rgba(200, 155, 60, 0.04);
  border-color: rgba(200, 155, 60, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(200, 155, 60, 0.15);
  transform: translateY(-2px);
}

.faq-item.active .faq-question span {
  color: var(--bs-active);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--bs-active);
}/* ==========================================================================
   CALL TO ACTION INTERACTIVO (DARK PREMIUM GLASS)
   ========================================================================== */

.cta-bottom-section {
  /* Transición suave para fundir el negro puro superior con el entorno interactivo */
  background: linear-gradient(180deg, var(--bs-background-primary) 0%, #060606 50%, var(--bs-background-primary) 100%);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Degradado superior para que la sección anterior (negro puro) no tenga cortes */
.cta-top-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(180deg, var(--bs-background-primary) 0%, transparent 100%);
  z-index: 2;
}

/* Contenedor del fondo animado */
.interactive-bg {
  position: absolute;
  inset: -5%; 
  z-index: 0;
  pointer-events: none;
  transition: transform 0.1s ease-out; 
}

/* 1. Malla Tecnológica (Tech Grid) Animada */
.tech-grid {
  position: absolute;
  inset: -50%;
  /* Líneas blancas super sutiles, sin tonos azules */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px; /* Más amplia para mayor elegancia */
  animation: panGrid 40s linear infinite; /* Animación lenta y premium */
  /* Difuminado radial: la cuadrícula solo se ve en el centro y se desvanece a los lados */
  mask-image: radial-gradient(circle at center, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 65%);
}

@keyframes panGrid {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* 2. Orbes Flotantes (Glow Orbs) - Colores puros */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: floatOrb infinite alternate ease-in-out;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: var(--bs-active);
  top: 10%;
  left: 15%;
  opacity: 0.12;
  animation-duration: 16s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.8); /* Reflejo blanco puro para contraste */
  bottom: 0%;
  right: 10%;
  opacity: 0.05;
  animation-duration: 20s;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); opacity: 0.08; }
  50% { transform: translate(50px, -40px) scale(1.05); opacity: 0.15; }
  100% { transform: translate(-40px, 50px) scale(0.95); opacity: 0.08; }
}

/* 3. Caja CTA con Glassmorphism Neutro */
.cta-box {
  background: rgba(18, 18, 18, 0.5); /* Negro translúcido puro */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Borde cristalino sutil */
  border-radius: 24px;
  box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.7), 
      inset 0 1px 1px rgba(255, 255, 255, 0.15); /* Reflejo 3D interior */
  position: relative;
  overflow: hidden;
  z-index: 3;
}

/* Destello central detrás del contenido de la caja */
.cta-box-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-heading { font-family: var(--font-display); color: var(--bs-primary-text-title); }
.cta-text { font-family: var(--font-body); color: var(--bs-primary-text); }

/* Botón Magnético */
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-active);
  color: var(--bs-background-primary) !important;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
  position: relative;
}

.magnetic-btn:hover {
  background-color: var(--bs-active-hover);
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(200, 155, 60, 0.4); 
}

/* Navegación Inferior */
.bottom-nav-controls { 
  border-top: 1px solid rgba(255, 255, 255, 0.05); 
  position: relative;
  z-index: 3;
}
.nav-action-btn { 
  font-family: var(--font-body); 
  color: var(--bs-primary-text); 
  font-weight: 500; 
  transition: all 0.3s ease; 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-action-btn:hover { color: var(--bs-active); }
#btnVolver:hover { transform: translateX(-5px); }
#btnSubir:hover { transform: translateY(-5px); }
/* ==========================================================================
   FORMULARIO DE COTIZACIÓN (DARK PREMIUM GLASS)
   ========================================================================== */

.quote-section {
  background-color: var(--bs-background-primary); /* Negro puro absoluto */
  position: relative;
  overflow: hidden; /* Vital para que las burbujas no desborden la pantalla */
}

/* --- Burbujas 3D en la sección de Cotización --- */
.orb-quote-1 {
    width: 350px; height: 350px;
    top: 5%; left: -5%;
    animation-duration: 26s;
}

.orb-quote-2 {
    width: 400px; height: 400px;
    bottom: -5%; right: -5%;
    animation-duration: 22s;
    animation-delay: -8s;
}

/* Tarjeta contenedora del formulario */
.form-glass-card {
  /* Fondo negro translúcido al 45% para dejar pasar la luz de las burbujas */
  background: rgba(18, 18, 18, 0.45); 
  border: 1px solid rgba(255, 255, 255, 0.08); /* Borde blanco cristalino */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  
  /* El punto dulce del desenfoque para legibilidad + estética */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  position: relative; 
  z-index: 2; /* Por encima de las burbujas */
  min-height: 500px;  
  display: flex;      
  flex-direction: column;
}

/* Overlay de éxito */
.success-overlay {
  background: rgba(10, 10, 10, 0.85); /* Negro casi opaco para tapar el form */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100; 
  border-radius: inherit; /* Hereda el radio de .form-glass-card */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   INPUTS Y CONTROLES DEL FORMULARIO
   ========================================================================== */

/* Inputs y Selects Personalizados */
.willy-input {
  background-color: rgba(0, 0, 0, 0.3) !important; /* Fondo del input más oscuro para contraste */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--bs-primary-text-title) !important;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.willy-input::placeholder {
  color: rgba(255, 255, 255, 0.4); /* Blanco sutil */
}

/* Efecto Focus Global (Se elimina el Cyan, entra el Oro) */
.willy-input:focus {
  background-color: rgba(0, 0, 0, 0.5) !important;
  border-color: var(--bs-active) !important;
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15) !important;
  outline: none;
}

/* Selectores de opciones desplegables */
.willy-input option {
  background-color: var(--bs-background-primary); /* Negro puro */
  color: var(--bs-primary-text-title);
}

/* Radio Buttons Personalizados */
.willy-radio .form-check-input {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.willy-radio .form-check-input:checked {
  background-color: var(--bs-active);
  border-color: var(--bs-active);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.2);
}

.willy-radio .form-check-label {
  cursor: pointer;
  color: var(--bs-primary-text);
  transition: color 0.3s ease;
}

.willy-radio .form-check-input:checked ~ .form-check-label {
  color: var(--bs-primary-text-title) !important;
  font-weight: 600;
}

/* ==========================================================================
   BOTÓN DE ENVÍO
   ========================================================================== */

/* Renombrado internamente para eliminar la referencia "Cyan" */
.btn-submit-premium {
  background-color: var(--bs-active);
  color: var(--bs-background-primary) !important; /* Texto negro sobre oro */
  border: none;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-submit-premium:hover {
    background-color: var(--bs-active-hover);
    box-shadow: 0 10px 25px rgba(200, 155, 60, 0.4);
    transform: translateY(-2px);
}

.btn-submit-premium:disabled {
  background-color: rgba(200, 155, 60, 0.4);
  color: rgba(0, 0, 0, 0.5) !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
/* ==========================================================================
   ESTILOS DEL FOOTER (DARK PREMIUM GLASS)
   ========================================================================== */
.site-footer {
    background-color: var(--bs-background-primary); /* Negro Absoluto */
    position: relative;
}

/* Línea brillante que separa el footer del resto de la web */
.footer-top-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    /* Degradado usando tu variable de oro exacto */
    background: linear-gradient(90deg, transparent, var(--bs-active), transparent);
    opacity: 0.4; /* Corregido para dar un brillo sutil y elegante */
}

/* Títulos de las columnas */
.footer-title {
    color: var(--bs-primary-text-title); /* Blanco Puro */
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Enlaces de Navegación */
.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: var(--bs-primary-text); /* Aplicamos tu blanco translúcido al 85% */
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

/* Efecto de flecha al pasar el ratón */
.footer-nav a::before {
    content: "›";
    color: var(--bs-active);
    margin-right: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
}

.footer-nav a:hover {
    color: var(--bs-primary-text-title); /* Pasa a blanco puro al hacer hover */
    transform: translateX(5px);
}

.footer-nav a:hover::before {
    margin-right: 8px;
    opacity: 1;
    transform: translateX(0);
}

/* Iconos Sociales (Botones translúcidos estilo iOS) */
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03); /* Fondo cristalino casi imperceptible */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--bs-primary-text-title);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil para definir el círculo */
}

.social-links a:hover {
    background: var(--bs-active);
    color: var(--bs-background-primary); /* Icono negro sobre fondo oro */
    transform: translateY(-3px);
    border-color: var(--bs-active);
    box-shadow: 0 10px 20px rgba(200, 155, 60, 0.3);
}

    /* Caja de Rendimiento (Widget Glass Oscuro) */
    .footer-tech-box {
        background: rgba(18, 18, 18, 0.65); /* Cristal gris neutro oscuro, cero azul */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        /* Reflejo superior interior clave para que no se fusione con el fondo negro */
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    }

    /* Punto verde parpadeante de "Sistema Online" */
    .status-dot {
        width: 8px;
        height: 8px;
        /* Se cambió a un verde esmeralda premium (#10B981) para mejor contraste en fondos oscuros */
        background-color: #10B981; 
        border-radius: 50%;
        display: inline-block;
        box-shadow: 0 0 8px #10B981;
        animation: pulse-dot 2s infinite;
    }

    /* ==========================================================================
   ANIMACIONES Y ESTILOS DEL MONITOR DE RENDIMIENTO (WIDGET FOOTER)
   ========================================================================== */
.tech-data-matrix {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.tech-data-matrix .data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

/* La nueva barra de escaneo (Más gruesa y visible) */
.tech-scanner-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

/* El láser que atraviesa la barra */
.tech-scanner-bar::after {
    content: '';
    position: absolute;
    top: 0; 
    left: -50%;
    width: 40%; 
    height: 100%;
    /* Un gradiente que empieza transparente, tiene un núcleo de oro intenso y vuelve a transparente */
    background: linear-gradient(90deg, transparent, var(--bs-active), rgba(255, 255, 255, 0.8), var(--bs-active), transparent);
    animation: network-scan 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 0 10px var(--bs-active);
}

@keyframes network-scan {
    0% { left: -50%; }
    50% { left: 100%; }
    100% { left: 100%; } /* Pausa al final antes de repetir */
}

    @keyframes pulse-dot {
        0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }

/* Clase de utilidad para hovers sutiles */
.hover-premium {
    transition: color 0.3s ease;
}
.hover-premium:hover {
    color: var(--bs-active) !important;
}

/* Ajustes específicos para móviles */
@media (max-width: 767px) {
    .footer-title {
        margin-top: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .list-inline-item.text-muted.mx-2 {
        display: none;
    }
}
   /* ==========================================================================
   AJUSTES RESPONSIVOS HERO SECTION (MEDIA QUERIES)
   ========================================================================== */

/* 1. Ajuste Base (Desktop por defecto) */
.willy-hero-section {
    padding-top: 130px; /* Crea el escudo protector para tu navbar fijo */
    padding-bottom: 60px;
}

/* 2. Pantallas Extra Grandes (Monitores grandes) */
@media (min-width: 1400px) {
    .willy-hero-section {
        padding-top: 150px;
    }
}

/* 3. Tablets y Laptops Pequeñas */
@media (max-width: 991px) {
    .willy-hero-section {
        padding-top: 110px;
        min-height: auto !important; /* Libera la altura para evitar solapamientos */
    }
    
    /* Centrar tarjeta glass en tablets para que no se vea rara */
    .reveal-hero-right {
        margin-top: 3rem;
    }
}

/* 4. Dispositivos Móviles */
@media (max-width: 767px) {
    .willy-hero-section {
        padding-top: 100px;
    }
    
    /* Ajuste fino del texto en móviles para que no rompa la pantalla */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem) !important;
    }
}

/* 5. EL ARREGLO DEL ZOOM (Pantallas con poca altura) */
/* Se activa cuando haces zoom o usas laptops con pantallas panorámicas muy estrechas de alto */
@media (max-height: 750px) {
    .willy-hero-section {
        min-height: auto !important; /* Apaga el 100vh que causa el colapso */
        padding-top: 140px !important; /* Fuerza el espacio del navbar */
        padding-bottom: 40px;
    }
    
    /* Evitamos que el flex-center empuje el contenido hacia arriba */
    .willy-hero-section.d-flex.align-items-center {
        align-items: flex-start !important; 
    }
}