:root {
    --azul-emede: #004a99;
    --azul-bright: #0072ff;
    --blanco: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--blanco);
    background-color: #01162d; /* Color de respaldo sólido */
    /* El orden del gradient y la imagen es vital para que cargue bien */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('image_5.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* Navegación */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 8%; background: rgba(0, 0, 0, 0.8);
    /* Soporte para navegadores que no entienden blur */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px); 
    position: fixed; width: 100%; z-index: 1000;
    top: 0; left: 0;
}
.logo { font-size: 28px; font-weight: 800; color: var(--blanco); letter-spacing: 1px; }
.logo span { color: var(--azul-bright); }
.nav-links { list-style: none; display: flex; }
.nav-links li a { color: white; text-decoration: none; margin-left: 30px; font-weight: 500; transition: 0.3s; font-size: 14px; text-transform: uppercase; }
.nav-links li a:hover { color: var(--azul-bright); }

/* Contenedor Principal */
.main-container {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 100px 20px 60px 20px;
}
.content-overlay {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; width: 100%; max-width: 1200px;
    gap: 30px;
}

/* Glassmorphism con fallback para servidores/navegadores viejos */
.floating-card {
    background: rgba(20, 20, 20, 0.6); /* Fondo más sólido por si falla el blur */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px; padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.hero-text { flex: 1; min-width: 320px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; font-weight: 900; }
/* Soporte para clamp en navegadores modernos pero con fallback */
@supports (font-size: clamp(2.5rem, 5vw, 3.8rem)) {
    .hero-text h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
}

.highlight { color: var(--azul-bright); }
.hero-text p { font-size: 1.25rem; margin-bottom: 25px; line-height: 1.6; font-weight: 300; }
.servicios-tag { margin-bottom: 30px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* Formulario */
.form-container { flex: 0.7; min-width: 320px; max-width: 450px; }
.form-container h2 { margin-bottom: 30px; text-align: center; font-weight: 700; font-size: 1.5rem; letter-spacing: 1px; }
.input-group { margin-bottom: 20px; }

input, select, textarea {
    width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #ccc;
    background: #ffffff; color: #1a1a1a; font-size: 15px;
    font-family: Arial, sans-serif; outline: none;
}

.btn-enviar {
    width: 100%; padding: 16px; border-radius: 12px; border: none;
    background: var(--azul-emede); color: white; font-weight: 700;
    font-size: 16px; cursor: pointer; text-transform: uppercase;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 30px; text-decoration: none; z-index: 1000;
}

/* Footer */
footer { padding: 40px 20px; text-align: center; background: #000000; border-top: 1px solid rgba(255,255,255,0.1); }
.idenmov-signature a { color: var(--azul-bright); text-decoration: none; font-weight: 700; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-text h1 { font-size: 2.2rem; }
    .main-container { padding-top: 80px; }
}