/* 1. PÁGINA: CONTACTO - SUPERGAS DE NARIÑO */

/* 1.1. CONTENEDOR PRINCIPAL */
.contact-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

/* 2. ENCABEZADO */
.contact-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1E293B;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* 2.1. Línea decorativa del título */
.contact-header h1::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 120px;
    height: 4px;
    background: #FF5C00;
    border-radius: 999px;
}

.contact-header p {
    margin-top: 1.5rem;
    color: #64748B;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 3. BANNER DE EMERGENCIAS */
.emergency-banner {
    background: linear-gradient(135deg, #DC2626, #991B1B);
    color: white;
    border-radius: 30px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 20px 40px -18px rgba(220, 38, 38, .45);
}

.emergency-banner h2 {
    font-size: 1.8rem;
    margin-bottom: .7rem;
}

.emergency-banner p {
    line-height: 1.7;
    color: rgba(255, 255, 255, .95);
}

/* 3.1. Botón de llamada de emergencia */
.emergency-call {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    background: white;
    color: #B91C1C;
    padding: 1rem 1.6rem;
    border-radius: 50px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s ease;
}

.emergency-call:hover {
    transform: translateY(-3px);
    background: #FF5C00;
    color: white;
}

/* 4. TARJETAS DE CONTACTO */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* 4.1. Tarjeta de contacto individual */
.contact-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 15px 35px -16px rgba(0, 0, 0, .16);
    transition: .3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: #FF5C00;
    box-shadow: 0 25px 45px -22px rgba(0, 0, 0, .22);
}

/* 4.2. Icono de la tarjeta */
.contact-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 92, 0, .1);
    color: #FF5C00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #1E293B;
    margin-bottom: .8rem;
    font-size: 1.25rem;
}

.contact-card p,
.contact-card a {
    color: #64748B;
    line-height: 1.7;
    text-decoration: none;
}

.contact-card a:hover {
    color: #FF5C00;
}

/* 5. BOTONES DE CONTACTO */
.contact-actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

/* 5.1. Botón base de contacto */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: .9rem;
    transition: .3s ease;
}

/* 5.2. Botón naranja */
.contact-btn-orange {
    background: #FF5C00;
    color: white !important;
}

.contact-btn-orange:hover {
    background: #E65300;
    transform: translateY(-2px);
}

/* 5.3. Botón verde */
.contact-btn-green {
    background: #25632E;
    color: white !important;
}

.contact-btn-green:hover {
    background: #25632E;
    transform: translateY(-2px);
}

/* 6. UBICACIONES */
.locations-section {
    margin-top: 3rem;
}

/* 6.1. Título de la sección ubicaciones */
.locations-title {
    text-align: center;
    margin-bottom: 2rem;
}

.locations-title h2 {
    color: #1E293B;
    font-size: 2rem;
    margin-bottom: .7rem;
}

.locations-title p {
    color: #64748B;
}

/* 6.2. Grid de ubicaciones */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* 6.3. Tarjeta de ubicación individual */
.location-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 15px 35px -16px rgba(0, 0, 0, .16);
}

/* 6.4. Información de la ubicación */
.location-info {
    padding: 2rem;
}

.location-info h3 {
    color: #1E293B;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.location-info p {
    color: #64748B;
    line-height: 1.8;
    margin-bottom: .7rem;
}

.location-info i {
    color: #FF5C00;
    width: 24px;
}

/* 6.5. Mapa embebido */
.map-box {
    height: 320px;
    background: #E2E8F0;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 7. RESPONSIVE */

/* 7.1. Tablets (992px) */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .emergency-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 7.2. Móviles (768px) */
@media (max-width: 768px) {
    .contact-page {
        padding: 100px 0 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .emergency-banner,
    .contact-card,
    .location-info {
        padding: 1.5rem;
    }
}