/* =========================
   Página 404 - Base styles
   ========================= */

/* Contenedor principal */
.form-container-404 {
    max-width: 1100px;     /* limita ancho en pantallas grandes */
    width: 90%;            /* respira en laterales */
    margin: 0 auto;
    padding: 20px;
}

/* Título centrado */
.form-title-404 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    line-height: 1.2;
}

/* Texto centrado utilitario */
.text-center-404 {
    text-align: center;
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Imagen centrada */
.image-center-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.image-center-404 img {
    width: 40%;           /* 40% del contenedor en desktop */
    height: auto;         /* mantiene proporción */
    max-width: 600px;     /* límite máximo */
    border-radius: 8px;   /* opcional */
}

/* =========================
   1200px
========================= */
@media (max-width: 1200px) {

    .form-container-404 {
        max-width: 1000px;
        padding: 18px;
    }

    .form-title-404 {
        font-size: 30px;
    }

    .text-center-404 {
        font-size: 15px;
    }

    .image-center-404 img {
        width: 45%;
    }
}


/* =========================
   1100px
========================= */
@media (max-width: 1100px) {

    .form-container-404 {
        max-width: 900px;
    }

    .form-title-404 {
        font-size: 28px;
    }

    .image-center-404 img {
        width: 50%;
    }
}


/* =========================
   900px (tablet)
========================= */
@media (max-width: 900px) {

    .form-container-404 {
        width: 92%;
        padding: 15px;
    }

    .form-title-404 {
        font-size: 24px;
    }

    .text-center-404 {
        font-size: 14px;
        line-height: 1.4;
    }

    .image-center-404 img {
        width: 60%;
    }
}

/* =========================
   600px (mobile)
========================= */
@media (max-width: 600px) {

    .form-container-404 {
        width: 95%;
        padding: 12px;
    }

    .form-title-404 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .text-center-404 {
        font-size: 13px;
        margin: 8px 0;
    }

    .image-center-404 {
        margin: 15px 0;
    }

    .image-center-404 img {
        width: 80%;  /* 🔥 clave en mobile */
        max-width: 100%;
    }
}
