/* ===================================
   SECCIÓN MAPA
   =================================== */

.mapa-section {
    width: 100%;
    background-color: #f5f5f5;
    padding: 0;
    margin: 0;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

.mapa-container {
    display: grid;
    grid-template-columns: 1fr 9fr;
    max-width: 100%;
    min-height: 600px;
    max-height: 100vh;
    height: 100vh;
}

/* Lado izquierdo - Franja */
.mapa-left {
    position: relative;
    overflow: hidden;
    background-color: #452E38;
}

.mapa-franja {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lado derecho - Mapa */
.mapa-right {
    position: relative;
    background-image: url('img/mapa.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
}

.mapa-imagen {
    display: none;
}

/* Botones del mapa */
.mapa-buttons {
    position: relative;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 10;
}

.mapa-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background-color: #452e38;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mapa-btn svg {
    width: 24px;
    height: 24px;
}

.mapa-btn:hover {
    background-color: #5a3e48;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 46, 56, 0.5);
}


/* ===================================
   FOOTER
   =================================== */

.footer {
    width: 100%;
    background-color: #2a2a2a;
    padding: 30px 0;
    margin: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}


/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (max-width: 1024px) {
    .mapa-container {
        min-height: 500px;
        max-height: 100vh;
        height: 100vh;
    }

    .mapa-right {
        padding-bottom: 100px;
    }

    .mapa-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}


/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 768px) {
    .mapa-section {
        max-height: none;
    }
    
    .mapa-container {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
        height: auto;
    }

    .mapa-left {
        display: none;
    }

    .mapa-right {
        min-height: 500px;
        padding: 40px 20px;
        padding-bottom: 40px;
        background-size: contain;
    }

    .mapa-imagen {
        display: none;
    }

    .mapa-buttons {
        position: relative;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 20px;
    }

    .mapa-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-copyright {
        font-size: 13px;
    }
}


/* ===================================
   RESPONSIVE - MOBILE SMALL
   =================================== */

@media (max-width: 480px) {
    .mapa-right {
        min-height: 400px;
        padding: 30px 15px;
        padding-bottom: 30px;
    }

    .mapa-btn {
        padding: 12px 20px;
        font-size: 13px;
        gap: 8px;
    }

    .mapa-btn svg {
        width: 20px;
        height: 20px;
    }

    .footer {
        padding: 25px 0;
    }

    .footer-copyright {
        font-size: 12px;
    }
}
