/* ===============================
   RESET Y CONTENEDOR PRINCIPAL
================================ */
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

/* ===============================
   CONTENEDOR GENERAL
================================ */
.contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

/* ===============================
   BLOQUE LOGO + TEXTO
================================ */
.brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* ===============================
   IMAGEN / LOGO
================================ */
.brand img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

/* ===============================
   TEXTO
================================ */
.brand-text h1 {
    margin: 0;
    font-size: 2.2rem;
    color: #ea580c;
    font-weight: 800; 
}

.brand-text p {
margin: 0.3rem 0 0;
    color: #161616;
    font-weight: 500;
    font-size: 1.2rem;
    font-weight: bold;

}

/* ===============================
   WRAPPER DEL LOADER
================================ */
.loader-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ===============================
   LOADER
================================ */
.loader {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(245, 99, 34, 0.25);
    border-top-color: #F56322;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===============================
   MEDIA QUERIES RESPONSIVOS
================================ */

/* Laptop / Desktop pequeño */
@media (max-width: 1200px) {
    .brand img {
        max-width: 260px;
    }
    .brand-text h1 {
        font-size: 2rem;
    }
    .loader {
        width: 54px;
        height: 54px;
        border-width: 7px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .brand {
        flex-direction: column-reverse;
        text-align: center;
    }
    .brand img {
        max-width: 230px;
    }
    .brand-text h1 {
        font-size: 1.8rem;
    }
    .loader {
        width: 48px;
        height: 48px;
        border-width: 6px;
    }
}

/* Tablets pequeñas / móviles grandes */
@media (max-width: 768px) {
    .brand img {
        max-width: 200px;
    }
    .brand-text h1 {
        font-size: 1.6rem;
    }
    .brand-text p {
        font-size: 0.95rem;
    }
    .loader {
        width: 42px;
        height: 42px;
        border-width: 5px;
    }
}

/* Móviles estándar */
@media (max-width: 576px) {
    .brand img {
        max-width: 170px;
    }
    .brand-text h1 {
        font-size: 1.4rem;
    }
    .brand-text p {
        font-size: 0.9rem;
    }
    .loader {
        width: 36px;
        height: 36px;
        border-width: 4px;
    }
}

/* Móviles pequeños */
@media (max-width: 360px) {
    .brand img {
        max-width: 140px;
    }
    .brand-text h1 {
        font-size: 1.2rem;
    }
    .brand-text p {
        font-size: 0.85rem;
    }
    .loader {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
}