/*=============================================
    MÓDULO DE CONTACTO - Diseño WordPress
    Basado en Elementor - Packaging and Color
=============================================*/

:root {
    --contacto-dark-bg: #1a2e3f;
    --contacto-light-bg: #ffffff;
    --contacto-text-dark: #333333;
    --contacto-text-light: #ffffff;
    --contacto-accent: #046bd2;
    --contacto-accent-hover: #045cb4;
    --contacto-border: #e0e0e0;
}

.contacto-section {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
    overflow: hidden;
}

/* ========================================
   SECCIÓN PRINCIPAL - DOS COLUMNAS
   ======================================== */
.contacto-principal {
    min-height: 600px;
}

/* Columna Izquierda - Información (Fondo oscuro) */
.contacto-info-side {
    background-color: var(--contacto-dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    min-height: 700px;
}

.contacto-info-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.contacto-title {
    color: var(--contacto-text-light);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
}

.contacto-title strong {
    font-weight: 700;
    color: #f1c40f;
}

.contacto-info-list {
    margin-bottom: 40px;
}

.contacto-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contacto-icon {
    flex-shrink: 0;
    width: 30px;
    display: flex;
    justify-content: center;
    margin-top: 2px;
    color: #ffffff;
    font-size: 20px;
}

.contacto-text {
    color: var(--contacto-text-light);
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Redes sociales */
.contacto-social {
    margin-top: 30px;
}

.contacto-social-title {
    color: var(--contacto-text-light);
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contacto-social-icons {
    display: flex;
    gap: 15px;
}

.contacto-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--contacto-text-light);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contacto-social-icon:hover {
    background-color: var(--contacto-accent);
    color: var(--contacto-text-light);
    transform: translateY(-3px);
}

/* Columna Derecha - Formulario (Fondo blanco) */
.contacto-form-side {
    background-color: var(--contacto-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    min-height: 700px;
}

.contacto-form-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.contacto-form-title {
    color: var(--contacto-text-dark);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contacto-divider {
    width: 80px;
    height: 3px;
    background-color: var(--contacto-accent);
    margin-bottom: 30px;
}

.contacto-form .form-group {
    margin-bottom: 20px;
}

.contacto-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--contacto-border);
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

.contacto-form .form-control:focus {
    border-color: var(--contacto-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
    background-color: #ffffff;
}

.contacto-form .form-control::placeholder {
    color: #999999;
}

.contacto-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-enviar {
    background-color: var(--contacto-accent);
    color: var(--contacto-text-light);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: auto;
    min-width: 150px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-enviar:hover {
    background-color: var(--contacto-accent-hover);
    transform: translateY(-2px);
}

/* ========================================
   SECCIÓN DE UBICACIÓN Y MAPA
   ======================================== */
.contacto-ubicacion {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.ubicacion-title {
    color: var(--contacto-text-dark);
    font-size: 42px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.ubicacion-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--contacto-accent);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991.98px) {
    .contacto-info-side,
    .contacto-form-side {
        min-height: auto;
        padding: 50px 30px;
    }
    
    .contacto-title {
        font-size: 36px;
    }
    
    .contacto-form-title {
        font-size: 32px;
    }
    
    .ubicacion-title {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .contacto-info-side,
    .contacto-form-side {
        padding: 40px 20px;
    }
    
    .contacto-title {
        font-size: 30px;
    }
    
    .contacto-form-title {
        font-size: 28px;
    }
    
    .contacto-info-item {
        gap: 12px;
    }
    
    .contacto-text {
        font-size: 14px;
    }
    
    .ubicacion-title {
        font-size: 30px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 575.98px) {
    .contacto-title {
        font-size: 26px;
    }
    
    .contacto-form-title {
        font-size: 24px;
    }
    
    .contacto-social-icons {
        justify-content: center;
    }
    
    .ubicacion-title {
        font-size: 26px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .btn-enviar {
        width: 100%;
    }
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}