/* =========================================================
   SECCIÓN MAPA COMPACTO (Ajustado para Laptop/PC)
   ========================================================= */

.anera-map-section {
    position: relative;
    width: 100%;
    background-color: #f3eee8;
    display: flex;
    align-items: center;
    padding: 18px 0 50px;
    overflow: hidden;
}

/* Layout General */
.anera-map-layout {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Contenedor del Mapa (Derecha) */
.anera-map-container {
    width: 67%;
    height: 490px;
    position: relative;
    right: 0;
    border: 1px solid rgba(48, 64, 55, .14);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(41, 53, 45, .1);
}

/* Identificador específico del mapa */
#aneraMap {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

.anera-map-embed {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

.anera-map-embed img {
    max-width: none !important;
    height: auto !important;
}

/* Tarjeta Flotante Compacta (Izquierda) */
.anera-map-card {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 43%;
    min-width: 0;
    background-color: #fbfaf7;
    padding: 38px 40px;
    border: 1px solid rgba(126, 106, 74, .2);
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 24px 56px rgba(41, 53, 45, .13);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-card-eyebrow {
    color: #927b55;
    font: 600 10px/1.4 'Poppins', sans-serif;
    letter-spacing: .17em;
}

/* Tipografía Compacta */
.map-card-title {
    font-family: "Brygada 1918", serif !important;
    font-size: clamp(28px, 2.6vw, 36px) !important;
    font-weight: 400 !important;
    color: #263a33;
    margin: 0;
    line-height: 1.18;
}

.map-card-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #5c625c;
    margin: 0;
}

/* GRID DE ICONOS (Nuevo Layout) */
.map-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 18px;
    margin-top: 6px;
    padding-top: 22px;
    border-top: 1px solid rgba(126, 106, 74, .2);
}

.map-stat-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.map-stat-item i {
    font-size: 15px;
    color: #a48d60;
    width: 19px;
    flex: 0 0 19px;
    text-align: center;
}

.map-stat-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #3e4c44;
    line-height: 1.45;
}

/* Botón Compacto */
.btn-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    background: transparent;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 5px;
}

.btn-map-link:hover {
    background: #1a1a1a;
    color: #fff;
}


/* RESPONSIVE */
@media (max-width: 1100px) {
    .anera-map-container {
        width: 60%;
        height: 450px;
    }

    .anera-map-card {
        width: 48%;
        min-width: 0;
        padding: 30px;
    }

    .map-card-title {
        font-size: 32px !important;
    }
}

@media (max-width: 900px) {
    .anera-map-section {
        padding: 24px 20px 48px;
        display: block;
    }

    .anera-map-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .anera-map-container {
        width: 100%;
        height: 340px;
        position: relative;
        right: auto;
        border-radius: 12px;
    }

    .anera-map-card {
        position: relative;
        width: 100%;
        min-width: 0;
        transform: none;
        left: auto;
        top: auto;
        box-shadow: 0 12px 30px rgba(41, 53, 45, .07);
        padding: 28px 24px;
        border-radius: 12px;
        gap: 14px;
    }

    .map-stats-grid {
        gap: 15px 10px;
    }
}

@media (max-width: 520px) {
    .map-stats-grid { grid-template-columns: 1fr; }
    .anera-map-container { height: 300px; }
}
