/* Estilos para la página de Contacto */

:root {
    --color-primary: #ff6f00; /* Naranja corporativo */
    --color-primary-dark: #e65100;
    --color-secondary: #263238; /* Gris oscuro */
    --color-text: #455a64;
    --bg-light: #f8f9fa;
}

/* --- GENERAL --- */
.page-contacto {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text);
}

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-primary { color: var(--color-primary) !important; }
.fw-bold { font-weight: 700; }

/* --- HERO SECTION --- */
.hero-contact {
    position: relative;
    height: 40vh;
    min-height: 300px;
    background-image: url('../img/proyectos/hero-electricidad.png'); /* Reutilizamos imagen o usa una de contacto */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(38, 50, 56, 0.85); /* Oscuro sólido */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- INFO CARDS GRID --- */
.grid-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -50px; /* Efecto de superposición sobre el hero */
    position: relative;
    z-index: 10;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.info-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 70px; height: 70px;
    background: rgba(255, 111, 0, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
    font-weight: 700;
}

.info-list, .coverage-list {
    list-style: none;
    padding: 0;
    font-size: 1rem;
}

.info-list li { margin-bottom: 15px; }
.info-list i { margin-right: 10px; color: var(--color-primary); }

.highlight-red {
    color: #d32f2f;
    background: #ffebee;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.coverage-list li {
    display: inline-block;
    background: #eceff1;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
}
.coverage-list i { color: #4caf50; margin-right: 5px; }

/* --- FORMULARIO --- */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #cfd8dc;
    border-radius: 5px;
    width: 100%;
    margin-top: 5px;
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.2);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-primary:hover { background-color: var(--color-primary-dark); }

/* --- MAPA --- */
.map-wrapper {
    height: 100%;
    min-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid white;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }