/**
 * ERROR 404 PAGE
 * Estilos para la pagina de error 404
 *
 * Estructura:
 * .error-404
 *   .error-404__container
 *     .error-404__content
 *       .error-404__code
 *       .error-404__title
 *       .error-404__subtitle
 *       .error-404__description
 *       .error-404__actions
 *         .error-404__btn
 */

/* ==========================================================================
   UTILIDADES GLOBALES
   ========================================================================== */

.text-center,
.text-center * {
    text-align: center !important;
}

/* ==========================================================================
   ERROR 404 - BASE
   ========================================================================== */

.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 20px;
    background-color: var(--color-background, #f5f5f5);
}

.error-404__container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.error-404__content {
    padding: 40px;
    background-color: var(--color-white, #ffffff);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   ERROR 404 - CODIGO GRANDE
   ========================================================================== */

.error-404__code {
    margin: 0 0 20px;
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary, #333333);
    opacity: 0.15;
}

/* ==========================================================================
   ERROR 404 - TEXTOS
   ========================================================================== */

.error-404__title {
    margin: 0 0 15px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text, #333333);
}

.error-404__subtitle {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-secondary, #666666);
}

.error-404__description {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary, #666666);
}

.error-404__description a {
    color: var(--color-primary, #333333);
    text-decoration: underline;
}

.error-404__description a:hover {
    text-decoration: none;
}

/* ==========================================================================
   INTRO TEXT SECTION - ENLACE COMO BOTON
   ========================================================================== */

#introTextSec .introTextBox .description a {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    border: 1px solid #DED9D4;
    background-color: #DED9D4;
    border-radius: 0px;
    font-size: 1rem;
    color: #606060;
    font-weight: 500;
    line-height: 1.05rem;
    letter-spacing: 0.0313rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

#introTextSec .introTextBox .description a:hover {
    background-color: #c9c4bf;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

#introTextSec .introTextBox .description a:active {
    background-color: #b8b3ae;
}

/* ==========================================================================
   ERROR 404 - BOTON
   ========================================================================== */

.error-404__actions {
    margin-top: 30px;
}

.error-404__btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white, #ffffff);
    text-decoration: none;
    background-color: var(--color-primary, #333333);
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.error-404__btn:hover {
    background-color: var(--color-primary-dark, #222222);
    transform: translateY(-2px);
}

/* ==========================================================================
   ERROR 404 - RESPONSIVE - DESKTOP SMALL (< 1920px)
   ========================================================================== */

@media screen and (max-width: 1920px) {
    .error-404__code {
        font-size: 100px;
    }

    .error-404__title {
        font-size: 28px;
    }

    .error-404__subtitle {
        font-size: 16px;
    }

    #introTextSec .introTextBox .description a {
        padding: 10px 20px;
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   ERROR 404 - RESPONSIVE - TABLET/MOBILE (< 992px)
   ========================================================================== */

@media screen and (max-width: 991px) {
    .error-404 {
        min-height: 50vh;
        padding: 40px 15px;
    }

    .error-404__content {
        padding: 30px 20px;
    }

    .error-404__code {
        font-size: 80px;
        margin-bottom: 15px;
    }

    .error-404__title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .error-404__subtitle {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .error-404__description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .error-404__btn {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }

    #introTextSec .introTextBox .description a {
        padding: 10px 17px;
        font-size: 0.875rem;
        display: block;
        max-width: 280px;
        margin: 20px auto 0;
    }
}
