/* Paleta Institucional Inspirada en el Beni - Río Mamoré & Teal Amazónico */
:root {
    --trini-font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --bs-font-sans-serif: var(--trini-font-family);
    --bs-body-font-family: var(--trini-font-family);
    --trini-green: #0f3b43;
    --trini-green-light: #0d9488;
    --trini-green-dark: #09252a;
    --trini-gold: #f97316;
    --trini-gold-hover: #ea580c;
    --trini-bg-body: #f7faf9;
    --trini-card-border: #e2e8f0;
}

body {
    margin: 0;
    font-family: var(--trini-font-family);
    color: #132a2f;
    background-color: var(--trini-bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea, .form-control, .form-select {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6, 
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6, 
.btn, .navbar-brand, .nav-link {
    font-family: var(--trini-font-family);
}

/* Navbar Flotante Moderno con esquinas semi curvas, alargado y separación lateral */
.navbar-trinidad {
    background-color: var(--trini-green);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease;
}

body > .navbar-trinidad,
.page-home > .navbar-trinidad {
    position: fixed;
    top: 6px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 1580px;
    margin-inline: auto;
    z-index: 1030;
    border-radius: 24px;
    padding: 0.55rem 1.6rem !important;
}

/* Estado 1: Transparente (al inicio / sobre el Hero) */
.page-home > .navbar-trinidad.navbar-transparente {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
}

/* Estado 2: Scrolled / Estado Sólido Glassmorphism (al desplazarse hacia abajo) */
body > .navbar-trinidad:not(.navbar-transparente),
.page-home > .navbar-trinidad.navbar-scrolled {
    background: rgba(15, 59, 67, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(45, 212, 191, 0.25) !important;
    box-shadow: 0 10px 35px rgba(9, 37, 42, 0.38) !important;
}

/* Compensar el espacio superior en páginas que no son la portada principal */
body:not(.page-home) {
    padding-top: 96px;
}

@media (max-width: 768px) {
    body > .navbar-trinidad,
    .page-home > .navbar-trinidad {
        top: 4px;
        left: 10px;
        right: 10px;
        border-radius: 18px;
        padding: 0.4rem 0.85rem !important;
    }
    body:not(.page-home) {
        padding-top: 86px;
    }
}

/* Soporte Móvil: Si el menú hamburguesa se abre estando arriba, darle fondo legible */
@media (max-width: 1199.98px) {
    .navbar-trinidad.navbar-transparente.menu-abierto,
    .navbar-trinidad.navbar-transparente.is-open {
        background: rgba(15, 59, 67, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-color: rgba(45, 212, 191, 0.3) !important;
        box-shadow: 0 12px 35px rgba(9, 37, 42, 0.45) !important;
    }
}





html {
    scroll-behavior: smooth;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior-y: auto;
}

body {
    overflow-x: clip;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

#inicio,
#explorar,
#eventos-18-noviembre,
#agenda-festividades,
#promociones,
#guia-trinidad,
#transporte,
#galeria,
#unirse {
    scroll-margin-top: calc(5.5rem + 14px);
}

/* Compensación de desplazamiento para la sección de Entrada Folklórica */
#entrada-universitaria {
    scroll-margin-top: 75px;
}
.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: rgba(13, 148, 136, 0.2);
    color: var(--trini-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botón de acción Negocios en Navbar */
.btn-teal-action {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
    transition: all 0.2s ease;
}
.btn-teal-action:hover, .btn-teal-action:focus {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35) !important;
}

/* Clases utilitarias Paleta Río Mamoré & Teal */
.btn-outline-teal {
    border-color: #0d9488 !important;
    color: #0d9488 !important;
    background-color: transparent !important;
    transition: all 0.2s ease;
}
.btn-outline-teal:hover, .btn-outline-teal:focus {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25) !important;
}

.text-teal {
    color: #0d9488 !important;
}

.bg-teal-subtle {
    background-color: #e6fffa !important;
}

.border-teal-subtle {
    border-color: #99f6e4 !important;
}

.badge-teal {
    background-color: #0d9488 !important;
    color: #ffffff !important;
}

.modal-header-teal {
    background: linear-gradient(135deg, #09252a 0%, #0f3b43 55%, #0d9488 100%) !important;
    border-bottom: 1px solid rgba(45, 212, 191, 0.2) !important;
}

.hero-badge-teal {
    background: rgba(10, 42, 48, 0.88) !important;
    color: #ffffff !important;
    border: 1px solid rgba(45, 212, 191, 0.45) !important;
    backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    font-weight: 700;
}

.hero-badge-teal i,
.hero-badge-teal svg {
    color: #2dd4bf !important;
}

.text-teal-highlight {
    color: #2dd4bf !important;
    text-shadow: 0 2px 10px rgba(45, 212, 191, 0.35);
}
/* Logo en la barra de navegación */
.navbar-brand {
    /* Reserva el mismo espacio para ambos logos y evita que el menu se desplace al alternarlos. */
    width: 190px;
    flex: 0 0 190px;
    justify-content: center;
    overflow: visible;
}

.navbar-logo {
    height: 52px;
    width: 100%;
    max-height: 52px;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-logo:hover {
    transform: scale(1.03);
}

.navbar-logo--cambiando {
    opacity: 0;
}

/* logo3 requiere una presencia visual ligeramente mayor. */
.navbar-logo--alterno {
    transform: scale(1.12);
}

/* Ajuste proporcional para celulares */
@media (max-width: 576px) {
    .navbar-brand {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-start;
        padding-left: 0;
        margin-right: auto;
    }

    .navbar-logo {
        height: 40px;
        max-height: 40px;
        width: auto;
        object-fit: contain;
        object-position: left center;
    }
}

/* Dropdown de la barra de navegación */
/* Dropdowns Generales y Barra de Navegación */
.dropdown-menu {
    border: 1px solid rgba(15, 59, 67, 0.12) !important;
}

.dropdown-item {
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
    border-radius: 0.5rem;
    padding: 0.5rem 0.85rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #e6fffa !important;
    color: #0f3b43 !important;
}

.dropdown-item:active,
.dropdown-item.active {
    background-color: #0d9488 !important;
    color: #ffffff !important;
}

.dropdown-item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.35);
}

/* Estilos específicos para Dropdown Oscuro / Barra de Navegación BeniTours */
.dropdown-menu-dark.bg-teal-dark {
    background-color: #09252a !important;
    border: 1px solid rgba(45, 212, 191, 0.25) !important;
}

.dropdown-menu-dark .dropdown-item {
    color: #e2e8f0 !important;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.35) 0%, rgba(15, 59, 67, 0.6) 100%) !important;
    color: #ffffff !important;
}

.dropdown-menu-dark .dropdown-item:hover .text-white-50,
.dropdown-menu-dark .dropdown-item:focus .text-white-50 {
    color: #ccfbf1 !important; /* Texto secundario más nítido y legible en hover */
}

.dropdown-menu-dark .dropdown-item:active,
.dropdown-menu-dark .dropdown-item.active {
    background-color: #0d9488 !important;
    color: #ffffff !important;
}

/* Hero */
.hero-trinidad {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: max(100dvh, 720px);
    box-sizing: border-box;
    padding-block: 6rem 3rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    /* El póster solo se muestra mientras carga el video o si este no está disponible. */
    background: url('../img/hero-poster.webp') center/cover no-repeat;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-video.is-idle {
    opacity: 0;
    z-index: 0;
}

/* Overlay Cinematográfico Amazónico (Garantiza 100% de legibilidad sin tapar el video) */
.hero-overlay-cinematic {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(5, 23, 26, 0.72) 0%,
        rgba(10, 47, 53, 0.45) 45%,
        rgba(4, 18, 20, 0.82) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Badge Glassmorphism */
.hero-badge-glass {
    background: rgba(15, 59, 67, 0.65) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(45, 212, 191, 0.45) !important;
    color: #e6fffa !important;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

/* Título Hero con Relieve */
.hero-title-cinematic {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.02em;
}

.text-teal-gradient {
    color: #34d399 !important;
    background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.6);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
    font-weight: 800;
}

.hero-lead-cinematic {
    color: rgba(240, 253, 250, 0.92) !important;
    font-size: clamp(1rem, 2vw, 1.15rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

/* Buscador Principal Premium Glassmorphism */
.search-box-hero-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 45px rgba(2, 21, 24, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-box-hero-premium:focus-within {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 24px 50px rgba(2, 21, 24, 0.55), 0 0 0 4px rgba(45, 212, 191, 0.25);
}

.search-box-hero-premium { position: relative; z-index: 1050 !important; }
.hero-quick-pills { position: relative; z-index: 1 !important; }
.search-suggestions { position: absolute; z-index: 2000 !important; top: calc(100% + .45rem); left: 0; right: 0; padding: .4rem; background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 1rem; box-shadow: 0 1rem 2.5rem rgba(3,45,48,.2); max-height: 22rem; overflow-y: auto; text-align: left; }
.search-suggestion-item { width: 100%; border: 0; background: transparent; border-radius: .75rem; padding: .65rem .8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #12232a; }
.search-suggestion-item:hover,.search-suggestion-item.active { background: #e8f7f5; color: #006d69; }
.search-suggestion-item small { white-space: nowrap; }

.text-teal-dark {
    color: #0f4a54;
}

.hero-input-text {
    color: #0f172a !important;
    font-weight: 500;
}

.hero-input-text::placeholder {
    color: #64748b;
    font-weight: 400;
}

.btn-hero-buscar {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-hero-buscar:hover {
    transform: scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.45);
}

/* Píldoras de Filtro Rápido Interactivas */
.hero-pill-btn {
    background: rgba(15, 59, 67, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    border-radius: 50rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-pill-btn:hover {
    background: rgba(45, 212, 191, 0.25);
    border-color: #2dd4bf;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Insignias de Confianza */
.hero-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f0fdfa;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 576px) {
    .hero-badge-glass {
        font-size: 0.72rem !important;
        padding: 0.35rem 0.75rem !important;
        white-space: normal;
        line-height: 1.3;
    }

    .hero-title-cinematic {
        font-size: 1.85rem !important;
        line-height: 1.2;
        margin-bottom: 0.65rem !important;
    }

    .hero-lead-cinematic {
        font-size: 0.88rem !important;
        line-height: 1.45;
        padding: 0 0.5rem;
        margin-bottom: 1.25rem !important;
    }

    .search-box-hero-premium {
        border-radius: 50rem !important;
        box-shadow: 0 10px 25px rgba(2, 21, 24, 0.45);
    }

    .hero-input-text {
        font-size: 0.82rem !important;
    }

    .btn-hero-buscar {
        font-size: 0.82rem !important;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0 !important;
    }

    .hero-pill-btn {
        font-size: 0.75rem !important;
        padding: 0.32rem 0.7rem !important;
    }

    .hero-stat-badge {
        font-size: 0.78rem;
    }
}

.hero-stat-highlight {
    background: rgba(15, 59, 67, 0.45);
    padding: 0.3rem 0.85rem;
    border-radius: 50rem;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.hero-stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1199.98px) {
    .page-home .navbar-collapse {
        background: rgba(15, 59, 67, 0.98);
        border: 1px solid rgba(45, 212, 191, 0.2);
        border-radius: 1rem;
        padding: 1rem;
        margin-top: 0.5rem;
    }
}
.search-box-hero {
    max-width: 680px;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.search-box-hero input {
    min-width: 0;
}
.search-box-hero:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25) !important;
}

/* Selector de municipio: más claro, visible y cómodo de usar. */
.municipio-filter {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    width: auto;
    max-width: 320px;
    box-sizing: border-box;
    border: 1px solid rgba(15, 59, 67, 0.16);
    background: linear-gradient(135deg, #ffffff, #f0fdfa);
    box-shadow: 0 4px 14px rgba(15, 59, 67, 0.06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.municipio-filter:focus-within {
    border-color: var(--trini-green-light);
    box-shadow: 0 0 0 .22rem rgba(13, 148, 136, 0.18), 0 6px 16px rgba(15, 59, 67, 0.10);
    transform: translateY(-1px);
}

.municipio-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: .35rem;
    border-radius: 50%;
    color: #ffffff;
    background: var(--trini-green-light);
    flex-shrink: 0;
}

.municipio-filter-label {
    color: var(--trini-green);
}

#selectMunicipio {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    color: var(--trini-green) !important;
    cursor: pointer;
    font-size: 0.92rem;
}

#selectMunicipio:focus {
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .municipio-filter {
        width: auto;
        max-width: 260px;
        min-height: 38px;
        padding-inline: 0.75rem !important;
    }

    .municipio-filter-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    #selectMunicipio {
        font-size: .84rem;
        padding-block: 0.2rem;
    }
}

/* La distancia se muestra abajo a la derecha de la imagen de cada tarjeta. */
.distance-badge-position {
    z-index: 2;
}

@media (max-width: 575.98px) {

    #btnFlotanteItinerario {
        margin: 1rem !important;
        min-width: 0;
    }


    .hero-content {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .search-box-hero {
        padding: 0.4rem !important;
    }

    .search-box-hero input {
        font-size: 0.9rem;
    }
}

.btn-xs {
    font-size: 0.75rem;
}

/* Category Chips */
.chip-filter {
    background-color: #ffffff;
    border: 1px solid var(--trini-card-border);
    color: #495057;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 50rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.chip-filter .bi {
    display: flex;
    align-items: center;
    justify-content: center;
}
.chip-filter .bi::before {
    display: block;
}
.chip-filter:hover {
    background-color: #f1f3f5;
    border-color: #ced4da;
    color: #212529;
}
.chip-filter.active {
    background-color: var(--trini-green);
    border-color: var(--trini-green);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(13, 59, 24, 0.25);
}

@media (min-width: 768px) {
    .chip-filter {
        width: 4rem;
        height: 4rem;
        font-size: 1.6rem;
    }
}

/* Place Cards - Rediseño Editorial Interactivo (Inspirado en la Referencia) */
.place-card-editorial {
    background-color: #ffffff;
    border-radius: 20px !important;
    border: 1px solid rgba(15, 59, 67, 0.08) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.place-card-editorial:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(15, 59, 67, 0.16) !important;
    border-color: rgba(13, 148, 136, 0.35) !important;
}

/* Contenedor de la foto inmersiva */
.place-card-media-wrapper {
    height: 250px;
    width: 100%;
    overflow: hidden;
    background-color: #08282e;
}

.place-card-img {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.place-card-editorial:hover .place-card-img {
    transform: scale(1.08);
}

/* Panel Flotante Curvado Asimétrico */
.place-card-panel-editorial {
    background: #f1fbf8; /* Menta pastel amazónico suave */
    border-top-right-radius: 36px;
    margin-top: -30px;
    z-index: 5;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.place-card-editorial:hover .place-card-panel-editorial {
    background: #e6f7f2;
}

/* Subrayado suave del título al pasar el mouse (como en la referencia) */
.place-card-title-link a {
    color: #0f172a !important;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.place-card-editorial:hover .place-card-title-link a {
    color: #0d9488 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Fila de acciones revelables en hover */
.place-card-hover-actions {
    border-top: 1px solid rgba(13, 148, 136, 0.1);
    transition: all 0.25s ease;
}

.place-card-horario-subtext {
    font-size: 0.72rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #475569 !important;
}

/* Botón Circular de Favorito */
.place-btn-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 59, 67, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.place-btn-icon:hover {
    transform: scale(1.12);
    background-color: #ffe4e6 !important;
    border-color: #f43f5e !important;
}

/* Botón Circular Verde con Flecha (Idéntico a la Referencia) */
.btn-place-arrow-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0f4a54; /* Verde oscuro beniano elegante */
    text-decoration: none !important;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-place-arrow-circle:hover {
    background: #0d9488; /* Verde esmeralda vivo */
    transform: scale(1.12) rotate(-10deg);
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.4) !important;
    color: #ffffff !important;
}

.place-card-editorial:hover .btn-place-arrow-circle {
    background: #0d9488;
    box-shadow: 0 6px 14px rgba(13, 148, 136, 0.3);
}

/* ==========================================================================
   SECCIÓN MAPA REGIONAL INTERACTIVO DEL BENI (ESTILO EDITORIAL REFERENCIA)
   ========================================================================== */
.seccion-mapa-regional-beni {
    background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.22) 0%, transparent 45%),
                linear-gradient(135deg, #051c20 0%, #082e35 55%, #051c20 100%);
    border-top: 1px solid rgba(45, 212, 191, 0.2);
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
}

.titulo-mapa-regional {
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-explorar-mapa {
    background: rgba(15, 59, 67, 0.45);
    border-color: rgba(45, 212, 191, 0.45);
    color: #e6fffa;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.btn-explorar-mapa:hover {
    background: #0d9488;
    border-color: #2dd4bf;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.mapa-beni-wrapper {
    max-width: 580px;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.5));
}

/* Regiones del Mapa SVG */
.region-beni-grupo {
    cursor: pointer;
    outline: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.region-beni-grupo:focus-visible .region-path {
    stroke: #2dd4bf !important;
    stroke-width: 4 !important;
}

.region-path {
    transition: fill 0.35s ease, filter 0.3s ease, stroke 0.25s ease;
}

/* Botón Pin [+] en el centro de cada región */
.region-pin-btn {
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.region-pin-btn .pin-bg {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
    transition: fill 0.2s ease;
}

.region-pin-btn .pin-icon {
    user-select: none;
}

/* Etiqueta flotante con nombre de la región */
.region-tag-label {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   INTERACCIÓN HOVER: REVELACIÓN DE FOTOGRAFÍA REAL (IDÉNTICO A LA REFERENCIA)
   ========================================================================== */
.region-beni-grupo:hover .region-vacadiez,
.region-beni-grupo.is-active .region-vacadiez {
    fill: url(#patronVacaDiez) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

.region-beni-grupo:hover .region-ballivian,
.region-beni-grupo.is-active .region-ballivian {
    fill: url(#patronBallivian) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

.region-beni-grupo:hover .region-yacuma,
.region-beni-grupo.is-active .region-yacuma {
    fill: url(#patronYacuma) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

.region-beni-grupo:hover .region-mamore,
.region-beni-grupo.is-active .region-mamore {
    fill: url(#patronMamore) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

.region-beni-grupo:hover .region-itenez,
.region-beni-grupo.is-active .region-itenez {
    fill: url(#patronItenez) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

.region-beni-grupo:hover .region-cercado,
.region-beni-grupo.is-active .region-cercado {
    fill: url(#patronCercado) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

.region-beni-grupo:hover .region-moxos,
.region-beni-grupo.is-active .region-moxos {
    fill: url(#patronMoxos) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

.region-beni-grupo:hover .region-marban,
.region-beni-grupo.is-active .region-marban {
    fill: url(#patronMarban) !important;
    stroke: #ffffff !important;
    stroke-width: 3.5 !important;
}

/* Overlays de pines y etiquetas flotantes en la capa superior */
.provincia-overlay {
    opacity: 0.92;
    transition: opacity 0.25s ease;
}

.provincia-overlay .region-tag-label {
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.provincia-overlay.is-hover .region-pin-btn,
.provincia-overlay.is-active .region-pin-btn {
    transform: scale(1.15);
}

.provincia-overlay.is-hover .region-pin-btn .pin-bg,
.provincia-overlay.is-active .region-pin-btn .pin-bg {
    fill: #0d9488;
}

.provincia-overlay.is-hover .region-pin-btn .pin-icon,
.provincia-overlay.is-active .region-pin-btn .pin-icon {
    fill: #ffffff;
}

.provincia-overlay.is-hover .region-tag-label,
.provincia-overlay.is-active .region-tag-label {
    opacity: 1;
}

.card-header-place {
    background: linear-gradient(135deg, var(--trini-green) 0%, #164e56 100%);
}

.place-icon-bubble {
    width: 62px;
    height: 62px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 59, 67, 0.15);
}

.badge-publico {
    background-color: #0d9488;
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 600;
}
.badge-comercio {
    background-color: #f97316;
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   TARJETAS DE CONSEJOS DEL VIAJERO (DISEÑO FIJO SIN EFECTO HOVER DE INVERSIÓN)
   ========================================================================== */
.guide-card {
    --guide-color: #0d9488;
    --guide-text: #ffffff;
    --guide-copy: #e6fffa;
    background-color: var(--guide-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.18);
}

.guide-card-transport {
    --guide-color: #0d9488;
    --guide-copy: #ccfbf1;
}

.guide-card-food {
    --guide-color: #0f4a54;
    --guide-copy: #e2f4f2;
}

.guide-card-sunset {
    --guide-color: #086b86;
    --guide-copy: #eefbff;
}

/* Textos blancos fijos */
.guide-card h5 {
    color: var(--guide-text) !important;
}

.guide-card p {
    color: var(--guide-copy) !important;
}

/* Contenedor del Icono circular: blanco con icono de color */
.guide-card .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    color: var(--guide-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   ANIMALES AMAZÓNICOS: PEREZOSO BENIANO Y TUCÁN TOCO (SECCIÓN CONSEJOS)
   ========================================================================== */
.perezoso-flotante-box,
.tucan-flotante-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.perezoso-flotante-box:hover {
    transform: scale(1.08) translateY(-4px);
}

.tucan-flotante-box:hover {
    transform: scale(1.08) translateY(-4px);
}

/* Balanceo suave de hamaca del perezoso colgado */
.perezoso-cuerpo-hamaca {
    transform-origin: 80px 24px;
    animation: hamacaPerezoso 4.2s ease-in-out infinite alternate;
}

@keyframes hamacaPerezoso {
    0% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(2deg);
    }
    100% {
        transform: rotate(-3deg);
    }
}

.perezoso-cabecita {
    transform-origin: 80px 62px;
    animation: inclinacionPerezoso 5.5s ease-in-out infinite alternate;
}

@keyframes inclinacionPerezoso {
    0%, 100% {
        transform: rotate(0deg);
    }
    45% {
        transform: rotate(4deg);
    }
    75% {
        transform: rotate(-3deg);
    }
}

/* ==========================================================================
   TIGRE / JAGUAR AMAZÓNICO (PANTHERA ONCA) - SECCIÓN MAPA REGIONAL DEL BENI
   Emblema de la selva y las pampas benianas, vigilando con gracia en la esquina
   ========================================================================== */
.tigre-mapa-box {
    position: absolute;
    bottom: 0px;
    right: 15px;
    width: 175px;
    height: 140px;
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.tigre-mapa-box:hover {
    transform: scale(1.08) translateY(-6px);
}

.tigre-cabeza-animada {
    transform-origin: 85px 65px;
    animation: respiracionTigre 4.8s ease-in-out infinite;
}

.tigre-cola-animada {
    transform-origin: 25px 95px;
    animation: balanceoColaTigre 3.2s ease-in-out infinite alternate;
}

.tigre-ojo-izq {
    transform-origin: 125px 58px;
    animation: parpadeoOjoTigre 5.6s ease-in-out infinite;
}

.tigre-ojo-der {
    transform-origin: 147px 59px;
    animation: parpadeoOjoTigre 5.6s ease-in-out infinite;
}

@keyframes parpadeoOjoTigre {
    0%, 95%, 99%, 100% {
        transform: scaleY(1);
    }
    97% {
        transform: scaleY(0.08);
    }
}

@media (max-width: 991.98px) {
    .tigre-mapa-box {
        width: 135px;
        height: 110px;
        right: 5px;
        bottom: -5px;
        opacity: 0.85;
    }
}

@media (max-width: 575.98px) {
    .tigre-mapa-box {
        display: none; /* Ocultar en móviles ultra estrechos para no solapar el mapa */
    }
}

/* Movimiento curioso de la cabeza y gran pico del Tucán */
.tucan-cabeza-animada {
    transform-origin: 75px 50px;
    animation: movimientoTucanCurioso 3.4s ease-in-out infinite;
}

@keyframes movimientoTucanCurioso {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-6deg);
    }
    55% {
        transform: rotate(4deg);
    }
    75% {
        transform: rotate(-2deg);
    }
}
.site-footer {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 88% 5%, rgba(13, 148, 136, .22), transparent 28%), linear-gradient(135deg, #09252a, #0f3b43 58%, #0d4650);
}
.site-footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 22px 22px; }
.site-footer-inner { position: relative; padding-top: 3.5rem; padding-bottom: 1.5rem; }
.site-footer-logo { width: auto; height: 58px; max-width: 220px; object-fit: contain; filter: drop-shadow(0 7px 14px rgba(0, 0, 0, .22)); }
.site-footer h5 span { color: #2dd4bf; }
.site-footer-tagline { color: rgba(255,255,255,.62); font-size: .72rem; letter-spacing: .04em; }
.site-footer p { color: rgba(255,255,255,.72) !important; max-width: 520px; line-height: 1.7; }
.site-footer-location { display: inline-flex; align-items: center; padding: .48rem .85rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50rem; background: rgba(255,255,255,.08); color: #ffffff; font-size: .8rem; }
.site-footer-location .bi { color: #2dd4bf !important; }
.site-footer h6 { color: #ffffff; letter-spacing: .08em; }
.site-footer-links a { display: inline-flex; align-items: center; color: rgba(255,255,255,.7); text-decoration: none; transition: transform .18s ease, color .18s ease; }
.site-footer-links a:hover { color: #ffffff; transform: translateX(4px); }
.site-footer-links .bi, .site-footer .text-warning { color: #2dd4bf !important; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
.site-footer-bottom .bi { color: #2dd4bf; }
.site-footer-social { display: flex; align-items: center; gap: .65rem; }
.site-footer-social a { display: inline-grid; width: 2.3rem; height: 2.3rem; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #ffffff; background: rgba(255,255,255,.08); font-size: 1.05rem; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.site-footer-social a:hover, .site-footer-social a:focus-visible { color: #ffffff; background: rgba(13, 148, 136, .35); border-color: #2dd4bf; transform: translateY(-3px); outline: none; }



.place-map {
    background-color: #edf3ef;
}
.place-map iframe {
    display: block;
    width: 100%;
    height: clamp(260px, 45vw, 380px);
    border: 0;
}

.menu-drive-card {
    background: linear-gradient(135deg, #f7fbf8, #eef7f0);
}

.menu-drive-card p {
    max-width: 27rem;
}

.menu-drive-icon {
    display: inline-grid;
    width: 3.4rem;
    height: 3.4rem;
    place-items: center;
    border-radius: 1rem;
    color: #d84840;
    background: #fff0ef;
    font-size: 1.65rem;
}

.hero-cta {
    background: linear-gradient(135deg, #09252a 0%, #0f3b43 50%, #0d9488 100%);
    border: 1px solid rgba(45, 212, 191, 0.25);
    box-shadow: 0 16px 36px rgba(15, 59, 67, 0.2);
}

.hero-cta .lead {
    color: rgba(255, 255, 255, 0.95) !important;
}

.hero-cta .btn-cta-negocio {
    background-color: #f97316 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-cta .btn-cta-negocio:hover {
    background-color: #ea580c !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4) !important;
}

/* ==========================================================================
   BANNER COMERCIAL E IDENTIDAD AMAZÓNICA (VUELO DE PARABA BENIANA)
   ========================================================================== */
.banner-negocio-amazonia {
    background: linear-gradient(135deg, #061c20 0%, #0a353c 45%, #084c4e 100%) !important;
    border: 1px solid rgba(45, 212, 191, 0.3) !important;
    box-shadow: 0 20px 45px rgba(6, 28, 32, 0.35) !important;
}

/* Palmeras tropicales decorativas en la esquina derecha */
.palmera-silueta-bg {
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 290px;
    height: 250px;
    background: radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.16) 0%, rgba(13, 148, 136, 0.05) 55%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

/* Contenedor del Vuelo de la Paraba (Cruza de izquierda a derecha visiblemente) */
.paraba-voladora-wrapper {
    position: absolute;
    top: 8px;
    left: -130px;
    width: 130px;
    height: 75px;
    z-index: 3;
    pointer-events: none;
    animation: vueloParabaContinuo 14s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.paraba-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

@keyframes vueloParabaContinuo {
    0% {
        transform: translate3d(0, 0, 0) scale(0.65) rotate(4deg);
        opacity: 0;
    }
    4% {
        opacity: 0.95;
    }
    28% {
        transform: translate3d(360px, 16px, 0) scale(0.85) rotate(-2deg);
        opacity: 0.95;
    }
    55% {
        transform: translate3d(780px, -10px, 0) scale(0.9) rotate(3deg);
        opacity: 0.95;
    }
    80% {
        transform: translate3d(1150px, 15px, 0) scale(0.82) rotate(-2deg);
        opacity: 0.95;
    }
    94% {
        transform: translate3d(1360px, -12px, 0) scale(0.75) rotate(1deg);
        opacity: 0.85;
    }
    100% {
        transform: translate3d(1480px, -20px, 0) scale(0.7) rotate(0deg);
        opacity: 0;
    }
}

/* Mascota Paraba Barba Azul Visible y Fija en el Banner (Versión Posada Ampliada y Detallada) */
.paraba-emblema-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
    animation: respiracionParabaPosada 3.8s ease-in-out infinite alternate;
}

.paraba-emblema-box:hover {
    transform: scale(1.08) translateY(-6px);
}

.paraba-emblema-svg {
    overflow: visible;
}

/* Respiración suave y viva en la rama */
@keyframes respiracionParabaPosada {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(1deg);
    }
    100% {
        transform: translateY(1.5px) rotate(-0.8deg);
    }
}

/* Aleteo vivo continuo del ala posada */
.paraba-ala-posada-animada {
    transform-origin: 54px 52px;
    animation: aleteoAlaPosadaViva 2.8s ease-in-out infinite;
}

@keyframes aleteoAlaPosadaViva {
    0%, 65%, 100% {
        transform: rotate(0deg) scale(1);
    }
    72% {
        transform: rotate(-14deg) scale(1.04, 0.94);
    }
    80% {
        transform: rotate(8deg) scale(0.98, 1.05);
    }
    88% {
        transform: rotate(-8deg) scale(1.02, 0.96);
    }
    94% {
        transform: rotate(3deg);
    }
}

/* Movimiento sutil de las plumas de la cola */
.paraba-cola-posada {
    transform-origin: 64px 94px;
    animation: colaPosadaOndulacion 2.5s ease-in-out infinite alternate;
}

@keyframes colaPosadaOndulacion {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(3deg) translateY(2px);
    }
}

/* Aleteo fluido de las alas del guacamayo */
.paraba-ala-delantera {
    transform-origin: 46px 30px;
    animation: aleteoAlaParaba 0.62s ease-in-out infinite alternate;
}

.paraba-ala-trasera {
    transform-origin: 52px 28px;
    animation: aleteoAlaParaba 0.62s ease-in-out infinite alternate 0.06s;
}

@keyframes aleteoAlaParaba {
    0% {
        transform: rotate(0deg) scaleY(1);
    }
    50% {
        transform: rotate(-18deg) scaleY(0.72);
    }
    100% {
        transform: rotate(22deg) scaleY(1.18);
    }
}

/* Movimiento armónico de las plumas de la cola */
.paraba-cola {
    transform-origin: 82px 45px;
    animation: ondulacionColaParaba 1.25s ease-in-out infinite alternate;
}

@keyframes ondulacionColaParaba {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(5deg) translateY(2.5px);
    }
}

/* Efecto de brillo sutil en el botón CTA */
.hero-cta .btn-cta-negocio {
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-cta-negocio::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg);
    animation: brilloBotonCta 4.5s ease-in-out infinite;
}

@keyframes brilloBotonCta {
    0%, 70% {
        left: -60%;
    }
    85%, 100% {
        left: 140%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .paraba-voladora-wrapper,
    .paraba-ala-delantera,
    .paraba-ala-trasera,
    .paraba-cola,
    .hero-cta .btn-cta-negocio::after {
        animation: none !important;
    }
}



.extra-small {
    font-size: 0.75rem;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   FILTROS DE CATEGORÍAS MULTICOLOR & RESPONSIVE
   ========================================================================== */

/* Contenedor Centrado */
.category-filter-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Base del Botón Circular */
.chip-filter-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Tooltip elegante flotante con flecha que sale del icono */
.chip-filter-icon[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 11px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(9, 37, 42, 0.95);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(45, 212, 191, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s ease;
    z-index: 1050;
}

/* Flechita / triángulo que conecta hacia el icono */
.chip-filter-icon[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: rgba(9, 37, 42, 0.95) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s ease;
    z-index: 1050;
}

.chip-filter-icon:hover[data-tooltip]::before,
.chip-filter-icon:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Colores personalizados del Tooltip según la Categoría (Fondo temático y flecha) */
/* 1. Todos: Teal */
.chip-filter-icon.cat-color-all[data-tooltip]::before {
    background: #0f3b43;
    border-color: #2dd4bf;
    color: #ffffff;
}
.chip-filter-icon.cat-color-all[data-tooltip]::after {
    border-top-color: #0f3b43;
}

/* 2. Cerca de mí (Rojo) */
.chip-filter-icon.cat-color-geo[data-tooltip]::before {
    background: #dc2626;
    border-color: #f87171;
    color: #ffffff;
}
.chip-filter-icon.cat-color-geo[data-tooltip]::after {
    border-top-color: #dc2626;
}

/* 3. Naturaleza (Verde Esmeralda) */
.chip-filter-icon.cat-color-nature[data-tooltip]::before {
    background: #059669;
    border-color: #34d399;
    color: #ffffff;
}
.chip-filter-icon.cat-color-nature[data-tooltip]::after {
    border-top-color: #059669;
}

/* 4. Gastronomía (Naranja Ámbar) */
.chip-filter-icon.cat-color-gastro[data-tooltip]::before {
    background: #ea580c;
    border-color: #fb923c;
    color: #ffffff;
}
.chip-filter-icon.cat-color-gastro[data-tooltip]::after {
    border-top-color: #ea580c;
}

/* 5. Hoteles (Azul Cielo) */
.chip-filter-icon.cat-color-hotel[data-tooltip]::before {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
}
.chip-filter-icon.cat-color-hotel[data-tooltip]::after {
    border-top-color: #0284c7;
}

/* 6. Vida Nocturna (Violeta Neón) */
.chip-filter-icon.cat-color-night[data-tooltip]::before {
    background: #7c3aed;
    border-color: #a78bfa;
    color: #ffffff;
}
.chip-filter-icon.cat-color-night[data-tooltip]::after {
    border-top-color: #7c3aed;
}

/* 7. Balnearios (Cian / Turquesa) */
.chip-filter-icon.cat-color-water[data-tooltip]::before {
    background: #0891b2;
    border-color: #22d3ee;
    color: #ffffff;
}
.chip-filter-icon.cat-color-water[data-tooltip]::after {
    border-top-color: #0891b2;
}

/* 8. Museos y Patrimonio (Amarillo Dorado) */
.chip-filter-icon.cat-color-gold[data-tooltip]::before {
    background: #ca8a04;
    border-color: #fde047;
    color: #ffffff;
}
.chip-filter-icon.cat-color-gold[data-tooltip]::after {
    border-top-color: #ca8a04;
}

/* 9. Comercio (Rosa Coral) */
.chip-filter-icon.cat-color-shop[data-tooltip]::before {
    background: #db2777;
    border-color: #f472b6;
    color: #ffffff;
}
.chip-filter-icon.cat-color-shop[data-tooltip]::after {
    border-top-color: #db2777;
}

.chip-filter-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.chip-filter-icon.active {
    transform: translateY(-2px) scale(1.06);
}

/* --------------------------------------------------------------------------
   COLORES INDIVIDUALES POR CATEGORÍA
   -------------------------------------------------------------------------- */

/* 1. Todos (Río Mamoré & Teal Amazónico) */
.chip-filter-icon.cat-color-all {
    background-color: #0f3b43;
    border-color: #09252a;
    color: #ffffff;
}
.chip-filter-icon.cat-color-all:hover {
    background-color: #e6fffa;
    border-color: #5eead4;
    color: #0f3b43;
}
.chip-filter-icon.cat-color-all.active {
    background: linear-gradient(135deg, #09252a 0%, #0d9488 100%);
    border-color: #0f3b43;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(15, 59, 67, 0.35);
}

/* 2. Naturaleza / Atractivos (Verde Esmeralda) */
.chip-filter-icon.cat-color-nature {
    background-color: #10b981;
    border-color: #059669;
    color: #ffffff;
}
.chip-filter-icon.cat-color-nature:hover {
    background-color: #d1fae5;
    border-color: #6ee7b7;
    color: #047857;
}
.chip-filter-icon.cat-color-nature.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* 3. Gastronomía / Cafeterías (Naranja Ámbar) */
.chip-filter-icon.cat-color-gastro {
    background-color: #f97316;
    border-color: #ea580c;
    color: #ffffff;
}
.chip-filter-icon.cat-color-gastro:hover {
    background-color: #ffedd5;
    border-color: #fdba74;
    color: #c2410c;
}
.chip-filter-icon.cat-color-gastro.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-color: #f97316;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

/* 4. Vida Nocturna / Bares (Violeta Neón) */
.chip-filter-icon.cat-color-night {
    background-color: #8b5cf6;
    border-color: #7c3aed;
    color: #ffffff;
}
.chip-filter-icon.cat-color-night:hover {
    background-color: #ede9fe;
    border-color: #c4b5fd;
    color: #6d28d9;
}
.chip-filter-icon.cat-color-night.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border-color: #8b5cf6;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* 5. Hotelería / Hospedaje (Azul Cielo) */
.chip-filter-icon.cat-color-hotel {
    background-color: #0ea5e9;
    border-color: #0284c7;
    color: #ffffff;
}
.chip-filter-icon.cat-color-hotel:hover {
    background-color: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}
.chip-filter-icon.cat-color-hotel.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-color: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

/* 6. Balnearios / Recreación Acuática (Turquesa / Cian) */
.chip-filter-icon.cat-color-water {
    background-color: #06b6d4;
    border-color: #0891b2;
    color: #ffffff;
}
.chip-filter-icon.cat-color-water:hover {
    background-color: #cffafe;
    border-color: #67e8f9;
    color: #0e7490;
}
.chip-filter-icon.cat-color-water.active {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-color: #0891b2;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

/* 7. Museos / Patrimonio Cultural (Dorado / Ámbar) */
.chip-filter-icon.cat-color-gold {
    background-color: #eab308;
    border-color: #ca8a04;
    color: #ffffff;
}
.chip-filter-icon.cat-color-gold:hover {
    background-color: #fef9c3;
    border-color: #fde047;
    color: #a16207;
}
.chip-filter-icon.cat-color-gold.active {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    border-color: #eab308;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.4);
}

/* 8. Comercio / Tiendas (Rosa Coral) */
.chip-filter-icon.cat-color-shop {
    background-color: #ec4899;
    border-color: #db2777;
    color: #ffffff;
}
.chip-filter-icon.cat-color-shop:hover {
    background-color: #fce7f3;
    border-color: #f9a8d4;
    color: #be185d;
}
.chip-filter-icon.cat-color-shop.active {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    border-color: #ec4899;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

/* 9. Hospitales y Salud (Rojo Emergencias Médicas) */
.chip-filter-icon.cat-color-health {
    background-color: #e11d48;
    border-color: #be123c;
    color: #ffffff;
}
.chip-filter-icon.cat-color-health:hover {
    background-color: #ffe4e6;
    border-color: #fda4af;
    color: #be123c;
}
.chip-filter-icon.cat-color-health.active {
    background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%);
    border-color: #e11d48;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.45);
}

/* 10. Policía y Seguridad (Azul Cobalto Oficial) */
.chip-filter-icon.cat-color-police {
    background-color: #1d4ed8;
    border-color: #1e40af;
    color: #ffffff;
}
.chip-filter-icon.cat-color-police:hover {
    background-color: #dbeafe;
    border-color: #93c5fd;
    color: #1e40af;
}
.chip-filter-icon.cat-color-police.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    border-color: #1d4ed8;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.45);
}

/* 11. Bancos y Cajeros Automáticos ATM (Verde Financiero / Éxito) */
.chip-filter-icon.cat-color-atm {
    background-color: #059669;
    border-color: #047857;
    color: #ffffff;
}
.chip-filter-icon.cat-color-atm:hover {
    background-color: #d1fae5;
    border-color: #6ee7b7;
    color: #047857;
}
.chip-filter-icon.cat-color-atm.active {
    background: linear-gradient(135deg, #059669 0%, #065f46 100%);
    border-color: #059669;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.45);
}

/* --------------------------------------------------------------------------
   ADAPTACIÓN RESPONSIVA (MÓVIL / TABLET)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
    .category-filter-container {
        gap: 0.55rem !important;
    }

    .chip-filter-icon {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }
}


/* ==========================================================================
   BOTÓN GPS "CERCA DE MÍ" DENTRO DE CATEGORÍAS
   ========================================================================== */
.cat-color-geo {
    background-color: #dc2626;
    color: #ffffff;
    border: 2px solid #b91c1c;
    position: relative;
    transition: all 0.25s ease;
}

.cat-color-geo:hover {
    background-color: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
    box-shadow: 0 5px 16px rgba(220, 38, 38, 0.2);
}

/* Estado cuando la geolocalización está encendida */
.cat-color-geo.active {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25), 0 4px 12px rgba(220, 38, 38, 0.4) !important;
    animation: pulseGeo 2s infinite;
}

/* Selección de planes del asistente comercial. */
#formSolicitudComercial .plan-card {
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#formSolicitudComercial .plan-card.active-plan {
    border-color: var(--trini-green) !important;
    background-color: #eef7f0;
    box-shadow: 0 0 0 1px var(--trini-green);
}

#formSolicitudComercial .plan-card:focus-within {
    outline: 3px solid var(--trini-gold);
    outline-offset: 3px;
}

/* ==========================================================================
   FICHA DE DETALLE EDITORIAL Y PANORÁMICA (ESTILO PORTAL TURÍSTICO)
   Carrusel panorámico adaptable + Tarjeta flotante superpuesta
   ========================================================================== */
.lugar-panoramico-hero {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background-color: #051c20;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.place-detail-slide {
    position: relative;
    height: 520px;
    background-color: #051c20;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Capa de fondo desenfocado que armoniza fotos cuadradas, verticales o panorámicas */
.place-detail-slide-bg {
    position: absolute;
    inset: -25px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(28px) brightness(0.45) saturate(1.2);
    transform: scale(1.12);
    z-index: 1;
    pointer-events: none;
}

/* Fotografía principal: se ve completa y nítida sin recortes agresivos */
.place-detail-photo {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

@media (max-width: 991.98px) {
    .place-detail-slide {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .lugar-panoramico-hero {
        border-radius: 1.25rem;
    }
    .place-detail-slide {
        height: clamp(260px, 68vw, 340px);
    }
    .place-detail-photo {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }
}

/* Controles de navegación e indicadores del carrusel */
#carruselLugar .carousel-control-prev,
#carruselLugar .carousel-control-next {
    z-index: 10;
    width: 12%;
    opacity: 0.85;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#carruselLugar .carousel-control-prev:hover,
#carruselLugar .carousel-control-next:hover {
    opacity: 1;
}

#carruselLugar .carousel-indicators {
    z-index: 10;
    pointer-events: auto;
}

#carruselLugar .carousel-indicators [data-bs-target] {
    cursor: pointer;
}

/* Tarjeta flotante superpuesta con solapamiento armónico sobre el hero */
.lugar-header-flotante {
    position: relative;
    background: #ffffff;
    border-radius: 1.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 59, 67, 0.08);
    margin-top: -38px;
    z-index: 4;
}

@media (min-width: 992px) {
    .lugar-header-flotante {
        border-top-right-radius: 3rem;
        max-width: 840px;
        margin-top: -48px;
    }
}

.lugar-header-top-bar {
    width: 100%;
}

@media (max-width: 767.98px) {
    .lugar-header-top-bar {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    .lugar-header-top-bar > div {
        width: 100%;
    }
    .lugar-header-top-bar > div:last-child {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.lugar-header-titulo {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #0f172a;
}

.place-detail-social {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    transition: transform 0.2s ease;
}

.place-detail-social:hover {
    transform: translateY(-3px);
}

.place-detail-social .bi {
    line-height: 1;
}

/* Tarjetas secundarias y mapas en la vista de detalle */
.card-detalle-seccion {
    border: 1px solid rgba(15, 59, 67, 0.08);
    box-shadow: 0 8px 24px rgba(15, 59, 67, 0.04);
}

@media (min-width: 992px) {
    .place-detail-sidebar-sticky {
        position: sticky;
        top: 5.5rem;
        align-self: flex-start;
    }
}

@keyframes pulseGeo {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}


/* ==========================================================================
   TRANSICIÓN Y ADORNO ENTRE HERO Y CATÁLOGO
   ========================================================================== */
.section-divider-wrapper {
    width: 100%;
    margin-top: -65px; /* Sube la ola para solapar el borde inferior del hero */
    z-index: 5;
    pointer-events: none; /* No bloquea clics */
}

/* La curva en SVG */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    filter: drop-shadow(0 -4px 12px rgba(0, 0, 0, 0.08));
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .section-divider-wrapper {
        margin-top: -45px;
    }
    .wave-divider svg {
        height: 48px;
    }
    .divider-badge-pill {
        padding: 0.3rem 0.85rem;
    }
}

/* ==========================================================================
   FASE 3: MAPA INTERACTIVO DE TRINIDAD Y SELECTOR DE VISTAS
   ========================================================================== */
.view-switcher-group {
    background-color: #f8f9fa;
}

.view-switcher-group .btn {
    border: none;
    transition: all 0.2s ease;
}

.view-switcher-group .btn.active {
    background-color: var(--trini-green);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 59, 67, 0.35);
}

.map-catalog-card {
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(15, 59, 67, 0.12) !important;
}

/* Pines personalizados en Leaflet */
.beniturs-map-marker {
    background: transparent;
    border: none;
}

.beniturs-marker-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beniturs-marker-pin:hover {
    transform: rotate(-45deg) scale(1.15);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    z-index: 1000 !important;
}

.beniturs-marker-pin i {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
}

.pin-nature { background: #0d9488; }
.pin-gastro { background: #f97316; }
.pin-hotel  { background: #0284c7; }
.pin-night  { background: #8b5cf6; }
.pin-museum { background: #eab308; }
.pin-water  { background: #06b6d4; }
.pin-shop   { background: #ec4899; }
.pin-health { background: #e11d48; }
.pin-police { background: #1d4ed8; }
.pin-atm    { background: #059669; }
.pin-taxi   { background: #eab308; color: #111827; }
.pin-taxi i { color: #111827 !important; }

/* ===== Tarjeta Transporte Estilo App de Movilidad (Paleta BeniTours) ===== */
.card-transporte-app {
    border: 1px solid var(--trini-card-border, #e2e8f0) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-transporte-app:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.35) !important;
    box-shadow: 0 12px 28px rgba(15, 59, 67, 0.1) !important;
}
.text-trini-dark {
    color: var(--trini-green, #0f3b43) !important;
}
.transporte-app-avatar {
    width: 44px;
    height: 44px;
    background: #fefce8;
    border: 1px solid #fef08a;
    flex-shrink: 0;
}
.transporte-paradas-clean {
    position: relative;
}

.btn-parada-chip {
    font-size: 0.74rem;
    font-weight: 500;
    padding: 0.28rem 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.25;
}

.btn-parada-chip:hover {
    background: #f0fdfa;
    border-color: #0d9488;
    color: #0f766e;
    transform: translateY(-1px);
}

.parada-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.transporte-tag-clean {
    font-size: 0.74rem;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    line-height: 1.25;
}

.font-xxs {
    font-size: 0.42rem !important;
}

.font-sm {
    font-size: 0.85rem !important;
}

.btn-outline-teal {
    color: var(--trini-green-light, #0d9488);
    border: 1px solid var(--trini-card-border, #cbd5e1);
    background: #ffffff;
    transition: all 0.2s ease;
}
.btn-outline-teal:hover {
    color: #ffffff;
    background-color: var(--trini-green, #0f3b43);
    border-color: var(--trini-green, #0f3b43);
    transform: translateY(-1px);
}

/* ===== Lista Escalable de Transporte (Desktop Scroll + Mobile Swipe) ===== */
.transporte-lista-scrollable {
    display: flex;
    gap: 0.85rem;
}

/* Modo Computadora (>= 992px): Columna con scroll interno independiente */
@media (min-width: 992px) {
    .transporte-lista-scrollable {
        flex-direction: column;
        max-height: 560px;
        overflow-y: auto;
        padding-right: 6px;
        overscroll-behavior: contain;
    }
    .transporte-lista-scrollable .card-transporte-app {
        flex-shrink: 0;
    }
    .transporte-lista-scrollable::-webkit-scrollbar {
        width: 6px;
    }
    .transporte-lista-scrollable::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 9999px;
    }
    .transporte-lista-scrollable::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 9999px;
    }
    .transporte-lista-scrollable::-webkit-scrollbar-thumb:hover {
        background: #0d9488;
    }
    .transporte-mapa-card {
        min-height: 560px;
    }
    .transporte-mapa-canvas-box {
        min-height: 480px;
    }
}

/* Modo Celular (< 992px): Carrusel Horizontal Swipe debajo del mapa */
@media (max-width: 991.98px) {
    .transporte-lista-scrollable {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        padding-left: 2px;
        padding-right: 2px;
        -webkit-overflow-scrolling: touch;
        gap: 0.85rem;
    }
    .transporte-lista-scrollable .card-transporte-app {
        flex: 0 0 88%;
        max-width: 360px;
        min-width: 285px;
        scroll-snap-align: center;
    }
    .transporte-lista-scrollable .card-transporte-app .p-3\.5 {
        padding: 1.15rem 1rem !important;
    }
    .transporte-lista-scrollable .transporte-app-avatar {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        margin-right: 0.25rem;
    }
    .transporte-lista-scrollable .card-transporte-app h6 {
        font-size: 0.95rem !important;
        line-height: 1.25 !important;
    }
    .transporte-lista-scrollable .btn-parada-chip,
    .transporte-lista-scrollable .transporte-tag-clean {
        font-size: 0.72rem !important;
        padding: 0.25rem 0.6rem !important;
    }
    .transporte-mapa-card {
        min-height: 340px;
    }
    .transporte-mapa-canvas-box {
        min-height: 300px;
        height: 300px;
    }
}

/* Marcador y contenedor de Mapa de Paradas de Transporte */
#mapaTransporte {
    border-radius: 0 0 1rem 1rem;
    background-color: #e5e7eb;
}
.marker-parada-taxi {
    background: var(--marker-bg, #eab308) !important;
    color: var(--marker-color, #111827) !important;
    border: 2px solid var(--marker-border, #ffffff) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}
.marker-parada-taxi:hover {
    transform: scale(1.22);
    z-index: 1000 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}
.marker-parada-taxi i {
    color: inherit !important;
    font-size: 1.15rem;
}
.marker-parada-secundaria {
    border-style: dashed !important;
    border-width: 2.5px !important;
}
.pin-shop   { background: #ec4899; }
.pin-default{ background: var(--trini-green); }

/* Pines numerados y con iconos de Inicio/Fin para Rutas Turísticas */
.beniturs-ruta-pin-wrapper {
    background: transparent;
    border: none;
}

.beniturs-ruta-pin {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    border: 2.5px solid #ffffff;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.beniturs-ruta-pin:hover {
    transform: rotate(-45deg) scale(1.22);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
    z-index: 2000 !important;
}

.beniturs-ruta-pin .ruta-pin-numero {
    transform: rotate(45deg);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-filtro-ruta {
    transition: all 0.2s ease;
}

.btn-filtro-ruta:hover {
    background-color: rgba(13, 148, 136, 0.08);
    border-color: #0d9488 !important;
    transform: translateY(-1px);
}

.btn-filtro-ruta.active {
    background-color: #0d9488 !important;
    color: #ffffff !important;
    border-color: #0d9488 !important;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35) !important;
}

.btn-filtro-ruta.active i,
.btn-filtro-ruta.active .badge {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: transparent !important;
}

/* Marcador GPS del usuario */
.user-gps-marker {
    background: transparent;
    border: none;
}

.user-gps-dot {
    width: 18px;
    height: 18px;
    background: #0d6efd;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(13, 110, 253, 0.6);
    animation: userGpsPulse 2s infinite;
}

@keyframes userGpsPulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* Popups personalizados en Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    line-height: 1.4 !important;
}

.leaflet-popup-content a {
    text-decoration: none !important;
}

/* Estilo y contraste nítido para botón Ver Ficha en Popups Leaflet */
.leaflet-popup-content a.btn,
.leaflet-popup-content .btn {
    text-decoration: none !important;
}

.leaflet-popup-content a.btn-success,
.leaflet-popup-content .btn-success,
.beniturs-popup-card a.btn-success,
.beniturs-popup-card .btn-success {
    color: #ffffff !important;
    background-color: var(--trini-green, #198754) !important;
    border-color: var(--trini-green, #198754) !important;
}

.leaflet-popup-content a.btn-success:hover,
.leaflet-popup-content .btn-success:hover,
.beniturs-popup-card a.btn-success:hover,
.beniturs-popup-card .btn-success:hover {
    color: #ffffff !important;
    background-color: #0d6b2e !important;
    border-color: #0d6b2e !important;
}

.leaflet-popup-content a.btn-success *,
.leaflet-popup-content .btn-success *,
.beniturs-popup-card a.btn-success *,
.beniturs-popup-card .btn-success * {
    color: #ffffff !important;
}

.leaflet-container a.leaflet-popup-close-button {
    top: 8px !important;
    right: 8px !important;
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: none !important;
    font-size: 14px !important;
    z-index: 10 !important;
}

.beniturs-popup-card {
    width: 280px;
    max-width: 85vw;
}

.beniturs-popup-img {
    height: 140px;
    width: 100%;
    object-fit: cover;
    background-color: #092611;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Protección de Contenido Visual contra Descargas No Autorizadas */
img, video, .place-card img, .hero-video, .gallery-item img, .modal-body img, .beniturs-popup-img {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-touch-callout: none !important; /* Bloquea el menú de 'Guardar imagen' en móviles iOS y Android */
}

/* ==========================================================================
   Estilos de Navegación Activa y Promociones - BeniTours
   ========================================================================== */
.navbar-trinidad .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.navbar-trinidad .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar-trinidad .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(13, 148, 136, 0.28) !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.45);
}

.navbar-trinidad .nav-link.active i {
    color: #2dd4bf !important;
}

/* Sección y Tarjetas de Promociones (Fondo Armónico con el Sitio) */
.seccion-promociones {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--trini-bg-body);
}

.seccion-explorar-catalogo {
    position: relative;
    background-color: var(--trini-bg-body);
}

.seccion-transporte-radiomovil {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #09252a;
}

#transporte {
    scroll-margin-top: 5.5rem;
}

@media (max-width: 575.98px) {
    #transporte {
        scroll-margin-top: 4.75rem;
        padding-top: 1rem !important;
    }
}

.transporte-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.transporte-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 37, 42, 0.88) 0%, rgba(15, 59, 67, 0.82) 50%, rgba(9, 37, 42, 0.92) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
    pointer-events: none;
}

.text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== Sección Galería Turística (Bento Grid) ===== */
.seccion-galeria-turismo {
    background-color: #f8fafc;
}

.bento-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.25rem;
}

.bento-gallery-item {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    cursor: pointer;
    background-color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.bento-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(15, 59, 67, 0.16);
}

.bento-item-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.bento-gallery-item:hover .bento-gallery-img {
    transform: scale(1.06);
}

.bento-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(9, 37, 42, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    z-index: 2;
    transition: opacity 0.3s ease;
}

@media (max-width: 991.98px) {
    .bento-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 0.85rem;
    }
    .bento-item-featured {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 575.98px) {
    .bento-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .bento-item-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.promo-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.promo-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 37, 42, 0.85) 0%, rgba(15, 59, 67, 0.78) 50%, rgba(9, 37, 42, 0.90) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
    pointer-events: none;
}

.seccion-promociones .container {
    position: relative;
    z-index: 2;
}

.card-promocion {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(15, 59, 67, 0.08) !important;
    background: #ffffff;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(15, 59, 67, 0.07) !important;
}

.card-promocion:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 59, 67, 0.14) !important;
    border-color: rgba(13, 148, 136, 0.35) !important;
}

.promo-discount-tag {
    letter-spacing: 0.5px;
    background-color: #f97316 !important;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.35) !important;
}

/* Carrusel de promociones: la tarjeta central marca la promoción activa. */
.promo-carousel {
    overflow: hidden;
    touch-action: pan-y;
}

.promo-carousel-controls {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.promo-carousel-control {
    position: absolute;
    top: calc(50% - 24px);
    z-index: 10;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    pointer-events: auto;
    transition: all 0.25s ease;
}

.promo-carousel-control:hover,
.promo-carousel-control:focus {
    background: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.promo-carousel-control-prev {
    /* Alineado sobre la quinta tarjeta (la más alejada a la izquierda). */
    left: max(.5rem, calc(50% - 529px));
}

.promo-carousel-control-next {
    /* Alineado sobre la quinta tarjeta (la más alejada a la derecha). */
    right: max(.5rem, calc(50% - 529px));
}

.promo-carousel-stage {
    position: relative;
    height: 480px;
}

.promo-carousel-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(360px, calc(100% - 2rem));
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(.82);
    transition: transform .6s cubic-bezier(.22, .61, .36, 1), opacity .45s ease, filter .45s ease;
}

.promo-carousel-card.is-active {
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.promo-carousel-card.is-before,
.promo-carousel-card.is-after {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    filter: none;
}

.promo-carousel-card.is-before {
    transform: translateX(calc(-50% - 285px)) scale(.84);
}

.promo-carousel-card.is-after {
    transform: translateX(calc(-50% + 285px)) scale(.84);
}

/* Dos tarjetas adicionales quedan detrás de las laterales, para una vista de 5. */
.promo-carousel-card.is-back-before,
.promo-carousel-card.is-back-after {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    filter: none;
}

.promo-carousel-card.is-back-before {
    transform: translateX(calc(-50% - 505px)) scale(.64);
}

.promo-carousel-card.is-back-after {
    transform: translateX(calc(-50% + 505px)) scale(.64);
}

.promo-carousel-card .card {
    height: 100%;
}

.promo-carousel-card.is-active .card-promocion {
    box-shadow: 0 18px 35px rgba(15, 59, 67, .18) !important;
}

.promo-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin-top: 1rem;
}

.promo-carousel-indicators button {
    width: .55rem;
    height: .55rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    transition: width .25s ease, background-color .25s ease;
}

.promo-carousel-indicators button.is-active {
    width: 1.55rem;
    border-radius: 99px;
    background: #0d9488;
}

@media (max-width: 767.98px) {
    .promo-carousel-stage {
        height: 470px;
    }

    .promo-carousel-card.is-before,
    .promo-carousel-card.is-after,
    .promo-carousel-card.is-back-before,
    .promo-carousel-card.is-back-after {
        opacity: 0;
        pointer-events: none;
    }

    .promo-carousel-control {
        top: calc(50% - 22px);
        width: 44px;
        height: 44px;
    }

    .promo-carousel-control-prev {
        left: .5rem;
    }

    .promo-carousel-control-next {
        right: .5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-carousel-card,
    .promo-carousel-indicators button {
        transition: none;
    }
}

/* Ajustes visuales de tarjetas y Modal de Promociones */
.promo-card-img-container {
    transition: transform .25s ease;
}
.promo-card-img-container img {
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.card-promocion:hover .promo-card-img-container img {
    transform: scale(1.03);
}
.promo-modal-image-box {
    border: 1px solid rgba(25, 135, 84, 0.15);
}
#modalPromoMapa {
    min-height: 180px;
    z-index: 1;
}

.promo-modal-header-badges {
    display: flex;
    min-width: 0;
    gap: .5rem;
    align-items: center;
}

@media (max-width: 575.98px) {
    #modalDetallePromocion .modal-header {
        align-items: flex-start !important;
        padding: .9rem 1rem !important;
    }

    .promo-modal-header-badges {
        flex: 1 1 auto;
        flex-direction: column;
        align-items: flex-start;
        gap: .4rem;
        max-width: calc(100% - 2.25rem);
    }

    .promo-modal-header-badges .badge {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #modalDetallePromocion .modal-header .btn-close {
        flex: 0 0 auto;
        margin-top: .2rem;
    }
}

/* ==========================================================================
   Botón Ver Más Lugares del Catálogo y Animación de Tarjetas
   ========================================================================== */
.btn-ver-mas-catalogo {
    border-width: 2px !important;
    font-size: 0.95rem;
    transition: all 0.25s ease-in-out;
    background-color: #ffffff;
    color: var(--trini-green);
    border-color: var(--trini-green);
}

.btn-ver-mas-catalogo:hover {
    background-color: var(--trini-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.2rem rgba(25, 135, 84, 0.2) !important;
}

.btn-ver-mas-catalogo:active {
    transform: translateY(0);
}

.card-fade-in {
    animation: fadeInCard 0.4s ease-out forwards;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Publicidad de eventos en la portada */
#modalEventosBeni.fade .modal-dialog {
    transform: scale(0.92) translateY(24px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-out;
}

#modalEventosBeni.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-eventos-beni {
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3rem rgba(8, 61, 74, .28);
}

.modal-eventos-beni .modal-header {
    background: linear-gradient(120deg, #0E4D5E, #2A9D8F);
    padding: 0.75rem 1.25rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-eventos-beni .modal-header .btn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0 0 0 0.5rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50rem;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.modal-eventos-beni .modal-header .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.28);
    transform: scale(1.08);
}

.modal-eventos-eyebrow {
    display: inline-block;
    color: #DDF4F1;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
}

.modal-swipe-hint-pill {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-eventos-beni .modal-title {
    font-size: 1.05rem !important;
}

.evento-publicidad-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0.75rem 1rem 0.25rem 1rem;
    background: radial-gradient(circle at top, #E2F2F0, #EEF5F7 65%);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.evento-publicidad-imagen {
    display: block;
    max-width: 100%;
    max-height: min(48vh, 420px);
    border-radius: .75rem;
    box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .18);
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    cursor: pointer;
}

.evento-publicidad-info {
    width: min(100%, 500px);
    margin-top: 0.65rem;
    padding: .65rem .85rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: .75rem;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 .2rem .65rem rgba(15, 23, 42, .08);
}

.modal-eventos-beni .modal-footer {
    padding: 0.5rem 1rem 0.85rem 1rem !important;
}

#carruselEventosBeni .carousel-indicators {
    margin-top: 0.25rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.5rem !important;
}

#carruselEventosBeni .carousel-control-prev,
#carruselEventosBeni .carousel-control-next {
    width: 10%;
}

#carruselEventosBeni .carousel-control-prev-icon,
#carruselEventosBeni .carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    padding: .45rem;
    border-radius: 50%;
    background-color: rgba(14, 77, 94, .82);
    background-size: 55%;
}

#carruselEventosBeni .carousel-indicators [data-bs-target] {
    width: .5rem;
    height: .5rem;
    margin: 0 .25rem;
    border: 0;
    border-radius: 50%;
    background-color: #2A9D8F;
}

@media (max-width: 575.98px) {
    .modal-eventos-beni { border-radius: 1rem; }
    .modal-eventos-beni .modal-header { padding: 0.65rem 1rem !important; }
    .evento-publicidad-card { min-height: auto; padding: .5rem .5rem .25rem .5rem; }
    .evento-publicidad-imagen { max-height: 44vh; }
    .evento-publicidad-info { width: 100%; margin-top: .5rem; padding: .5rem .65rem; }
    .evento-publicidad-info h3 { font-size: .82rem; }
    .evento-publicidad-info p { font-size: .7rem; }
    .modal-eventos-beni .modal-footer { padding: 0.4rem 0.75rem 0.65rem 0.75rem !important; }
}

/* ==========================================================================
   CLASES SEMÁNTICAS PÚBLICAS Y UTILITARIAS (DESACOPLAMIENTO DE CSS INLINE)
   ========================================================================== */

/* Capas y Jerarquía Z-Index */
.z-index-1 { z-index: 1 !important; }
.z-index-2 { z-index: 2 !important; }
.z-index-3 { z-index: 3 !important; }
.z-index-4 { z-index: 4 !important; }
.z-index-5 { z-index: 5 !important; }
.z-index-6 { z-index: 6 !important; }

/* Pointer Events Passthrough */
.pointer-events-none { pointer-events: none !important; }
.pointer-events-auto { pointer-events: auto !important; }

/* Botones circulares de redes sociales */
.btn-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-social-icon:hover {
    transform: scale(1.1);
    opacity: 0.92;
}
.btn-social-icon-sm {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
}
.btn-social-icon-md {
    width: 31px;
    height: 31px;
    font-size: 0.8rem;
}
.btn-social-icon-lg {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.btn-social-icon--tiktok {
    background-color: #000000;
}
.btn-social-icon--facebook {
    background-color: #1877f2;
}
.btn-social-icon--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Hero y Buscador Principal */
.hero-lead-bounded {
    max-width: 720px;
}
.hero-search-box-bounded {
    max-width: 700px;
}
.hero-alert-bounded {
    max-width: 650px;
}
.section-intro-bounded {
    max-width: 680px;
}
.section-intro-bounded-sm {
    max-width: 620px;
}
.hero-badge-glass {
    background-color: rgba(15, 59, 67, 0.85);
    border: 1px solid rgba(45, 212, 191, 0.35);
    backdrop-filter: blur(8px);
}
.text-shadow-hero {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Lienzo de Mapas */
.catalogo-mapa-canvas {
    width: 100%;
    height: 530px;
    min-height: 400px;
    background-color: #e9ecef;
}
.transporte-mapa-canvas-box {
    min-height: 380px;
}
.transporte-mapa-canvas {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Marcadores premium para centrales y paradas de radiotaxi */
.radiotaxi-leaflet-icon {
    background: transparent !important;
    border: 0 !important;
}

.radiotaxi-map-pin {
    position: relative;
    width: 46px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    filter: drop-shadow(0 7px 7px rgba(15, 23, 42, 0.28));
    transition: transform 180ms ease, filter 180ms ease;
}

.radiotaxi-leaflet-icon:hover .radiotaxi-map-pin {
    transform: translateY(-4px) scale(1.07);
    filter: drop-shadow(0 10px 9px rgba(15, 23, 42, 0.34));
}

.radiotaxi-pin-core {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.05rem;
    background: linear-gradient(145deg, color-mix(in srgb, var(--radiotaxi-color) 82%, #fff), var(--radiotaxi-color));
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 12px;
    transform: rotate(-45deg);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.38);
}

.radiotaxi-pin-core i {
    transform: rotate(45deg);
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.radiotaxi-pin-pulse {
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 18px;
    height: 7px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--radiotaxi-color) 50%, transparent);
    transform: translateX(-50%);
    animation: radiotaxiPinPulse 1.8s ease-out infinite;
}

@keyframes radiotaxiPinPulse {
    0% { opacity: 0.8; transform: translateX(-50%) scale(0.65); }
    75%, 100% { opacity: 0; transform: translateX(-50%) scale(1.8); }
}

.radiotaxi-popup {
    min-width: 210px;
    padding: 12px 14px;
}

.radiotaxi-popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radiotaxi-popup-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--radiotaxi-color);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--radiotaxi-color) 35%, transparent);
}

.radiotaxi-popup-titles {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.radiotaxi-popup-titles strong {
    color: #0f172a;
    font-size: 0.84rem;
    line-height: 1.2;
}

.radiotaxi-popup-titles small,
.radiotaxi-popup-address {
    color: #64748b;
    font-size: 0.7rem;
}

.radiotaxi-popup-address {
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.radiotaxi-tooltip {
    padding: 6px 9px !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: #fff !important;
    background: #0f2930 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22) !important;
    font: 600 0.7rem/1.2 Poppins, sans-serif;
}

.radiotaxi-tooltip::before {
    border-top-color: #0f2930 !important;
}

@media (prefers-reduced-motion: reduce) {
    .radiotaxi-map-pin,
    .radiotaxi-pin-pulse {
        animation: none !important;
        transition: none !important;
    }
}
.detalle-mapa-canvas-box {
    height: 320px;
    position: relative;
}
.detalle-mapa-canvas {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.recuerdo-detalle-main {
    padding-top: 1.5rem !important;
}

@media (min-width: 992px) {
    .recuerdo-detalle-columna-visual .sticky-lg-top {
        top: 90px !important;
        z-index: 10;
    }
}

@media (max-width: 991.98px) {
    .recuerdo-detalle-columna-visual .card {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 767.98px) {
    .recuerdo-detalle-grid {
        margin-top: 0 !important;
        transform: none !important;
        margin-bottom: 2rem !important;
    }

    .recuerdo-detalle-informacion {
        position: static;
        z-index: auto;
        margin-top: 0 !important;
    }

    .recuerdo-detalle-informacion > .card:first-child {
        padding-top: 1.5rem !important;
    }

    .recuerdo-detalle-columna-visual .position-relative > img {
        width: 100%;
        height: 280px !important;
        min-height: 0 !important;
        object-fit: cover !important;
    }

    .recuerdo-detalle-columna-visual .position-relative > .bg-gradient-cream {
        height: 280px !important;
        min-height: 0 !important;
        padding: 2rem 1rem !important;
    }

    .recuerdo-detalle-columna-visual .position-relative > .bg-gradient-cream > span:first-child {
        font-size: 4rem !important;
    }
}

/* Ranking administrativo de artesanías */
.reporte-artesanias-ranking {
    padding: 1.5rem;
    border: 1px solid #dce9e8 !important;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
    box-shadow: 0 10px 30px rgba(15, 59, 67, 0.08);
}

.reporte-artesanias-header {
    margin-bottom: 1.25rem !important;
}

.reporte-artesanias-title {
    font-size: 1.15rem;
}

.reporte-artesanias-title > i {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-grid;
    flex: 0 0 2.35rem;
    place-items: center;
    border-radius: .75rem;
    color: #f97316 !important;
    background: #fff0e7;
    font-size: 1.05rem;
}

.reporte-artesanias-subtitle {
    display: block;
    padding-left: 3rem;
    font-size: .9rem;
}

.reporte-artesanias-manage {
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
}

.reporte-artesanias-total {
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
    border-radius: .8rem;
    font-size: .78rem;
}

.reporte-artesanias-table-wrap {
    overflow: auto;
    border: 1px solid #dfe8ec;
    border-radius: 1rem;
    background: #fff;
}

.reporte-artesanias-table {
    min-width: 1180px;
    font-size: .9rem;
}

.reporte-artesanias-table thead th {
    padding: .9rem .75rem;
    color: #475569;
    background: #eef6f6;
    border-bottom: 1px solid #cbdcdd;
    font-size: .7rem;
    letter-spacing: .025em;
    white-space: nowrap;
}

.reporte-artesanias-table tbody td {
    padding: .8rem .75rem;
    border-color: #e7eef0;
}

.reporte-artesanias-table tbody tr:hover td {
    background: #f2fbf9;
}

.reporte-artesania-thumb {
    width: 52px;
    height: 52px;
}

.reporte-artesania-progress {
    height: 9px;
    background: #e8eff1;
}

.reporte-artesania-open {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
}

@media (max-width: 767.98px) {
    .reporte-artesanias-ranking {
        padding: 1rem;
    }

    .reporte-artesanias-subtitle {
        padding-left: 0;
    }
}

/* Tarjetas y Promociones */
.promo-card-banner {
    height: 320px;
    background-color: #081c15;
    cursor: pointer;
}
.promo-card-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.4);
    transform: scale(1.15);
}
.modal-promo-preview-box {
    min-height: 320px;
    max-height: 520px;
    background-color: #0f3b43;
}
.modal-promo-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(16px) brightness(0.35);
    transform: scale(1.15);
}
.modal-promo-map-canvas {
    height: 180px;
    width: 100%;
}
.bg-teal-dark {
    background-color: #09252a !important;
}
.modal-header-teal {
    background-color: #0f3b43 !important;
    color: #ffffff !important;
}
/* Asegurar visibilidad y espacio suficiente en cabeceras de modales frente al navbar flotante */
.modal {
    padding-top: env(safe-area-inset-top, 0px);
}
.modal-dialog-centered {
    margin-top: clamp(64px, 8vh, 85px) !important;
    margin-bottom: 2rem !important;
}
@media (max-width: 768px) {
    .modal-dialog-centered {
        margin-top: 58px !important;
        margin-bottom: 1.5rem !important;
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
    }
}
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.modal-header .btn-close {
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}
.modal-lightbox-viewport {
    min-height: 280px;
    max-height: 65vh;
    background: #000000;
}
.modal-lightbox-img {
    max-height: 65vh;
    width: 100%;
}
.modal-lightbox-footer {
    background: rgba(15, 59, 67, 0.98);
}

/* Detalle de Lugares */
.detalle-hero-fallback {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.detalle-desc-text {
    white-space: pre-line;
    font-size: 1.05rem;
}
.detalle-desc-text.is-collapsible:not(.is-expanded) {
    position: relative;
    max-height: 10.5rem;
    overflow: hidden;
}
.detalle-desc-text.is-collapsible:not(.is-expanded)::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 90%);
    pointer-events: none;
}
.detalle-desc-toggle {
    font-size: 0.9rem;
}
.detalle-horario-text {
    white-space: pre-line;
    font-size: 0.98rem;
}
.detalle-menu-embed-box {
    height: 480px;
    background-color: #f8f9fa;
}
.detalle-menu-img-preview {
    max-height: 520px;
    object-fit: contain;
}

/* Puntos de color para leyendas del catálogo */
.badge-dot-nat { background: #198754 !important; }
.badge-dot-gas { background: #fd7e14 !important; }
.badge-dot-hot { background: #0d6efd !important; }
.badge-dot-noc { background: #8b5cf6 !important; }
.badge-dot-mus { background: #eab308 !important; }
.badge-dot-bal { background: #06b6d4 !important; }

/* Contenedores con anchos máximos limpios */
.max-w-600 { max-width: 600px !important; }
.max-w-440 { max-width: 440px !important; }
.max-w-480 { max-width: 480px !important; }
.max-w-250 { max-width: 250px !important; }

/* Dimensiones fijas de avatares e íconos */
.size-40 { width: 40px !important; height: 40px !important; }
.size-38 { width: 38px !important; height: 38px !important; }
.size-34 { width: 34px !important; height: 34px !important; }
.size-dot-8 { width: 8px !important; height: 8px !important; }

/* Fuentes compactas */
.font-xs-7 { font-size: 0.7rem !important; }
.font-xs-72 { font-size: 0.72rem !important; }
.font-xs-76 { font-size: 0.76rem !important; }
.tracking-wide-05 { letter-spacing: 0.5px !important; }
.tracking-wide-06 { letter-spacing: 0.6px !important; }

/* Botones flotantes y menús de acceso rápido en layout público */
.floating-negocios-container {
    z-index: 1045;
}
.btn-floating-negocios {
    font-size: 0.92rem;
    backdrop-filter: blur(8px);
}
.dropdown-menu-floating {
    min-width: 230px;
}
.floating-itinerario-btn {
    z-index: 1040;
}

/* Promociones en barra lateral de detalle */
.detalle-promo-img-box {
    max-height: 140px;
}
.detalle-promo-img {
    height: 120px;
}
.h-min-140 {
    min-height: 140px !important;
}

/* ==========================================================================
   Estilos Especiales: 18 de Noviembre y Servicios Esenciales
   ========================================================================== */
.nav-link-festivo {
    background: linear-gradient(135deg, #059669, #0d9488) !important;
    border: 1px solid rgba(52, 211, 153, 0.7) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
    transition: all 0.3s ease !important;
}
.nav-link-festivo:hover {
    background: linear-gradient(135deg, #047857, #0f766e) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.5) !important;
}

.seccion-festividades-18nov {
    position: relative;
    background: 
        radial-gradient(circle at 15% 20%, rgba(13, 148, 136, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, #031417 0%, #08282e 50%, #031417 100%);
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 -20px 40px rgba(0, 0, 0, 0.5);
}

.seccion-festividades-18nov::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.7;
    pointer-events: none;
}

/* ==========================================================================
   ESTILO DE TARJETAS DE EVENTOS - REFERENCIA TURISMO SUIZO
   ========================================================================== */
.card-evento-swiss {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-evento-swiss:hover {
    transform: translateY(-4px);
}

.evento-swiss-media {
    aspect-ratio: 16 / 10;
    width: 100%;
    background-color: #0b1a1d;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.evento-swiss-img {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-evento-swiss:hover .evento-swiss-img {
    transform: scale(1.05);
}

.evento-swiss-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

/* Date Badge Flotante (Caja Cuadrada Translúcida sobre la Foto) */
.evento-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    min-width: 62px;
    padding: 6px 10px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.card-evento-swiss:hover .evento-date-badge {
    transform: scale(1.08);
    background: rgba(13, 148, 136, 0.9);
    border-color: rgba(45, 212, 191, 0.4);
}

.evento-date-prefix {
    font-size: 0.65rem;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2px;
    font-weight: 500;
}

.evento-date-day {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.evento-date-month {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: lowercase;
    color: #2dd4bf;
    margin-top: 2px;
}

.card-evento-swiss:hover .evento-date-month {
    color: #facc15;
}

/* Tipografía de la Tarjeta */
.evento-swiss-title {
    font-size: 1.05rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.card-evento-swiss:hover .evento-swiss-title {
    color: #2dd4bf !important;
}

.btn-ver-todos-eventos {
    color: #f43f5e;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-ver-todos-eventos:hover {
    color: #fb7185;
    transform: translateX(4px);
}

/* Barra Flotante Moderna de Momentos / Horarios Gastronómicos */
#filtroHorariosGastronomia {
    max-width: 100%;
}

.btn-filtro-horario-movil {
    background: #ffffff !important;
    border: 1px solid rgba(13, 148, 136, 0.25) !important;
    color: #0f3b43 !important;
    min-height: 44px;
    font-size: 0.88rem !important;
    transition: all 0.25s ease;
}

.btn-filtro-horario-movil:focus,
.btn-filtro-horario-movil:active {
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2) !important;
}

.btn-filtro-momento {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1.1rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    background-color: transparent;
    color: #475569 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-agenda-movil-trigger {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(45, 212, 191, 0.4) !important;
    color: #0f3b43 !important;
    min-height: 44px;
    font-size: 0.88rem !important;
    transition: all 0.25s ease;
}

.btn-agenda-movil-trigger:focus,
.btn-agenda-movil-trigger:active {
    border-color: #2dd4bf !important;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.3) !important;
}

.agenda-filter-bar {
    position: relative;
    z-index: 20;
    overflow: visible;
}

.agenda-dropdown-menu {
    z-index: 1080;
    min-width: 100%;
    max-width: calc(100vw - 1.5rem);
    max-height: min(20rem, calc(50dvh - 2rem));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.agenda-dropdown-menu .dropdown-item {
    color: #e2e8f0 !important;
}

.agenda-dropdown-menu .dropdown-item:hover,
.agenda-dropdown-menu .dropdown-item:focus {
    background: rgba(13, 148, 136, 0.25) !important;
    color: #ffffff !important;
}

.agenda-dropdown-menu .dropdown-item.active {
    background: linear-gradient(135deg, #0d9488 0%, #09252a 100%) !important;
    color: #ffffff !important;
}

.btn-filtro-momento:hover {
    background-color: #f1f5f9 !important;
    color: #0f3b43 !important;
    transform: translateY(-1px);
}

.btn-filtro-momento.active {
    background: linear-gradient(135deg, #0f3b43 0%, #0d9488 100%) !important;
    color: #ffffff !important;
    border-color: #0d9488 !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35) !important;
    transform: translateY(-1px);
}

.btn-filtro-momento.active i {
    color: #2dd4bf !important;
}

/* Indicador de momento activo */
.btn-filtro-momento i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-filtro-momento:hover i {
    transform: scale(1.15);
}

/* ==========================================================================
   ESTILOS DE LA SECCIÓN INTERACTIVA: ENTRADA FOLKLÓRICA UNIVERSITARIA
   ========================================================================== */
.seccion-entrada-universitaria-mapa {
    background: transparent !important;
    position: relative;
    border-top: none;
    border-bottom: 1px solid rgba(13, 148, 136, 0.2);
}

.entrada-bg-overlay {
    display: none !important;
}

/* Título de la Entrada Folclórica en fondo claro */
.seccion-entrada-universitaria-mapa .entrada-titulo-principal {
    color: #0d383f !important;
    font-weight: 800;
}

.seccion-entrada-universitaria-mapa .entrada-titulo-principal .text-teal-gradient {
    color: #0f766e !important;
    background: linear-gradient(135deg, #0d9488 0%, #047857 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.seccion-entrada-universitaria-mapa .hero-badge-glass {
    background: #0d383f !important;
    border: 1px solid rgba(13, 148, 136, 0.4) !important;
    color: #ffffff !important;
}

.punto-vivo-pulse {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulsoVivo 1.8s infinite;
}

.punto-vivo-pulse-mini {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulsoVivoMini 1.4s infinite;
}

@keyframes pulsoVivo {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes pulsoVivoMini {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Cronómetro / Cuenta Regresiva de la Entrada Folklórica */
.cronometro-entrada-wrapper {
    max-width: 960px;
}

.cronometro-entrada-card {
    background: rgba(10, 37, 43, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(45, 212, 191, 0.25) !important;
    border-radius: 1.25rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 30px rgba(13, 148, 136, 0.15) !important;
}

.cronometro-glow-accent {
    position: absolute;
    top: -40px;
    right: 15%;
    width: 220px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.22) 0%, rgba(45, 212, 191, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.cronometro-unit-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    padding: 0.45rem 0.65rem;
    min-width: 60px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 576px) {
    .cronometro-unit-box {
        min-width: 76px;
        padding: 0.6rem 0.85rem;
    }
}

.cronometro-unit-box:hover {
    border-color: rgba(45, 212, 191, 0.45);
    transform: translateY(-2px);
}

.cronometro-digit {
    display: block;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    color: #facc15;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 10px rgba(250, 204, 21, 0.3);
}

@media (min-width: 576px) {
    .cronometro-digit {
        font-size: 1.85rem;
    }
}

.cronometro-digit-segundos {
    color: #2dd4bf;
    text-shadow: 0 2px 10px rgba(45, 212, 191, 0.4);
}

.cronometro-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.8px;
    margin-top: 0.15rem;
}

.cronometro-separator {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    user-select: none;
    margin-top: -0.85rem;
}

@media (min-width: 576px) {
    .cronometro-separator {
        font-size: 1.65rem;
    }
}

/* Tarjetas de Fraternidades estilizadas */
.panel-fraternidades-entrada {
    border-radius: 1.25rem !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #ffffff !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
}

.item-fraternidad-card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem;
    background: #ffffff;
    padding-left: 1.1rem !important;
}

.item-fraternidad-card:hover {
    border-color: #0d9488 !important;
    transform: translateY(-2px) translateX(3px);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.16) !important;
    background: #fafdfc;
}

/* Barra de acento lateral según departamento */
.frat-card-accent-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}
.frat-card-accent-bar.accent-beni {
    background: linear-gradient(180deg, #10b981, #0d9488);
}
.frat-card-accent-bar.accent-nacional {
    background: linear-gradient(180deg, #f59e0b, #ea580c);
}

/* Burbuja de Orden Numérico */
.frat-orden-bubble {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #0f3b43, #0d9488);
    color: #ffffff;
    border: 2px solid #ffffff;
}

.frat-title-text {
    font-size: 0.95rem;
    line-height: 1.25;
}

/* Badge de Hora de Ingreso */
.frat-hora-badge {
    background-color: #f0fdfa !important;
    color: #0f766e !important;
    border: 1px solid #ccfbf1 !important;
    border-radius: 999px !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

/* Badge Danza Folklórica */
.frat-danza-pill {
    background: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fef3c7 !important;
    border-radius: 999px !important;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
}

/* Badge Departamento */
.frat-depto-pill {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 999px !important;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

#listaContenedorFraternidades::-webkit-scrollbar {
    width: 6px;
}
#listaContenedorFraternidades::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
#listaContenedorFraternidades::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
#listaContenedorFraternidades::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Marcadores personalizados para el mapa de la Entrada */
.marcador-entrada-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    border: 2.5px solid #ffffff;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.marcador-entrada-custom:hover {
    transform: scale(1.15);
}

.marcador-entrada-salida {
    background: linear-gradient(135deg, #10b981, #047857);
}

.marcador-entrada-hito {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.marcador-entrada-meta {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

/* Danza de los Judas del Beni: Bailarín animado por el recorrido */
.marcador-recorrido-animado {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    pointer-events: none;
    z-index: 1000;
}

.marcador-recorrido-judas {
    width: 68px;
    height: 78px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.judas-figura-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: judasDanzaPaso 600ms ease-in-out infinite alternate;
    transform-origin: bottom center;
}

.judas-personaje-img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 4px rgba(254, 240, 138, 0.5));
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.2s ease;
}

.judas-sombra-suelo {
    position: absolute;
    bottom: -3px;
    width: 38px;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 75%);
    border-radius: 50%;
    z-index: 1;
    animation: judasSombraPulse 600ms ease-in-out infinite alternate;
}

.badge-mini-judas {
    position: absolute;
    bottom: -11px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    z-index: 5;
}

.judas-pulsing-aura {
    position: absolute;
    bottom: 2px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #f59e0b;
    animation: judasAuraPulse 1.6s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes judasDanzaPaso {
    0%   { transform: translateY(0) rotate(-4deg) scale(1); }
    50%  { transform: translateY(-5px) rotate(0deg) scale(1.03); }
    100% { transform: translateY(-9px) rotate(5deg) scale(1.06); }
}

@keyframes judasSombraPulse {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(0.75); opacity: 0.25; }
}

@keyframes judasAuraPulse {
    0%   { transform: scale(0.7); opacity: 0.85; }
    50%  { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .marcador-recorrido-judas,
    .judas-figura-container,
    .judas-sombra-suelo,
    .judas-pulsing-aura {
        animation: none;
    }
}

.marcador-pulso-anillo {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: marcadorOnda 2s infinite ease-out;
    pointer-events: none;
    z-index: 1;
}

.marcador-entrada-salida .marcador-pulso-anillo {
    border: 2px solid #10b981;
}

.marcador-entrada-meta .marcador-pulso-anillo {
    border: 2px solid #ef4444;
}

@keyframes marcadorOnda {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Leyenda flotante sobre el mapa */
.leyenda-mapa-entrada {
    background: rgba(9, 37, 42, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(45, 212, 191, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45) !important;
}

/* Indicador de zoom/ampliar en la tarjeta de evento */
.evento-zoom-hint {
    width: 32px;
    height: 32px;
    opacity: 0.85;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.card-evento-swiss:hover .evento-zoom-hint {
    opacity: 1;
    transform: scale(1.1);
    background-color: #0d9488 !important;
    border-color: #2dd4bf;
}

/* Modal Lightbox Visor de Afiches */
.modal-content-visor-afiche {
    background: #09252a !important;
    border: 1px solid rgba(45, 212, 191, 0.25) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
}

.modal-content-visor-afiche .modal-header {
    background: linear-gradient(135deg, #09252a 0%, #0d3840 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    min-height: 52px;
}

@media (max-width: 576px) {
    .modal-content-visor-afiche .modal-header {
        padding: 0.65rem 0.85rem !important;
    }
    .modal-content-visor-afiche .modal-title {
        font-size: 0.92rem !important;
        max-width: 170px;
    }
}

.modal-content-visor-afiche .modal-header .btn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50rem;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.modal-content-visor-afiche .modal-header .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.visor-afiche-img-wrap {
    min-height: 250px;
    background: radial-gradient(circle, rgba(15, 59, 67, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.visor-afiche-img {
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visor-afiche-img:hover {
    transform: scale(1.015);
}

/* ==========================================================================
   CUADRÍCULA HOVER DE 4 FOTOS EN TARJETAS DEL CATÁLOGO (ESTILO EXPERIENCIAS)
   ========================================================================== */
.place-card-hover-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 3px !important;
    padding: 3px !important;
    background: #09252a;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: scale(0.985);
    z-index: 3 !important;
}

.place-card-hover-tile {
    border-radius: 6px;
    background-color: #051c20;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.place-card-hover-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

/* Al pasar el cursor sobre la tarjeta del catálogo */
.item-lugar:hover .place-card-hover-grid,
.place-card:hover .place-card-hover-grid,
.place-card-editorial:hover .place-card-hover-grid,
.place-card-media-wrapper:hover .place-card-hover-grid {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.place-card-hover-tile:hover .place-card-hover-img {
    transform: scale(1.08);
}

/* Eliminar espacio sobrante en la parte inferior de las tarjetas del catálogo */
.place-card-editorial {
    display: flex !important;
    flex-direction: column !important;
    background-color: transparent !important;
}

.place-card-panel-editorial {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* ==========================================================================
   OPTIMIZACIONES EXCLUSIVAS PARA MODO CELULAR / PANTALLAS TÁCTILES
   ========================================================================== */
@media (max-width: 767.98px) {
    /* Altura balanceada de la imagen para teléfonos */
    .place-card-media-wrapper {
        height: 220px !important;
    }

    /* Panel curvado adaptado a pantallas pequeñas */
    .place-card-panel-editorial {
        padding: 0.85rem 1rem 1rem 1rem !important;
        border-top-right-radius: 28px !important;
        margin-top: -24px !important;
    }

    /* Título más compacto y legible en celular */
    .place-card-title-link h5 {
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
    }

    /* Fila inferior de acciones: evitar desbordamientos y organizar ordenadamente */
    .place-card-hover-actions {
        padding-top: 0.65rem !important;
        gap: 0.5rem !important;
    }

    .place-card-hover-actions > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: wrap;
        gap: 0.4rem !important;
    }

    /* Botón circular favorito en móvil */
    .place-btn-icon {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
    }

    /* Botón de flecha circular en móvil */
    .btn-place-arrow-circle {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0;
    }
    .btn-place-arrow-circle i {
        font-size: 1.15rem !important;
    }

    /* Texto de horario en móvil */
    .place-card-horario-subtext {
        font-size: 0.7rem !important;
        max-width: 130px !important;
    }

    /* Permitir ver la cuadrícula de 4 fotos en celular al tocar / mantener presionado */
    .place-card:active .place-card-hover-grid,
    .place-card-editorial:active .place-card-hover-grid,
    .place-card-media-wrapper:active .place-card-hover-grid,
    .place-card.touch-active .place-card-hover-grid {
        opacity: 1 !important;
        transform: scale(1) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Desactivar tooltips CSS flotantes en celular para que no bloqueen los botones de categorías */
    .chip-filter-icon[data-tooltip]::before,
    .chip-filter-icon[data-tooltip]::after {
        display: none !important;
    }

    /* Barra horizontal de categorías deslizable suave en móvil si hay poco espacio */
    .category-filter-container {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
        gap: 0.45rem !important;
    }

    .chip-filter-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.1rem !important;
        border-width: 1.5px !important;
    }

    /* Cabecera de detalle de lugar en celular */
    .lugar-header-flotante {
        margin-top: -30px !important;
        padding: 1.25rem !important;
        border-radius: 1.25rem !important;
    }
    .lugar-header-titulo {
        font-size: 1.35rem !important;
    }
}

/* ==========================================================================
   BOTÓN COMPARTIR Y NOTIFICACIÓN TOAST FLOTANTE
   ========================================================================== */
.place-btn-share:hover {
    transform: scale(1.12);
    background-color: #ccfbf1 !important;
    border-color: #0d9488 !important;
}

.place-btn-share:hover i {
    color: #0f766e !important;
}

.toast-flotante-notificacion {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(9, 37, 42, 0.95);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(45, 212, 191, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-flotante-notificacion.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ==========================================================================
   CARRUSEL DE PROMOCIONES EN DETALLE
   ========================================================================== */
.detalle-promo-carousel .detalle-promo-img-box {
    height: 180px;
    border-radius: 0.75rem;
    background-color: #09252a;
}

.detalle-promo-carousel .detalle-promo-img {
    height: 100%;
    object-fit: contain;
}

.detalle-promo-carousel .promo-det-ctrl {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.detalle-promo-carousel .promo-det-ctrl:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.detalle-promo-carousel .promo-det-ctrl.carousel-control-prev {
    left: 4px;
}

.detalle-promo-carousel .promo-det-ctrl.carousel-control-next {
    right: 4px;
}

.detalle-promo-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 0;
    margin: 0 3px;
    transition: all 0.25s ease;
}

.detalle-promo-carousel .carousel-indicators button.active {
    width: 22px;
    border-radius: 99px;
    background-color: #0d9488;
}

/* ==========================================================================
   MODAL CRONOGRAMA UAB - PALETA OFICIAL BENITOURS Y DISEÑO MÓVIL
   ========================================================================== */
.modal-uab-benitours .modal-content {
    background-color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(15, 59, 67, 0.35);
}

.modal-uab-benitours .uab-header-avatar {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
}

.modal-uab-benitours .uab-modal-title {
    font-size: 1.05rem;
    line-height: 1.25;
}

.modal-uab-benitours .uab-modal-sub {
    font-size: 0.75rem;
}

.modal-uab-benitours .uab-badge-mes {
    background-color: rgba(9, 37, 42, 0.75) !important;
    color: #e6fffa !important;
    border: 1px solid rgba(45, 212, 191, 0.45) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Selector de pestañas con desplazamiento horizontal fluido en móviles */
.modal-uab-benitours .uab-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.modal-uab-benitours .uab-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.modal-uab-benitours .nav-pills {
    margin-bottom: 0 !important;
    padding-bottom: 2px;
}

.modal-uab-benitours .nav-pills .nav-link {
    color: #475569;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.4 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.modal-uab-benitours .nav-pills .nav-link.active {
    background-color: #0d9488 !important;
    color: #ffffff !important;
    border-color: #0d9488 !important;
    box-shadow: 0 3px 10px rgba(13, 148, 136, 0.3) !important;
}

/* Chips con desplazamiento horizontal táctil */
.modal-uab-benitours .uab-chips-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.modal-uab-benitours .uab-chips-scroll-container::-webkit-scrollbar {
    display: none;
}

.modal-uab-benitours .uab-chips-filter {
    flex-wrap: nowrap !important;
}

.modal-uab-benitours .btn-chip-uab {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-uab-benitours .btn-chip-uab:hover {
    background-color: #e6fffa;
    color: #0f3b43;
    border-color: #0d9488;
}

.modal-uab-benitours .btn-chip-uab.active {
    background-color: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Tarjetas de actividades del cronograma */
.modal-uab-benitours .item-agenda-uab {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #edf2f7 !important;
}

.modal-uab-benitours .item-agenda-uab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 59, 67, 0.08) !important;
    border-color: #0d9488 !important;
}

.modal-uab-benitours .uab-date-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Adaptación responsive para pantallas pequeñas (móviles) */
@media (max-width: 575.98px) {
    .modal-uab-benitours .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-uab-benitours .uab-header-avatar {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .modal-uab-benitours .btn-close {
        padding: 0.5rem;
        margin-top: 0 !important;
        opacity: 0.85;
    }

    .modal-uab-benitours .uab-modal-title {
        font-size: 0.95rem;
    }

    .modal-uab-benitours .uab-modal-sub {
        font-size: 0.7rem;
    }

    .modal-uab-benitours .uab-date-box {
        padding: 0.4rem 0.75rem !important;
    }

    .modal-uab-benitours .uab-item-title {
        font-size: 0.9rem !important;
    }

    .modal-uab-benitours .nav-pills .nav-link {
        font-size: 0.8125rem;
        padding: 0.5rem 0.85rem !important;
        line-height: 1.35 !important;
    }
}

/* ==========================================================================
   SECCIÓN AGENDA Y CALENDARIO MENSUAL NOVIEMBRE 2026
   ========================================================================== */
.seccion-agenda-calendario {
    position: relative;
    background: 
        radial-gradient(circle at 15% 20%, rgba(13, 148, 136, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, #031417 0%, #08282e 50%, #031417 100%) !important;
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 -20px 40px rgba(0, 0, 0, 0.5);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.seccion-agenda-calendario::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.7;
    pointer-events: none;
}

.agenda-chips-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    width: 100%;
    white-space: nowrap;
    padding-bottom: 2px;
}
.agenda-chips-scroll::-webkit-scrollbar {
    display: none;
}

.agenda-filter-chip {
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #334155;
    font-size: 0.8125rem;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 50rem !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.agenda-filter-chip:hover {
    border-color: #0d9488;
    color: #0f3b43;
    background-color: #f0fdfa;
}

.agenda-filter-chip.active {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.35);
}

.agenda-filter-chip.chip-folklore.active {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
}

.agenda-filter-chip.chip-fexpobeni.active {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
}

.agenda-filter-chip.chip-remates.active {
    background-color: #ea580c !important;
    border-color: #ea580c !important;
}

.agenda-filter-chip.chip-ferias.active {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
}

.agenda-filter-chip.chip-civicos.active {
    background-color: #e11d48 !important;
    border-color: #e11d48 !important;
}

/* Grilla del Calendario */
.agenda-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    font-family: monospace;
}

.agenda-calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day-cell {
    min-height: 48px;
    height: auto;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 6px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    position: relative;
}

.calendar-day-cell.day-empty {
    border-color: transparent !important;
    background: transparent !important;
    cursor: default;
    pointer-events: none;
}

.calendar-day-cell:hover:not(.day-empty) {
    border-color: #0d9488;
    background-color: #f0fdfa;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.15);
}

.calendar-day-cell.day-active {
    border: 2px solid #0f3b43 !important;
    background-color: #e6fffa !important;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.3);
}

.calendar-day-cell .day-num {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
    text-align: right;
    line-height: 1;
}

.calendar-day-cell.has-events .day-num {
    color: #0f172a;
}

.calendar-day-dots {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
    min-height: 8px;
    margin-top: 2px;
}

.calendar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.dot-academico { background-color: #0d9488; }
.dot-cultura   { background-color: #8b5cf6; }
.dot-ferias    { background-color: #0284c7; }
.dot-festivales{ background-color: #eab308; }
.dot-folklore  { background-color: #16a34a; }
.dot-remates   { background-color: #ea580c; }
.dot-civicos   { background-color: #e11d48; }
.dot-fexpobeni { background-color: #f59e0b; }

/* Tarjeta de Detalle del Día Seleccionado */
.agenda-big-day {
    font-size: 3rem;
    line-height: 0.9;
    letter-spacing: -1px;
}

.agenda-event-item {
    border-left: 3px solid #0d9488;
    background-color: #f8fafc;
    border-radius: 0 8px 8px 0;
    padding: 0.85rem 1rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.agenda-event-item:hover {
    background-color: #f1f5f9;
    transform: translateX(3px);
}

/* Badges de Categoría y Tipo de la Agenda */
.agenda-tipo-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: 50rem !important;
    line-height: 1.2 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
}

.agenda-tipo-badge.badge-academico {
    background-color: #0d9488 !important;
    color: #ffffff !important;
}

.agenda-tipo-badge.badge-remates {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

.agenda-tipo-badge.badge-cultura {
    background-color: #6366f1 !important;
    color: #ffffff !important;
}

.agenda-tipo-badge.badge-folklore {
    background-color: #059669 !important;
    color: #ffffff !important;
}

.agenda-tipo-badge.badge-fexpobeni {
    background-color: #ea580c !important;
    color: #ffffff !important;
}

.agenda-tipo-badge.badge-ferias {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.agenda-tipo-badge.badge-civicos {
    background-color: #d97706 !important;
    color: #ffffff !important;
}

.agenda-tipo-badge.badge-festivales {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

.agenda-box-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.agenda-calendar-container {
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .calendar-day-cell {
        min-height: 36px;
        padding: 2px 3px;
        border-radius: 4px;
    }
    .calendar-day-cell .day-num {
        font-size: 0.6875rem;
    }
    .calendar-dot {
        width: 4px;
        height: 4px;
    }
    .agenda-big-day {
        font-size: 2.25rem;
    }
    .agenda-weekdays-row {
        font-size: 0.6875rem;
    }
    .agenda-box-wrapper {
        padding: 0.875rem !important;
    }
}

/* Adaptación móvil para la Sección de Entrada Folklórica Universitaria */
@media (max-width: 767.98px) {
    /* Altura de encuadre al hacer clic en el link del menú en móvil.
       Puedes aumentar este valor (ej. 75px u 80px) para bajar el contenido,
       o disminuirlo (ej. 50px o 55px) para subirlo más cerca del navbar. */
    #entrada-universitaria {
        scroll-margin-top: 60px !important;
    }

    .seccion-entrada-universitaria-mapa {
        padding-top: 0.5rem !important;
        padding-bottom: 2rem !important;
    }

    .seccion-entrada-universitaria-mapa > .container {
        padding-top: 0.5rem !important;
    }

    .entrada-titulo-principal {
        font-size: 1.55rem !important;
        line-height: 1.22 !important;
        letter-spacing: -0.02em;
        word-break: break-word;
    }

    .seccion-entrada-universitaria-mapa .badge.hero-badge-glass {
        font-size: 0.72rem !important;
        letter-spacing: 0.3px;
        margin-bottom: 0.4rem !important;
    }

    .cronometro-entrada-wrapper {
        margin-top: 1rem !important;
    }

    .cronometro-entrada-card {
        padding: 0.9rem !important;
    }

    #mapaEntradaRecorrido {
        min-height: 320px !important;
    }

    .item-fraternidad-card {
        padding: 0.75rem !important;
        padding-left: 0.95rem !important;
    }

    .frat-title-text {
        font-size: 0.88rem !important;
    }

    .frat-orden-bubble {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 0.75rem !important;
    }

    .frat-hora-badge,
    .frat-danza-pill,
    .frat-depto-pill {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

/* ========================================================
   MODAL ITINERARIO - TARJETAS Y ACCIONES INFERIORES
   ======================================================== */
.modal-itinerario-custom .modal-content {
    background-color: #f8fafc;
}

.modal-itinerario-icon-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
}

.modal-itinerario-icon-badge i,
.modal-itinerario-icon-badge svg {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    line-height: 1;
}

.itinerario-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.itinerario-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.itinerario-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 9999px;
    background: #0f766e;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.itinerario-card-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    object-fit: cover;
}

.itinerario-item-title {
    font-size: 0.95rem;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .itinerario-card-thumb {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }
    
    .itinerario-item-title {
        font-size: 0.9rem;
    }
    
    .itinerario-item-card {
        padding: 0.85rem !important;
    }
}

/* ==========================================================================
   CARRUSELES HORIZONTALES PARA SUCURSALES Y LOCALES DE COMPLEJO
   ========================================================================== */
.carrusel-sucursales-wrapper {
    position: relative;
    width: 100%;
}

.carrusel-sucursales-track {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 0.25rem 0.85rem 0.25rem;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 148, 136, 0.4) transparent;
}

.carrusel-sucursales-track::-webkit-scrollbar {
    height: 6px;
}

.carrusel-sucursales-track::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}

.carrusel-sucursales-track::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 10px;
}

.carrusel-sucursales-track::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

.carrusel-sucursal-item {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .carrusel-sucursal-item {
        flex: 0 0 320px;
        min-width: 320px;
        max-width: 320px;
    }
}

.btn-carrusel-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.btn-carrusel-nav:hover {
    background-color: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
    transform: scale(1.08);
}







/* ==========================================================================
   OPTIMIZACIONES DE RENDIMIENTO - CATÁLOGO Y MAPA INTERACTIVO (BENITOURS)
   ========================================================================== */

/* 1. Contención y aceleración por GPU para el listado de tarjetas del catálogo */
.tarjeta-lugar-col {
    content-visibility: auto;
    contain-intrinsic-size: 1px 440px;
    contain: layout style;
}

/* 2. Optimización para las tarjetas de lugares */
.place-card-editorial {
    will-change: transform, box-shadow;
    transform: translateZ(0); /* Forzar capa de composición GPU */
}

/* 3. Aceleración y visualización del contenedor de Leaflet */
#mapaCatalogoWrapper {
    display: block;
    width: 100%;
}
#mapaCatalogo {
    width: 100% !important;
    height: 530px !important;
    min-height: 420px !important;
    display: block !important;
    position: relative !important;
    z-index: 1;
}

/* 4. Estilos visuales personalizados para los Clusters de Marcadores (MarkerCluster) */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(13, 148, 136, 0.25) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: #0d9488 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: 2px solid #ffffff;
}

.marker-cluster-large {
    background-color: rgba(249, 115, 22, 0.3) !important;
}
.marker-cluster-large div {
    background-color: #f97316 !important;
}

/* 5. Aceleración de hardware en pines individuales */
.beniturs-marker-pin {
    will-change: transform;
    transform: translateZ(0) rotate(-45deg);
}
.beniturs-marker-pin:hover {
    transform: translateZ(0) rotate(-45deg) scale(1.15);
}
.agenda-universidad-carousel {
    max-width: 760px;
}

.agenda-universidad-carousel .carousel-inner {
    min-height: min(72vh, 660px);
}

.agenda-universidad-img {
    max-height: min(72vh, 660px);
    width: auto;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .agenda-universidad-carousel .carousel-inner {
        min-height: 430px;
    }

    .agenda-universidad-img {
        max-height: 430px;
    }
}

.nav-link-festivo {
    background: linear-gradient(135deg, #059669, #0d9488) !important;
    border: 1px solid rgba(52, 211, 153, 0.75) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-link-festivo:hover,
.nav-link-festivo:focus {
    background: linear-gradient(135deg, #047857, #0f766e) !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5) !important;
    color: #ffffff !important;
}

/* Botón Destacado: Entrada Universitaria (Púrpura Neón / Magenta Festivo) */
.nav-link-universitaria {
    background: linear-gradient(135deg, #d97706, #f59e0b) !important;
    border: 1px solid rgba(251, 191, 36, 0.8) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-link-universitaria:hover,
.nav-link-universitaria:focus {
    background: linear-gradient(135deg, #b45309, #d97706) !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 22px rgba(217, 119, 6, 0.55) !important;
    color: #ffffff !important;
}
/* ==========================================================================
   BOTÓN HEROICO: VER AGENDA COMPLETA Y CALENDARIO (LLAMATIVO)
   ========================================================================== */
.btn-agenda-completa-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #059669 0%, #0d9488 45%, #d97706 100%);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.45), 0 0 0 4px rgba(245, 158, 11, 0.2) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-agenda-completa-hero:hover {
    transform: translateY(-3px) scale(1.03);
    background: linear-gradient(135deg, #047857 0%, #0f766e 45%, #b45309 100%);
    box-shadow: 0 16px 36px rgba(13, 148, 136, 0.65), 0 0 0 6px rgba(245, 158, 11, 0.35) !important;
    color: #ffffff !important;
}

.btn-agenda-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(0, 0, 0, 0.28);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fef08a;
}

.btn-agenda-texto {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.btn-agenda-icono {
    font-size: 1.35rem;
    color: #fef08a;
    transition: transform 0.25s ease;
}

.btn-agenda-completa-hero:hover .btn-agenda-icono {
    transform: translateX(4px) scale(1.1);
}

/* Botón individual Ver más detalles en las tarjetas de eventos */
.btn-detalle-evento {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
}

.btn-detalle-evento:hover {
    background: #0d9488 !important;
    border-color: #2dd4bf !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4) !important;
}


/* ==========================================================================
   HERO CARRUSEL PANORÁMICO DE LA AGENDA Y CULTURA
   ========================================================================== */
.hero-agenda-portada {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 22%, rgba(45, 212, 191, 0.36), transparent 32%),
        radial-gradient(circle at 82% 72%, rgba(245, 158, 11, 0.28), transparent 30%),
        linear-gradient(135deg, #031417 0%, #0f3b43 38%, #0d9488 68%, #08282e 100%);
    background-size: 170% 170%;
    animation: heroAgendaFondo 14s ease-in-out infinite alternate;
}

.hero-agenda-portada::before,
.hero-agenda-portada::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.hero-agenda-portada::before {
    z-index: 0;
    width: min(52vw, 680px);
    aspect-ratio: 1;
    top: -18%;
    right: -8%;
    border-radius: 44% 56% 63% 37% / 46% 40% 60% 54%;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(245, 158, 11, 0.2));
    filter: blur(8px);
    animation: heroAgendaForma 12s ease-in-out infinite alternate;
}

.hero-agenda-portada::after {
    z-index: 1;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 90%);
    animation: heroAgendaTrama 18s linear infinite;
}

@keyframes heroAgendaFondo {
    from { background-position: 0% 35%; }
    to { background-position: 100% 65%; }
}

@keyframes heroAgendaForma {
    from { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.92); }
    to { transform: translate3d(-12vw, 18vh, 0) rotate(28deg) scale(1.14); }
}

@keyframes heroAgendaTrama {
    from { background-position: 0 0; }
    to { background-position: 56px 28px; }
}

.hero-agenda-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(3, 20, 23, 0.38) 0%, rgba(3, 20, 23, 0.08) 48%, rgba(3, 20, 23, 0.52) 100%);
    pointer-events: none;
}

.hero-agenda-video-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.hero-agenda-video-copy {
    width: min(100%, 960px);
}

.hero-agenda-visual-stage {
    position: relative;
    width: 100%;
    min-height: 520px;
    animation: heroAgendaTextoEntrada 0.9s 0.45s both;
}

.hero-agenda-visual-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    opacity: 0;
    transform: translateX(42px) scale(0.94);
    filter: blur(8px);
    pointer-events: none;
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease;
}

.hero-agenda-visual-item.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.hero-agenda-visual-img {
    display: block;
    max-width: 100%;
    max-height: 490px;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.32));
}

.hero-agenda-visual-img--aves {
    width: 115%;
    max-width: 115%;
}

.hero-agenda-visual-img--logo {
    width: 96%;
}

.hero-agenda-visual-img--plan {
    width: min(88%, 450px);
}

.hero-agenda-visual-dots {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.hero-agenda-visual-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.35s ease, background-color 0.35s ease;
}

.hero-agenda-visual-dots span.is-active {
    width: 24px;
    background: #f59e0b;
}

.hero-agenda-video-eyebrow {
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(3, 20, 23, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    animation: heroAgendaTextoEntrada 0.7s 0.1s both, heroAgendaEtiquetaPulso 3.6s 1s ease-in-out infinite;
}

.hero-agenda-video-title {
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-wrap: balance;
    background: linear-gradient(100deg, #ffffff 15%, #ccfbf1 42%, #fbbf24 58%, #ffffff 85%);
    background-size: 220% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.42));
    animation: heroAgendaTextoEntrada 0.85s 0.22s both, heroAgendaTituloBrillo 6s 1.2s linear infinite;
}

.hero-agenda-video-subtitle {
    max-width: 800px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.65;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
    animation: heroAgendaTextoEntrada 0.85s 0.38s both;
}

.hero-agenda-video-actions {
    animation: heroAgendaTextoEntrada 0.85s 0.54s both;
}

@keyframes heroAgendaTextoEntrada {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroAgendaEtiquetaPulso {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
    50% { box-shadow: 0 8px 30px rgba(45, 212, 191, 0.35); }
}

@keyframes heroAgendaTituloBrillo {
    from { background-position: 200% center; }
    to { background-position: -20% center; }
}

.btn-agenda-video-primary {
    border: 1px solid rgba(251, 191, 36, 0.9) !important;
    background: linear-gradient(135deg, #d97706, #f59e0b) !important;
    color: #ffffff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-agenda-video-primary:hover,
.btn-agenda-video-primary:focus {
    background: linear-gradient(135deg, #b45309, #d97706) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(217, 119, 6, 0.48) !important;
}

.btn-agenda-video-secondary {
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: rgba(3, 20, 23, 0.35) !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-agenda-video-secondary:hover,
.btn-agenda-video-secondary:focus {
    border-color: #ffffff !important;
    background: rgba(15, 59, 67, 0.78) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

#seccionMapaEntrada,
#seccionOrdenFraternidades {
    scroll-margin-top: 7rem;
}

@media (max-width: 991.98px) {
    .hero-agenda-portada {
        min-height: max(100dvh, 1000px);
    }

    .hero-agenda-video-copy {
        margin-inline: auto;
        text-align: center;
    }

    .hero-agenda-visual-col {
        order: 1;
    }

    .hero-agenda-copy-col {
        order: 2;
    }

    .hero-agenda-video-subtitle {
        margin-inline: auto;
    }

    .hero-agenda-video-actions {
        justify-content: center;
    }

    .hero-agenda-visual-stage {
        min-height: 340px;
        max-width: 660px;
        margin-inline: auto;
    }

    .hero-agenda-visual-img {
        max-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .hero-agenda-video-content {
        padding: 5.25rem 1.25rem 2rem;
    }

    .hero-agenda-video-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.045em;
    }

    .hero-agenda-video-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .hero-agenda-video-subtitle {
        line-height: 1.5;
    }

    .hero-agenda-video-actions .btn {
        width: 100%;
    }

    .hero-agenda-visual-stage {
        min-height: 245px;
    }

    .hero-agenda-visual-img {
        max-height: 225px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-agenda-portada,
    .hero-agenda-portada::before,
    .hero-agenda-portada::after,
    .hero-agenda-video-eyebrow,
    .hero-agenda-video-title,
    .hero-agenda-video-subtitle,
    .hero-agenda-video-actions,
    .hero-agenda-visual-stage {
        animation: none !important;
    }

    .hero-agenda-visual-item,
    .hero-agenda-visual-dots span {
        transition: none !important;
    }
}

.hero-agenda-carrusel {
    width: 100%;
    display: block;
    position: relative;
    background:
        radial-gradient(circle at 12% 0%, rgba(13, 148, 136, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(13, 148, 136, 0.14);
    border-bottom: 1px solid rgba(15, 59, 67, 0.12);
    margin: 0;
    padding: 2.25rem 0 1.5rem;
}

.hero-agenda-institucional-layout {
    max-width: 1680px;
    width: 100%;
}

.hero-agenda-carrusel-badge {
    gap: 0.5rem;
    border: 1px solid rgba(45, 212, 191, 0.32);
    background: #ffffff;
    color: #0f3b43;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(15, 59, 67, 0.09);
}

.hero-agenda-institucional-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(1.35rem, 2.4vw, 2.5rem);
    border: 1px solid rgba(13, 148, 136, 0.38);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.09), transparent 36%),
        linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 20px 42px rgba(15, 59, 67, 0.12);
}

.hero-agenda-institucional-card h2 {
    margin: 1.35rem 0 0.85rem;
    color: #0f3b43;
    font-size: clamp(1.4rem, 2vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero-agenda-institucional-card p {
    margin: 0;
    color: #52656a;
    font-size: clamp(0.88rem, 1.05vw, 1.02rem);
    line-height: 1.65;
}

.hero-agenda-institucional-place {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1.25rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.hero-agenda-carrusel .carousel {
    position: relative;
    background: transparent;
}

.hero-agenda-carrusel .carousel-inner {
    width: 100%;
    position: relative;
    background: #031417;
    border: 1px solid rgba(245, 158, 11, 0.58);
    border-radius: 1.5rem !important;
    aspect-ratio: 3584 / 1184;
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(45, 212, 191, 0.08);
}

.hero-agenda-carrusel .carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    background: transparent !important;
    border-radius: 1.5rem !important;
    overflow: hidden;
}

.hero-agenda-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0 auto;
    border-radius: 1.5rem !important;
    z-index: 0;
}

.carousel-item.active .hero-agenda-slide-img {
    transform: none;
}

.hero-agenda-carrusel .carousel-indicators {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1rem 0 0;
}

.hero-agenda-carrusel .carousel-indicators button {
    width: 22px;
    height: 4px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background-color: #94a3b8;
    opacity: 1;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-agenda-carrusel .carousel-indicators button.active {
    width: 34px;
    background-color: #f59e0b;
}

/* Botones de control del Carrusel Hero Traslúcidos / Minimalistas */
.hero-agenda-ctrl {
    width: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-agenda-ctrl:hover {
    opacity: 1;
}

.hero-agenda-ctrl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(3, 20, 23, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-agenda-ctrl:hover .hero-agenda-ctrl-icon {
    background: rgba(3, 20, 23, 0.65);
    transform: scale(1.08);
}

.hero-agenda-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3, 20, 23, 0.25) 0%, rgba(3, 20, 23, 0.5) 60%, rgba(3, 20, 23, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-agenda-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding-top: 5.5rem;
    z-index: 2;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 768px) {
    .hero-agenda-carrusel {
        padding: 1.5rem 0 1rem;
    }

    .hero-agenda-carrusel .carousel-inner {
        aspect-ratio: 3584 / 1184;
        min-height: auto !important;
        border-radius: 1rem !important;
    }
    .hero-agenda-carrusel .carousel-item {
        min-height: auto !important;
        border-radius: 1rem !important;
    }
    .hero-agenda-slide-img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 1rem !important;
    }
    .hero-agenda-caption {
        padding-top: 2rem;
    }
    .hero-agenda-carrusel .carousel-indicators {
        margin-top: 0.75rem;
    }
    .hero-agenda-carrusel .carousel-indicators button {
        width: 18px;
        height: 4px;
    }
    .hero-agenda-carrusel .carousel-indicators button.active {
        width: 28px;
    }
}

@media (min-width: 1200px) {
    .page-home > .navbar-trinidad.navbar-scrolled {
        background: rgba(6, 29, 33, 0.98) !important;
        backdrop-filter: blur(20px) saturate(125%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(125%) !important;
        border-color: rgba(45, 212, 191, 0.3) !important;
        box-shadow: 0 12px 38px rgba(3, 20, 23, 0.52) !important;
    }
}

/* ==========================================================================
   BOTÓN FLOTANTE INFERIOR DERECHO: ACCESO / INICIAR SESIÓN
   ========================================================================== */
.btn-flotante-login {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #059669);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.4);
    z-index: 1040;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-flotante-login:hover {
    transform: translateY(-4px) scale(1.08);
    background: linear-gradient(135deg, #0f766e, #047857);
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.65), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-flotante-login:active {
    transform: translateY(-1px) scale(0.98);
}

@media (max-width: 576px) {
    .btn-flotante-login {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}



/* ==========================================================================
   OPTIMIZACIÓN DE SCROLL FLUIDO Y RENDIMIENTO MÓVIL (BeniTours)
   ========================================================================== */

/* 1. Contención de renderizado general para evitar recalcular secciones fuera de pantalla */
.seccion-festividades-18nov,
.seccion-promociones,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 550px;
    contain: layout style paint;
}

@media (max-width: 991.98px) {
    /* Evitar desbordamiento horizontal y tirones de GPU en móviles */
    html, body {
        overflow-x: hidden;
        overscroll-behavior-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Reducir composiciones pesadas innecesarias en tarjetas */
    .place-card-editorial,
    .card-evento-swiss,
    .card-promocion {
        will-change: auto !important;
        transform: none !important;
        box-shadow: 0 4px 12px rgba(15, 59, 67, 0.08) !important;
    }

    /* Aligerar backdrop-filter dinámico en móvil para prevenir caídas de FPS */
    .hero-badge-glass,
    .hero-badge-teal,
    .hero-search-box-bounded,
    .promo-carousel-control,
    .seccion-festividades-18nov,
    .agenda-card-glass {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Desactivar animaciones de fondo costosas en secciones oscuras durante scroll */
    .seccion-festividades-18nov::before {
        display: none !important;
    }

    /* Permitir scroll táctil vertical natural sobre los mapas de Leaflet */
    #mapaCatalogo, 
    #mapaTransporte, 
    #mapaEntradaRecorrido, 
    .leaflet-container {
        touch-action: pan-y !important;
    }

    /* Ajuste en secciones con videos de fondo para liberar GPU al scrollear */
    .hero-video {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* ==========================================================================
   PRELOADER Y TRANSICIONES DE PÁGINA (BENITOURS)
   ========================================================================== */
.benitours-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.benitours-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner-wrapper {
    position: relative;
    width: 124px;
    height: 124px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 112px;
    height: 112px;
    object-fit: contain;
    animation: preloaderPulse 1.6s ease-in-out infinite alternate;
}

@keyframes preloaderPulse {
    from {
        transform: scale(0.92);
        opacity: 0.88;
    }
    to {
        transform: scale(1.06);
        opacity: 1;
    }
}

.preloader-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f3b43;
}

.preloader-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   PÁGINA DE RECUERDOS Y SOUVENIRS (/recuerdos)
   ========================================================================== */
.seccion-recuerdos-hero {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 84% 30%, rgba(245, 158, 11, 0.18), transparent 29%),
        radial-gradient(circle at 18% 78%, rgba(45, 212, 191, 0.2), transparent 34%),
        linear-gradient(135deg, #031417 0%, #0f3b43 52%, #0d5c5c 100%);
    border-bottom: 2px solid rgba(45, 212, 191, 0.25);
    isolation: isolate;
}

.seccion-recuerdos-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 94%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 94%);
}

.recuerdos-hero-container {
    min-height: 100vh;
    min-height: 100svh;
    min-height: calc(100dvh - 2px);
    display: flex;
    align-items: center;
    padding-top: 5.5rem;
    padding-bottom: 1.25rem;
}

.recuerdos-hero-row {
    width: 100%;
    margin-inline: 0;
}

.recuerdos-hero-copy {
    text-align: center;
}

.recuerdos-hero-copy h1 {
    max-width: 720px;
    margin-inline: auto;
    font-size: clamp(2.4rem, 4.3vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.recuerdos-hero-copy > p {
    max-width: 650px;
    margin-inline: auto;
    font-size: clamp(0.95rem, 1.25vw, 1.12rem) !important;
    line-height: 1.5;
    text-wrap: balance;
}

.recuerdos-hero-tags,
.recuerdos-hero-copy .d-flex.flex-wrap.gap-2 {
    justify-content: center;
}

.recuerdos-hero-tags span {
    padding: 0.52rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(3, 20, 23, 0.38);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.recuerdos-hero-visual {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recuerdos-hero-rotador {
    position: relative;
    width: 100%;
    height: min(66dvh, 610px);
}

.recuerdos-hero-visual-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    filter: blur(7px);
    pointer-events: none;
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s ease;
}

.recuerdos-hero-visual-item.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.recuerdos-hero-mascara {
    display: block;
    width: min(82%, 390px);
    max-height: min(66dvh, 610px);
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.42));
}

.recuerdos-hero-mascara--sombrero {
    width: min(100%, 560px);
}

.recuerdos-hero-mascara--toro {
    width: min(94%, 500px);
}

.recuerdos-hero-visual-dots {
    position: absolute;
    right: 0;
    bottom: 0.15rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.recuerdos-hero-visual-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.recuerdos-hero-visual-dots span.is-active {
    width: 22px;
    background: #f59e0b;
}

@media (max-width: 991.98px) {
    .recuerdos-hero-container {
        padding-top: 4.75rem;
        padding-bottom: 0.75rem;
    }

    .recuerdos-hero-copy {
        padding-top: 0;
        text-align: center;
    }

    .recuerdos-hero-copy > p {
        margin-inline: auto;
    }

    .recuerdos-hero-tags,
    .recuerdos-hero-copy .d-flex.flex-wrap.gap-2 {
        justify-content: center;
    }

    .recuerdos-hero-visual {
        align-self: auto;
        min-height: 0;
        margin-top: -0.75rem;
    }

    .recuerdos-hero-mascara {
        width: min(64%, 270px);
        max-height: 285px;
    }

    .recuerdos-hero-rotador {
        height: 285px;
    }

    .recuerdos-hero-mascara--sombrero {
        width: min(88%, 390px);
    }

    .recuerdos-hero-mascara--toro {
        width: min(82%, 350px);
    }
}

@media (max-width: 575.98px) {
    .recuerdos-hero-copy h1 {
        font-size: clamp(2rem, 9.5vw, 2.65rem);
    }

    .recuerdos-hero-tags span {
        font-size: 0.7rem;
    }

    .recuerdos-hero-actions {
        flex-wrap: nowrap !important;
        width: 100%;
        gap: 0.45rem !important;
        justify-content: center;
    }

    .recuerdos-hero-actions .btn {
        flex: 0 0 auto;
        width: min(72vw, 250px);
        padding: 0.58rem 1rem !important;
        font-size: 0.72rem;
        white-space: nowrap;
        justify-content: center;
    }

    .recuerdos-hero-actions .btn i {
        margin: 0 !important;
    }

    .recuerdos-hero-visual {
        min-height: 0;
        margin-top: 0.5rem;
    }

    .recuerdos-hero-mascara {
        width: min(58%, 220px);
        max-height: 245px;
    }

    .recuerdos-hero-rotador {
        height: 245px;
    }

    .recuerdos-hero-mascara--sombrero {
        width: min(88%, 300px);
    }

    .recuerdos-hero-mascara--toro {
        width: min(82%, 280px);
    }
}

.recuerdos-filtros-scroll {
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

#catalogo-recuerdos {
    scroll-margin-top: 5.75rem;
    padding-top: 2.5rem !important;
}

@media (max-width: 575.98px) {
    #catalogo-recuerdos {
        scroll-margin-top: 5.25rem;
        padding-top: 1.75rem !important;
    }
}
.recuerdos-filtros-scroll::-webkit-scrollbar {
    display: none;
}

.recuerdos-catalogo-title {
    color: #172033;
    font-size: clamp(1.75rem, 3.2vw, 2.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.recuerdos-catalogo-title span {
    color: #0d9488;
}

.recuerdos-buscador-rapido {
    width: min(100%, 320px);
    filter: drop-shadow(0 5px 12px rgba(15, 59, 67, 0.08));
}

.recuerdos-buscador-rapido .input-group-text,
.recuerdos-buscador-rapido .form-control {
    border-color: #cbd5e1;
    background: #ffffff;
}

.recuerdos-buscador-rapido .input-group-text {
    padding-left: 1rem;
    border-right: 0;
    border-radius: 999px 0 0 999px;
    color: #0d9488;
}

.recuerdos-buscador-rapido .form-control {
    border-left: 0;
    border-radius: 0 999px 999px 0;
    padding-block: 0.68rem;
    box-shadow: none;
    font-size: 0.86rem;
}

.recuerdos-buscador-rapido:focus-within .input-group-text,
.recuerdos-buscador-rapido:focus-within .form-control {
    border-color: #0d9488;
}

.chip-recuerdo-filtro {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(15, 59, 67, 0.08);
}

.chip-recuerdo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 1.65rem;
    border-radius: 50%;
    background: #ccfbf1;
    color: #0d9488;
    font-size: 0.82rem;
}
.chip-recuerdo-filtro:hover {
    background-color: #ffffff;
    color: #0d9488;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.14);
}
.chip-recuerdo-filtro.active {
    background: linear-gradient(135deg, #0d9488 0%, #09252a 100%);
    color: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.chip-recuerdo-filtro.active .chip-recuerdo-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fbbf24;
}

@media (max-width: 575.98px) {
    .recuerdos-buscador-rapido {
        width: 100%;
        max-width: 100%;
    }
}

.recuerdos-filtro-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.15rem;
    border: 1px solid rgba(13, 148, 136, 0.35);
    border-radius: 999px;
    background: #ffffff;
    color: #172033;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
    transition: all 0.25s ease;
    min-height: 48px;
}

.recuerdos-filtro-trigger:focus,
.recuerdos-filtro-trigger:active,
.recuerdos-filtro-trigger[aria-expanded="true"] {
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2) !important;
}

.recuerdos-filtro-trigger::after {
    margin-left: auto;
    color: #0f3b43;
    font-size: 0.85rem;
}

.recuerdos-filtro-menu {
    z-index: 1080;
    max-height: min(26rem, calc(70dvh - 1rem));
    margin-top: 0.5rem !important;
    padding: 0.65rem;
    overflow-y: auto;
    border: 1px solid rgba(13, 148, 136, 0.15) !important;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 59, 67, 0.14);
    overscroll-behavior: contain;
}

.recuerdos-filtro-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 3rem;
    padding: 0.55rem 0.85rem;
    border: 0;
    border-radius: 0.85rem;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: normal;
    transition: all 0.15s ease;
}

.recuerdos-filtro-menu .dropdown-item:hover,
.recuerdos-filtro-menu .dropdown-item:focus {
    background: #f0fdf4;
    color: #0d9488;
}

.recuerdos-filtro-menu .dropdown-item.active {
    background: #0d9488 !important;
    color: #ffffff !important;
}

.recuerdos-filtro-menu .dropdown-item.active .chip-recuerdo-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.recuerdos-filtro-menu .dropdown-item.active .filtro-check {
    visibility: visible;
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 900;
}

.recuerdos-filtro-menu .chip-recuerdo-icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 50%;
    background: #ccfbf1;
    color: #0d9488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.recuerdos-filtro-trigger .chip-recuerdo-icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 50%;
    background: #ccfbf1;
    color: #0d9488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.card-recuerdo {
    border: 1px solid rgba(15, 59, 67, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-recuerdo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 59, 67, 0.12) !important;
}

/* Tarjetas compactas: categorÃ­a arriba, ubicaciÃ³n debajo y sin descripciÃ³n larga */
.card-recuerdo .card-body > .d-flex.justify-content-between.align-items-center.mb-2 {
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.35rem;
}

.card-recuerdo .card-body > .d-flex.justify-content-between.align-items-center.mb-2 > small {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding-left: 0.15rem;
}

.card-recuerdo .card-body > p {
    display: none;
}

/* Fondos ilustrativos de arte para recuerdos */
.bg-gradient-cream {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.bg-gradient-wood {
    background: linear-gradient(135deg, #f5d0b5 0%, #d97706 100%);
}
.bg-gradient-chocolate {
    background: linear-gradient(135deg, #fed7aa 0%, #7c2d12 100%);
}
.bg-gradient-sand {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}
.bg-gradient-forest {
    background: linear-gradient(135deg, #dcfce7 0%, #16a34a 100%);
}
.bg-gradient-honey {
    background: linear-gradient(135deg, #fef9c3 0%, #eab308 100%);
}
.bg-gradient-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #0d9488 100%);
}
.bg-gradient-clay {
    background: linear-gradient(135deg, #ffedd5 0%, #c2410c 100%);
}


/* ==========================================================================
   Sección Descarga de la APK Oficial de BeniTours
   ========================================================================== */
.seccion-descargar-app {
    background-color: #ffffff !important;
}

.card-app-download {
    border: 1px solid rgba(13, 148, 136, 0.15) !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbfb 100%);
    box-shadow: 0 10px 30px -10px rgba(13, 148, 136, 0.08) !important;
}

.app-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.btn-descargar-apk {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-descargar-apk:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.35) !important;
}

.app-download-preview-box {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.qr-container {
    transition: transform 0.2s ease;
}

.qr-container:hover {
    transform: scale(1.03);
}

@media (display-mode: standalone) {
    #seccionDescargaApp {
        display: none !important;
    }
}


/* ==========================================================================
   Cronómetro y Prelanzamiento de la Sección de Recuerdos
   ========================================================================== */
.countdown-card-wrapper {
    background: #ffffff;
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
}

.countdown-timer-box {
    min-width: 90px;
    padding: 1rem 0.75rem;
    background: linear-gradient(145deg, #f8fbfb 0%, #ffffff 100%);
    border: 2px solid #0d9488;
    border-radius: 1.25rem;
    box-shadow: 0 6px 15px rgba(13, 148, 136, 0.1);
    transition: transform 0.2s ease;
}

@media (min-width: 576px) {
    .countdown-timer-box {
        min-width: 110px;
        padding: 1.25rem 1rem;
    }
}

.countdown-timer-digit {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: #0d9488;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 576px) {
    .countdown-timer-digit {
        font-size: 3rem;
    }
}

.countdown-timer-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-top: 0.4rem;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 800;
    color: #cbd5e1;
    margin-top: -0.5rem;
}


/* Separación para que la tarjeta de cuenta regresiva no tape la barra de navegación */
.seccion-recuerdos-countdown {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
}

@media (max-width: 991.98px) {
    .seccion-recuerdos-countdown {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
    }
}




