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

        :root {
            --primary: #4a5568;
            --secondary: #5a6c7d;
            --accent: #718096;
            --dark: #1a1a1a;
            --darker: #0a0a0a;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: white;
            background: #0a0a0a;
            overflow-x: hidden;
        }

        /* Header */
        header {
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            background: rgba(10, 10, 10, 0.9);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 3%;
            max-width: 1600px;
            margin: 0 auto;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-img{
            height: 36px;      /* 👈 CLAVE: controla el tamaño */
            width: auto;       /* mantiene proporción */
            display: block;
        }

        .logo-text {
            font-size: 1.3rem;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .logo-subtitle {
            font-size: 0.75rem;
            color: rgba(255,255,255,0.6);
            letter-spacing: 2px;
            text-transform: uppercase;
        }

       .nav-links {
            display: none;
            gap: 3rem;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: rgba(109, 108, 108, 0.8);
            font-weight: 400;
            font-size: 0.9rem;
            position: relative;
            display: inline-block;
            overflow: hidden;
            height: 1.2em;
            perspective: 400px;
        }

        .nav-links a span {
            display: block;
            position: relative;
            transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
            transform-origin: 50% 0;
            transform-style: preserve-3d;
        }

        .nav-links a span::after {
            content: attr(data-text);
            position: absolute;
            top: 100%;
            left: 0;
            transform-origin: 50% 0;
            transform: rotateX(-90deg);
            color: rgba(110, 193, 180);
        }

        .nav-links a:hover span {
            transform: rotateX(90deg) translateY(-50%);
        }

        .nav-links a.active span {
             color: rgba(136, 136, 136, 0.8);
        }
        .menu-toggle {
            display: block;
            background: none;
            
            color: rgba(255,255,255,0.3);
            padding: 0.5rem 1rem;
            border-radius: 6px;
            cursor: pointer;
            font-size: 1.2rem;
        }

/* =========================================
Globe Section 
==========================================*/
        .globe-section{
        position: relative;
        height: 100vh;
        width: 100%;
        overflow: hidden;
        background: #050510; /* fallback */
        }

        /* Imagen real de fondo (atrás de todo) */
        .globe-section::before{
        content:"";
        position:absolute;
        inset:0;
        background-image: url("../img/fondoCiudad.png"); /* tu ruta */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: brightness(.55) contrast(1.1);
        transform: scale(1.03);
        z-index: 0;
        }

        /* Un overlay oscuro sutil para que el texto y el globo “lean” mejor */
        .globe-section::after{
        content:"";
        position:absolute;
        inset:0;
        background: radial-gradient(circle at 55% 40%, rgba(0,0,0,.25), rgba(0,0,0,.75) 70%);
        z-index: 1;
        }

        /* Canvas arriba del fondo */
        #globe-canvas{
        position:absolute;
        inset:0;
        width:100%;
        height:100%;
        display:block;
        z-index: 2;
        }

        /* Todo tu overlay de UI (texto, buscador, botones) arriba */
        .globe-overlay{
        position:absolute;
        inset:0;
        pointer-events:none;
        z-index: 3;
        }


        .globe-controls {
            position: absolute;
            top: 50%;
            left: 3%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            z-index: 100;
        }

        .control-btn {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 8px;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s;
            pointer-events: all;
        }

        .control-btn:hover {
            background: rgba(255,255,255,0.2);
            transform: scale(1.1);
        }

        .globe-info {
            position: absolute;
            top: 50%;
            right: 3%;
            transform: translateY(-50%);
            /*background: rgba(255,255,255,0.05);*/
            /*backdrop-filter: blur(20px);*/
            /*border: 1px solid rgba(255,255,255,0.1);*/
            border-radius: 16px;
            padding: 2rem;
            max-width: 350px;
            pointer-events: all;
        }

        .info-title {
            font-size: 2rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .info-text {
            color: rgba(255,255,255,0.8);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .info-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 2rem;
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent);
        }

        .stat-label {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.6);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-btn {
            display: inline-block;
            padding: 0.9rem 2rem;
            background: rgba(255,255,255,0.4);
            color: var(--darker);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            margin-top: 1rem;
        }

        .cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px  rgba(110, 193, 180, 0.5);
        }

        .search-container {
            position: absolute;
            top: 100px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 600px;
            z-index: 100;
            pointer-events: all;
        }

        .search-box {
            width: 100%;
            padding: 1rem 1.5rem;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50px;
            color: white;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s;
        }

        .search-box::placeholder {
            color: rgba(255,255,255,0.5);
        }

        .search-box:focus {
            background: rgba(255,255,255,0.15);
            border-color: rgba(255,255,255,0.4);
        }


