/* Banderas en Windows: Windows no tiene emojis de banderas y muestra letras
   ("IT", "ES"). Esta fuente solo contiene las banderas; el resto del texto
   sigue usando la fuente normal. */
@font-face {
    font-family: "Twemoji Country Flags";
    unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
    src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.8/dist/TwemojiCountryFlags.woff2") format("woff2");
    font-display: swap;
}

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

  body {
    font-family: "Twemoji Country Flags", 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%232e7d32' stroke-opacity='0.10' stroke-width='2.2'%3E%3Ccircle cx='200' cy='200' r='150'/%3E%3Ccircle cx='200' cy='200' r='95'/%3E%3Cpath d='M200 50 L200 350 M50 200 L350 200 M94 94 L306 306 M306 94 L94 306'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(rgba(232, 245, 233, 0.35), rgba(232, 245, 233, 0.35)),
        url("../img/fondo.jpg");
    background-size: 400px 400px, cover, cover;
    background-position: center, center, center;
    background-repeat: repeat, no-repeat, no-repeat;
    background-attachment: scroll, fixed, fixed;
    background-color: #e8f5e9;
    color: #1e293b;
    line-height: 1.6;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Cristal blanco translúcido con línea verde abajo */
    background-color: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 2px 18px rgba(27, 94, 32, 0.10);
    border-bottom: 3px solid #2e7d32;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 8px 40px;
}

.navbar.scrolled {
    padding: 4px 40px;
    background-color: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 24px rgba(27, 94, 32, 0.12);
}

    .navbar-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* ================= LOGO ================= */
    .logo {
        flex-shrink: 0;
    }

    .logo a {
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        height: 72px;
        width: auto;
        transition: all 0.3s ease;
        object-fit: contain;
    }

    .navbar.scrolled .logo img {
        height: 58px;
    }

    /* ================= MENÚ ================= */
    .menu {
        display: flex;
        align-items: center;
    }

    .menu-principal {
        display: flex;
        list-style: none;
        gap: 6px;
    }

    .menu-principal > li {
        position: relative;
    }

    .menu-principal > li > a {
        text-decoration: none;
        color: #1e293b;
        font-weight: 500;
        font-size: 15px;
        padding: 8px 12px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color 0.2s ease, background 0.2s ease;
        letter-spacing: 0.3px;
    }

    .menu-principal > li > a i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .menu-principal > li > a:hover {
        color: #1b5e20;
        background: #e8f5e9;
    }

    .menu-principal > li:hover > a i {
        transform: rotate(180deg);
    }

    /* ================= SUBMENÚ (DROPDOWN) ================= */
    .submenu {
        position: absolute;
        top: 40px;
        left: 0;
        background: white;
        list-style: none;
        min-width: 220px;
        padding: 12px 0;
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 100;
        border: 1px solid #c8e6c9;
    }

    .menu-principal > li:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .submenu li {
        padding: 0;
    }

    .submenu a {
        text-decoration: none;
        color: #334155;
        font-size: 14px;
        font-weight: 500;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.2s ease;
    }

    .submenu a i {
        width: 20px;
        font-size: 14px;
        color: #2e7d32;
    }

    .submenu a:hover {
        background: linear-gradient(90deg, #e8f5e9 0%, transparent 100%);
        color: #1b5e20;
        padding-left: 25px;
    }

    /* ================= BOTÓN HAMBURGUESA ================= */
    .hamburger {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        cursor: pointer;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1002;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
        background: #1e293b;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

    .hamburger:hover {
        background: #f1f5f9;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Overlay para móvil */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* ================= HERO / BIENVENIDA ================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-radius: 0 0 48px 48px;
    background: #0f2f44;
    isolation: isolate;
}

/* Pase de fotos: cada foto aparece, hace un zoom lento y da paso a la siguiente */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 30s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }

/* Nombre del lugar de cada foto, abajo a la derecha */
/* Capa oscura suave dentro de cada foto: deja ver los colores y oscurece solo
   lo justo para leer el título. Va por debajo de la etiqueta del lugar. */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 100%);
}

/* Nombre del lugar de cada foto: solo texto, blanco intenso con sombra para que se lea */
.hero-slide span {
    position: absolute;
    z-index: 1;
    right: 28px;
    bottom: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.6);
}

@keyframes heroFade {
    0%   { opacity: 0; transform: scale(1); }
    4%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { opacity: 0; transform: scale(1.08); }
    100% { opacity: 0; transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

/* Etiqueta pequeña encima del título */
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    margin-bottom: 22px;
}

.hero-titulo {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 7vw, 84px);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 18px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
    animation: fadeInDown 0.8s ease-out;
}

.hero-descripcion {
    font-size: clamp(16px, 2vw, 21px);
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 30px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Botones */
.hero-botones {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-hero.principal {
    background: #2e7d32;
    color: #fff;
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.45);
}

.btn-hero.principal:hover {
    background: #1b5e20;
    transform: translateY(-3px);
}

.btn-hero.secundario {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
}

.btn-hero.secundario:hover {
    background: #fff;
    color: #1b5e20;
    transform: translateY(-3px);
}

.btn-hero:focus-visible {
    outline: 3px solid #ffb703;
    outline-offset: 3px;
}

/* Datos rápidos */
.hero-datos {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-datos li {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
}

.hero-datos strong {
    font-size: 16px;
}

/* Flecha que invita a bajar */
.hero-bajar {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 2;
    transform: translateX(-50%);
    color: #fff;
    font-size: 22px;
    animation: heroBajar 2s ease-in-out infinite;
}

@keyframes heroBajar {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* Si el usuario prefiere menos movimiento: solo la primera foto, sin animaciones */
@media (prefers-reduced-motion: reduce) {
    .hero-slide { animation: none; }
    .hero-slide:first-child { opacity: 1; }
    .hero-bajar, .hero-content, .hero-titulo, .hero-descripcion,
    .hero-botones, .hero-datos { animation: none; }
}

@media (max-width: 968px) {
    .hero {
        height: 78vh;
        border-radius: 0 0 32px 32px;
    }
}

@media (max-width: 600px) {
    .hero {
        height: auto;
        min-height: 88vh;
        padding: 110px 0 70px;
        border-radius: 0 0 24px 24px;
    }

    .hero-kicker { font-size: 12px; }

    .btn-hero { padding: 12px 22px; font-size: 15px; }

    .hero-slide span { right: 50%; transform: translateX(50%); bottom: 16px; }

    .hero-bajar { display: none; }
}

/* Al pulsar los botones del hero, bajar suave y sin que la barra fija tape el título */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

.guias {
    scroll-margin-top: 110px;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


    /* ================= SECCIONES GENERALES ================= */
    main {
        /* El hero empieza arriba del todo, detrás del navbar de cristal */
        margin-top: 0;
    }

    .guias {
        max-width: 1300px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .titulo-guias {
        font-family: "Twemoji Country Flags", 'Playfair Display', Georgia, serif;
        font-weight: 700;
        text-align: center;
        font-size: 28px;
        margin-bottom: 30px;
        color: #1b5e20;
        border-bottom: 3px solid #2e7d32;
        padding-bottom: 12px;
        display: inline-block;
        width: auto;
    }

    .contenedor-guias {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
    }

    .card-guia {
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        text-decoration: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        display: block;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-guia:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .card-guia img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .card-guia:hover img {
        transform: scale(1.05);
    }

    /* Nombre del destino abajo, sobre un degradado de la propia foto */
    .titulo-card {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 60px 18px 18px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0) 100%);
        text-align: left;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .seccion {
        max-width: 1300px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .seccion h2 {
        text-align: center;
        font-size: 28px;
        margin-bottom: 30px;
        color: #1b5e20;
    }

    .grid-consejos {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .consejo {
        background: white;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        text-align: center;
        font-weight: 500;
        transition: transform 0.3s;
    }

    .consejo:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    /* ================= RESPONSIVE - MENÚ EN IZQUIERDA ================= */
    @media (max-width: 968px) {
        .navbar {
            padding: 8px 20px;
        }

        .navbar.scrolled {
            padding: 4px 20px;
        }

        .logo img {
            height: 64px;
        }

        .navbar.scrolled .logo img {
            height: 54px;
        }

        .hamburger {
            display: flex;
        }

        /* 🔥 CAMBIO CLAVE: menú se abre desde la IZQUIERDA 🔥 */
        .menu {
            position: fixed;
            top: 0;
            left: -100%;           /* Antes: right: -100% */
            width: 80%;
            max-width: 320px;
            height: 100vh;
            background: white;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 80px 20px 30px;
            margin: 0;
            box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);  /* Sombra a la derecha */
            transition: left 0.3s ease;
            z-index: 1001;
            overflow-y: auto;
        }

        .menu.active {
            left: 0;                /* Antes: right: 0 */
        }

        .menu-principal {
            flex-direction: column;
            width: 100%;
            gap: 8px;
        }

        .menu-principal > li {
            width: 100%;
        }

        .menu-principal > li > a {
            padding: 12px;
            justify-content: space-between;
        }

        .submenu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            background: #f8fafc;
            display: none;
            margin-top: 5px;
            margin-bottom: 10px;
            border-radius: 12px;
            width: 100%;
            border: none;
        }

        .submenu a {
            padding: 10px 15px;
        }

        .submenu a:hover {
            padding-left: 20px;
        }

        .menu-principal > li.active .submenu {
            display: block;
        }

        .menu-principal > li.active > a i {
            transform: rotate(180deg);
        }

        .contenedor-guias {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }

        .card-guia img {
            height: 220px;
        }

        .titulo-card {
            font-size: 16px;
            padding: 48px 14px 14px;
        }
    }

    @media (max-width: 600px) {
        main {
            margin-top: 0;
        }

        .guias {
            padding: 30px 15px;
        }

        .titulo-guias {
            font-size: 22px;
            display: block;
            text-align: center;
        }

        .contenedor-guias {
            grid-template-columns: 1fr;
        }

        .card-guia img {
            height: 200px;
        }

        .seccion {
            padding: 30px 15px;
        }

        .seccion h2 {
            font-size: 22px;
        }

        .grid-consejos {
            grid-template-columns: 1fr;
        }
    }

/* ================= MENÚ MÓVIL: .menu LATERAL ================= */
@media (max-width: 968px) {
    /* Fondo en degradado suave, esquina redondeada y sombra verdosa */
    .menu {
        background: linear-gradient(180deg, #ffffff 0%, #f1f8f1 55%, #e8f5e9 100%);
        padding: 150px 18px 30px;
        border-radius: 0 24px 24px 0;
        box-shadow: 8px 0 30px rgba(27, 94, 32, 0.18);
    }

    /* Cabecera del panel: solo la ilustración del avión y el globo */
    .menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 130px;
        background:
            url("../img/fondo1.jpg") center bottom -20px / auto 165px no-repeat,
            #fff;
        border-bottom: 3px solid #2e7d32;
        border-radius: 0 24px 0 0;
    }

    /* Fondo de detrás del panel: oscuro y algo desenfocado */
    .menu-overlay.active {
        background: rgba(15, 47, 68, 0.45);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

    /* Continentes como tarjetas; el abierto, en verde */
    .menu-principal {
        gap: 10px;
    }

    .menu-principal > li > a {
        background: #fff;
        border: 1px solid #c8e6c9;
        border-radius: 14px;
        padding: 14px 16px;
        font-size: 16px;
        box-shadow: 0 2px 8px rgba(27, 94, 32, 0.06);
    }

    .menu-principal > li > a i {
        color: #2e7d32;
    }

    .menu-principal > li.active > a {
        background: #2e7d32;
        border-color: #2e7d32;
        color: #fff;
    }

    .menu-principal > li.active > a i {
        color: #fff;
    }

    /* Destinos en dos columnas de "chips" en lugar de una lista larguísima */
    .menu-principal > li.active .submenu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        background: transparent;
        padding: 10px 0 4px;
    }

    .submenu a {
        background: #fff;
        border: 1px solid #e0eee0;
        border-radius: 12px;
        padding: 9px 10px;
        font-size: 13.5px;
        gap: 8px;
    }

    .submenu a i {
        width: 16px;
        font-size: 13px;
    }

    .submenu a:hover {
        padding-left: 10px;
        background: #e8f5e9;
        border-color: #c8e6c9;
    }
}

/* ================= BOTONES TIPO PÍLDORA (zonas del mapa) ================= */
.filtro {
    font-family: "Twemoji Country Flags", 'Poppins', 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1b5e20;
    background: #f1f8f1;
    border: 1px solid #c8e6c9;
    border-radius: 30px;
    padding: 7px 15px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.filtro:hover {
    background: #e8f5e9;
}

.filtro.activo {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.filtro:focus-visible {
    outline: 3px solid #ffb703;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .filtro {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ================= MAPA DE VIAJES (portada) ================= */
.mapa-viajes {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 10px;
    text-align: center;
    scroll-margin-top: 100px;
}

.mapa-resumen {
    margin: 4px 0 14px;
    font-size: 16px;
    color: #37474f;
}

.mapa-resumen strong {
    font-size: 20px;
    color: #1b5e20;
}

.mapa-zonas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.mapa-lienzo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f4faf4 0%, #e6f2e6 100%);
    border: 1px solid #c8e6c9;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.10);
}

.mapa-svg {
    display: block;
    width: 100%;
    height: auto;
}

.mapa-tierra {
    fill: #b5d9b5;
    stroke: #ffffff;
    stroke-width: 0.7;
    vector-effect: non-scaling-stroke;
}

.mapa-punto circle {
    fill: #e53935;
    stroke: #ffffff;
    stroke-width: 1.6;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
    transition: fill 0.2s ease;
}

.mapa-punto:hover circle,
.mapa-punto:focus circle {
    fill: #b71c1c;
}

.mapa-punto:focus {
    outline: none;
}

.mapa-punto:focus-visible circle {
    stroke: #ffb703;
    stroke-width: 3;
}

/* Etiqueta con el nombre del destino */
.mapa-etiqueta {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, calc(-100% - 12px));
    padding: 6px 12px;
    font-family: "Twemoji Country Flags", 'Poppins', 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    background: #1b5e20;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.mapa-etiqueta::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: #1b5e20;
    transform: translateX(-50%) rotate(45deg);
}

/* Si el punto está muy arriba, la etiqueta va debajo */
.mapa-etiqueta.abajo {
    transform: translate(-50%, 16px);
}

.mapa-etiqueta.abajo::after {
    top: -5px;
    bottom: auto;
}

.mapa-ayuda {
    margin: 10px 0 0;
    font-size: 13px;
    color: #546e7a;
}

@media (max-width: 600px) {
    .mapa-viajes {
        padding: 30px 15px 10px;
    }

    .mapa-lienzo {
        border-radius: 16px;
    }

    .mapa-etiqueta {
        font-size: 13px;
        padding: 5px 10px;
    }
}
