/*==========================================================
    RESET & VARIABLES GLOBALES
==========================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*==========================================================
    PARTÍCULAS Y RAYOS TECH ANIMADOS (FONDO GLOBAL CORREGIDO)
==========================================================*/
body {
    background-color: #030408;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
  
    position: relative;
}
/*==========================================================
    ESTADO DE CONTROL DE SCROLL (NUEVO)
==========================================================*/
/* Estado por defecto cuando la página ya es navegable */
html, body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

/* Clase de bloqueo absoluto que inyectaremos durante la animación */
html.animation-locking, 
html.animation-locking body {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Forzamos a que los contenedores se posicionen respecto al viewport, 
   pero por encima del fondo oscuro del body y debajo del texto */
.particles-container, .tech-rays-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1; /* Subimos el nivel para que no queden atrapados debajo del body */
}
.tech-rays-container { z-index: 0; } /* Los rayos van un paso por detrás */

/* Elemento Partícula */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: rgba(0, 242, 254, 0.45); /* Un toque más de opacidad base */
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.7);
    animation: moveParticles 25s linear infinite, glowParticle 3s ease-in-out infinite;
}

/* Rayos de fondo sutiles */
.tech-ray {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 254, 0.12), transparent);
    animation: moveRays 40s linear infinite;
}

@keyframes moveParticles {
    0% { transform: translateY(105vh) translateX(0); opacity: 0; } /* Empezar desde abajo del viewport */
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-5vh) translateX(30vw); opacity: 0; } /* Subida limpia */
}

@keyframes glowParticle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes moveRays {
    0% { transform: translateX(-15vw); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateX(115vw); opacity: 0; }
}

/*==========================================================
    HERO LAYOUT & GRID SPACE (CON TRANSPARENCIA REAL)
==========================================================*/
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 4% 160px 4%;
    /* Dejamos el fondo de la sección limpio o con un degradado ultra traslúcido 
       para que los elementos de las capas z-index 0 y 1 se vean perfectamente por detrás */
    background: 
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.05), transparent 50%),
        transparent; 
}

/* Aseguramos que el contenedor de elementos interactivos esté por encima de las partículas */
.hero-container {
    position: relative;
    z-index: 10; 
    display: grid;
    grid-template-columns: 240px 1fr 600px;
    align-items: center;
    width: 100%;
    max-width: 1650px;
    margin: auto;
    height: 55vh;
}

/* Desactivamos interferencias del contenedor interno antiguo si no se usa */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3; /* Si tiene ruido o grids, que no opaque las partículas traseras */
}
/*==========================================================
    LEFT NAVIGATION
==========================================================*/
.hero-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 15px;
    border-left: 1px solid rgba(0, 242, 254, 0.1);
}

.hero-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    height: 24px;
}