/* ==========================================
 SERVICES SECTION 
 ========================================= */
 
        .services {
            padding: 6rem 5%;
            background: var(--dark);
            position: relative;
            text-align: center;
        }

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

        .section-label {
            display: inline-block;
            padding: 0.5rem 1.5rem;
            background: rgba(255,255,255,0.1);
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            letter-spacing: 1px;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
            text-align: center;
        }
       
        .section-description {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.7);
            line-height: 1.7;
            text-align: center;
        }

        /* ===== GRID ===== */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            perspective: 1000px;
        }

        /* ===== SERVICE CARD CON IMAGEN DE FONDO ===== */
        .service-card {
            position: relative;
            height: 420px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            border-radius: 24px;
            border: 10px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            transform-style: preserve-3d;
        }

        /* IMAGEN DE FONDO COMPLETA */
        .service-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform 0.8s ease, filter 0.8s ease;
            filter: brightness(0.85) contrast(1.1);
            z-index: 1;
        }

        /* Imágenes específicas */
        .service-card:nth-child(1) .service-bg {
            background-image: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=800&q=80');
        }

        .service-card:nth-child(2) .service-bg {
            background-image: url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=800&q=80');
        }

        .service-card:nth-child(3) .service-bg {
            background-image: url('https://images.unsplash.com/photo-1561070791-2526d30994b5?w=800&q=80');
        }

        .service-card:nth-child(4) .service-bg {
            background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=800&q=80');
        }

        .service-card:nth-child(5) .service-bg {
            background-image: url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?w=800&q=80');
        }

        .service-card:nth-child(6) .service-bg {
            background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=800&q=80');
        }

        /* ZOOM AL HOVER */
        .service-card:hover .service-bg {
            transform: scale(1.08);
            filter: brightness(1);
        }

        /* OVERLAY OSCURO */
        .service-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.3) 0%,
                rgba(0, 0, 0, 0.7) 100%
            );
            z-index: 2;
            transition: background 0.6s ease;
        }

        .service-card:hover .service-overlay {
            background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.4) 0%,
                rgba(0, 0, 0, 0.8) 100%
            );
        }

        /* ===== LUZ RADIAL ===== */
        .service-card::before {
            content: '';
            position: absolute;
            inset: -50%;
            background: radial-gradient(
                circle at center,
                rgba(102,126,234,0.35),
                transparent 60%
            );
            opacity: 0;
            transition: opacity 0.6s ease, transform 0.6s ease;
            transform: scale(0.8);
            pointer-events: none;
            z-index: 3;
            animation: float1 20s ease-in-out infinite;
        }

        .service-card:hover::before {
            opacity: 1;
            transform: scale(1);
        }

        /* ===== BACKGROUND DECORATIVO ===== */
        .service-card::after {
            content: '';
            position: absolute;
            bottom: -100px;
            right: -100px;
            width: 250px;
            height: 250px;
            background: radial-gradient(circle, rgba(153, 127, 179, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            transition: all 0.8s ease;
            pointer-events: none;
            z-index: 3;
            animation: float2 25s ease-in-out infinite;
        }

        .service-card:hover::after {
            bottom: -50px;
            right: -50px;
            width: 300px;
            height: 300px;
        }

        /* ===== CONTENIDO ===== */
        .service-content {
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 35px 30px 0 30px;
            z-index: 4;
        }

        /* TÍTULO ARRIBA */
        .service-content h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            transition: all 0.5s ease;
            transform: translateZ(30px);
            align-items: center;
            text-align: center;
            padding-top: 50%;
        }

        .service-card:hover h3 {
            transform: translateZ(50px);
            color: #667eea;
        }

        /* BARRA INFERIOR - TRANSLÚCIDA BORDE A BORDE */
        .service-description {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(25px) saturate(180%);
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 0 0 24px 24px;
            padding: 24px 30px;
            margin: 0 -30px 0 -30px;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            transform: translateZ(20px);
        }

        .service-card:hover .service-description {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(30px) saturate(200%);
            border-top-color: rgba(255, 255, 255, 0.25);
            transform: translateZ(40px);
            padding: 28px 30px;
        }

        .service-description p {
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.6;
            font-size: 0.95rem;
            text-shadow: 0 1px 3px rgba(0,0,0,0.3);
            margin: 0;
        }

        .service-card:hover .service-description p {
            color: #fff;
        }

        /* ===== HOVER ELEVACIÓN ===== */
        .service-card:hover {
            transform: translateY(-8px);
            border-color: rgba(102, 126, 234, 0.5);
            box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
        }



        /* Agregar al CSS de service-card */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-12px); }
        }

        @keyframes glow-pulse {
            0%, 100% { 
                box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
            }
            50% { 
                box-shadow: 0 12px 48px rgba(102, 126, 234, 0.35);
            }
        }

        .service-card {
            animation: 
                float 6s ease-in-out infinite,
                glow-pulse 4s ease-in-out infinite;
        }

        /* Delays diferentes para cada card */
        .service-card:nth-child(1) { animation-delay: 0s, 0s; }
        .service-card:nth-child(2) { animation-delay: 0.5s, 0.3s; }
        .service-card:nth-child(3) { animation-delay: 1s, 0.6s; }
        .service-card:nth-child(4) { animation-delay: 1.5s, 0.9s; }
        .service-card:nth-child(5) { animation-delay: 2s, 1.2s; }
        .service-card:nth-child(6) { animation-delay: 2.5s, 1.5s; }

        /* Al hover, detener el float */
        .service-card:hover {
            animation: glow-pulse 2s ease-in-out infinite;
        }


        
        /* ===== RESPONSIVE ===== */
        @media (max-width: 900px) {
            .services-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .service-card {
                height: 380px;
            }

            .section-title {
                font-size: 2rem;
            }
        }

        /* MOVIMIENTO PARALLAX AUTOMÁTICO DE LAS CARDS - SOLO MOBILE */
        @media (max-width: 900px) {
            .service-card:nth-child(1),
            .service-card:nth-child(2),
            .service-card:nth-child(3) {
                animation: slideRight 8s ease-in-out infinite;
            }

            .service-card:nth-child(4),
            .service-card:nth-child(5),
            .service-card:nth-child(6) {
                animation: slideLeft 8s ease-in-out infinite;
            }

            .service-card:nth-child(1) { animation-delay: 0s; }
            .service-card:nth-child(2) { animation-delay: 0.5s; }
            .service-card:nth-child(3) { animation-delay: 1s; }
            .service-card:nth-child(4) { animation-delay: 1.5s; }
            .service-card:nth-child(5) { animation-delay: 2s; }
            .service-card:nth-child(6) { animation-delay: 2.5s; }
        }

        @keyframes slideRight {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(15px); }
        }

        @keyframes slideLeft {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(-15px); }
        }


