:root {
    /* Paleta VIVA 2026 */
    --primary: #00d2ff;      /* Azul Cyan Eléctrico */
    --primary-dark: #0072ff; /* Azul Profundo */
    --secondary: #00ff87;    /* Verde Neón */
    --text: #333;
    --white: #fff;
    --gradient-blue: linear-gradient(135deg, #00d2ff, #0072ff);
    --gradient-green: linear-gradient(135deg, #00ff87, #00b09b);
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Open Sans', sans-serif; background: #fdfdfd; color: var(--text); overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Poppins', sans-serif; font-weight: 800; }

/* --- BARRA SOCIAL LATERAL --- */
.social-sidebar { position: fixed; right:0; top:50%; transform:translateY(-50%); z-index:1000; display:flex; flex-direction:column; }
.social-link { width:50px; height:50px; display:flex; align-items:center; justify-content:center; color:white; font-size:1.2rem; transition:0.3s; }
.social-link:hover { width:70px; }
.facebook { background:#3b5998; } .instagram { background:#E1306C; } .youtube { background:#FF0000; } .whatsapp { background:#25D366; }

/* --- NAVBAR --- */
nav { 
    position:fixed; width:100%; padding:15px 5%; display:flex; justify-content:space-between; align-items:center; 
    z-index:900; background:rgba(255,255,255,0.95); box-shadow:0 2px 10px rgba(0,0,0,0.1); transition: 0.3s;
}

/* Logo */
.logo-link { display: flex; align-items: center; }
.main-logo { height: 40px; width: auto; transition: 0.3s ease; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1)); }
nav.sticky .main-logo { height: 35px; }

/* Menu Desktop */
.nav-links { display:flex; gap:20px; list-style:none; }
.nav-links a { text-decoration:none; color:#333; font-weight:600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary-dark); }
.btn-nav { background:var(--gradient-blue); color:white !important; padding:8px 25px; border-radius:50px; transition: 0.3s; }
.btn-nav:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3); }

