/* ===== GOTHAM (placeholder — add font files to assets/fonts/ to enable) ===== */
/*
 * If you have Gotham licensed, drop the WOFF2 files in assets/fonts/ and they will be used
 * automatically. Otherwise the stack falls back to Montserrat (closest free alternative).
 */
@font-face {
    font-family: 'Gotham';
    src: local('Gotham Book'),
         url('assets/fonts/Gotham-Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: local('Gotham Light'),
         url('assets/fonts/Gotham-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: local('Gotham Medium'),
         url('assets/fonts/Gotham-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: local('Gotham Bold'),
         url('assets/fonts/Gotham-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: local('Gotham Black'),
         url('assets/fonts/Gotham-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0f1a;
    color: #e8ecf1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

/* ===== MAP CONTAINER ===== */
#map {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.leaflet-control-attribution.leaflet-control{
    display: none !important;
}

/* ===== TOP BAR ===== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 36px;
    pointer-events: none;
    background: #00000087;
    /*background: linear-gradient(180deg,
        rgba(5, 10, 22, 0.75) 0%,
        rgba(5, 10, 22, 0.55) 45%,
        rgba(5, 10, 22, 0.2) 80%,
        rgba(5, 10, 22, 0) 100%);*/
}

.topbar > * {
    pointer-events: auto;
}

.brand-logo {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* On desktop, secondary container is "transparent" to flex layout */
.topbar-secondary {
    display: contents;
}

/* The "more" (⋯) button is mobile-only — hidden on desktop */
.topbar-btn.topbar-more-btn {
    display: none;
}

.topbar-btn {
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    color: #fff;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}

.topbar-btn:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.85);
}

.topbar-btn img,
.topbar-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.topbar-btn--icon {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    gap: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.topbar-btn--icon:hover {
    background: transparent;
    border: none;
    opacity: 0.7;
}

.topbar-btn--icon img,
.topbar-btn--icon svg {
    width: 20px;
    height: 20px;
}

.topbar-btn .arrow-up-right {
    width: 14px;
    height: 14px;
    margin-left: 2px;
    opacity: 0.85;
}

/* ===== HERO OVERLAY ===== */
.hero-overlay {
    position: absolute;
    top: 130px;
    left: 36px;
    z-index: 999;
    pointer-events: none;
    max-width: 540px;
}

.hero-title {
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.hero-eyebrow {
    font-family: inherit;
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
    font-weight: 300;
    letter-spacing: -0.5px;
    line-height: 1.05;
    color: #fff;
}

.hero-main {
    font-family: inherit;
    font-size: clamp(2.8rem, 6.8vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 0.95;
    margin-top: 2px;
}

.hero-subtitle {
    font-size: clamp(0.75rem, 0.9vw, 0.9rem);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 18px;
    font-weight: 300;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    max-width: 420px;
}

/* ===== SIDE PANEL ===== */
.side-panel {
    position: fixed;
    bottom: 0;
    left: 36px;
    top: auto;
    z-index: 1010;
    background: rgba(0, 0, 0, 0.69);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 18px 18px 0 0;
    width: 280px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-collapse-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.panel-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.panel-collapse-btn img {
    width: 14px;
    height: 14px;
}

.panel-content {
    padding: 8px 10px 14px;
    max-height: calc(100vh - 370px);
    overflow-y: auto;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
}

.side-panel.is-collapsed .panel-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.side-panel.is-collapsed .panel-header {
    border-bottom: none;
}

.panel-content::-webkit-scrollbar {
    width: 6px;
}

.panel-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Layer item */
.layer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.22s ease;
    margin-bottom: 2px;
    user-select: none;
}

.layer-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.layer-item.is-master {
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px 12px 0 0;
}

.layer-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.layer-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.layer-icon .icon-emoji {
    font-size: 1.1rem;
    line-height: 1;
}

.layer-label {
    font-size: 0.86rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.layer-item.active .layer-label {
    color: #fff;
}

/* Pill toggle — unified green for all active layers */
.layer-toggle {
    width: 38px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    position: relative;
    flex-shrink: 0;
    transition: background 0.3s ease;
    cursor: pointer;
}

.layer-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.layer-item.active .layer-toggle {
    background: #22c55e;
}

.layer-item.active .layer-toggle::after {
    left: 20px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ===== MODAL INFO ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 13, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: #1E1E1E;
    border: 1px solid #444444;
    border-radius: 18px;
    padding: 32px 30px 26px;
    max-width: 420px;
    width: 100%;
    color: #e8ecf1;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    text-align: center;
    transform: translateY(8px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-backdrop.is-open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.modal-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    display: block;
    object-fit: contain;
}

.modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-align: center;
}

.modal-body {
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

/* ===== LEAFLET POPUP CUSTOM ===== */
.leaflet-popup-content-wrapper {
    background: #1E1E1E !important;
    border: 1px solid #444444 !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;
    color: #e8ecf1 !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    font-family: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
    line-height: 1.5 !important;
}

.leaflet-container,
.leaflet-container .leaflet-control,
.leaflet-container .leaflet-control-attribution {
    font-family: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.leaflet-popup-tip {
    background: #1E1E1E !important;
    border: 1px solid #444444 !important;
    box-shadow: none !important;
}

.leaflet-popup.popup-flipped-down .leaflet-popup-tip-container {
    visibility: hidden;
}

.leaflet-popup-close-button {
    display: none !important;
}

.popup-card {
    padding: 18px 20px 16px;
    min-width: 240px;
    max-width: 300px;
    text-align: center;
}

.popup-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 10px;
    display: block;
    object-fit: contain;
}

.popup-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
    line-height: 1.25;
    text-align: center;
}

.popup-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    text-align: center;
}

.popup-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    border: none;
    background: #000000;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.popup-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 5px 12px;
    border: 1px solid var(--pl-color);
    border-radius: 999px;
    background: transparent;
    color: var(--pl-color);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.popup-link:hover {
    background: var(--pl-color);
    color: var(--pl-fg);
}

.popup-link-icon {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
}

/* ===== ZOOM CONTROLS ===== */
.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 16px !important;
    background: rgba(8, 14, 28, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
    margin: 0 22px 22px 0 !important;
    padding: 10px 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px;
}

.leaflet-control-zoom a {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    width: 48px !important;
    height: 48px !important;
    line-height: 0 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
    font-size: 0 !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.leaflet-control-zoom a img {
    width: 22px;
    height: 22px;
    display: block;
}

.leaflet-control-layers {
    background: rgba(8, 14, 28, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #e8ecf1 !important;
    margin: 0 22px 10px 0 !important;
}

.leaflet-control-layers-toggle {
    background-color: transparent !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background-image: none !important;
    position: relative;
}

.leaflet-control-layers-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/img/layer.svg');
    background-position: center;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
}

.leaflet-control-layers-expanded {
    padding: 10px 12px !important;
    color: #fff !important;
    font-size: 0.82rem !important;
}

.leaflet-control-layers-expanded label {
    margin-bottom: 4px !important;
    cursor: pointer;
}

/* ===== FOREST COVER LEGEND ===== */
.forest-legend {
    position: fixed;
    top: 104px;
    right: 36px;
    z-index: 900;
    background: rgba(8, 14, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e8ecf1;
    padding: 10px 12px;
    font-family: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.78rem;
    line-height: 1.3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    max-width: 230px;
    pointer-events: none;
}

.forest-legend-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.forest-legend-title {
    font-weight: 700;
    font-size: 0.82rem;
}

.forest-legend-toggle {
    display: none; /* escritorio: leyenda siempre completa, sin botón */
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    padding: 2px 4px;
    transition: transform 0.18s ease;
}

.forest-legend-body {
    margin-top: 6px;
}

.forest-legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.forest-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.forest-legend-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    object-fit: contain;
}

.forest-legend-label {
    white-space: nowrap;
}

.forest-legend-src {
    margin-top: 6px;
    font-size: 0.68rem;
    opacity: 0.7;
}

.forest-legend-loading {
    display: none;
    margin-top: 6px;
    font-size: 0.72rem;
}

.forest-legend.is-loading .forest-legend-loading {
    display: block;
    animation: forestLegendPulse 1.1s ease-in-out infinite;
}

@keyframes forestLegendPulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .forest-legend {
        top: 222px;
        right: 12px;
        font-size: 0.72rem;
        max-width: 168px;
        padding: 8px 10px;
    }
    .forest-legend-src { display: none; }

    /* En móvil: cabecera tocable + botón para colapsar/expandir el bloque. */
    .forest-legend-head { pointer-events: auto; cursor: pointer; }
    .forest-legend-toggle { display: inline-flex; align-items: center; pointer-events: auto; }
    .forest-legend.is-collapsed .forest-legend-body { display: none; }
    .forest-legend.is-collapsed .forest-legend-toggle { transform: rotate(-90deg); }
    /* Colapsada y cargando: pulsa el título para dar feedback (el cuerpo está oculto). */
    .forest-legend.is-collapsed.is-loading .forest-legend-title {
        animation: forestLegendPulse 1.1s ease-in-out infinite;
    }
}

/* ===== MARKER STYLES ===== */
.map-marker-wrap {
    background: transparent !important;
    border: none !important;
}

.map-marker {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}

.map-marker.pulse-marker {
    animation: pulse 3s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.85;
    }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0f1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(52, 211, 153, 0.15);
    border-top-color: #34d399;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#moreBtn{
        display: none;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .topbar {
        padding: 14px 16px 22px;
    }

    .brand-logo {
        height: 40px;
    }

    .topbar-actions {
        gap: 6px;
    }

    /* Show the "more" button only on mobile */
    .topbar-btn.topbar-more-btn {
        display: inline-flex;
    }

    /* Hide English + Costa Rica Azul inline; show as dropdown */
    .topbar-secondary {
        display: none;
        position: absolute;
        top: calc(100% + 24px);
        right: -16px;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        z-index: 1100;
    }

    #moreBtn{
        display: flex;
    }

    .topbar-secondary.is-open {
        display: flex;
        background: #00000087;
        padding: 10px;
    }

    .topbar-secondary .topbar-btn {
        padding: 10px 18px;
        width: auto;
        height: auto;
        gap: 10px;
        justify-content: center;
        white-space: nowrap;
    }

    .topbar-secondary .topbar-btn .label-text {
        display: inline;
    }

    .topbar-secondary .topbar-btn .arrow-up-right {
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-left: 2px;
    }

    /* Top-bar icon-only buttons shrink slightly */
    .topbar-btn--icon {
        width: 36px;
        height: 36px;
    }

    .topbar-btn--icon img,
    .topbar-btn--icon svg {
        width: 20px;
        height: 20px;
    }

    .hero-overlay {
        top: 78px;
        left: 18px;
        right: 18px;
        max-width: none;
    }
    /*
    .hero-eyebrow {
        font-size: 1.35rem;
    }

    .hero-main {
        font-size: 2.2rem;
        letter-spacing: -1.5px;
    }*/

    .hero-subtitle {
        margin-top: 12px;
        /*font-size: 0.7rem;*/
    }

    /* Side panel: full-width at bottom on mobile */
    .side-panel {
        left: 10px;
        right: 0;
        width: 90%;
    }

    .panel-content {
        max-height: 58vh;
    }

    .leaflet-control-zoom {
        margin: 0 12px 90px 0 !important;
    }

    .leaflet-control-zoom a {
        width: 42px !important;
        height: 42px !important;
    }

    .leaflet-control-zoom a img {
        width: 18px;
        height: 18px;
    }

    .leaflet-control-layers {
        margin: 0 12px 10px 0 !important;
    }

    .leaflet-control-layers-toggle {
        width: 42px !important;
        height: 42px !important;
    }

    .leaflet-control-layers-toggle::before {
        background-size: 20px 20px;
    }
}

/* ===== PRINT ===== */
/* Note: the @page rule (page size + margin) is injected dynamically by
   setPrintPageSize() in map-app.js so it matches the viewport's exact
   aspect ratio. Putting a static @page here would compete with that. */
@media print {
    html, body {
        background: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .topbar-actions,
    .side-panel,
    .leaflet-control-zoom,
    .leaflet-control-layers,
    .modal-backdrop,
    .loading-screen {
        display: none !important;
    }

    .topbar {
        position: absolute;
        background: transparent !important;
        box-shadow: none;
    }

    .hero-overlay {
        position: absolute;
    }

    #map {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .leaflet-container,
    .leaflet-pane,
    .leaflet-tile {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
