/* Archivo de estilos principal para Play Design Publicidad */
/* --- VARIABLES Y RESET --- */
        :root {
            --wheel-size: 600px;      
            --item-size: 80px;        
            --wheel-bg: rgba(255, 255, 255, 0.1);
            --wheel-border: rgba(255, 255, 255, 0.2);
            --accent-color: #4ade80; 
            --text-color: #ffffff;
            --transition-speed: 0.8s;
            --footer-bg: #111111;
            --footer-text: #a1a1aa;
            --whatsapp-green: #25d366;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Barlow', sans-serif;
        }

        body {
            overflow-x: hidden; 
            background-color: #1a1a1a;
        }

        /* --- WHATSAPP FLOTANTE STYLES --- */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 40px;
            background-color: var(--whatsapp-green);
            color: #FFF;
            border-radius: 50%;
            text-align: center;
            font-size: 32px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            z-index: 10000; /* Siempre visible encima de todo */
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            /* Animación constante de pulso */
            animation: whatsapp-pulse 2s infinite;
        }

        .whatsapp-float:hover {
            background-color: #128C7E; /* Verde más oscuro al hover */
            transform: scale(1.1) rotate(10deg); /* Efecto pop al hover */
        }

        /* Tooltip opcional al hover */
        .whatsapp-float::after {
            content: "¡Chatea con nosotros!";
            position: absolute;
            right: 75px;
            top: 50%;
            transform: translateY(-50%) translateX(10px);
            background: white;
            color: #333;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .whatsapp-float:hover::after {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(0);
        }

        @keyframes whatsapp-pulse {
            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); }
        }

        /* --- NAV MENU --- */
        .main-nav {
            position: fixed; top: 0; left: 0; width: 100%;
            display: flex; justify-content: space-between; align-items: center;
            padding: 20px 5%; z-index: 1000;
            background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
            transition: all 0.3s ease; /* Transición suave para todos los cambios */
        }

        /* ESTADO SCROLL (MODIFICADO) */
        .main-nav.scrolled {
            background-color: rgba(0, 0, 0, 0.7); /* Fondo negro semitransparente más suave */
            backdrop-filter: blur(10px); /* Efecto vidrio/desenfoque */
            box-shadow: 0 4px 20px rgba(0,0,0,0.2); 
            padding: 15px 5%; /* Nav un poco más compacta */
        }

        /* Logo estilo Footer: Invert(1) simple */
        .main-nav.scrolled .logo img {
            filter: invert(1) !important;
        }

        /* Forzar enlaces blancos al hacer scroll */
        .main-nav.scrolled .nav-link {
            color: white !important;
        }
        
        .hero.light-mode .main-nav {
            background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, transparent 100%);
        }
        .hero.light-mode .nav-link i, 
        .hero.light-mode .nav-link svg { color: #1a1a1a; }
        .hero.light-mode .nav-link img { filter: invert(0) brightness(0.2); }

        .logo img { height: 40px; display: block; transition: filter 0.3s; }
        .hero.light-mode .logo img { filter: invert(1); } 

        .nav-links { display: flex; list-style: none; gap: 40px; align-items: center; }
        .nav-link {
            text-decoration: none; color: white; position: relative;
            display: flex; align-items: center; justify-content: center;
            transition: 0.3s; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
        }
        .nav-link img {
            height: 50px; transition: 0.3s; display: block; 
        }
        .nav-link:hover img { transform: scale(1.1); filter: drop-shadow(0 0 5px var(--accent-color)); }

        .hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1001; }
        .hamburger span { width: 30px; height: 3px; background-color: white; transition: 0.4s; border-radius: 2px; }
        .hero.light-mode .hamburger span { background-color: #1a1a1a; }
        .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 6px); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -5px); }

        /* --- SECCIÓN HERO --- */
        .hero {
            position: relative; width: 100vw; height: 100vh;
            display: flex; align-items: center; padding-left: 10%;
            overflow: hidden;
            background-color: #1a1a1a; 
            transition: background-color 0.5s;
        }
        .hero.light-mode { background-color: #f8fafc; }

        .hero-bg {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-size: cover; background-position: center;
            transition: transform 1s ease, opacity 0.5s ease;
            z-index: 1; opacity: 1;
        }
        
        .overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
            z-index: 2; transition: opacity 0.5s;
        }
        .hero.light-mode .overlay { opacity: 0; }

        /* --- FONDOS ANIMADOS --- */
        .custom-bg-wrapper {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            z-index: 1; pointer-events: none;
        }
        
        .custom-layer {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: transparent; opacity: 0; transition: opacity 0.8s ease-in-out;
            display: flex; justify-content: center; align-items: center;
            overflow: hidden;
        }
        .custom-layer.active { opacity: 1; }

        /* Animaciones (Simplificadas para brevedad) */
        .bg-circle { position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(0,0,0,0.05); }
        .c-1 { width: 50vh; height: 50vh; border: 2px dashed rgba(74, 222, 128, 0.3); animation: spin 20s linear infinite; }
        .c-2 { width: 80vh; height: 80vh; border: 1px solid rgba(0,0,0,0.08); animation: spin 30s linear infinite reverse; }
        .c-3 { width: 120vh; height: 120vh; border: 1px dotted rgba(0,0,0,0.15); animation: spin 60s linear infinite; }
        .c-4 { width: 160vh; height: 160vh; border: 1px solid rgba(0,0,0,0.03); }

        .custom-layer.grid-theme { background-image: radial-gradient(rgba(0,0,0,0.1) 1px, transparent 1px); background-size: 30px 30px; }
        .grid-anim-bg { position: absolute; width: 200%; height: 200%; top: -50%; left: -50%; background-image: linear-gradient(0deg, transparent 24%, rgba(0,0,0,0.03) 25%, rgba(0,0,0,0.03) 26%, transparent 27%, transparent 74%, rgba(0,0,0,0.03) 75%, rgba(0,0,0,0.03) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(0,0,0,0.03) 25%, rgba(0,0,0,0.03) 26%, transparent 27%, transparent 74%, rgba(0,0,0,0.03) 75%, rgba(0,0,0,0.03) 76%, transparent 77%, transparent); background-size: 100px 100px; transform: perspective(500px) rotateX(60deg); animation: moveGrid 20s linear infinite; }
        .floating-shape { position: absolute; border: 2px solid var(--accent-color); opacity: 0.6; animation: floatShape 8s ease-in-out infinite; }
        .s-1 { width: 100px; height: 100px; top: 20%; left: 20%; border-color: rgba(255, 200, 42, 0.4); background: rgba(255, 200, 42, 0.05); }
        .s-2 { width: 150px; height: 150px; bottom: 15%; right: 30%; border-color: rgba(0,0,0,0.1); animation-delay: 2s; }

        .triangle-bg { position: absolute; width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid rgba(0,0,0,0.05); animation: floatUp 15s linear infinite; }
        .t-1 { left: 10%; bottom: -100px; border-bottom-color: rgba(236, 38, 143, 0.1); animation-duration: 12s; transform: scale(2); }
        .t-2 { left: 30%; bottom: -100px; border-bottom-color: rgba(0,0,0,0.03); animation-duration: 18s; animation-delay: 2s; transform: scale(1.5); }
        .t-3 { left: 70%; bottom: -100px; border-bottom-color: rgba(236, 38, 143, 0.05); animation-duration: 25s; transform: scale(3); }
        .t-4 { left: 90%; bottom: -100px; border-bottom-color: rgba(0,0,0,0.02); animation-duration: 20s; animation-delay: 5s; }

        .wave-blob { position: absolute; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; background: linear-gradient(45deg, rgba(32, 30, 30, 0.05), rgba(32, 30, 30, 0.01)); animation: morphBlob 10s ease-in-out infinite alternate; }
        .w-1 { width: 600px; height: 600px; top: -10%; right: -10%; border: 1px solid rgba(32, 30, 30, 0.05); }
        .w-2 { width: 400px; height: 400px; bottom: 10%; left: 10%; background: rgba(32, 30, 30, 0.03); animation-duration: 15s; animation-direction: alternate-reverse; }

        .sun-rays { position: absolute; width: 150vmax; height: 150vmax; background: repeating-conic-gradient(from 0deg, transparent 0deg, transparent 10deg, rgba(237, 50, 55, 0.03) 10deg, rgba(237, 50, 55, 0.03) 20deg); animation: spin 120s linear infinite; }

        .arch-line { position: absolute; background: rgba(0, 175, 239, 0.1); }
        .al-1 { width: 1px; height: 100%; left: 33%; animation: slideLineY 5s ease-in-out infinite alternate; }
        .al-2 { width: 1px; height: 100%; left: 66%; animation: slideLineY 7s ease-in-out infinite alternate-reverse; }
        .al-3 { height: 1px; width: 100%; top: 33%; animation: slideLineX 6s ease-in-out infinite alternate; }
        .al-4 { height: 1px; width: 100%; top: 66%; animation: slideLineX 8s ease-in-out infinite alternate-reverse; }
        .arch-box { position: absolute; width: 100px; height: 100px; border: 2px solid rgba(0, 175, 239, 0.2); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulseBox 4s ease-in-out infinite; }

        /* --- FEATURE IMG --- */
        .hero-feature-img {
            position: absolute; z-index: 5;
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
            pointer-events: none;
            display: flex; justify-content: center; align-items: center;
            top: 50%; right: 5%;
            transform: translateY(-50%) translateX(30px);
            opacity: 0;
            max-width: 45%; max-height: 80vh;
        }

        .hero-feature-img.active { opacity: 1; transform: translateY(-50%) translateX(0); }
        .hero-feature-img img {
            width: 100%; height: auto; object-fit: contain;
            filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
            animation: float 6s ease-in-out infinite;
        }
        .hero.light-mode .hero-feature-img img { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)); }

        @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

        /* --- CONTENIDO --- */
        .hero-content {
            position: relative; z-index: 10;
            color: var(--text-color);
            max-width: 600px; opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 1s forwards 0.5s;
        }
        
        .hero.light-mode .hero-title { color: #1a1a1a; text-shadow: none; }
        .hero.light-mode .hero-desc { color: #4a4a4a; }

        .hero-tag {
            font-size: 1rem; letter-spacing: 4px; text-transform: uppercase;
            color: var(--accent-color); margin-bottom: 10px; display: block; font-weight: 700;
        }
        .hero-title {
            font-size: 5rem; line-height: 1; margin-bottom: 20px; font-weight: 700;
            text-transform: uppercase; text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
        }
        .hero-desc {
            font-size: 1.15rem; line-height: 1.6; margin-bottom: 30px; font-weight: 300;
            color: rgba(255, 255, 255, 0.9);
        }

        /* --- BOTONES CTA (MODIFICADO) --- */
        .cta-group {
            display: flex; gap: 20px; flex-wrap: wrap;
        }
        
        .cta-btn {
            padding: 15px 30px; 
            background: var(--accent-color); 
            color: white;
            border: 2px solid var(--accent-color); /* Agregado border para igualar tamaños */
            border-radius: 0px; font-weight: 600; cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase; letter-spacing: 2px;
            display: inline-block;
            text-decoration: none;
        }
        
        /* Botón Primario (Relleno) */
        .cta-btn:not(.outline):hover { 
            transform: scale(1.05); 
            background: white; 
            border-color: white;
            color: var(--accent-color); 
        }
        .hero.light-mode .cta-btn:not(.outline):hover { 
            background: #1a1a1a; 
            border-color: #1a1a1a;
            color: white; 
        }

        /* Botón Secundario (Outline / Cotiza) */
        .cta-btn.outline {
            background: transparent;
            color: white; /* Blanco en modo oscuro */
        }
        
        /* Ajuste de color de texto del botón outline en modo claro */
        .hero.light-mode .cta-btn.outline {
            color: #1a1a1a; 
        }
        
        .cta-btn.outline:hover {
            background: var(--accent-color);
            color: white !important; /* Siempre blanco al hover sobre el color de acento */
            transform: scale(1.05);
        }


        /* --- RULETA --- */
        .roulette-wrapper {
            position: absolute; bottom: -300px; right: -300px;
            width: var(--wheel-size); height: var(--wheel-size); z-index: 20;
            display: flex; justify-content: center; align-items: center;
        }
        .wheel {
            position: relative; width: 100%; height: 100%;
            border-radius: 50%; border: 2px solid var(--wheel-border);
            background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.15) 100%);
            backdrop-filter: blur(5px);
            transition: transform var(--transition-speed) cubic-bezier(0.23, 1, 0.32, 1);
            box-shadow: 0 0 50px rgba(0,0,0,0.5);
        }
        .hero.light-mode .wheel {
            background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
            border-color: rgba(0,0,0,0.1); box-shadow: 0 0 30px rgba(0,0,0,0.1);
        }
        .hero.light-mode .wheel::after { border-color: rgba(0,0,0,0.1); }
        .wheel::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; height: 60%; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.3); }

        .wheel-item {
            position: absolute; top: 50%; left: 50%;
            width: var(--item-size); height: var(--item-size);
            margin-top: calc(var(--item-size) / -2); margin-left: calc(var(--item-size) / -2);
            cursor: pointer; z-index: 10;
            transition: transform var(--transition-speed) cubic-bezier(0.23, 1, 0.32, 1);
            transform: rotate(var(--angle)) translate(calc(var(--wheel-size) / 2)) rotate(calc((var(--angle) * -1) - var(--wheel-rotation, 0deg)));
        }
        .wheel-item-inner {
            width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
            border: 3px solid var(--item-color); background: rgba(0,0,0,0.5);
            box-shadow: 0 0 10px rgba(0,0,0,0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .wheel-item-inner img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.3s; filter: brightness(0.8); }
        .wheel-item:hover .wheel-item-inner { transform: scale(1.15); box-shadow: 0 0 15px var(--item-color); }
        .wheel-item:hover .wheel-item-inner img { filter: brightness(1); }
        .wheel-item.active { z-index: 15; }
        .wheel-item.active .wheel-item-inner { transform: scale(1.3); border-color: var(--item-color); box-shadow: 0 0 30px var(--item-color), inset 0 0 10px var(--item-color); }
        .wheel-item.active .wheel-item-inner img { filter: brightness(1.1); }

        @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

        /* --- FOOTER --- */
        .main-footer {
            background-color: var(--footer-bg);
            color: var(--footer-text);
            padding: 60px 5% 20px;
            position: relative;
            z-index: 50;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-col h4 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .footer-logo { margin-bottom: 20px; max-width: 150px; }
        .footer-logo img { width: 100%; filter: invert(1); }
        .footer-desc { line-height: 1.6; margin-bottom: 20px; font-size: 0.95rem; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: var(--footer-text); text-decoration: none; transition: color 0.3s; display: inline-flex; align-items: center; gap: 8px; }
        .footer-links a:hover { color: var(--accent-color); }
        .social-links { display: flex; gap: 15px; }
        .social-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; color: white; text-decoration: none; transition: 0.3s; }
        .social-icon:hover { background: var(--accent-color); transform: translateY(-3px); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.4); }
        
        /* --- RESPONSIVIDAD --- */
        @media (max-width: 900px) {
             .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .hamburger { display: flex; }
            .nav-links {
                position: fixed; top: 0; right: 0; height: 100vh; width: 100%;
                background: rgba(0, 0, 0, 0.95);
                flex-direction: column; justify-content: center; align-items: center;
                transform: translateX(100%); transition: transform 0.5s ease-in-out;
                z-index: 1000;
            }
            .hero.light-mode .nav-links { background: rgba(255,255,255,0.98); }

            .nav-links.active { transform: translateX(0); }
            .nav-item { opacity: 0; transform: translateY(20px); transition: 0.5s; }
            .nav-links.active .nav-item { opacity: 1; transform: translateY(0); }
            .nav-links.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
            .nav-links.active .nav-item:nth-child(2) { transition-delay: 0.2s; }

            .hero { padding-left: 5%; align-items: flex-start; padding-top: 120px; }
            .hero-content { margin-top: -30px; }
            .hero-title { font-size: 3rem; } 
            
            .hero-feature-img {
                top: auto; bottom: 120px; left: 50%; right: auto;
                transform: translate(-50%, 20px); opacity: 0;
                max-width: 95%; max-height: 50vh; width: auto; z-index: 5;
            }
            .hero-feature-img.active { opacity: 1; transform: translate(-50%, 0); }
            .hero-feature-img img { filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); animation: none; }

            .roulette-wrapper {
                position: fixed; bottom: 0; left: 0; right: 0;
                width: 100%; height: 100px; transform: none;
                background: rgba(0, 0, 0, 0.8);
                backdrop-filter: blur(15px);
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                display: flex; justify-content: flex-start; align-items: center;
                overflow-x: auto; padding: 0;
                scrollbar-width: none; scroll-behavior: smooth;
                z-index: 100;
            }
            .hero.light-mode .roulette-wrapper { background: rgba(255, 255, 255, 0.9); border-top: 1px solid rgba(0,0,0,0.1); }
            .roulette-wrapper::-webkit-scrollbar { display: none; }

            .wheel {
                width: max-content; height: 100%; 
                background: none; border: none; box-shadow: none; border-radius: 0;
                display: flex; flex-direction: row; align-items: center; gap: 20px;
                transform: none !important;
                padding: 0 calc(50vw - 30px);
            }
            .wheel::after { display: none; }

            .wheel-item {
                position: relative; top: auto; left: auto; margin: 0;
                transform: none !important; flex-shrink: 0; width: 60px; height: 60px;
            }
            .wheel-item-inner { border-width: 2px; }
            .wheel-item.active .wheel-item-inner { transform: scale(1.2); }
            
            .main-footer { padding-bottom: 120px; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .footer-logo { margin: 0 auto 20px; text-align: center; }
            .footer-desc { text-align: center; }
            .social-links { justify-content: center; }

            /* AJUSTE WHATSAPP EN MOVIL PARA NO TAPAR RULETA */
            .whatsapp-float {
                bottom: 120px; /* Sube para quedar encima de la ruleta (que mide 100px) */
                right: 20px;
                width: 50px;
                height: 50px;
                font-size: 28px;
            }
        }

        /* =========================================
   NUEVOS ESTILOS PARA EL CONTENIDO (SCROLL)
   ========================================= */

