/* css/contacto.css */

/* =========================================
   1. ESTILOS EXCLUSIVOS DE LA PÁGINA CONTACTO
   ========================================= */

.contacto-container {
    max-width: 800px; 
    margin: 40px auto;
    padding: 0 20px;
}

.info-contacto {
    margin-bottom: 40px; 
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.info-contacto h2 {
    color: #0564c9; /* Actualizado al nuevo azul */
    margin-bottom: 20px;
    text-align: center;
}

.datos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: #e67e22; /* Naranja para iconos (contraste) */
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.info-item p, .info-item a {
    color: #666;
    font-size: 1rem;
    text-decoration: none;
}

@media (max-width: 768px) {
    .datos-grid { grid-template-columns: 1fr; }
}

/* =========================================
   2. ESTILOS GLOBALES DE ACORDEÓN
   (Hoteles, Términos, Contacto, etc.)
   ========================================= */

.contenedor-acordeones {
    background: transparent;
    box-shadow: none;
    border: none;
    margin-bottom: 20px;
}

.item-acordeon-global {
    background-color: #fff;
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    border: 1px solid #eee;
    margin-bottom: 15px;
}

/* --- EL BOTÓN DEL ACORDEÓN --- */
.btn-acordeon-general {
    background-color: #0564c9 !important; /* Tu nuevo azul */
    color: white !important; 
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px; 
}

/* Hover: Un poquito más oscuro para feedback visual */
.btn-acordeon-general:hover {
    background-color: #045bb5 !important; 
}

/* Activo (Abierto): Azul más oscuro */
.btn-acordeon-general.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #034b98 !important; 
}

/* La flechita */
.btn-acordeon-general i {
    color: white; 
    transition: transform 0.3s ease;
}

.btn-acordeon-general.active i {
    transform: rotate(180deg);
}

/* --- EL PANEL --- */
.panel-acordeon-general {
    padding: 0 20px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.contenido-interno {
    padding: 25px 10px;
    color: #555;
    line-height: 1.6;
    text-align: left !important;
}

/* --- FORMULARIOS --- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #333; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 1rem; box-sizing: border-box;
}

/* Botón Enviar (Unificado con el acordeón) */
.btn-enviar {
    width: 100%; 
    padding: 15px; 
    background-color: #0564c9; /* Mismo azul que el acordeón */
    color: white; 
    border: none; 
    border-radius: 8px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    cursor: pointer; 
    transition: background-color 0.3s; 
    margin-top: 10px;
}

.btn-enviar:hover { 
    background-color: #034b98; /* Mismo azul oscuro que active */
}

/* --- BOTÓN PDF --- */
.btn-pdf {
    display: inline-block;
    width: auto; 
    min-width: 200px;
    margin-top: 15px;
    text-align: center; 
    padding: 12px 20px; 
    background-color: #e74c3c; /* Rojo PDF */
    color: white; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background 0.3s;
}

.btn-pdf:hover { 
    background-color: #c0392b; 
}