/* Reset y variables CSS - Tema Dark */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --secondary-hover: #0f3460;
    --accent-color: #e94560;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --text-color: #ffffff;
    --text-light: #a8a8a8;
    --bg-color: #0f0f23;
    --white: #ffffff;
    --border-color: #2d2d44;
    --hover-color: #2d2d44;
    --disabled-color: #4a4a6a;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.4);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --ad-bg: #1a1a2e;
    --ad-border: #2d2d44;
    --ad-text: #a8a8a8;
    --header-height: 70px;
    --header-min-height: 70px;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    overflow-x: hidden;
    height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: var(--header-min-height);
    background: var(--primary-color);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    z-index: 1000;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 50px;
    justify-content: center;
}

.header-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.header-content h1 i {
    color: var(--accent-color);
    margin-right: 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    margin-top: 5px;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
}

.breadcrumb-item {
    font-size: 0.9rem;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb-item.active {
    background-color: var(--accent-color);
    color: #ffffff;
}

.breadcrumb-item.clickable {
    cursor: pointer;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    color: #ffffff;
}

.breadcrumb-item.clickable:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.breadcrumb-item.clickable:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.breadcrumb-separator {
    color: #ffffff;
    margin: 0 8px;
    font-size: 0.8rem;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 50px;
    justify-content: center;
    flex-shrink: 0;
}

/* Botones */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Selector de idioma */
.language-selector-container {
    position: relative;
    display: inline-block;
}

.btn-language {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    justify-content: space-between;
}

.btn-language:hover {
    background: var(--secondary-hover);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--hover-color);
}

.language-option.active {
    background: var(--primary-color);
    color: white;
}

.language-option .flag {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.language-option span:not(.flag) {
    flex: 1;
}

.btn-home {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 12px;
}

.btn-home:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-back {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 12px;
}

.btn-back:hover:not(:disabled) {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-back:disabled {
    background-color: var(--disabled-color);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--secondary-color);
    box-shadow: var(--shadow);
    z-index: 999;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    color: var(--text-color);
    font-size: 1.2rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Botón flotante para abrir sidebar */
.sidebar-floating-btn {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 998;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sidebar-floating-btn:hover {
    background: #d63384;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

.sidebar-floating-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Ocultar botón flotante cuando sidebar está abierto */
.sidebar.open + .sidebar-floating-btn,
.sidebar.mobile-open + .sidebar-floating-btn {
    display: none;
}

/* Botón flotante para abrir panel de información */
.info-floating-btn {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 998;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-floating-btn:hover {
    background: #d63384;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

.info-floating-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Ocultar botón flotante cuando panel de información está abierto */
.info-panel.open ~ .info-floating-btn {
    display: none;
}

.sidebar-content {
    padding: 20px;
}

.level-info {
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
}

.level-info h4 {
    color: var(--text-color);
    margin-bottom: 8px;
}

.level-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.navigation-tree h5 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1rem;
}

.level-list {
    list-style: none;
}

.level-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding-left: 10px;
}

.level-item:hover {
    background-color: var(--bg-color);
}

.level-item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.level-item i {
    font-size: 0.8rem;
    color: var(--accent-color);
}

.level-item.active i {
    color: var(--white);
}

.level-item span {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* ===== Índice de Marcadores ===== */
.marker-index-section {
    margin-top: 20px;
}

.marker-index-section h5 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.marker-index-list {
    list-style: none;
    margin: 0;
    padding: 0 0 5px 0;
}

.marker-index-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.marker-index-item:hover {
    background: var(--bg-color);
}

.marker-index-item i {
    width: 18px;
    text-align: center;
}

.marker-index-item .marker-index-title {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-color);
}

.marker-index-item .marker-index-type {
    font-size: 0.75rem;
    color: var(--text-color);
}

/* Map Container */
.map-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    margin-top: var(--header-height);
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: var(--transition);
}

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

.loading-spinner {
    text-align: center;
    color: var(--text-color);
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.loading-spinner p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Info Panel */
.info-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 350px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    transform: translateX(100%);
    transition: var(--transition);
    max-height: 80vh;
    overflow-y: auto;
}

.info-panel.open {
    transform: translateX(0);
}

.info-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-header h3 {
    color: var(--text-color);
    font-size: 1.2rem;
}

.info-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.info-close:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.info-content {
    padding: 20px;
}

.info-content p {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #ffffff;
}

.info-content strong {
    color: #ffffff;
    font-weight: 700;
}

.info-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.info-content li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    position: fixed;
    top: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    display: none;
}

.mobile-menu-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Leaflet Custom Styles */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: var(--shadow-hover) !important;
}

.leaflet-control-zoom a {
    background: var(--secondary-color) !important;
    color: var(--text-color) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    margin: 2px !important;
    transition: var(--transition) !important;
}

.leaflet-control-zoom a:hover {
    background: var(--accent-color) !important;
    color: var(--white) !important;
    transform: scale(1.1) !important;
}

.leaflet-popup-content-wrapper {
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-hover) !important;
}

