/* --- Base y Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #000 url('../images/tech-bg.webp') fixed center/cover; color: #fff; line-height: 1.6; padding-bottom: 80px; } /* padding-bottom para evitar solapamiento con WA */
section { background: rgba(0, 0, 0, 0.85); }
/* --- Header Sticky --- */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 50px; position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(0, 0, 0, 0.95); border-bottom: 1px solid #222; }
.logo a { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: #00ff9d; text-decoration: none; }
/* --- Navegación --- */
nav { display: flex; align-items: center; }
nav > a, .dropdown > a, .dropdown-content a { color: #fff; margin-left: 25px; text-decoration: none; font-size: 0.9rem; cursor: pointer; transition: color 0.3s ease; }
.active-page { color: #00ff9d !important; }
nav a:not(.btn-style):hover, .dropdown:hover > a { color: #00ff9d !important; }
.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; background: #111; min-width: 200px; top: 100%; right: 0; border: 1px solid #222; border-radius: 5px; padding: 10px 0; z-index: 999; }
.dropdown-content a { display: block; padding: 10px 20px; }
.dropdown-content a:hover { color: #00ff9d !important; }
.dropdown-content.show { display: block !important; }
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: #00ff9d; }
/* --- Botones --- */



.btn-style { display: inline-block; padding: 12px 25px; background: #00ff9d; color: #000; text-decoration: none; font-weight: bold; border-radius: 5px; transition: 0.3s; text-align: center; }



.btn-style:hover { background: #fff; cursor: pointer; }







/* --- Elementos Flotantes --- */



.wa-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,0.3); text-decoration: none; transition: 0.3s; }



.wa-float:hover { transform: scale(1.1); }



.wa-modal { display: none; position: fixed; bottom: 100px; right: 30px; width: 300px; background: #1e1e1e; border: 1px solid #00ff9d; padding: 20px; border-radius: 10px; z-index: 1000; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }



.wa-modal textarea { width: 100%; height: 80px; background: #000; color: #fff; border: 1px solid #333; padding: 10px; margin-bottom: 10px; border-radius: 5px; display: block; }







/* Ocultar reCAPTCHA badge si no se necesita (evita solapamiento) */



.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; }







/* --- Secciones --- */



.hero { height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; margin-top: 70px; }



.hero video { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; filter: brightness(0.6); }



.hero-content { position: relative; z-index: 2; padding: 20px; }



h1 { font-size: 4rem; margin-bottom: 10px; }



.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: #fff; }



.value-proposition { padding: 80px 40px; text-align: center; margin: 40px auto; max-width: 1000px; border: 2px solid #00ff9d; background: rgba(0, 0, 0, 0.7); border-radius: 8px; }



.section-container { padding: 80px 20px; }



.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }



.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }



.service-card { background: rgba(20, 20, 20, 0.8); padding: 40px; border: 1px solid #333; text-align: center; display: flex; flex-direction: column; }



.service-card h3 { margin: 15px 0; }



.service-card p { color: #aaa; margin-bottom: 20px; flex-grow: 1; }



.icon { font-size: 2.5rem; color: #00ff9d; margin-bottom: 15px; }







/* --- Footer --- */



.main-footer { background-color: #0a0a0a; padding: 40px 20px; border-top: 1px solid #222; font-size: 0.85rem; color: #aaa; position: relative; z-index: 1; }



.footer-container { max-width: 1200px; margin: 0 auto; text-align: center; }







/* --- CORRECCIONES RESPONSIVAS UNIFICADAS --- */



@media (max-width: 768px) {



header { padding: 20px; }





.menu-toggle { display: block; }







/* Menú móvil principal */



#nav-menu {



display: none;



position: fixed;



top: 70px;



left: 0;



width: 100%;



background: rgba(0, 0, 0, 0.98);



padding: 30px;



flex-direction: column;



gap: 20px;



z-index: 1000;



height: calc(100vh - 70px);



overflow-y: auto;



}





#nav-menu.active { display: flex !important; }







/* Enlaces del menú */



#nav-menu > a, .dropdown > a {



margin-left: 0 !important;



font-size: 1.2rem;



text-align: center;



display: block;



}







/* SUBMENÚ MÓVIL: Esto es lo que lo arregla */



.dropdown { position: static; } /* Quitamos el relativo para que no afecte */



.dropdown-content {



display: none; /* Oculto por defecto */



position: static; /* Sale del flujo absoluto */



width: 100%;



background: #1a1a1a;



border: none;



padding: 10px 0;



margin-top: 10px;



}





/* Para que el desplegable se abra al hacer hover o clic en móvil */



.dropdown:hover .dropdown-content { display: block; }





h1 { font-size: 2.2rem !important; }



.grid-4, .grid-2 { grid-template-columns: 1fr !important; }



} 


