/* =========================================
   PANTALLA DE CARGA (Exclusivo de portada)
   ========================================= */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinning-shield {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-bar-container {
    width: 200px;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--color-principal);
    animation: load 1.5s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* =========================================
   CONTENIDO DE INICIO (Banners, noticias, etc.)
   ========================================= */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
    margin-bottom: 2rem;
}

.hero-section h2 {
    font-size: 2.5rem;
    color: var(--color-principal);
    margin-bottom: 1rem;
}