/* Nodo de activación estético */
.hero-nav span {
    position: absolute;
    left: -19px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 12px #00f2fe, 0 0 25px #00f2fe;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav a:hover, 
.hero-nav a.active {
    color: #ffffff;
    transform: translateX(6px);
}

.hero-nav a:hover span,
.hero-nav a.active span {
    opacity: 1;
    transform: scale(1);
}
/*==========================================================
    PUENTE DE LÍNEAS TECH - FLUJO ELÉCTRICO INTERMITENTE
==========================================================*/
.hero-circuit-bridge {
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0.9;
    z-index: 5;
    pointer-events: none; /* Evita interferencias con el mouse */
}

.circuit-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Líneas base en reposo */
.circuit-line {
    fill: none;
    stroke: rgba(0, 242, 254, 0.15);
    stroke-width: 1.2px;
    stroke-dasharray: 4 8;
    transition: stroke 0.4s ease, stroke-width 0.3s ease, filter 0.4s ease;
}

/*==========================================================
    ANIMACIÓN DE INTERMITENCIA LUMÍNICA (ELECTRO - MODERADA)
==========================================================*/
@keyframes electroStream {
    0% {
        stroke-dashoffset: 120;
        opacity: 0.95;
        filter: drop-shadow(0 0 2px #00f2fe) drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
    }
    20% {
        opacity: 0.35; /* Caída de tensión / Parpadeo fluido */
        filter: drop-shadow(0 0 1px #00f2fe) drop-shadow(0 0 3px rgba(0, 242, 254, 0.2));
    }
    24% {
        opacity: 1; /* Chispazo controlado */
        filter: drop-shadow(0 0 4px #00f2fe) drop-shadow(0 0 14px #00f2fe);
        stroke-width: 2.2px;
    }
    60% {
        stroke-dashoffset: 0;
        opacity: 0.85;
        filter: drop-shadow(0 0 2px #00f2fe) drop-shadow(0 0 6px rgba(0, 242, 254, 0.4));
    }
    72% {
        opacity: 0.4; /* Micro-corte sutil */
    }
    76% {
        opacity: 1;
        filter: drop-shadow(0 0 3px #00f2fe) drop-shadow(0 0 12px rgba(0, 242, 254, 0.8));
    }
    100% {
        stroke-dashoffset: -120;
        opacity: 0.95;
    }
}

/*==========================================================
    DISPARADORES EXCLUSIVOS POR HOVER (SIN ACCIÓN AUTOMÁTICA)
==========================================================*/
.hero-nav:has(a:nth-child(1):hover) ~ .hero-circuit-bridge .line-1,
.hero-nav:has(a:nth-child(2):hover) ~ .hero-circuit-bridge .line-2,
.hero-nav:has(a:nth-child(3):hover) ~ .hero-circuit-bridge .line-3,
.hero-nav:has(a:nth-child(4):hover) ~ .hero-circuit-bridge .line-4,
.hero-nav:has(a:nth-child(5):hover) ~ .hero-circuit-bridge .line-5,
.hero-nav:has(a:nth-child(6):hover) ~ .hero-circuit-bridge .line-6 {
    stroke: #00f2fe !important;
    stroke-width: 2px;
    stroke-dasharray: 40 15 20 10;
    /* Ajustado a 1.2s para que el flujo de corriente sea más suave y menos frenético */
    animation: electroStream 1.2s linear infinite !important;
}

/*==========================================================
    BRAND IDENTITY (Más pequeña, equilibrada y limpia)
==========================================================*/
.hero-brand {
    text-align: left; /* Alineado a la izquierda para recibir las líneas dinámicas */
    padding-left: 40px;
}

.brand-overline {
    font-family: 'Orbitron', sans-serif;
    color: #00f2fe;
    letter-spacing: 0.5em;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.75;
}

.hero-brand h1 {
    font-family: 'Orbitron', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 15px;
    line-height: 0.9;
}

.astado {
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.dev {
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    color: #00f2fe;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-shadow: 0 0 35px rgba(0, 242, 254, 0.4);
}

.brand-description {
    margin-top: 25px;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

/*==========================================================
    PANEL INFERIOR (GLASSMORPHISM PREMIUM)
==========================================================*/
.hero-bottom-panel {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1450px;
    height: 130px;
    border-radius: 24px 24px 0 0; /* Un poco más curvo suaviza el aspecto premium */
    
    /* Gradiente sutil simulando el reflejo de luz sobre el cristal */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* El desenfoque es clave para el realismo del vidrio */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    
    /* Un borde superior brillante imita el bisel del vidrio templado que refracta la luz */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
    
    /* Sombra interna y externa sutil para dar volumen tridimensional */
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.2), 
        0 -10px 30px rgba(0, 0, 0, 0.25);
        
    z-index: 15;
    overflow: hidden; /* Mantiene los destellos dentro del panel */
}

/* DESTELLO DE LUZ ESTRATÉGICO (Cyan / Azul) */
.bottom-panel-glow {
    position: absolute;
    top: -50px;
    left: 10%;
    width: 350px;
    height: 100px;
    /* Mezcla de cyan y azul tecnológico difuminado */
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(0, 91, 234, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
}

.bottom-panel-content {
    position: relative;
    z-index: 2; /* Por encima del destello de fondo */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 45px;
}

.bottom-panel-content small {
    font-family: 'Orbitron', sans-serif;
    color: #00f2fe; /* Tu cyan característico */
    letter-spacing: 0.35em;
    font-size: 0.65rem;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4); /* Le da un ligero brillo tecnológico */
}

.bottom-panel-content h2 {
    color: rgba(255, 255, 255, 0.92); /* Un toque más blanco mejora la legibilidad sobre el vidrio */
    font-weight: 300;
    line-height: 1.4;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    max-width: 800px;
}
/*==========================================================
    RESPONSIVE DESIGN
==========================================================*/
@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        height: auto;
        gap: 40px;
    }
    .hero-circuit-bridge {
        display: none; /* Ocultamos las líneas complejas en mobile */
    }
    .hero-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        border-left: none;
        padding-left: 0;
    }
    .hero-brand {
        text-align: center;
        padding-left: 0;
    }
    .hero-brand h1 {
        justify-content: center;
    }
}


/* ----------------------------- */
/* ----------------------------- */
/* -----ESTILOS SECTIONS APILABLES ------------------------ */
/* ----------------------------- */
/* ----------------------------- */
/* ==========================================================
    ESTILOS SECTIONS APILABLES (CORREGIDO)
========================================================== */

/* Mantenemos el comportamiento del menú original intacto dentro del Hero */
.hero .hero-nav {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 10;
}

/* .floating-nav{

    position:fixed;

    left:4%;
    top:50%;

    transform:translateY(-50%);

    display:flex;
    flex-direction:column;
    gap:30px;

    padding-left:15px;

    border-left:1px solid rgba(0,242,254,.2);

    z-index:500;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:
        opacity .35s,
        visibility .35s;

} */

.floating-nav a{

    position:relative;

    color:rgba(255,255,255,.45);

    text-decoration:none;

    font-size:.8rem;

    letter-spacing:.25em;

    text-transform:uppercase;

    display:flex;

    align-items:center;

    height:24px;

    transition:.35s;

}

.floating-nav span{

    position:absolute;

    left:-19px;

    width:7px;
    height:7px;

    border-radius:50%;

    background:#00f2fe;

    box-shadow:0 0 12px #00f2fe;

    opacity:0;

    transform:scale(.5);

    transition:.35s;

}
.floating-nav a:hover,
.floating-nav a.active{

    color:white;

    transform:translateX(6px);

}

.floating-nav a:hover span,
.floating-nav a.active span{

    opacity:1;

    transform:scale(1);

}

.floating-nav.show{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

}


/* ---------- */

.menu-toggle{
    display:none;
}


@media (max-width: 1200px) {
    .brand-description{
        margin: 50px auto;
    }
}


/* ==========================================================
    ESTRUCTURA DE PANELES EN PILA (NUEVA)
========================================================== */

main{
    position:relative;
    width:100%;
}

main>section{

    position:sticky;
    top:0;
    min-height: calc(100vh + 100px);
    

    overflow:hidden;

    display:flex;

    align-items:stretch;

    justify-content:stretch;

    background:transparent;

}


/*==========================
CAPA 1
==========================*/
.section-bg{

    position:absolute;
    inset:0;

    z-index:0;

    background:#030408;

    overflow:hidden;

}


/*==========================
CAPA 2
CRISTAL
==========================*/

.section-overlay{

    position:absolute;
    inset:0;

    z-index:1;

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.01)
        );

    border-top:1px solid rgba(255,255,255,.06);

    box-shadow:

        inset 0 1px rgba(255,255,255,.08),
        inset 0 -1px rgba(255,255,255,.02);

}

/*==========================
CAPA 3
CONTENIDO
==========================*/

.section-inner{

    position:relative;

    z-index:5;

    width:100%;

    display:flex;

    align-items:center;

    justify-content:flex-start;

    padding:100px 10% 60px 30%;

}



/*==========================
RESPONSIVE
==========================*/

@media(max-width:1100px){

    main>section{

        position:relative;
        height:auto;
    }

   

}

/* -----------------------------
BLOQUES SECTIONS 
 */

/* 1. Contenedor Padre (El marco de referencia) */
.section-panel {
    position: relative;
    width: 100%;
    min-height: 100vh; /* O la altura que desees que tenga la sección */
    overflow: hidden;   /* Evita que los fondos se desborden si tienen animaciones */
}

/* 2. Regla común para las capas de fondo absoluto */
.section-bg,
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 3. Capa 1: Fondo (Abajo de todo) */
.section-bg {
    z-index: 1;
    
    background-size: cover;
    background-position: center;
}


/* 4. Capa 2: Overlay/Filtro (En el medio) */
.section-overlay {
    z-index: 2;
    background: rgba(0, 0, 0, 0.6); /* Ejemplo: un tinte oscuro transparente */
    backdrop-filter: blur(4px);    /* Opcional: por si querés sumarle desenfoque tech */
}

/* 5. Capa 3: El Contenido (Arriba de todo) */
.section-inner {
    position: relative; /* Necesario para que responda al z-index */
    z-index: 3;
    width: 100%;
    height: 100%;
    
    /* Opcional: Flexbox para centrar o estructurar lo que vaya adentro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#consultoria .section-bg {

    background-image: url('../IMG/imagen-oficina.png'); 
}


#servicios .section-bg {

    background-image: url('../IMG/cielo-nocturno.png'); 
}

#servicios .section-overlay {
   
    background: rgba(0, 0, 0, 0.445); /* Ejemplo: un tinte oscuro transparente */
    backdrop-filter: blur(1px);    /* Opcional: por si querés sumarle desenfoque tech */
}


#contacto  .section-bg {

    background-image: url('../IMG/fondo-constelaciones-reno-AstadoDev.png'); 
    
    background-position: bottom right; 
    background-repeat: no-repeat;      
    background-size: cover;    
    
    
}

#contacto .section-overlay {
   
    background: rgba(0, 0, 0, 0); /* Ejemplo: un tinte oscuro transparente */
    backdrop-filter: blur(0px);    /* Opcional: por si querés sumarle desenfoque tech */
}










 /* ---------------- */