/* AJUSTE IMPORTANTE: Permitir scroll vertical */
body {
    overflow-x: hidden; /* Solo ocultamos desborde horizontal */
    overflow-y: auto;   /* Permitimos scroll vertical */
    background-color: #111; /* Fondo general */
}

/* Clases Generales de Sección */
.section-padding {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--accent-color); /* Se adapta al color de la ruleta */
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1rem;
}

/* --- SECCIÓN SERVICIOS (GRID) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 0px; /* Estilo cuadrado minimalista */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    group: hover;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    transition: 0.3s;
}

.service-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-card p {
    color: #a1a1aa;
    line-height: 1.6;
    font-weight: 300;
}

/* Efecto de linea al hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 3px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}
.service-card:hover::after { width: 100%; }


/* --- SECCIÓN NOSOTROS (SPLIT) --- */
.about-section {
    background: linear-gradient(to right, #111 50%, #161616 50%);
}

.about-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
}

.about-img {
    flex: 1;
    position: relative;
    /* CAMBIO: Centramos el contenido horizontalmente para que el video vertical quede bien */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CAMBIO: Estilos específicos optimizados para video vertical 9:16 */
.about-img video {
    width: 100%;
    max-width: 380px; /* Ancho restringido para simular formato móvil/vertical */
    aspect-ratio: 9/16; /* Fuerza la proporción vertical */
    height: auto; 
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: all 0.5s ease;
    box-shadow: 20px 20px 0px rgba(255,255,255,0.05);
    border-radius: 20px; /* Bordes redondeados estéticos */
}

/* Mantenemos soporte por si decides volver a poner una imagen */
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: 0.5s;
    box-shadow: 20px 20px 0px rgba(255,255,255,0.05);
}

