/* ========================================
   ESTILOS - MAINTENANCE
   Inspirado en hero de home
   ======================================== */

body.page-maintenance {
    background: #ffffff;
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

html:has(body.page-maintenance) {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body.page-maintenance > main.container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.maintenance-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.18) 0%, rgba(250, 204, 21, 0.09) 22%, rgba(250, 204, 21, 0) 48%),
        radial-gradient(circle at 88% 78%, rgba(250, 204, 21, 0.16) 0%, rgba(250, 204, 21, 0.08) 20%, rgba(250, 204, 21, 0) 46%),
        radial-gradient(ellipse at center top, rgba(255, 244, 194, 0.5) 0%, rgba(255, 247, 223, 0.5) 28%, rgba(255, 251, 236, 0.9) 66%, rgba(255, 251, 243, 0.98) 100%),
        linear-gradient(180deg, #fffaf0 0%, #fffdf7 52%, #ffffff 100%);
}

.maintenance-hero::before,
.maintenance-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.maintenance-hero::before {
    top: -7rem;
    left: -6rem;
    width: 24rem;
    height: 24rem;
    background: rgba(250, 204, 21, 0.22);
    filter: blur(42px);
}

.maintenance-hero::after {
    right: -7rem;
    bottom: -9rem;
    width: 24rem;
    height: 24rem;
    background: rgba(250, 204, 21, 0.18);
    filter: blur(48px);
}

.maintenance-hero__art {
    position: absolute;
    left: 50%;
    bottom: 0rem;
    transform: translateX(-50%);
    width: min(100rem, 100vw);
    z-index: 1;
    pointer-events: none;
}

.maintenance-hero__art-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 12px 30px rgba(15, 23, 42, 0.18));
}

.maintenance-hero__container {
    width: min(100%, var(--container-max-width));
    margin: 0 auto;
    padding: 4.5rem var(--container-padding);
    position: relative;
    z-index: 2;
}

.maintenance-hero__content {
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.maintenance-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #92400e;
    background: rgba(250, 204, 21, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.28);
    margin-bottom: 1rem;
}

.maintenance-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.maintenance-hero__subtitle {
    font-size: clamp(1rem, 1.75vw, 1.15rem);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.maintenance-hero__actions {
    display: flex;
    justify-content: center;
}

.maintenance-hero__button {
    border: none;
    border-radius: 1rem;
    min-height: 3.2rem;
    padding: 0.8rem 1.5rem;
    background: var(--secondary-500);
    color: var(--gray-900);
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.maintenance-hero__button:hover {
    background: var(--secondary-600);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .maintenance-hero {
        min-height: 100vh;
        height: 100vh;
    }

    .maintenance-hero__art {
    width: min(100rem, 400vw);
    bottom: 0rem;
    opacity: 0.92;
    left: 10%;
}

    .maintenance-hero__container {
        padding: 3.2rem 1rem;
    }

    .maintenance-hero__title {
        letter-spacing: -0.03em;
    }
}

/* ========================================
   DARK MODE - MAINTENANCE
   ======================================== */
[data-theme="dark"] body.page-maintenance {
    background: #0f172a;
}

[data-theme="dark"] .maintenance-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.10) 0%, rgba(250, 204, 21, 0.04) 22%, rgba(250, 204, 21, 0) 48%),
        radial-gradient(circle at 88% 78%, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.05) 20%, rgba(37, 99, 235, 0) 46%),
        linear-gradient(180deg, #0f172a 0%, #0c1222 52%, #0f172a 100%);
}

[data-theme="dark"] .maintenance-hero__title {
    color: #f1f5f9;
}

[data-theme="dark"] .maintenance-hero__subtitle {
    color: #cbd5e1;
}

[data-theme="dark"] .maintenance-hero__badge {
    background: rgba(250, 204, 21, 0.12);
    border-color: rgba(250, 204, 21, 0.24);
    color: #fde68a;
}