/* =========================================================
   MISSION & VISION – FULL REPLACE (cards 3D wheel + pause-ready)
========================================================= */

        /* Sección */
        .mission-vision{
        position: relative;
        overflow: hidden;
        background: #151518; /* fallback */
        padding-top: 4.5rem;     /* antes 9rem */
        padding-bottom: 8rem;    /* ajustable */
        }
        
        .mission-vision .section-header{
        margin: 0 auto 1.2rem;   /* antes 4rem (típico) */
        max-width: 700px;        /* igual que tu estilo base */
        text-align: center;
        }

        /* Fondo full */
        .mission-vision::before{
        content:"";
        position:absolute;
        inset:0;
        background-image: url("../img/mundoPerOsc.png"); /* ajustá ruta */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transform: scale(1.04);
        filter: brightness(.22) contrast(1.15);
        z-index: 0;
        }

        /* Contenedor central (debajo de tus títulos) */
        .mv-wrap{
        position: relative;
        width: min(1100px, 92vw);
        margin: 3rem auto 0;
        border-radius: 26px;
        overflow: hidden;
        min-height: 560px;
        }

        /* Fondo interno (por si querés doble capa) */
        .mv-bg{
        position:absolute;
        inset:0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: brightness(.55) contrast(1.1);
        transform: scale(1.03);
        }

        /* Overlay para legibilidad */
        .mv-wrap::after{
        content:"";
        position:absolute;
        inset:0;
        z-index: 1;
        }

        /* Stage 3D */
        .mv-stage{
        position: relative;
        z-index: 2;
        height: 760px;
        perspective: 1400px;
        transform-style: preserve-3d;
        }

        /* =========================================================
        VARIABLES (tamaño rectangular)
        ========================================================= */
        :root{
        --mv-card-w: 360px;
        --mv-card-h: 260px;   /* rectangular */
        --mv-radius: 16px;
        --mv-pad: 1.5rem;

        --mv-h3: 1.35rem;
        --mv-p: 0.85rem;
        --mv-icon: 1.65rem;

        --mv-border: rgba(255,255,255,0.16);
        --mv-bg1: rgba(255,255,255,0.08);
        --mv-bg2: rgba(255,255,255,0.03);
        }

        /* Cards (posición absoluta, centradas) */
        .mv-stage .mv-card.mv-slide{
        position: absolute;
        left: 50%;
        top: 50%;
        width: min(var(--mv-card-w), 86vw);
        height: var(--mv-card-h);

        transform: translate(-50%, -50%);
        transform-style: preserve-3d;
        backface-visibility: hidden;
        will-change: transform, opacity, filter;

        border-radius: var(--mv-radius);
        padding: var(--mv-pad);

        border: 10px solid var(--mv-border);
        background: linear-gradient(135deg, var(--mv-bg1), var(--mv-bg2));
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        box-shadow:
            0 22px 60px rgba(0,0,0,0.45),
            inset 0 1px 0 rgba(255,255,255,0.10);

        overflow: hidden;
        }

        /* Glow sutil por detrás (si te gusta el “halo”) */
        .mv-stage .mv-card.mv-slide::before{
        content:"";
        position:absolute;
        inset:-2px;
        border-radius: calc(var(--mv-radius) + 2px);
        background: radial-gradient(circle at 30% 20%, rgba(118,75,162,0.25), transparent 55%),
                    radial-gradient(circle at 80% 70%, rgba(102,126,234,0.18), transparent 55%);
        opacity: 0.65;
        z-index:-1;
        }

        /* Línea superior suave */
        .mv-stage .mv-card.mv-slide::after{
        content:"";
        position:absolute;
        left: 10%;
        right: 10%;
        top: 10px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
        opacity: 0.8;
        }

        /* Tipografía interna: compacta y legible */
        .mv-stage .mv-card.mv-slide h3{
        font-size: var(--mv-h3);
        font-weight: 400;
        margin: 0 0 0.65rem;
        display:flex;
        align-items:center;
        gap: 0.6rem;
        line-height: 1.15;

        /* Si ya tenés --primary y --accent, aprovecha tu gradiente */
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        }

        /* icono dentro del h3 */
        .mv-stage .mv-card.mv-slide .card-icon{
        font-size: var(--mv-icon);
        filter: drop-shadow(0 6px 18px rgba(102,126,234,0.35));
        }

        .mv-stage .mv-card.mv-slide p{
        font-size: var(--mv-p);
        line-height: 1.55;
        color: rgba(255,255,255,0.88);
        margin: 0 0 0.75rem;
        text-align: center;
        }

        /* texto destacado */
        .mv-stage .mv-card.mv-slide .highlight-text{
        display: block;
        margin-top: 0.6rem;
        font-size: 0.75rem;
        color: #cae4ee;                /* gris claro */
        font-weight: 400;
        font-style: italic;
        text-shadow: 0 4px 24px rgba(240,147,251,0.20);
        text-align:center;
        }

        /* Estado “activa” (la del centro) - lo gestiona el JS */
        .mv-stage .mv-card.mv-slide.is-active{
        border-color: rgba(255,255,255,0.28);
        }

        /*TÍTULO DE LA CARD – CENTRADO
        CON FONDO AL TONO DEL BORDE */

        .mv-stage .mv-card.mv-slide h3{
        position: relative;

        /* texto */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #313131;
        font-size: var(--mv-h3);
        font-weight: 600;
        line-height: 1.2;

        /* FONDO DE BORDE A BORDE */
        background: rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.18);

        /* ocupar TODO el ancho de la card */
        width: calc(100% + (var(--mv-pad) * 2));
        margin-left: calc(var(--mv-pad) * -1);
        margin-right: calc(var(--mv-pad) * -1);
        margin-top: calc(var(--mv-pad) * -1);

        /* altura de la barra */
        padding: 0.75rem 1rem;

        /* anular gradiente anterior */
        background-clip: initial;
        -webkit-text-fill-color: initial;
        


        /* tipografía */
        font-size: var(--mv-h3);
        font-weight: 600;
        line-height: 1.2;

        /* quitar gradiente anterior */
        -webkit-text-fill-color: initial;
        }



        /* Responsive */
        @media (max-width: 900px){
        :root{
            --mv-card-w: 340px;
            --mv-card-h: 240px;
            --mv-pad: 1.25rem;
            --mv-h3: 1.25rem;
            --mv-p: 0.94rem;
            --mv-icon: 1.55rem;
        }
        .mv-wrap{ min-height: 620px; }
        .mv-stage{ height: 620px; }
        }

        @media (max-width: 480px){
        :root{
            --mv-card-w: 320px;
            --mv-card-h: 255px;
            --mv-pad: 1.15rem;
            --mv-h3: 1.15rem;
            --mv-p: 0.92rem;
            --mv-icon: 1.45rem;
        }
        }



