/* ==========================================================================
   1. MENÚ Y DROPDOWNS
   ========================================================================== */
.dropdown-menu {
  background-color: #060911;
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-top: 3px solid #0066ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  min-width: 220px;
}

.dropdown-item {
  color: #dcdcdc !important;
  font-size: 0.8rem;
  padding: 10px 20px;
  text-transform: uppercase;
}

.dropdown-item:hover {
  background-color: #0066ff !important;
  color: #ffffff !important;
}

/* ==========================================================================
   2. DRON Y CAPAS DE INTERACCIÓN (Z-INDEX)
   ========================================================================== */
/* El dron no bloquea clics, dejando pasar el evento a lo que está detrás */
.drone-pointer {
    pointer-events: none !important;
    z-index: 9999 !important;
}

/* Modal personalizado: SIEMPRE ADELANTE */
/* Nivel máximo de prioridad */
.mi-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.98) !important;
    display: none;
    justify-content: center;
    align-items: center;
    /* Este z-index es el máximo posible en navegadores */
    z-index: 2147483647 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* El contenido del modal */
.mi-modal-content {
    background: #060911;
    color: #ffffff;
    padding: 50px;
    border: 2px solid #0066ff;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 15px;
    position: relative;
    /* Evita que transformaciones de otros elementos afecten al modal */
    transform: none !important; 
}



/* Logo dentro del modal */
.logo-container {
    text-align: center;
    margin-bottom: 40px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.logo-container img {
    max-width: 220px;
    height: auto;
    display: block;
}

/* Títulos y texto */
.mi-modal-content h5 {
    color: #0066ff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.modal-body-content p {
    text-align: justify;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.fecha-modal {
    text-align: center !important;
    font-weight: bold;
    margin-top: 20px;
}

/* Botón cerrar absoluto en la esquina del modal */
.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: #ffffff;
    z-index: 100;
    line-height: 1;
}

.cerrar-modal:hover {
    color: #0066ff;
}

/* ==========================================================================
   3. ESTILOS DE FORMULARIO
   ========================================================================== */
#formulario-box-cotizacion.collapsed .formulario-body {
    display: none;
}

.btn-enviar {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 10px 20px;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
}

.btn-enviar:hover {
    background-color: #0052cc;
}

/* ==========================================================================
   4. RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .mi-modal-content {
        padding: 30px;
    }
}


/* ==========================================================================
   ESTILOS AVISO DE PRIVACIDAD (Sección Fija)
   ========================================================================== */
.aviso-privacidad-section {
    background-color: #060911;
    color: #ffffff;
    padding: 80px 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container img {
    max-width: 180px;
    height: auto;
}

.aviso-titulo {
    color: #0066ff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
}

.aviso-content p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
    color: #dcdcdc; /* Color grisáceo claro para mejor lectura */
}

.aviso-fecha {
    text-align: center !important;
    margin-top: 50px !important;
    color: #ffffff;
}

/* Responsividad para la columna central */
@media (max-width: 991px) {
    .aviso-privacidad-section {
        padding: 40px 20px;
    }
}