/* Etiquetas Técnicas (01 / SERVICIOS..., etc.) */
.section-tag {
    font-family: 'Orbitron', sans-serif;
    color: #00f2fe;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Títulos Principales de las Secciones */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 15px 0 25px 0;
    color: #ffffff;
}

/* Textos Descriptivos Core */
.section-text {
    color:rgb(230, 230, 230);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Margen extendido específico para el párrafo de contacto antes del botón */
.contact-spacing {
    margin-bottom: 30px;
}

/* Sub-etiquetas de Arquitectura / Tech Stack */
.section-techstack {
    color: rgba(11, 172, 145, 0.753);
    line-height: 1.8;
    font-size: 0.9rem;
}

/* Botón de Enlace de Contacto */
.btn-connect {
    font-family: 'Orbitron', sans-serif;
    color: #00f2fe;
    text-decoration: none;
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 12px 28px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: rgba(0, 242, 254, 0.02);
    transition: all 0.3s ease;
    display: inline-block; /* Asegura el padding correcto del tag <a> */
}

.btn-connect:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.6);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}


/* Estado activo en Desktop via Observer */
.floating-nav.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



 /*----------------------------------------
    BOTÓN HAMBURGUESA (MENU TOGGLE)
    ----------------------------------------*/
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 22px;
        right: 22px;
        width: 52px;
        height: 52px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 6px;
        border: none;
        border-radius: 14px;
        background: rgba(6, 12, 18, 0.72);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 6000;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: #8df3ff; /* Cyan tecnológico suave */
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    /* ANIMACIÓN A "X" */
    .menu-toggle.active {
        background: rgba(0, 220, 255, 0.08);
    }

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

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

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