/* ========================================
Contact 
=========================================*/
        .contact {
            padding: 6rem 5%;
            background: var(--dark);
            background-color: var(--darker);
            background-image: url("../img/3dlargo.jpg");
            background-size: cover;          /* 👈 clave */
            background-position: center;     /* 👈 clave */
            background-repeat: no-repeat;    /* 👈 clave */
            overflow: hidden;                 /* ✅ evita “salidas” visuales */
            background-position: 85% 50%;

        }

        .contact-content {
            max-width: 800px;
            margin: 3rem auto 0;
        }

        .contact-form {
            display: grid;
            gap: 1.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1.2rem 1.5rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            color: white;
            font-size: 1rem;
            transition: all 0.3s;
            font-family: inherit;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.3);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255,255,255,0.4);
        }

        .submit-btn {
            padding: 1.2rem 3rem;
            background: rgba(255,255,255,0.4);
            color: var(--darker);
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            justify-self: center;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px  rgba(110, 193, 180, 0.5);

        }

        @media (max-width: 768px){
        .contact{
            background-position: 60% 50%;
        }
        }

        

     /* =========================================
           FOOTER CIRIDAE STYLE
        ========================================= */
        .footer-ciridae {
            position: relative;
            width: 100%;
            min-height: 100vh;
            background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 4rem 2rem;
        }

        /* Canvas de humo de fondo */
        .footer-smoke-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }

        /* Contenedor del contenido */
        .footer-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 600px;
            width: 100%;
        }

        /* Logo superior */
        .footer-logo {
            margin-bottom: 3rem;
        }

        .footer-logo-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 1rem;
            position: relative;
        }

        .footer-logo-icon::before,
        .footer-logo-icon::after {
            content: '';
            position: absolute;
            background: white;
            border-radius: 2px;
            display: none;

        }

        .footer-logo-icon::before {
            width: 40px;
            height: 2px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .footer-logo-icon::after {
            width: 40px;
            height: 2px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        .footer-logo-icon svg {
            width: 100%;
            height: 100%;
        }

        .footer-brand {
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.3em;
            color: rgba(255, 255, 255, 0.9);
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }

        .animated-word {
            color: white;
            min-width: 110px;           /* evita saltos */
            text-align: left;
            display: inline-block;
            position: relative;
        }

        /* efecto fade */
        .fade-in {
            animation: fadeIn 0.4s ease forwards;
        }

        .fade-out {
            animation: fadeOut 0.4s ease forwards;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(6px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeOut {
            from { opacity: 1; transform: translateY(0); }
            to   { opacity: 0; transform: translateY(-6px); }
        }


        /* Input de email */
        .footer-subscribe {
            margin-bottom: 4rem;
        }

        .footer-input-wrapper {
            position: relative;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        .footer-email-input {
            width: 100%;
            padding: 1rem 1.5rem;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            color: white;
            font-size: 0.9rem;
            text-align: center;
            letter-spacing: 0.05em;
            transition: all 0.3s ease;
            outline: none;
        }

        .footer-email-input::placeholder {
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 0.1em;
        }

        .footer-email-input:focus {
            border-color: rgba(255, 255, 255, 0.5);
            background: rgba(255, 255, 255, 0.05);
        }

        /* Social links */
        .footer-social {
            margin-bottom: 3rem;
        }

        .footer-social-title {
            font-size: 0.65rem;
            letter-spacing: 0.15em;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .footer-social-links {
            display: flex;
            gap: 2rem;
            justify-content: center;
            align-items: center;
        }

        .footer-social-link {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            transition: all 0.3s ease;
            position: relative;
        }

        .footer-social-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: white;
            transition: width 0.3s ease;
        }

        .footer-social-link:hover {
            color: rgba(255, 255, 255, 1);
        }

        .footer-social-link:hover::after {
            width: 100%;
        }

        /* ========================================
        BOTÓN CTA
        ======================================== */

        .footer-btn {
            display: inline-flex;
            align-items: center;
            gap: 1rem;
            padding: 1.3rem 3rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
            max-width: fit-content;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .footer-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s;
        }

        .footer-btn:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
        }

        .footer-btn:hover::before {
            left: 100%;
        }

        .footer-btn svg {
            transition: transform 0.3s;
        }

        .footer-btn:hover svg {
            transform: translateX(5px);
        }


        /* Bottom info */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-copy {
            font-size: 0.7rem;
            color: rgba(238, 237, 237, 0.3);
            letter-spacing: 0.05em;
            z-index:1;
        }

        .footer-links {
            display: flex;
            gap: 2rem;
        }

        .footer-link {
            color: rgba(221, 218, 218, 0.4);
            text-decoration: none;
            font-size: 0.7rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            transition: color 0.3s ease;
            z-index:1;
        }

        .footer-link:hover {
            color: rgba(255, 255, 255, 0.8);
        }

        /* Líneas decorativas laterales */
        .footer-line-left,
        .footer-line-right {
            position: absolute;
            top: 50%;
            width: 1px;
            height: 40%;
            background: linear-gradient(to bottom, 
                transparent 0%,
                rgba(255, 255, 255, 0.1) 50%,
                transparent 100%
            );
            transform: translateY(-50%);
            z-index: 5;
        }

        .footer-line-left {
            left: 5%;
        }

        .footer-line-right {
            right: 5%;
        }

        /* Efecto blur en los bordes */
        .footer-ciridae::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 150px;
            background: linear-gradient(to bottom, 
                rgba(26, 26, 26, 0.8) 0%,
                transparent 100%
            );
            z-index: 2;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .footer-ciridae {
                min-height: 80vh;
                padding: 3rem 1.5rem;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1.5rem;
                text-align: center;
            }

            .footer-links {
                flex-direction: column;
                gap: 1rem;
            }

            .footer-social-links {
                gap: 1.5rem;
            }

            .footer-line-left,
            .footer-line-right {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .footer-logo-icon {
                width: 50px;
                height: 50px;
            }

            .footer-brand {
                font-size: 0.8rem;
            }

            .footer-email-input {
                font-size: 0.8rem;
                padding: 0.9rem 1.2rem;
            }

            .footer-social-links {
                flex-wrap: wrap;
                gap: 1rem;
            }
        }
     
        /* Responsive */
        @media (min-width: 768px) {
            .nav-links {
                display: flex;
            }

            .menu-toggle {
                display: none;
            }

            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .mv-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .contact-form {
                grid-template-columns: repeat(2, 1fr);
            }

            .form-group:nth-last-child(2) {
                grid-column: 1 / -1;
            }

            .submit-btn {
                grid-column: 1 / -1;
            }

            .globe-info {
                max-width: 400px;
            }

            .search-container {
                max-width: 700px;
            }
        }

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

        @media (max-width: 767px) {
            .globe-info {
                position: static;
                transform: none;
                margin: 2rem;
                max-width: none;
            }

            .globe-section {
                height: auto;
                min-height: 100vh;
                display: flex;
                flex-direction: column;
            }

            #globe-canvas {
                position: relative;
                height: 60vh;
            }
        }

        .globe-wrap{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#globe-canvas{
  width: 100%;
  height: 100%;
  display:block;
}

#portal{
  position:absolute;
  inset:0;
  pointer-events:none;
  /* arranca con un círculo chico */
  --r: 0px;
  /* el “paño” tapa todo menos el círculo */
  -webkit-mask-image: radial-gradient(circle at 50% 56%, transparent 0 var(--r), rgba(0,0,0,1) calc(var(--r) + 2px));
  mask-image: radial-gradient(circle at 50% 56%, transparent 0 var(--r), rgba(0,0,0,1) calc(var(--r) + 2px));
  background: rgba(5,5,16,0.92); /* “paño” oscuro */
  backdrop-filter: blur(6px);
}

#portal .portal-ring{
  position:absolute;
  left:50%;
  top:56%;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(240,147,251,0.65);
  box-shadow:
    0 0 18px rgba(240,147,251,0.35),
    0 0 44px rgba(102,126,234,0.25);
  opacity: 1;
}

#portal .portal-glow{
  position:absolute;
  left:50%;
  top:56%;
  width: calc(var(--r) * 2.4);
  height: calc(var(--r) * 2.4);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240,147,251,0.22), rgba(102,126,234,0.06), transparent 65%);
  filter: blur(6px);
}

