/* ======================================================
   7. SECCIÓN CONTACTO - Electric_JOSCAM
====================================================== */

.contact-section {
    padding: 80px 5%;
    background-color: var(--dark-light);
    width: 100%;
}

/* Título: Fuera del grid para centrarse en toda la pantalla */
.contact-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--white);
    font-size: 2.5rem;
}

/* Contenedor Principal: El que crea las dos columnas */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Columna 1 (Info+Mapa): 1 fracción | Columna 2 (Form): 1.1 fracciones */
    grid-template-columns: 1fr 1.1fr; 
    gap: 60px;
    align-items: start;
}

/* --- BLOQUE IZQUIERDO: Info y Mapa --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Seleccionamos solo los iconos que son hijos de .info-item */
.info-items .info-item i {
    width: 50px;
    height: 50px;
    background: var(--accent); /* Verde JOSCAM */
    color: white !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    
    /* Forzamos la fuente por si acaso */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
}
    

.info-item span {
    display: block;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.info-item p {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
}

/* El Mapa: Ahora con altura garantizada */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- BLOQUE DERECHO: Tarjeta Formulario --- */
.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333 !important; /* Forzamos texto oscuro sobre fondo blanco */
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ef;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
    color: #333;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 179, 0, 0.1);
}

/* Botón del formulario */
.contact-form-card .cta-button {
    background: var(--accent);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.contact-form-card .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    filter: brightness(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr; /* Una columna en tablets y móviles */
        gap: 40px;
    }

    .contact-section {
        padding: 60px 5%;
    }
}

