#map {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    margin-bottom: 1px;
    background-color: #621132;
}

.textmap {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.textmap h4 {
    font-family: 'MonSBo', sans-serif;
    color: #fff;
    text-align: left;
    padding-left: 5%;
    margin-bottom: 2px;
    font-size: 1.4rem;
}

.textmap p {
    font-family: 'MonReg', sans-serif;
    color: #fff;
    text-decoration: none;
    text-align: left;
    padding-left: 8%;
    margin-bottom: 1px;
    line-height: 1.4;
}

.textmap a {
    text-decoration: none;
    color: #fff;
    font-family: 'MonReg', sans-serif;
    transition: opacity 0.3s ease;
}

.textmap a:hover {
    opacity: 0.5;
}

.map {
    width: 100%;
    padding: 0 5px;
}

.map iframe {
    height: 340px;
    width: 500px;
    border: 0;
    border-radius: 8px;
}

/* MAILTO: BUZON DE QUEJAS */

.buzon-quejas {
    background: linear-gradient(135deg, #621132, #8c1d4f);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.buzon-quejas::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: onda 2s infinite;
    z-index: 0;
}

@keyframes onda {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Mantener el contenido por encima de la onda */
.buzon-quejas h4,
.buzon-quejas p,
.buzon-quejas a {
    position: relative;
    z-index: 1;
}

.buzon-quejas a {
    color: #ffe066;
    text-decoration: underline;
    transition: color 0.3s;
}

.buzon-quejas a:hover {
    color: #ffffff;
}



/* Media Queries para diseño responsive */
@media (min-width: 768px) {
    #map {
        flex-direction: row;
        align-items: flex-start;
        padding: 30px 5%;
    }

    .textmap {
        width: 45%;
        margin-bottom: 0;
        padding-right: 20px;
    }

    .map {
        width: 55%;
    }
}

@media (max-width: 480px) {
    .textmap h4 {
        font-size: 1.2rem;
        padding-left: 3%;
    }

    .textmap p {
        padding-left: 5%;
        font-size: 0.9rem;
    }

    .map iframe {
        height: 250px;
        width: 320px;
    }
}