 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
        }

        :root {
            --primary-deep: #003547;
            --primary-medium: #08749B;
            --primary-bright: #00B0F0;
            --accent-gold: #FFD700;
            --bg-dark: #000D12;
            --bg-light: #edf2f4;
            --white: #ffffff;
            --black: #111111;
            --glass-bg: rgba(255, 255, 255, 0.15);
            --glass-border: rgba(255, 255, 255, 0.2);
            --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 20px 30px rgba(0, 53, 71, 0.2);
            --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        body {
            background-color: var(--bg-light);
            color: var(--bg-dark);
            line-height: 1.5;
            overflow-x: hidden;
        }

        /* ===== EFECTOS DE TRANSICIÓN GLOBALES ===== */
        a, button, img, .card, .cta-button, .nav-link, .logo, section, h1, h2, h3, p {
            transition: var(--transition-smooth);
        }

        img {
            display: block;
            max-width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: var(--shadow-sm);
        }
        img:hover {
            transform: scale(1.02) rotate(0.5deg);
            box-shadow: var(--shadow-hover);
        }

        section {
            padding: 5rem 2rem;
            scroll-margin-top: 80px;
        }
        section:hover {
            background-color: rgba(8, 116, 155, 0.02); /* very subtle tint */
        }

        h1, h2 {
            font-weight: 700;
            letter-spacing: -0.02em;
        }
        h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
        h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--primary-deep); }
        p { font-size: 1.2rem; opacity: 0.9; }

        /* ===== BARRA DE NAVEGACIÓN (LIQUID GLASS) ===== */
        .navbar {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 1300px;
            background: var(--glass-bg);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            border: 1px solid var(--glass-border);
            border-radius: 60px;
            padding: 0.5rem 1.5rem;
            z-index: 1000;
            box-shadow: 0 10px 30px rgba(0, 53, 71, 0.2);
            transition: var(--transition-smooth);
        }
        .navbar:hover {
            box-shadow: 0 15px 40px rgba(0, 176, 240, 0.3);
            border-color: var(--primary-bright);
        }
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        /* Logo con imagen */
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-deep), var(--primary-bright));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.5px;
        }
        .logo img {
            width: 50px;
            height: auto;
            border-radius: 10px;
            box-shadow: none;
            transition: transform 0.3s ease;
        }
        .logo img:hover {
            transform: scale(1.1) rotate(3deg);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }
        
        /* Menú de navegación */
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 0.8rem;
            align-items: center;
            
        }
        
        .nav-link {
            text-decoration: none;
            font-weight: 600;
            color: var(--primary-deep);
            padding: 0.5rem 1rem;
            border-radius: 40px;
            background-color: var(--bg-light);
            opacity: 0.9;
            position: relative;
            white-space: nowrap;
        }
        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 70%;
            height: 3px;
            background: var(--accent-gold);
            border-radius: 10px;
            transition: transform 0.3s ease;
        }
        .nav-link:hover {
            color: var(--primary-bright);
            background: rgba(255,255,255,0.3);
        }
        .nav-link:hover::before {
            transform: translateX(-50%) scaleX(1);
        }
        .nav-phone {
            background: var(--primary-deep);
            color: white !important;
            padding: 0.6rem 1.5rem !important;
            border-radius: 50px !important;
            box-shadow: 0 4px 10px rgba(0, 53, 71, 0.4);
        }
        .nav-phone:hover {
            background: var(--primary-medium);
            transform: scale(1.05);
            color: white;
        }
        .nav-phone::before { display: none; }

        /* ===== MENÚ HAMBURGUESA ===== */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: transparent;
            border: none;
            padding: 10px;
            z-index: 1001;
        }
        .hamburger span {
            width: 30px;
            height: 3px;
            background: var(--primary-deep);
            margin: 3px 0;
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0.75;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== RESPONSIVE NAVBAR ===== */
        @media screen and (max-width: 1024px) {
            .hamburger {
                display: flex;
            }
            
            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 90%;
                max-width: 400px;
                background: var(--glass-bg);
                backdrop-filter: blur(20px) saturate(180%);
                -webkit-backdrop-filter: blur(20px) saturate(180%);
                border: 1px solid var(--glass-border);
                border-radius: 30px;
                flex-direction: column;
                padding: 2rem;
                gap: 1rem;
                transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
                box-shadow: 0 20px 40px rgba(0, 53, 71, 0.3);
            }
            
            .nav-menu.active {
                left: 5%;
            }
            
            .nav-menu li {
                width: 100%;
                text-align: center;
            }
            
            .nav-link {
                display: block;
                width: auto;
                white-space: normal;
                font-size: 1.1rem;
            }
            
            .nav-phone {
                display: inline-block;
                width: auto;
                margin-top: 0.5rem;
            }
        }

        @media screen and (max-width: 480px) {
            .navbar {
                padding: 0.5rem 1rem;
            }
            
            .logo {
                font-size: 1.2rem;
            }
            
            .logo img {
                width: 40px;
            }
            
            .nav-menu {
                top: 70px;
                padding: 1.5rem;
            }
        }


        /* ===== MODAL DE BIENVENIDA ===== */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 13, 18, 0.8);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 1;
            transition: opacity 0.5s ease;
        }
        .modal-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }
        .modal-card {
            background: var(--bg-dark);
            max-width: 500px;
            width: 90%;
            padding: 3rem 2rem;
            border-radius: 50px 20px 50px 20px;
            text-align: center;
            box-shadow: 0 30px 60px var(--primary-deep);
            border-left: 8px solid var(--accent-gold);
            transform: scale(1);
            transition: transform 0.4s ease;
        }
        .modal-card:hover {
            transform: scale(1.02);
        }
        .modal-card i {
            font-size: 4rem;
            color: var(--accent-gold);
            margin-bottom: 1rem;
        }
        .modal-card h3 {
            font-size: 2.2rem;
            color: var(--bg-light);
        }
        .modal-card p {
            margin: 1rem 0;
            color: var(--primary-bright);
            font-weight: 500;
        }
        .modal-phone-btn {
            display: inline-block;
            background: var(--primary-deep);
            color: white;
            font-size: 1.8rem;
            font-weight: 700;
            padding: 0.8rem 2rem;
            border-radius: 60px;
            text-decoration: none;
            margin: 1rem 0;
            border: 2px solid var(--accent-gold);
            transition: all 0.3s;
        }
        .modal-phone-btn:hover {
            background: var(--primary-bright);
            color: var(--bg-dark);
            border-color: white;
        }
        .modal-close {
            background: transparent;
            border: 2px solid var(--primary-medium);
            color: var(--primary-medium);
            padding: 0.5rem 2rem;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
        }
        .modal-close:hover {
            background: var(--primary-medium);
            color: white;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, #edf2f4 0%, #d4e2ed 100%);
            position: relative;
            overflow: hidden;
            background-image: url('/assets/img/portada1.png');
            background-size: cover;
            background-position: center;
        }
        .hero::before {
            content: '';
            position: absolute;
            width: 600px; height: 600px;
            background: radial-gradient(circle, var(--primary-bright) 0%, transparent 70%);
            opacity: 0.1;
            border-radius: 50%;
            top: -200px; right: -200px;
        }
        .hero-container {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
            position: relative;
            z-index: 2;
        }
        .hero-badge {
            background: var(--accent-gold);
            color: var(--bg-dark);
            padding: 0.4rem 1.5rem;
            border-radius: 60px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }
        .hero h1 {
            color: var(--primary-deep);
            line-height: 1.2;
        }
        .hero h1 span {
            color: var(--primary-bright);
            border-bottom: 3px solid var(--accent-gold);
        }
        .hero p {
            color: var(--primary-medium);
            margin: 2rem 0;
            font-size: 1.3rem;
        }
        .hero-actions {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        .btn-primary {
            background: var(--primary-deep);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1.2rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            box-shadow: 0 10px 20px rgba(0,53,71,0.4);
        }
        .btn-primary:hover {
            background: var(--primary-bright);
            transform: translateY(-5px) scale(1.02);
            color: var(--bg-dark);
        }
        .btn-wa {
            background: #25D366;
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1.2rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
        }
        .btn-wa:hover {
            background: #20b859;
            transform: translateY(-5px) scale(1.02);
        }
        .hero-image img {
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            box-shadow: 40px 40px 60px rgba(0,53,71,0.3);
            transition: 0.5s;
        }
        .hero-image img:hover {
            border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
        }

        /* ===== SECCIÓN CARDS DE SERVICIOS (MARKETING) ===== */
        .services {
            background: white;
        }
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        .section-header h2 i {
            color: var(--accent-gold);
            margin-right: 10px;
        }
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            max-width: 1300px;
            margin: 0 auto;
        }
        .card {
            background: var(--bg-light);
            border-radius: 40px 20px 40px 20px;
            padding: 2.5rem 1.8rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(0,176,240,0.2);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        .card::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; width: 100%; height: 5px;
            background: linear-gradient(90deg, var(--primary-bright), var(--accent-gold));
            transition: height 0.3s;
        }
        .card:hover {
            transform: translateY(-20px) scale(1.02);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent-gold);
        }
        .card:hover::after {
            height: 10px;
        }
        .card-icon {
            font-size: 3.5rem;
            color: var(--primary-bright);
            margin-bottom: 1rem;
        }
        .card h3 {
            font-size: 1.8rem;
            color: var(--primary-deep);
        }
        .card p {
            color: var(--primary-medium);
            margin: 1rem 0;
        }
        .card-link {
            text-decoration: none;
            font-weight: 700;
            color: var(--primary-deep);
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .card-link:hover {
            color: var(--primary-bright);
            gap: 15px;
        }

        /* ===== CTA WHATSAPP DESTACADO ===== */
        .cta-wa-block {
            background: linear-gradient(145deg, var(--primary-deep), #001f2b);
            border-radius: 80px 20px 80px 20px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-around;
            padding: 3rem 4rem;
            max-width: 1300px;
            margin: 0 auto;
            box-shadow: 0 30px 40px rgba(0,0,0,0.3);
            transition: 0.4s;
            border: 2px solid var(--accent-gold);
        }
        .cta-wa-block:hover {
            border-radius: 30px 80px 30px 80px;
            background: var(--primary-medium);
        }
        .cta-text h2 {
            color: white;
            font-size: 2.5rem;
        }
        .cta-text p {
            color: #edf2f4;
            font-size: 1.3rem;
        }
        .cta-button-wa {
            background: var(--accent-gold);
            color: var(--bg-dark);
            padding: 1.5rem 3rem;
            border-radius: 60px;
            font-size: 2rem;
            font-weight: 800;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 20px 30px rgba(0,0,0,0.5);
            border: 3px solid white;
        }
        .cta-button-wa:hover {
            background: white;
            color: #25D366;
            transform: scale(1.05) rotate(-1deg);
        }

        /* ===== FOOTER PROFESIONAL ===== */
        footer {
            background: var(--bg-dark);
            color: var(--bg-light);
            padding: 4rem 2rem 1rem;
        }
        .footer-grid {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }
        .footer-col h4 {
            color: var(--accent-gold);
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--primary-bright);
            padding-left: 1rem;
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col li, .footer-col p {
            margin-bottom: 0.8rem;
        }
        .footer-col a {
            color: var(--bg-light);
            text-decoration: none;
            transition: 0.3s;
            display: inline-block;
        }
        .footer-col a:hover {
            color: var(--primary-bright);
            transform: translateX(8px);
        }
        .social-icons {
            display: flex;
            gap: 1rem;
            font-size: 2rem;
        }
        .social-icons a:hover {
            color: var(--accent-gold) !important;
            transform: translateY(-5px);
        }
        .footer-bottom {
            text-align: center;
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid #003547;
            color: #aaa;
        }

         /* Responsive general */
        @media (max-width: 900px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .cta-wa-block {
                flex-direction: column;
                text-align: center;
                gap: 30px;
                padding: 2rem;
            }
            .cta-button-wa {
                font-size: 1.5rem;
                padding: 1rem 2rem;
            }
        }

/* ===== VIDEO HERO SECTION ===== */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa el 100% del alto de la ventana */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover; /* Asegura que el video cubra todo el espacio */
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 53, 71, 0.6) 0%, rgba(0, 176, 240, 0.3) 100%);
    z-index: 2;
    pointer-events: none; /* Permite que los clics pasen al video si es necesario */
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    pointer-events: none; /* El texto no interfiere con interacciones */
}

.video-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.9);
    color: var(--primary-deep, #003547);
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    padding: 1rem 3rem;
    border-radius: 60px;
    backdrop-filter: blur(5px);
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite ease-in-out;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Animación suave para el letrero */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(255, 215, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
    .video-badge {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Opcional: Si quieres que el video tenga un efecto al hacer scroll (parallax suave) */
.video-background {
    transition: transform 0.3s ease;
}
.video-hero:hover .video-background {
    transform: translate(-50%, -50%) scale(1.02);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulse-wa 2s infinite;
    border: 3px solid white;
}

.whatsapp-float:hover {
    background: linear-gradient(145deg, #128C7E, #075E54);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

/* Tooltip que aparece al hover */
.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    background: var(--primary-deep, #003547);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 30px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--accent-gold, #FFD700);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-deep, #003547);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 95px;
}

/* Animación de pulso */
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móviles para no saturar */
    }
}


.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-gold, #FFD700);
    color: var(--primary-deep, #003547);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}