/* HEADER DE CONTACTO */
.contacto-header {
    height: 95vh;
    min-height: 500px;
    background: url('../img/contacto_hero.jpg') center/cover no-repeat;
    position: relative;
    margin-top: -80px;
    padding-top: 80px;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8); /* Bastante oscuro para que resalte el texto */
}

/* FORMULARIO GLASSMORPHISM */
.contact-form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Inputs personalizados transparentes */
.form-control, .form-select {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
    color: white !important;
}

/* Color del placeholder */
::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ÍCONOS DE CONTACTO */
.icon-box {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
}

.hover-link {
    transition: color 0.3s ease;
}
.hover-link:hover {
    color: var(--bs-primary) !important;
}

/* SECCIÓN DEL MAPA CON FILTRO */
.map-section {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.google-map {
   /*  filter: grayscale(100%) invert(92%) contrast(83%); Efecto Mapa Oscuro */
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgb(15 23 42 / 8%); /* Tinte azulado sobre el mapa */
    pointer-events: none; /* Permite hacer clic en el mapa a través del tinte */
    z-index: 1;
}

/* css/contacto.css - Añade esto al final o reemplaza la sección de inputs */

/* Inputs y Selects más robustos */
.form-control, .form-select {
    background-color: rgba(0, 0, 0, 0.2) !important; /* Fondo oscuro sutil */
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border-radius: 10px; /* Bordes redondeados modernos */
    font-size: 1rem;
}

/* Efecto al hacer clic (Focus) */
.form-control:focus, .form-select:focus {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2); /* Resplandor azul */
    color: white !important;
}

/* Placeholder (Texto de ejemplo) */
::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.9rem;
}

/* Etiquetas (Labels) */
.form-label {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* Corrección para las opciones del Select (para que no salgan blancas) */
option {
    background-color: #1e293b; /* Color oscuro de fondo */
    color: white;
    padding: 10px;
}
/* css/contacto.css */

/* --- CORRECCIÓN DEL SELECT (LISTA DESPLEGABLE) --- */

/* 1. El Input cerrado se mantiene oscuro y elegante */
.form-select {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* 2. La lista desplegada (Opciones) fuerza alto contraste */
/* Usamos fondo blanco y texto oscuro para garantizar que se lea en Windows/Mac/Móvil */
.form-select option {
    background-color: #ffffff !important; /* Fondo Blanco */
    color: #0f172a !important;            /* Texto Azul Oscuro (Tu color corporativo) */
    padding: 10px;
}

/* Opcional: Estilo al pasar el mouse por las opciones (Solo funciona en algunos navegadores) */
.form-select option:hover {
    background-color: #3b82f6 !important; /* Azul primario */
    color: white !important;
}