/* contacto.css - Estilos con paleta optimizada para empresa de limpieza */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #F8FCFF;
}

/* Main Section */
.contacto-main {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(159, 205, 241, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 80px 40px;
}

/* Container de dos columnas */
.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    align-items: start;
}

/* Títulos */
.contacto-titulo {
    background: linear-gradient(135deg, #064B90 0%, #0393D5 100%);
    color: #ffffff;
    width: fit-content;
    padding: 20px 40px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(6, 75, 144, 0.3);
    font-weight: 700;
}

/* COLUMNA 1: MAPA */
.contacto-mapa {
    background: #FFFFFF;
    border: 2px solid #9FCDF1;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 10px 40px rgba(6, 75, 144, 0.15),
        0 0 0 1px rgba(18, 179, 227, 0.1);
    transition: all 0.3s ease;
}

.contacto-mapa:hover {
    border-color: #12B3E3;
    box-shadow: 
        0 15px 50px rgba(18, 179, 227, 0.25),
        0 0 30px rgba(103, 192, 240, 0.2);
}

.mapa-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(6, 75, 144, 0.2);
    border: 4px solid #9FCDF1;
    transition: all 0.3s ease;
}

.mapa-wrapper:hover {
    border-color: #12B3E3;
    box-shadow: 0 12px 40px rgba(18, 179, 227, 0.3);
}

.mapa-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* COLUMNA 2: INFORMACIÓN */
.contacto-info {
    background: #FFFFFF;
    border: 2px solid #9FCDF1;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 10px 40px rgba(6, 75, 144, 0.15),
        0 0 0 1px rgba(18, 179, 227, 0.1);
    transition: all 0.3s ease;
}

.contacto-info:hover {
    border-color: #12B3E3;
    box-shadow: 
        0 15px 50px rgba(18, 179, 227, 0.25),
        0 0 30px rgba(103, 192, 240, 0.2);
}

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

/* Item de información */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(159, 205, 241, 0.1) 0%, rgba(103, 192, 240, 0.05) 100%);
    border-radius: 15px;
    border-left: 4px solid #12B3E3;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(18, 179, 227, 0.15) 0%, rgba(103, 192, 240, 0.1) 100%);
    border-left-color: #0393D5;
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(18, 179, 227, 0.2);
}

/* Círculo con icono */
.info-circulo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    border: 4px solid #12B3E3;
    background: linear-gradient(135deg, #F0F8FF 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(18, 179, 227, 0.3),
        inset 0 2px 8px rgba(103, 192, 240, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover .info-circulo {
    border-color: #0393D5;
    background: linear-gradient(135deg, #12B3E3 0%, #67C0F0 100%);
    box-shadow: 
        0 8px 25px rgba(18, 179, 227, 0.5),
        0 0 20px rgba(18, 179, 227, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.info-circulo i {
    font-size: 32px;
    color: #0393D5;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(18, 179, 227, 0.3);
}

.info-item:hover .info-circulo i {
    color: #FFFFFF;
    transform: scale(1.15);
    text-shadow: 0 4px 12px rgba(7, 14, 60, 0.4);
}

/* Texto de información */
.info-texto {
    flex: 1;
}

.info-texto h3 {
    color: #064B90;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(6, 75, 144, 0.1);
}

.info-texto p,
.info-texto a {
    color: #070E3C;
    font-size: 16px;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.info-texto a:hover {
    color: #0393D5;
    text-shadow: 0 0 8px rgba(18, 179, 227, 0.3);
}

/* Botón de descarga */
.btn-descarga {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #12B3E3 0%, #0393D5 100%);
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(18, 179, 227, 0.3);
    margin-top: 5px;
}

.btn-descarga:hover {
    background: linear-gradient(135deg, #0393D5 0%, #064B90 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(18, 179, 227, 0.4),
        0 0 20px rgba(18, 179, 227, 0.3);
}

.btn-descarga i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-descarga:hover i {
    transform: translateY(2px);
}

/* Efecto de overlay fresco */
.contacto-mapa::before,
.contacto-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 179, 227, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.contacto-mapa:hover::before,
.contacto-info:hover::before {
    opacity: 1;
}

/* Posición relativa para overlay */
.contacto-mapa,
.contacto-info {
    position: relative;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mapa-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    body {
        background-color: #FFFFFF;
    }

    .contacto-main {
        padding: 40px 20px;
        background: linear-gradient(135deg, rgba(159, 205, 241, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
    }
    
    .contacto-mapa,
    .contacto-info {
        padding: 25px;
        border-width: 2px;
    }
    
    .contacto-titulo {
        font-size: 22px;
        padding: 15px 30px;
        margin-bottom: 30px;
    }
    
    .mapa-wrapper {
        height: 350px;
        border-width: 3px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }
    
    .info-circulo {
        width: 70px;
        height: 70px;
        min-width: 70px;
        border-width: 3px;
    }
    
    .info-circulo i {
        font-size: 28px;
    }
    
    .info-texto h3 {
        font-size: 20px;
    }
    
    .info-texto p,
    .info-texto a {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contacto-titulo {
        font-size: 18px;
        padding: 12px 20px;
    }
    
    .mapa-wrapper {
        height: 300px;
    }
    
    .info-items {
        gap: 25px;
    }

    .info-item {
        padding: 15px;
    }
}