@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700;900&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    --ap-font-title: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ap-font-body: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --ap-magenta: #c0005a;
    --ap-magenta-dark: #7d0038;
    --ap-yellow: #ffd400;
    --ap-cream: #fff4df;
    --ap-dark: #2a1712;
    --ap-white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    overflow-x: hidden;
    color: var(--ap-dark);
    background: #fff4df;
    font-family: var(--ap-font-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.ap-maintenance {
    min-height: 100vh;
}

.ap-maintenance__hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 64px 0;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.58), transparent 26%),
        radial-gradient(circle at 86% 80%, rgba(192, 0, 90, 0.16), transparent 28%),
        linear-gradient(135deg, #fff2bd 0%, #ffd769 46%, #e6ad21 100%);
}

.ap-maintenance__hero::before {
    content: "";
    position: absolute;
    left: -10%;
    top: 0;
    width: 62%;
    height: 100%;
    background-image: url("../img/banners/hero-bg-ambros.png");
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.62;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.ap-maintenance__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(
            ellipse at 50% 48%,
            rgba(255, 255, 235, 0.48) 0%,
            rgba(255, 239, 165, 0.28) 28%,
            rgba(255, 218, 95, 0) 62%
        );
    pointer-events: none;
}

.ap-maintenance__container {
    position: relative;
    z-index: 3;
    width: min(100% - 32px, 820px);
    margin-inline: auto;
    display: grid;
    justify-items: center;
    text-align: center;
}

.ap-maintenance__brand {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 999px;
    background: var(--ap-yellow);
    box-shadow:
        0 24px 70px rgba(122, 0, 52, 0.18),
        inset 0 0 0 8px #5b1440;
}

.ap-maintenance__brand img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    border-radius: 999px;
}

.ap-maintenance__eyebrow {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: #8b1235;
    background: rgba(192, 0, 90, 0.12);
    font-family: var(--ap-font-title);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ap-maintenance h1 {
    max-width: 760px;
    margin: 22px 0 14px;
    color: var(--ap-dark);
    font-family: var(--ap-font-title);
    font-size: clamp(2.45rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.028em;
}

.ap-maintenance h1 span {
    color: var(--ap-magenta);
}

.ap-maintenance p {
    max-width: 620px;
    margin: 0;
    color: rgba(42, 23, 18, 0.74);
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    font-weight: 500;
    line-height: 1.62;
}

.ap-maintenance__notice {
    width: min(100%, 560px);
    display: grid;
    gap: 6px;
    margin-top: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(192, 0, 90, 0.1);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
    box-shadow: 0 22px 60px rgba(42, 23, 18, 0.08);
}

.ap-maintenance__notice strong {
    color: var(--ap-magenta);
    font-family: var(--ap-font-title);
    font-size: 1.05rem;
    font-weight: 700;
}

.ap-maintenance__notice span {
    color: rgba(42, 23, 18, 0.68);
    font-size: 0.95rem;
    line-height: 1.45;
}

.ap-maintenance__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.ap-maintenance__btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    font-family: var(--ap-font-title);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.ap-maintenance__btn:hover {
    transform: translateY(-2px);
}

.ap-maintenance__btn--primary {
    color: #ffffff;
    background: var(--ap-magenta);
}

.ap-maintenance__btn--primary:hover {
    background: #a9004e;
}

.ap-maintenance__btn--secondary {
    color: #7b0034;
    background: var(--ap-yellow);
}

.ap-maintenance__footer-text {
    display: block;
    margin-top: 22px;
    color: rgba(42, 23, 18, 0.56);
    font-size: 0.88rem;
    line-height: 1.45;
}

.ap-maintenance__decor {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    pointer-events: none;
}

.ap-maintenance__decor--one {
    right: 8%;
    top: 16%;
    width: 110px;
    height: 110px;
    background: rgba(192, 0, 90, 0.12);
    filter: blur(2px);
}

.ap-maintenance__decor--two {
    left: 9%;
    bottom: 14%;
    width: 92px;
    height: 92px;
    background: rgba(255, 255, 255, 0.22);
    filter: blur(1px);
}

@media (max-width: 680px) {
    .ap-maintenance__hero {
        padding: 46px 0;
    }

    .ap-maintenance__hero::before {
        left: 0;
        width: 100%;
        height: 48%;
        background-position: center top;
        opacity: 0.38;
    }

    .ap-maintenance__container {
        width: min(100% - 24px, 820px);
    }

    .ap-maintenance__brand {
        width: 118px;
        height: 118px;
        margin-bottom: 20px;
        box-shadow:
            0 20px 54px rgba(122, 0, 52, 0.16),
            inset 0 0 0 7px #5b1440;
    }

    .ap-maintenance__brand img {
        width: 100px;
        height: 100px;
    }

    .ap-maintenance h1 {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
        letter-spacing: -0.02em;
    }

    .ap-maintenance p {
        font-size: 0.98rem;
    }

    .ap-maintenance__actions {
        width: 100%;
        flex-direction: column;
    }

    .ap-maintenance__btn {
        width: 100%;
    }

    .ap-maintenance__decor {
        display: none;
    }
}