
.fondo{
    background-image: url("fondo.png");
    width: 100vw;
    height: 100vh;
    z-index: 50;
}
 .loading-overlay {
    z-index: 100;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(2px);
    background: rgba(0,0,0,.4);
    z-index: 1000;
    transition: opacity 300ms ease, visibility 300ms;
    pointer-events: auto; /* bloquea interacciones al viewer */
  }

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

  .loader {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 8px solid rgba(255,255,255,0.12);
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-bottom: 18px;
  }

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

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

  .progress-wrap {
    width: 260px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    height: 12px;
  }

  .progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(200,200,200,0.85));
    transition: width 300ms ease;
  }

  .progress-text {
    color: #ddd;
    font-size: 1.5rem;
    margin-top: 8px;
  }
  .progress-text-consejo{
        opacity: .9;
        font-size: .8rem;
        margin-top: 20px;
  }
  .logo {
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.6px;
  }


/* === Extra pequeño: Celulares chicos (≤ 480px) === */
@media (max-width: 480px) {
  .progress-text-consejo{
    padding: 15px;
    font-size: .6rem;
    margin-top: 20px;
  }
}

/* === Pequeño: Celulares medianos (481px – 768px) === */
@media (min-width: 481px) and (max-width: 768px) {

}

/* === Mediano: Tablets (769px – 1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {

}

/* === Grande: Laptops (1025px – 1440px) === */
@media (min-width: 1025px) and (max-width: 1440px) {

}

/* === Extra grande: Monitores grandes (1441px+) === */
@media (min-width: 1441px) {
 
}