/* MENU: pegado al lado del texto */
.side-menu{
  position: absolute;
  right: 0;                 /* ✅ nunca se va fuera: queda dentro del bloque */
  top: 50%;
  transform: translate(115%, -50%); /* ✅ lo “pega” al costado del texto */
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;     /* ✅ alineado para abrir hacia adentro */
  z-index: 6;
}


/* Botón: anclado a la derecha, expande hacia la izquierda */
/* =========================
   SIDE MENU - fijo dentro del viewport (no se corta)
   ========================= */

/* Menú fijo al lado derecho de la pantalla, centrado proveniente del hero */
.side-menu{
  position: fixed;          /* ✅ siempre visible y nunca se va afuera */
  right: 10px;              /* ✅ dentro del viewport */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  z-index: 999;             /* arriba de todo */
  pointer-events: auto;
}

/* Botón: ancho fijo (no mueve nada) */
.side-item{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-content: center;
  height: 44px;
  width: 44px;             /* ✅ fijo */
  padding: 0 14px;

  border-radius: 999px;
  background: rgba(110, 193, 180, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(173, 176, 180, 0.35);
  box-shadow: 0 10px 22px rgba(92, 92, 92, 0.22);

  cursor: pointer;
  overflow: hidden;

  transition: transform 0.2s ease, background 0.25s ease;
}



/* Hover: se mete hacia adentro (izquierda) */
.side-item:hover{
  transform: translateX(-6px);
  background: rgba(110, 193, 180, 0.5);
  
  height: 44px;
  width: 155px; 
}

.side-item .icon{
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  color: #111;
}

/* Texto colapsado por defecto (no cambia layout) */
.side-item .label{
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #111;

  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.25s ease;
}

.side-item:hover .label{
  max-width: 120px;
  opacity: 1;
}

/* ✅ en mobile lo ocultamos */
@media (max-width: 900px){
  .side-menu{ display: none; }
}


/*EFECTOS TEXTOS*/
.aurora-text {
    background: linear-gradient(45deg, #0f7a7a, #91b0b1, #151a4b, #635d60);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.aurora-text.show {
    opacity: 1;
    transform: translateY(0);
    animation: aurora 8s ease infinite;
}

@keyframes aurora {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}



/*SPLIT EFECTO TEXTO LO QUE HACEMOS*/
.split-reveal {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.split-reveal .word {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.split-reveal.show .word {
    transform: translateY(0);
}

/* Para párrafos y textos inline */
.split-text-auto .split-reveal {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.25rem; /* espacio entre palabras */
}

.split-text-auto .word {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.split-text-auto.show .word {
    transform: translateY(0);
}


.split-text-auto.show .split-reveal .word {
    transform: translateY(0);
}



/* Efecto 2: Slide desde la izquierda */
        .slide-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            will-change: opacity, transform;
            }

        .slide-left.show {
            opacity: 1;
            transform: translateX(0);
            }