/* ==========================================================================
   CORRECCIÓN DEL MENÚ FLOTANTE LATERAL (GLOBAL)
   ========================================================================== */
#menu-floating {
    position: fixed;
    top: 0;
    right: -110%; /* Completamente escondido a la derecha por defecto */
    width: 300px; /* Ancho fijo para el panel lateral en computadoras y móviles */
    height: 100vh;
    background: rgba(3, 4, 8, 0.98); /* Fondo tecnológico oscuro */
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    z-index: 150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    /* Transición suave para la animación de entrada/salida */
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none; /* Evita clics accidentales mientras está oculto */
}

/* Cuando el scroll de la página activa el menú (IntersectionObserver) */
#menu-floating.show {
    opacity: 1;
    pointer-events: auto;
    /* Mantenemos right: -110% porque la hamburguesa es la que debe controlar el despliegue */
}

/* CLASE CRÍTICA: Cuando se hace clic en la hamburguesa y se abre el panel */
#menu-floating.open {
    right: 0 !important; /* Se desliza visiblemente desde la derecha */
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Asegurar que el botón de hamburguesa esté siempre encima de todo */
#menu-toggle {
    z-index: 200 !important;
    cursor: pointer;
}
/* ==========================================================
   MEDIA QUERY PARA MOBILE (Menos de 600px)
========================================================== */
@media (max-width: 650px) {
    /*----------------------------------------
    LAYOUT & SECCIONES
    ----------------------------------------*/
    .section-inner {
        padding: 100px 30px 60px 30px !important;
    }
    
    .section-content-demo {
        margin: auto;
    }
    
    .hero-nav {
        display: none;
    }
    /*----------------------------------------
    MENÚ FLOTANTE LATERAL (DRAWER)
    ----------------------------------------*/
    .floating-nav {
        position: fixed;
        top: 0;
        right: -320px; /* Escondido por defecto a la derecha */
        left: auto;
        transform: none;
        width: 290px;
        height: 100vh;
        padding: 90px 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 24px;
        background: rgba(4, 8, 15, 0.93);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-left: 1px solid rgba(0, 242, 254, 0.18);
        border-top: none;
        z-index: 5500; /* Justo por debajo del botón toggle */
        
        /* Control de estados fluido mediante transición de posición */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Forzar oculto si el observer de escritorio se activa por error */
    .floating-nav.show {
        right: -320px;
    }

    /* Estado abierto (Activado por JS) */
    .floating-nav.open {
        right: 0;
    }

    /* ENLACES DEL MENÚ */
    .floating-nav a {
        font-family: 'Orbitron', sans-serif;
        color: #ffffff;
        text-decoration: none;
        letter-spacing: 0.14em;
        font-size: 0.9rem;
        opacity: 0.65;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }

    .floating-nav a:hover {
        opacity: 1;
        color: #00f2fe;
        transform: translateX(8px);
    }

    .floating-nav span {
        left: -18px; /* Ajuste para los nodos decorativos si los usás */
    }
   
}
/* --------------------------- */
/* --------------------------- */
/* FOOTER  */
/* --------------------------- */
/* --------------------------- */


/*==========================================================
    ASTADO DEV - FOOTER PREMIUM
==========================================================*/
.astado-footer {
    position: relative;
    width: 100%;
    background: transparent; /* Permite ver el fondo de constelaciones sin cortes duros */
    padding: 100px 0 40px 0; /* Gran espacio superior para que "respire" la sección previa */
    font-family: 'SF Pro Display', -apple-system, sans-serif; /* O la tipografía sans-serif que uses */
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.03); /* Línea divisoria extremadamente sutil */
}

