/* ==========================================================================
   ESTILOS EXCLUSIVOS - PÁGINA DE CONTACTO
   Layout a todo el ancho (sin contenedor centrado) + detalles dinámicos
   ========================================================================== */

.contacto-banner {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* --------------------------------------------------------------------------
   PANEL IZQUIERDO: datos institucionales + mapa
   -------------------------------------------------------------------------- */
.contacto-info-panel {
    width: 50%;
    background: linear-gradient(160deg, #1A2530 0%, #2A3B4C 100%);
    color: #ffffff;
    padding: 4rem 4rem 3rem 4rem;
}

.contacto-info-panel h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.6rem;
    transition: transform 0.2s ease;
}

.contacto-item:hover {
    transform: translateX(4px);
}

.contacto-icono {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(229, 9, 20, 0.18);
    border: 1px solid rgba(229, 9, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E50914;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contacto-item:hover .contacto-icono {
    background-color: #E50914;
    color: #ffffff;
    transform: scale(1.08);
}

.contacto-texto h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.contacto-texto p {
    font-size: 0.92rem;
    color: #C9D1D9;
    line-height: 1.55;
    margin: 0;
}

.contacto-mapa {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    filter: grayscale(0.15);
}

.contacto-mapa iframe {
    display: block;
    width: 100%;
}

/* --------------------------------------------------------------------------
   PANEL DERECHO: formulario de contacto
   -------------------------------------------------------------------------- */
.contacto-form-panel {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 4rem;
}

.contacto-form-contenido {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.contacto-form-contenido h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: #1A2530;
    margin-bottom: 0.6rem;
}

.contacto-form-contenido > p {
    color: #555;
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
}

.contacto-form-contenido .campo {
    margin-bottom: 1.2rem;
}

.contacto-form-contenido label {
    display: block;
    font-weight: 700;
    color: #1A2530;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

.contacto-form-contenido input,
.contacto-form-contenido select,
.contacto-form-contenido textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background-color: #F8F9FA;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contacto-form-contenido input:focus,
.contacto-form-contenido select:focus,
.contacto-form-contenido textarea:focus {
    outline: none;
    border-color: #E50914;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}

.contacto-form-contenido textarea {
    resize: vertical;
    min-height: 110px;
}

.contacto-form-contenido button {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   REDES SOCIALES
   -------------------------------------------------------------------------- */
.contacto-redes {
    background-color: #F8F9FA;
    padding: 3.5rem 2rem;
    text-align: center;
    border-top: 1px solid #E9ECEF;
}

.contacto-redes h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #1A2530;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.contacto-redes p {
    color: #555;
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

.contacto-redes-iconos {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    font-size: 1.6rem;
}

.contacto-redes-iconos a {
    background: #ffffff;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacto-redes-iconos a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .contacto-banner {
        flex-direction: column;
    }

    .contacto-info-panel,
    .contacto-form-panel {
        width: 100%;
        padding: 2.5rem 1.5rem;
    }

    .contacto-form-panel {
        padding-top: 3rem;
    }

    .contacto-info-panel h2,
    .contacto-form-contenido h2 {
        font-size: 1.5rem;
    }
}
