/* --- 1. RESET Y BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: #0a0e14 url('background.png') center top fixed;
    background-size: cover;
}

/* --- 2. NAVBAR (Desktop First) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 14, 20, 0.9);
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: #fff; transition: 0.3s; }
.nav-links a:hover { color: #00f2ff; text-shadow: 0 0 8px #00f2ff; }

/* --- 3. HERO (Contenedor Maestro) --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}
.hero-container {
    display: flex;
    flex-direction: row; /* Orden: Imagen izq, Contenido der */
    align-items: center;
    gap: 60px;
    max-width: 1100px;
}
.logo-icon { width: 300px; filter: drop-shadow(0 0 10px #00f2ff); }

/* --- 4. BLOQUE CONTENIDO (El recuadro cian) --- */
.hero-content {
    background: rgba(10, 20, 30, 0.6);
    border: 1px solid #00f2ff;
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}
.highlight-title { color: #00f2ff; font-size: 3rem; margin-bottom: 20px; }
.btn-hero { 
    display: inline-block; background: #00f2ff; color: #0a0e14; 
    padding: 15px 30px; border-radius: 5px; font-weight: bold;
    text-decoration: none; margin-top: 20px;
}

/* --- 5. SERVICIOS (Apilamiento Automático) --- */
.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}
.service-card {
    background: rgba(10, 20, 30, 0.7);
    border: 1px solid #00f2ff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
}

.footer {
    background: rgba(10, 14, 20, 0.95);
    border-top: 1px solid #00f2ff;
    padding: 50px 20px;
    margin-top: 50px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-column h3 { color: #00f2ff; margin-bottom: 20px; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: #fff; text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 40px; font-size: 0.8rem; border-top: 1px solid #333; padding-top: 20px; }

/* --- 6. MEDIA QUERIES (El secreto de la responsividad) --- */
@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; } /* Imagen ARRIBA, Contenido ABAJO */
    .logo-icon { width: 200px; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px; }
    .nav-links { display: none; } /* Ocultar para activar luego la hamburguesa */
    .services-container { flex-direction: column; align-items: center; }
    .service-card { width: 90%; }
}