.leaflet-popup-content {
    margin: 15px !important;
    font-family: inherit !important;
}

.leaflet-popup-tip {
    background: var(--white) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0 15px;
    }
    
    .header-content h1 {
        font-size: 1.2rem;
    }
    
    .sidebar {
        width: 280px;
    }
    
    .info-panel {
        width: 90vw;
        right: 5vw;
        left: 5vw;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    /* Ajustar botón flotante en móviles */
    .sidebar-floating-btn {
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Ajustar botón flotante de información en móviles */
    .info-floating-btn {
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header-controls {
        gap: 5px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .sidebar {
        width: 100vw;
    }
    
    /* Ajustar botón flotante en pantallas muy pequeñas */
    .sidebar-floating-btn {
        left: 5px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Ajustar botón flotante de información en pantallas muy pequeñas */
    .info-floating-btn {
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
} 

/* ===== MINIMAP ===== */
.minimap-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 150px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #666;
    border-radius: 8px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.minimap-container.show {
    display: block;
}

.minimap-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.7;
}

.minimap-viewport {
    position: absolute;
    border: 2px solid #ff6b6b;
    background: rgba(255, 107, 107, 0.2);
    pointer-events: none;
    z-index: 1001;
}

.minimap-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimap-close:hover {
    background: rgba(255, 0, 0, 0.7);
}

/* Responsive para minimap */
@media (max-width: 768px) {
    .minimap-container {
        width: 150px;
        height: 112px;
        bottom: 10px;
        right: 10px;
    }
} 

/* ===== BUSCADOR ===== */
.search-container {
    position: relative;
    margin-right: 10px;
}

.search-input {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--secondary-color);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.3);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.search-results.show {
    display: block;
}

.search-result-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
    color: #ffffff;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.search-result-item .result-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.search-result-item .result-level {
    font-size: 12px;
    opacity: 0.8;
}

.search-result-item .result-description {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

/* Responsive para buscador */
@media (max-width: 768px) {
    .search-container {
        margin-right: 5px;
    }
    
    .search-input {
        width: 150px;
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .search-results {
        max-height: 200px;
    }
}

/* ===== ESTILOS MEJORADOS PARA POPUPS ===== */
.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    padding: 0 !important;
    overflow: hidden;
}

.custom-popup .leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-height: 70vh;
    overflow-y: auto;
}

.popup-content {
    display: flex;
    flex-direction: column;
    min-width: 90vw;
    max-width: 90vw;
    gap: 0;
}



.popup-text-content {
    padding: 20px;
    background: var(--primary-color);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 150px;
    max-height: none;
    overflow-y: visible;
}

.popup-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--text-color) !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-title i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.popup-description {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--text-color) !important;
    margin-bottom: 15px !important;
    text-align: justify;
    flex: 1;
}



.btn-explore {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
    position: sticky !important;
    bottom: 0 !important;
    background: var(--accent-color) !important;
    color: #ffffff !important;
    border: 2px solid var(--accent-color) !important;
    z-index: 10 !important;
    box-shadow: 0 -2px 10px rgba(233, 69, 96, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.btn-explore:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5) !important;
    background: #d63384 !important;
    border-color: #d63384 !important;
    color: #ffffff !important;
}

