﻿/* =========================
   MAPA ESTÁTICO (SIN GOOGLE)
   ========================= */

.map-sec {
    padding: clamp(42px, 5vw, 72px) 0;
    background: radial-gradient(circle at 20% 0%, rgba(201,115,44,.12), transparent 55%), radial-gradient(circle at 80% 10%, rgba(0,0,0,.05), transparent 60%);
}

.map-shell {
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(43,33,25,.12);
    border-radius: 22px;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

/* Texto */
.map-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    color: #2B2119;
    opacity: .9;
    margin-bottom: .6rem;
}

.map-title {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: clamp(28px, 3vw, 42px);
    color: #C9732C;
    margin: 0 0 .7rem 0;
    letter-spacing: .2px;
}

.map-sub {
    color: #3b2f27;
    opacity: .92;
    line-height: 1.65;
    margin-bottom: .85rem;
}

.map-points {
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 1.2rem;
    display: grid;
    gap: .55rem;
}

    .map-points li {
        display: flex;
        align-items: center;
        gap: .55rem;
        color: #2B2119;
        font-weight: 600;
    }

    .map-points i {
        color: #C9732C;
        font-size: 1.05rem;
    }

/* Botones */
.map-actions {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    margin-top: .7rem;
}

.map-btn {
    border-radius: 999px;
    padding: .85rem 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 1px solid rgba(43,33,25,.16);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    text-decoration: none;
}

    .map-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(0,0,0,.12);
    }

.map-btn-ghost {
    background: rgba(255,255,255,.75);
    color: #2B2119;
}

.map-btn-primary {
    background: linear-gradient(135deg, #C9732C, #E4A769);
    color: #241710;
    border-color: rgba(0,0,0,.12);
}

/* CARD (derecha) */
.map-card {
    background: linear-gradient(135deg, #1f1f1f, #2a2a2a);
    color: #fff;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(0,0,0,.25);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
}

/* Imagen */
.map-media {
    position: relative;
    padding: 14px;
    padding-bottom: 0;
}

.map-img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    filter: contrast(1.05) saturate(1.05);
}

/* Overlay para legibilidad (acá estaba tu problema de blanco sobre claro) */
.map-media::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 14px;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.55)), radial-gradient(circle at 30% 30%, rgba(255,255,255,.06), transparent 55%);
    pointer-events: none;
}

.map-caption {
    position: absolute;
    left: 28px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    z-index: 2;
    backdrop-filter: blur(8px);
}

/* Meta texto (ABAJO) -> legible */
.map-meta {
    padding: 16px 18px 18px;
}

.map-meta-title {
    margin: 0 0 .35rem;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: .2px;
    color: #fff;
}

.map-meta-text {
    margin: 0;
    color: rgba(255,255,255,.86);
    line-height: 1.55;
}

    .map-meta-text strong {
        color: #fff;
    }

    .map-meta-text small {
        color: rgba(255,255,255,.75);
    }

/* Animación scroll */
.map-reveal {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    filter: blur(6px);
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}

    .map-reveal.is-in {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

/* Responsive */
@media (max-width: 991px) {
    .map-shell {
        padding: 18px;
    }

    .map-img {
        height: 240px;
    }

    .map-actions {
        gap: .55rem;
    }
}

@media (max-width: 420px) {
    .map-img {
        height: 220px;
    }

    .map-caption {
        font-size: .85rem;
    }
}