.about-img:hover video {
    filter: grayscale(0%);
    box-shadow: 20px 20px 0px var(--accent-color);
    transform: translateY(-5px); /* Pequeña animación de flotación */
}

.about-img:hover img {
    filter: grayscale(0%);
    box-shadow: 20px 20px 0px var(--accent-color);
}

.about-text {
    flex: 1;
    color: white;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.feature-box h4 {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 800;
}

.feature-box p {
    color: #a1a1aa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- SECCIÓN PORTAFOLIO / GALERÍA --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas */
    gap: 10px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay h4 {
    color: white;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: 0.4s;
}

.gallery-item:hover h4 { transform: translateY(0); }


/* --- RESPONSIVE DE SECCIONES NUEVAS --- */
@media (max-width: 900px) {
    .about-section { background: #111; }
    .about-container { flex-direction: column; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .section-title h2 { font-size: 2rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .about-features { flex-direction: column; gap: 15px; }
}

/* =========================================
   ESTILOS DEL MODAL (NUEVO)
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #1a1a1a;
    margin: auto;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: white;
    text-decoration: none;
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.modal-header h2 {
    color: white;
    font-size: 2rem;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

.modal-body {
    display: flex;
    padding: 40px;
    gap: 40px;
}

.modal-img-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    min-height: 200px;
}

.modal-img-container img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.modal-text {
    flex: 1.2;
    color: #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-list {
    list-style: none;
    margin-bottom: 30px;
}

.modal-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.modal-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* ESTILOS ESPECÍFICOS PARA EL MODAL "SOBRE NOSOTROS" */
.about-body-content {
    display: block; /* Override flex */
    padding: 40px;
    color: #ccc;
}
.about-body-content h3 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}
.about-body-content h3:first-child { margin-top: 0; }
.about-body-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
}
.about-body-content strong {
    color: white;
    font-weight: 700;
}
.about-quote {
    font-style: italic;
    color: white;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 2px solid var(--accent-color);
}
.about-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
.about-list li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- NUEVOS ESTILOS: UX DE CONTACTO EN MODAL --- */
.contact-dashboard {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* Botones Principales (Card Style) */
.contact-card-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.contact-card-btn:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-card-btn i {
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--accent-color);
    transition: 0.3s;
}
.contact-card-btn:hover i {
    background: var(--accent-color);
    color: #111;
}

.contact-info {
    display: flex;
    flex-direction: column;
}
.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 2px;
}
.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Grid de Teléfonos */
.phones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}
.phone-btn {
    background: rgba(74, 222, 128, 0.05);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.phone-btn:hover {
    background: var(--accent-color);
    color: #111;
}

/* Redes Sociales Colores */
.social-btn-group {
    display: flex;
    gap: 10px;
}
.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    color: white;
}

.sb-instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    opacity: 0.8;
}
.sb-facebook {
    background: #1877F2;
    opacity: 0.8;
}
.sb-instagram:hover, .sb-facebook:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Ajuste responsive para modal contacto */
@media (max-width: 600px) {
    .phones-grid { grid-template-columns: 1fr; }
    .contact-grid-modal { grid-template-columns: 1fr; }
}

/* Ajuste responsive para el modal */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .modal-img-container {
        display: none; /* Ocultar imagen en móvil para ahorrar espacio si se desea, o reducirla */
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 20px;
    }
}