/* Estilos para imágenes en popups */
.popup-image-container {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: none; /* Se mostrará cuando se cargue correctamente */
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Sin scroll - todo el contenido visible */

/* Responsive para popups */
@media (max-width: 768px) {
    .popup-content {
        min-width: 95vw;
        max-width: 95vw;
    }
    
    .popup-text-content {
        padding: 18px;
        min-height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    .popup-title {
        font-size: 1.1rem !important;
    }
    
    .popup-description {
        font-size: 0.9rem !important;
    }
    
    .btn-explore {
        padding: 10px 18px !important;
        font-size: 0.95rem !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .popup-content {
        min-width: 98vw;
        max-width: 98vw;
    }
    
    .popup-text-content {
        padding: 15px;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    .popup-title {
        font-size: 1rem !important;
    }
    
    .popup-description {
        font-size: 0.85rem !important;
    }
} 

/* Estilos para espacios de anuncios de Google AdSense */
.ad-banner {
    background: var(--ad-bg);
    border: 2px dashed var(--ad-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ad-banner:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: var(--ad-text);
    min-height: 60px;
}

.ad-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.ad-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.ad-placeholder small {
    font-size: 0.75rem;
    opacity: 0.7;
}



/* Banner Inferior */
.ad-banner-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    margin: 0;
    border-radius: 0;
}

/* Banner Lateral en Sidebar */
.ad-banner-sidebar {
    margin: 20px;
    height: 250px;
    width: calc(100% - 40px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Banner Flotante (cuando sidebar está cerrado) */
.ad-banner-floating {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 998;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: none;
}

/* Botón de cierre para banner flotante */
.ad-close-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    z-index: 999;
}

.ad-close-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.ad-close-btn:active {
    transform: scale(0.95);
}

/* Mejoras adicionales para el banner flotante */
.ad-banner-floating .ad-placeholder {
    padding: 30px 20px;
    height: 100%;
    box-sizing: border-box;
}

.ad-banner-floating .ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.ad-banner-floating .ad-placeholder span {
    font-size: 1rem;
    margin-bottom: 10px;
}

.ad-banner-floating .ad-placeholder small {
    font-size: 0.8rem;
}

/* Ajustes para el contenedor principal cuando hay banners */
.map-container {
    margin-top: 70px; /* Solo el header */
    margin-bottom: 90px; /* 90px banner inferior */
    height: calc(100vh - 70px - 90px);
}

/* Ajustes para el sidebar */
.sidebar {
    top: 70px; /* Solo el header */
    height: calc(100vh - 70px);
}

/* Responsive para banners */
@media (max-width: 768px) {
    .ad-banner-bottom {
        height: 60px;
    }
    
    .ad-banner-floating {
        display: none !important;
    }
    
    .map-container {
        margin-top: 70px; /* Solo el header */
        margin-bottom: 60px; /* 60px banner inferior */
        height: calc(100vh - 70px - 60px);
    }
    
    .sidebar {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .ad-placeholder {
        padding: 10px;
    }
    
    .ad-placeholder i {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .ad-placeholder span {
        font-size: 0.8rem;
    }
    
    .ad-placeholder small {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .ad-banner-bottom {
        height: 50px;
    }
    
    .map-container {
        margin-top: 70px;
        margin-bottom: 50px;
        height: calc(100vh - 70px - 50px);
    }
    
    .sidebar {
        top: 70px;
        height: calc(100vh - 70px);
    }
}

/* Clase para ocultar banners cuando sea necesario */
.ad-banner.hidden {
    display: none;
}

/* Animación para los placeholders */
@keyframes adPulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.ad-placeholder {
    animation: adPulse 2s ease-in-out infinite;
}

/* Estilos específicos para cuando se carguen anuncios reales */
.ad-banner.loaded {
    border: none;
    background: transparent;
}

.ad-banner.loaded .ad-placeholder {
    display: none;
} 

/* Panel de Información Detallada */
.info-sidebar {
    position: fixed;
    top: 70px;
    left: -400px;
    width: 400px;
    height: calc(100vh - 70px);
    background: var(--primary-color);
    box-shadow: var(--shadow-hover);
    z-index: 1001;
    transition: var(--transition);
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
}

.info-sidebar.open {
    left: 0;
}

.info-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: var(--white);
}

.info-sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-sidebar-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.info-sidebar-content {
    padding: 20px;
}

.info-section {
    margin-bottom: 30px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-color);
}

/* Estilos específicos para los títulos del panel de información */
.info-zone-title,
.info-text-title,
.info-library-title {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 3px solid var(--accent-color) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.info-zone-text {
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.info-text-content {
    color: #ffffff;
    line-height: 1.6;
}

.info-text-content p {
    margin-bottom: 15px;
    color: #ffffff;
}

.info-text-content p:last-child {
    margin-bottom: 0;
}

.info-library-content {
    color: #ffffff;
    font-style: italic;
    line-height: 1.5;
}

.info-library-content p {
    margin-bottom: 10px;
}

.info-library-content p:last-child {
    margin-bottom: 0;
}

/* Responsive para info-sidebar */
@media (max-width: 768px) {
    .info-sidebar {
        width: 100%;
        left: -100%;
    }
    
    .info-sidebar-content {
        padding: 15px;
    }
    
    .info-sidebar-header {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .info-sidebar {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .info-sidebar-content {
        padding: 12px;
    }
    
    .info-sidebar-header {
        padding: 12px;
    }
    
    .info-sidebar-header h3 {
        font-size: 1.1rem;
    }
}

/* Sección de Información General */
.info-general-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease-out;
}

.info-general-section.show {
    display: flex;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.info-general-content {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.info-general-content::-webkit-scrollbar {
    width: 8px;
}

.info-general-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.info-general-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.info-general-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.info-general-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 20px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.info-general-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.info-general-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.info-general-header h3 i {
    color: var(--accent-color);
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.info-general-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.info-general-close:hover {
    background: rgba(231, 76, 60, 0.8);
    border-color: var(--accent-color);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.info-chips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px;
}

.info-chip {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: chipFadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.info-chip:nth-child(1) { animation-delay: 0.1s; }
.info-chip:nth-child(2) { animation-delay: 0.2s; }
.info-chip:nth-child(3) { animation-delay: 0.3s; }
.info-chip:nth-child(4) { animation-delay: 0.4s; }
.info-chip:nth-child(5) { animation-delay: 0.5s; }

@keyframes chipFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--accent-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.info-chip:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(231, 76, 60, 0.1);
}

.info-chip:hover::before {
    transform: scaleX(1);
}

.info-chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(231, 76, 60, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-chip:hover::after {
    opacity: 1;
}

.chip-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.chip-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-chip:hover .chip-header i {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.1) 100%);
    transform: scale(1.1);
}

.chip-header h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.chip-content {
    color: var(--text-color);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chip-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive para info-general-section */
@media (max-width: 768px) {
    .info-general-section {
        padding: 15px;
    }
    
    .info-general-content {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .info-general-header {
        padding: 25px 25px 15px 25px;
        border-radius: 16px 16px 0 0;
    }
    
    .info-general-header h3 {
        font-size: 1.5rem;
    }
    
    .info-chips-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }
    
    .info-chip {
        padding: 25px;
        border-radius: 12px;
    }
    
    .chip-header i {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
        border-radius: 10px;
    }
    
    .chip-header h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .info-general-section {
        padding: 10px;
    }
    
    .info-general-content {
        border-radius: 12px;
        max-height: 98vh;
    }
    
    .info-general-header {
        padding: 20px 20px 15px 20px;
        border-radius: 12px 12px 0 0;
    }
    
    .info-general-header h3 {
        font-size: 1.3rem;
    }
    
    .info-general-close {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-chips-container {
        gap: 20px;
        padding: 20px;
    }
    
    .info-chip {
        padding: 20px;
        border-radius: 10px;
    }
    
    .chip-header {
        margin-bottom: 15px;
    }
    
    .chip-header i {
        font-size: 1.3rem;
        width: 30px;
        height: 30px;
        margin-right: 12px;
        border-radius: 8px;
    }
    
    .chip-header h4 {
        font-size: 1.1rem;
    }
    
    .chip-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ===== ESTILOS PARA MODALES ===== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease-out;
}

.modal-overlay.show {
    display: flex;
}

.modal-container {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-large {
    max-width: 1000px;
    max-height: 85vh;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.modal-header h3 i {
    color: var(--accent-color);
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(231, 76, 60, 0.8);
    border-color: var(--accent-color);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.modal-content {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.mission-content {
    line-height: 1.8;
    color: var(--text-color);
}

.mission-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.mission-content p:last-of-type {
    margin-bottom: 0;
}

.mission-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(231, 76, 60, 0.2);
    text-align: center;
}

.mission-footer p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-link:hover {
    color: var(--text-color);
    border-bottom-color: var(--accent-color);
}

.support-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.support-link:hover {
    color: var(--text-color);
    border-bottom-color: var(--accent-color);
}

/* ===== ESTILOS PARA MODAL DE CONTENIDO ===== */

.content-section {
    margin-bottom: 40px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-item {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.content-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
}

.content-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.content-info {
    flex: 1;
}

.content-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.content-campaign {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 500;
}

.content-subitems {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subitem {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(231, 76, 60, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.subitem:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: translateX(5px);
}

.subitem i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.subitem span {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Sección Próximamente */
.coming-soon {
    border-top: 2px solid rgba(231, 76, 60, 0.2);
    padding-top: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(52, 73, 94, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.section-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px;
}

.section-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.coming-soon-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.coming-soon-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 249, 250, 0.6) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coming-soon-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(231, 76, 60, 0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.coming-soon-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(231, 76, 60, 0.2);
}

.coming-soon-item i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.coming-soon-item span {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== ESTILOS PARA MODAL DE DESCARGO DE RESPONSABILIDAD ===== */

.disclaimer-content {
    line-height: 1.8;
    color: var(--text-color);
}

.disclaimer-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 249, 250, 0.6) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.disclaimer-section:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(3px);
}

.disclaimer-section:last-child {
    margin-bottom: 0;
}

.disclaimer-section p {
    margin: 0;
    font-size: 1.05rem;
    text-align: justify;
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 500;
}

.disclaimer-section strong {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== ESTILOS PARA MODAL DE CONTACTO ===== */

.contact-content {
    line-height: 1.8;
    color: var(--text-color);
}

.contact-section {
    margin-bottom: 30px;
}

.contact-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 249, 250, 0.6) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(3px);
}

.contact-info p {
    margin: 0 0 20px 0;
    font-size: 1.05rem;
    text-align: justify;
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 500;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-email-section {
    border-top: 2px solid rgba(231, 76, 60, 0.2);
    padding-top: 25px;
}

.email-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.email-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.email-container i {
    font-size: 2rem;
    color: var(--white);
    margin-right: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.email-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.email-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.email-link {
    font-size: 1.3rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.email-link:hover {
    color: var(--white);
    border-bottom-color: var(--accent-color);
    transform: scale(1.05);
}

/* ===== ESTILOS PARA MODAL DE APOYA EL PROYECTO ===== */

.support-content {
    line-height: 1.8;
    color: var(--text-color);
}

.support-section {
    margin-bottom: 30px;
}

.support-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 249, 250, 0.6) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.support-info:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(3px);
}

.support-info p {
    margin: 0 0 20px 0;
    font-size: 1.05rem;
    text-align: justify;
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 500;
}

.support-info p:last-child {
    margin-bottom: 0;
}

.support-methods-section {
    border-top: 2px solid rgba(231, 76, 60, 0.2);
    padding-top: 25px;
}

.methods-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(52, 73, 94, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.methods-header i {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-right: 12px;
}

.methods-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.support-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-method {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.support-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
}

.method-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.method-info {
    flex: 1;
}

.method-info h5 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.method-info p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
}

.paypal-placeholder {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 123, 255, 0.1);
    border: 2px dashed rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    color: #2c3e50;
    font-style: italic;
    font-weight: 500;
}

.paypal-placeholder i {
    margin-right: 10px;
    color: #007bff;
}

.contact-link-support {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.contact-link-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

/* ===== ESTILOS PARA COLABORADORES ===== */

.collaborators-section {
    border-top: 2px solid rgba(231, 76, 60, 0.2);
    padding-top: 25px;
    margin-top: 30px;
}

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

.collaborator-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.collaborator-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.collaborator-avatar {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.collaborator-info {
    flex: 1;
}

.collaborator-info h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.collaborator-role {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    font-style: italic;
}

.collaborator-contribution {
    margin: 0;
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.5;
    font-weight: 500;
}

/* ===== ESTILOS PARA MECENAS ===== */

.patrons-section {
    border-top: 2px solid rgba(231, 76, 60, 0.2);
    padding-top: 25px;
    margin-top: 30px;
}

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

.patron-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.patron-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(241, 196, 15, 0.3);
}

.patron-tier {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.patron-tier.gold {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(243, 156, 18, 0.2) 100%);
    color: #d68910;
}

.patron-tier.silver {
    background: linear-gradient(135deg, rgba(189, 195, 199, 0.2) 0%, rgba(149, 165, 166, 0.2) 100%);
    color: #7f8c8d;
}

.patron-tier i {
    margin-right: 8px;
    font-size: 1rem;
}

.patron-info h5 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.patron-message {
    margin: 0;
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.5;
    font-style: italic;
    quotes: """ """;
    font-weight: 500;
}

.patron-message::before {
    content: open-quote;
    color: var(--accent-color);
    font-weight: bold;
}

.patron-message::after {
    content: close-quote;
    color: var(--accent-color);
    font-weight: bold;
}

/* Responsive para modales */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 15px;
    }
    
    .modal-container {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .modal-large {
        max-width: 95vw;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 25px 15px 25px;
    }
    
    .modal-header h3 {
        font-size: 1.4rem;
    }
    
    .modal-content {
        padding: 25px;
        max-height: calc(95vh - 70px);
    }
    
    .mission-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .mission-footer {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .mission-footer p {
        font-size: 1rem;
    }
    
    /* Responsive para contenido */
    .content-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .content-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-right: 15px;
    }
    
    .content-info h4 {
        font-size: 1.2rem;
    }
    
    .content-campaign {
        font-size: 0.95rem;
    }
    
    .subitem {
        padding: 10px 14px;
    }
    
    .subitem span {
        font-size: 0.9rem;
    }
    
    .section-header {
        padding: 12px 16px;
        margin-bottom: 20px;
    }
    
    .section-header h3 {
        font-size: 1.2rem;
    }
    
    .coming-soon-item {
        padding: 15px 18px;
    }
    
    .coming-soon-item span {
        font-size: 0.95rem;
    }
    
    /* Responsive para descargo de responsabilidad */
    .disclaimer-section {
        padding: 18px;
        margin-bottom: 20px;
    }
    
    .disclaimer-section p {
        font-size: 1rem;
        text-align: left;
    }
    
    /* Responsive para contacto */
    .contact-info {
        padding: 20px;
    }
    
    .contact-info p {
        font-size: 1rem;
        text-align: left;
    }
    
    .email-container {
        padding: 20px;
    }
    
    .email-container i {
        font-size: 1.8rem;
        margin-right: 15px;
    }
    
    .email-info h4 {
        font-size: 1.1rem;
    }
    
    .email-link {
        font-size: 1.2rem;
    }
    
    /* Responsive para apoya el proyecto */
    .support-info {
        padding: 20px;
    }
    
    .support-info p {
        font-size: 1rem;
        text-align: left;
    }
    
    .methods-header {
        padding: 12px 16px;
        margin-bottom: 20px;
    }
    
    .methods-header h4 {
        font-size: 1.1rem;
    }
    
    .support-method {
        padding: 20px;
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-right: 15px;
    }
    
    .method-info h5 {
        font-size: 1.2rem;
    }
    
    .method-info p {
        font-size: 0.95rem;
    }
    
    /* Responsive para colaboradores y mecenas en tablets */
    .collaborators-grid,
    .patrons-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 18px;
    }
    
    .collaborator-card {
        padding: 18px;
    }
    
    .collaborator-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        margin-right: 14px;
    }
    
    .collaborator-info h5 {
        font-size: 1.05rem;
    }
    
    .patron-card {
        padding: 18px;
    }
    
    .patron-tier {
        padding: 7px 11px;
        font-size: 0.82rem;
    }
    
    .patron-info h5 {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-container {
        border-radius: 12px;
        max-height: 98vh;
    }
    
    .modal-large {
        max-width: 98vw;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 18px 20px 12px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-content {
        padding: 20px;
        max-height: calc(98vh - 60px);
    }
    
    .mission-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .mission-footer {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .mission-footer p {
        font-size: 0.95rem;
    }
    
    /* Responsive para contenido en móviles */
    .content-item {
        padding: 15px;
        margin-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .content-info h4 {
        font-size: 1.1rem;
    }
    
    .content-campaign {
        font-size: 0.9rem;
    }
    
    .subitem {
        padding: 8px 12px;
    }
    
    .subitem span {
        font-size: 0.85rem;
    }
    
    .section-header {
        padding: 10px 14px;
        margin-bottom: 15px;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
    
    .coming-soon-item {
        padding: 12px 15px;
    }
    
    .coming-soon-item span {
        font-size: 0.9rem;
    }
    
    /* Responsive para descargo de responsabilidad en móviles */
    .disclaimer-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .disclaimer-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Responsive para contacto en móviles */
    .contact-info {
        padding: 15px;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .email-container {
        padding: 18px;
    }
    
    .email-container i {
        font-size: 1.6rem;
        margin-right: 12px;
    }
    
    .email-info h4 {
        font-size: 1rem;
    }
    
    .email-link {
        font-size: 1.1rem;
    }
    
    /* Responsive para apoya el proyecto en móviles */
    .support-info {
        padding: 15px;
    }
    
    .support-info p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .methods-header {
        padding: 10px 14px;
        margin-bottom: 15px;
    }
    
    .methods-header h4 {
        font-size: 1rem;
    }
    
    .support-method {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .method-info h5 {
        font-size: 1.1rem;
    }
    
    .method-info p {
        font-size: 0.9rem;
    }
    
    .contact-link-support {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Responsive para colaboradores y mecenas en móviles */
    .collaborators-grid,
    .patrons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .collaborator-card {
        padding: 15px;
    }
    
    .collaborator-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-right: 12px;
    }
    
    .collaborator-info h5 {
        font-size: 1rem;
    }
    
    .collaborator-role {
        font-size: 0.85rem;
    }
    
    .collaborator-contribution {
        font-size: 0.85rem;
    }
    
    .patron-card {
        padding: 15px;
    }
    
    .patron-tier {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .patron-info h5 {
        font-size: 1rem;
    }
    
    .patron-message {
        font-size: 0.85rem;
    }
    
    /* Responsive para breadcrumb en pantallas pequeñas */
    .breadcrumb {
        flex-wrap: wrap;
        gap: 2px;
        margin-top: 3px;
    }
    
    .breadcrumb-item {
        font-size: 0.8rem;
        padding: 3px 6px;
        max-width: 150px;
    }
    
    .breadcrumb-separator {
        font-size: 0.7rem;
        margin: 0 4px;
    }
}

/* Responsive para breadcrumb en tablets */
@media (max-width: 1024px) {
    .breadcrumb {
        gap: 3px;
    }
    
    .breadcrumb-item {
        font-size: 0.85rem;
        padding: 3px 7px;
        max-width: 180px;
    }
    
    .breadcrumb-separator {
        font-size: 0.75rem;
        margin: 0 6px;
    }
}

/* Responsive para breadcrumb en pantallas muy pequeñas */
@media (max-width: 480px) {
    .breadcrumb {
        gap: 1px;
        margin-top: 2px;
    }
    
    .breadcrumb-item {
        font-size: 0.75rem;
        padding: 2px 4px;
        max-width: 120px;
    }
    
    .breadcrumb-separator {
        font-size: 0.65rem;
        margin: 0 2px;
    }
    
    /* Responsive para header en pantallas muy pequeñas */
    .header {
        padding: 8px 10px;
        min-height: 60px;
    }
    
    .header-content h1 {
        font-size: 1.2rem;
    }
    
    .header-controls {
        gap: 5px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

    /* Responsive para header en tablets */
    @media (max-width: 1024px) {
        .header {
            padding: 10px 15px;
        }
    
    .header-content h1 {
        font-size: 1.3rem;
    }
    
    .header-controls {
        gap: 8px;
    }
    
    .btn {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
}

/* Estilos para tooltips de marcadores */
.marker-tooltip {
    background-color: var(--primary-color) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    max-width: 250px !important;
    min-width: 120px !important;
    text-align: center !important;
    z-index: 1000 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.3 !important;
}

.marker-tooltip::before {
    border-top-color: var(--primary-color) !important;
}

/* Animación suave para tooltips */
.marker-tooltip {
    transition: opacity 0.2s ease-in-out !important;
}

/* Responsive para tooltips */
@media (max-width: 768px) {
    .marker-tooltip {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
        max-width: 180px !important;
        min-width: 100px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .marker-tooltip {
        font-size: 0.75rem !important;
        padding: 5px 8px !important;
        max-width: 140px !important;
        min-width: 80px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}