/* Menú Hamburguesa (Oculto en PC) */
.menu-toggle { display: none; font-size: 1.8rem; color: #333; cursor: pointer; }

/* --- HERO SLIDER --- */
.hero-slider { height:90vh; position:relative; }
.swiper-slide { background-size:cover; background-position:center; display:flex; align-items:center; justify-content:center; text-align:center; padding: 0 20px; }
.overlay-modern { position:absolute; inset:0; background:linear-gradient(to right, rgba(0,50,150,0.6), rgba(0,200,255,0.3)); }
.slide-content { position:relative; z-index:2; color:white; width: 100%; max-width: 900px; }
.slide-content h1 { font-size:4rem; margin:20px 0; text-shadow:0 5px 15px rgba(0,0,0,0.3); line-height: 1.1; }
.highlight { color:var(--secondary); }
.badge-modern { background:var(--secondary); color:#005c28; padding:5px 15px; border-radius:20px; font-weight:bold; text-transform: uppercase; font-size: 0.8rem; }
.custom-shape-divider-bottom { position:absolute; bottom:0; width:100%; z-index:5; line-height: 0; }
.shape-fill { fill:#fdfdfd; }

/* --- ADN SECTION --- */
.adn-section { padding:80px 5%; text-align:center; }
.adn-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.adn-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:30px; margin-top:40px; }
.adn-card { background:#f4f9ff; padding:30px; border-radius:20px; border:1px solid #eef; transition:0.3s; }
.adn-card:hover { transform:translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.highlight-card { background:var(--gradient-blue); color:white; }
.highlight-card .adn-icon { background:rgba(255,255,255,0.2); color:white; }
.adn-icon { width:70px; height:70px; background:#e0f2ff; color:var(--primary-dark); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.8rem; }

/* --- SERVICIOS CON CLICK --- */
.services-section { padding:80px 5%; background:#f0f8ff; }
.section-head { text-align:center; margin-bottom:50px; }
.underline { width:70px; height:5px; background:var(--gradient-green); margin:10px auto; border-radius:5px; }
.services-wrapper { display:flex; flex-wrap:wrap; gap:30px; justify-content:center; }
.service-box { background:white; width:300px; border-radius:15px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.05); cursor:pointer; transition:0.3s; position:relative; }
.service-box:hover { transform:scale(1.05); }
.img-box img { width:100%; height:180px; object-fit:cover; }
.txt-box { padding:25px; text-align:center; margin-top: 15px; }
.icon-serv { position:absolute; top:150px; left:50%; transform:translateX(-50%); background:var(--primary); color:white; width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.5rem; border:4px solid white; }
.click-info { display:block; margin-top:15px; color:var(--primary-dark); font-size:0.9rem; font-weight:bold; }

/* --- EQUIPOS GRID --- */
.equipos-section { padding:80px 5%; background:white; }
.equipos-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:30px; }
.equip-card { background:#fff; border-radius:15px; overflow:hidden; border:1px solid #eee; box-shadow:0 5px 15px rgba(0,0,0,0.05); transition:0.3s; }
.equip-card:hover { box-shadow:0 15px 30px rgba(0,0,0,0.15); transform:translateY(-5px); }
.equip-card img { width:100%; height:200px; object-fit:cover; }
.equip-content { padding:25px; }
.equip-content h4 { color:var(--primary-dark); margin-bottom:15px; font-size:1.2rem; }
.equip-content ul { padding-left:20px; font-size:0.9rem; color:#555; line-height:1.6; }

/* --- PARALLAX AGUA --- */
.water-break { background:url('https://images.unsplash.com/photo-1574786358485-a7b53995874c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') fixed center; padding:100px 5%; text-align:center; background-size: cover; }
.water-content { background:rgba(255,255,255,0.9); display:inline-block; padding:30px 50px; border-radius:10px; }
.water-content h2 { color:var(--primary-dark); margin:0; }

/* --- CONTACTO --- */
.contact-section { padding:80px 5%; background:var(--gradient-blue); }
.contact-layout { display:flex; gap:40px; flex-wrap:wrap; }
.form-wrapper, .map-wrapper { flex:1; background:white; padding:40px; border-radius:20px; width: 100%; }
input, select, textarea { width:100%; padding:12px; margin-bottom:15px; border:1px solid #ddd; border-radius:8px; background:#f9f9f9; }
.btn-submit { width:100%; background:var(--primary-dark); color:white; padding:15px; border:none; border-radius:8px; font-weight:bold; cursor:pointer; }
.info-card p { margin-bottom:10px; } .info-card i { color:var(--primary); margin-right:10px; }

/* --- FOOTER --- */
footer { background: #1a1a1a; color: #888; text-align: center; padding: 40px 20px; }
footer img { height: 40px; margin-bottom: 15px; } 

/* --- ESTILOS MODALES --- */
.modal-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:2000; align-items:center; justify-content:center; backdrop-filter:blur(5px); }
.modal-content { background:white; width:90%; max-width:600px; max-height:80vh; overflow-y:auto; border-radius:20px; padding:30px; position:relative; animation:slideUp 0.3s ease; }
.close-modal { position:absolute; top:15px; right:20px; font-size:2rem; cursor:pointer; color:#777; }
.modal-header { display:flex; align-items:center; gap:15px; margin-bottom:20px; color:var(--primary-dark); border-bottom:2px solid #eee; padding-bottom:15px; }
.modal-header i { font-size:2rem; }
.modal-list { list-style:none; }
.modal-list li { padding:10px 0; border-bottom:1px solid #f5f5f5; display:flex; align-items:start; gap:10px; color:#444; }
.modal-list li::before { content:"✔"; color:var(--secondary); font-weight:bold; }

@keyframes slideUp { from { transform:translateY(50px); opacity:0; } to { transform:translateY(0); opacity:1; } }

/* --- RESPONSIVE MOBILE (CELULARES) --- */
@media(max-width: 900px) { 
    /* Menú Hamburguesa */
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute; top: 70px; left: 0; width: 100%;
        background: white; flex-direction: column; align-items: center;
        padding: 40px 0; gap: 25px;
        clip-path: circle(0px at 100% 0px); /* Oculto con efecto */
        transition: 0.5s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { clip-path: circle(150% at 100% 0px); } /* Visible al activar */
    
    /* Textos y Tamaños */
    .slide-content h1 { font-size: 2.2rem; } /* Título slider más pequeño */
    .slide-content p { font-size: 1rem; padding: 0 10px; }
    .adn-header h2, .section-head h2 { font-size: 2rem; }
    
    /* Layouts */
    .contact-layout { flex-direction: column; }
    .form-wrapper, .map-wrapper { width: 100%; padding: 25px; }
    .social-sidebar { display: none; } /* Ocultar barra social en móvil para no tapar */
    .main-logo { height: 35px; }
    
    /* Servicios */
    .service-box { width: 100%; max-width: 350px; }
}