/* ==========================================================================
   PÁGINA DE CONTACTO - ESPECHE MAQUINARIAS
   ========================================================================== */
.contacto-main {
    padding-top: 120px;
    background-color: #f4f6f9;
    min-height: 80vh;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contacto-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacto-header h1 {
    font-size: 3rem;
    color: var(--oscuro-primario);
    margin-bottom: 10px;
}

.contacto-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Grilla dividida en 2 columnas */
.contacto-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* El formulario ocupa un poco más de espacio */
    gap: 50px;
    margin-bottom: 60px;
}

/* --- ESTILOS DEL FORMULARIO --- */
.formulario {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--oscuro-primario);
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--amarillo-espeche);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.btn-enviar {
    background-color: var(--oscuro-primario);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    width: 100%;
}

.btn-enviar:hover {
    background-color: var(--amarillo-espeche);
    color: #111;
}

/* --- ESTILOS DE LA INFO DE CONTACTO --- */
.contacto-info-col h2 {
    font-size: 1.8rem;
    color: var(--oscuro-primario);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--amarillo-espeche);
    display: inline-block;
    padding-bottom: 5px;
}

.info-lista {
    list-style: none;
}

.info-lista li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-lista i {
    font-size: 1.8rem;
    color: var(--amarillo-espeche);
    background: #fff;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-lista strong {
    display: block;
    font-size: 1.1rem;
    color: var(--oscuro-primario);
    margin-bottom: 5px;
}

.info-lista p {
    color: #666;
    line-height: 1.5;
}

/* --- ESTILOS DEL MAPA --- */
.contacto-mapa {
    text-align: center;
}

.contacto-mapa h2 {
    font-size: 2.5rem;
    color: var(--oscuro-primario);
    margin-bottom: 30px;
}

.contacto-mapa iframe {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* --- ADAPTACIÓN MÓVIL --- */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr; /* Se apila una columna debajo de la otra */
    }
    
    .formulario {
        padding: 20px;
    }
}