.footer-container {
    width: 90%;
    max-width: 1450px;
    margin: 0 auto;
    display: grid;
    /* Columnas balanceadas y con mucho espacio de separación (gap) */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px; 
}

/* Columna de Marca */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 42px; /* Tamaño controlado, nada aparatoso ni gigante */
    width: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.2)); /* Destello de luz sutil en el logo */
}

.footer-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #00f2fe;
    margin-bottom: 35px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    color: #00f2fe;
    transform: translateX(3px); /* Pequeño desplazamiento interactivo */
}

/* Columnas de Navegación y Links */
.footer-nav-col h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    font-weight: 400;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Separación generosa entre enlaces */
}

.footer-nav-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Enlaces Especiales (Productos) */
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge {
    font-size: 0.6rem;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #00f2fe;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.1em;
}

/* Redes Sociales */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-socials a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #00f2fe;
}

/*==========================================================
    BARRA DE COPYRIGHT INFERIOR
==========================================================*/
.footer-bottom {
    width: 100%;
    margin-top: 90px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-bottom-content {
    width: 90%;
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.3);
}

.driven {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.2);
}

/*==========================================================
    RESPONSIVE DESIGN (Para asegurar la elegancia en móviles)
==========================================================*/
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-brand-col {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-brand-col {
        grid-column: span 1;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}



/* ==========================================================
   MEDIA QUERY PARA DISPOSITIVOS COMPACTOS (Máximo 400px)
========================================================== */
@media (max-width: 400px) {
    /*----------------------------------------
    LAYOUT & AJUSTES DE CONTENEDOR
    ----------------------------------------*/
    .section-inner {
        padding: 70px 16px 40px 16px !important; /* Reducimos márgenes para ganar espacio de lectura */
    }

    .section-content-demo {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra los elementos internos del bloque */
        text-align: center;  /* Centra todos los textos de los bloques */
    }

    .section-title {
        font-size: 1.5rem !important; /* Tamaño estilizado y compacto */
        line-height: 1.25;
    }

    .section-text {
        font-size: 0.9rem !important;
        line-height: 1.55;
    }

    .section-techstack {
        font-size: 0.75rem !important;
        text-align: center;
    }

    /* Ajuste para el botón de WhatsApp / Acción en los bloques */
    .btn-connect {
        width: 100%; /* Ocupa todo el ancho disponible en la tarjeta */
        max-width: 280px;
        text-align: center;
        display: inline-block;
        box-sizing: border-box;
    }

    /*----------------------------------------
    HERO COMPACTO Y COMPLETAMENTE CENTRADO
    ----------------------------------------*/
    .hero-container {
        padding: 0 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-brand {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra el overline, el h1 y la descripción en el eje x */
        text-align: center;  /* Fuerza el centrado de texto */
        width: 100%;
    }

    .brand-overline {
        font-size: 0.65rem !important; /* Micro-tipografía de alta precisión */
        letter-spacing: 0.15em !important;
        margin-bottom: 10px;
    }

    .hero-brand h1 {
        font-size: 2.2rem !important; /* Evita roturas de palabra huérfana */
        line-height: 1.15;
        letter-spacing: 0.05em;
        margin-bottom: 16px;
    }

    .hero-brand h1 span {
        display: block; /* Asegura que ASTADO y DEV se apilen prolijamente en vertical */
    }

    .brand-description {
        font-size: 0.9rem !important;
        line-height: 1.55;
        max-width: 100%;
    }

    /* Panel inferior del Hero */
    .hero-bottom-panel {
        padding: 24px 16px !important;
        text-align: center;
    }

    .bottom-panel-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bottom-panel-content small {
        font-size: 0.6rem !important;
        letter-spacing: 0.15em;
    }

    .bottom-panel-content h2 {
        font-size: 0.95rem !important;
        line-height: 1.45;
    }

    /*----------------------------------------
    INTERFAZ DE MENÚ DE AJUSTE MÍNIMO
    ----------------------------------------*/
    /* Achicamos levemente el botón para que no tape tanto contenido visual */
    .menu-toggle {
        top: 16px;
        right: 16px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
}