/* =========================================================
   ARDACORDE - PAGINAS LEGALES / 404
   ========================================================= */

.legal-page {
    background: #080808;
    color: #f5f1e8;
}

.legal-page main {
    width: min(100% - 40px, 900px);
    margin: 0 auto;
    padding: 120px 0 90px;
}

.legal-page main h1 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 4.3rem);
    line-height: 1;
    letter-spacing: .04em;
    color: #f2cd67;
}

.legal-page .legal-updated {
    margin: 0 0 45px;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f8a80;
}

.legal-page main h2 {
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(242,205,103,.18);

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 4vw, 2.25rem);
    line-height: 1.15;
    color: #f2cd67;
}

.legal-page main h3 {
    margin: 32px 0 12px;
    font-size: 1.12rem;
    color: #f5f1e8;
}

.legal-page main p,
.legal-page main li {
    font-size: 1rem;
    line-height: 1.8;
    color: #d5d0c6;
}

.legal-page main p {
    margin: 0 0 18px;
}

.legal-page main ul,
.legal-page main ol {
    margin: 16px 0 26px;
    padding-left: 1.5rem;
}

.legal-page main li {
    margin-bottom: 8px;
}

.legal-page main a:not(.legal-btn) {
    color: #f2cd67;
    text-decoration: underline;
    text-decoration-color: rgba(242,205,103,.45);
    text-underline-offset: 4px;
}

.legal-page main a:not(.legal-btn):hover {
    color: #fff0ad;
}


/* ---------- Botones legales ---------- */

.legal-page .legal-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    margin: 18px 12px 8px 0;
    padding: 0 26px;

    border: 1px solid #b99224;

    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.legal-page .legal-btn-outline {
    background: transparent !important;
    color: #f2cd67 !important;
    -webkit-text-fill-color: #f2cd67 !important;
}

.legal-page .legal-btn-outline:hover {
    background: rgba(242,205,103,.10) !important;
    border-color: #f2cd67 !important;
    transform: translateY(-2px);
}

.legal-page .legal-btn-primary {
    background: #d7ad31 !important;
    border-color: #d7ad31 !important;
    color: #080808 !important;
    -webkit-text-fill-color: #080808 !important;
}

.legal-page .legal-btn-primary:hover {
    background: #f2cd67 !important;
    border-color: #f2cd67 !important;
    color: #000 !important;
    transform: translateY(-2px);
}


/* =========================================================
   404
   ========================================================= */

.error-page main {
    min-height: calc(100vh - 200px);

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.error-content {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 50px 20px;
}

.error-code {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(6rem, 22vw, 12rem);
    font-weight: 700;
    line-height: .75;

    color: rgba(242,205,103,.12);
}

.error-title {
    margin: 20px 0 15px !important;
    font-size: clamp(2.2rem, 7vw, 4rem) !important;
    color: #f2cd67 !important;
}

.error-text {
    max-width: 570px;
    margin: 0 auto 30px !important;

    font-size: 1.05rem !important;
    color: #cfc9bc !important;
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 600px) {

    .legal-page main {
        width: min(100% - 30px, 900px);
        padding-top: 95px;
        padding-bottom: 65px;
    }

    .legal-page main h2 {
        margin-top: 38px;
    }

    .legal-page .legal-btn {
        width: 100% !important;
        margin: 8px 0 !important;
        box-sizing: border-box;
    }

    .error-content {
        padding-left: 0;
        padding-right: 0;
    }
}
