:root {
    --ink: #f7f4ec;
    --muted: #d9e0d8;
    --deep-green: #18392f;
    --field-green: #315c43;
    --gold: #d9a13b;
    --sky: #87b7d8;
    --white: #ffffff;
    --shadow: rgba(9, 20, 17, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    background: var(--deep-green);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.maintenance-page {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100svh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(14, 31, 27, 0.88), rgba(14, 31, 27, 0.58) 43%, rgba(14, 31, 27, 0.18) 76%),
        linear-gradient(0deg, rgba(14, 31, 27, 0.55), rgba(14, 31, 27, 0.05) 36%),
        url("/assets/img/pampas-hero.png") center / cover no-repeat;
}

.maintenance-page::after {
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    content: "";
    background: linear-gradient(90deg, var(--field-green), var(--gold), var(--sky));
}

.maintenance-page.compact {
    place-items: center;
}

.site-header,
.site-footer,
.hero {
    position: relative;
    z-index: 1;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 56px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: min(220px, 44vw);
    height: auto;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.34));
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.site-nav a:focus-visible,
.button:focus-visible,
.brand:focus-visible {
    outline: 3px solid rgba(217, 161, 59, 0.85);
    outline-offset: 4px;
}

.hero {
    align-self: center;
    max-width: 760px;
    padding: 44px 56px 72px;
}

.eyebrow {
    margin: 0 0 18px;
    color: #f0c56d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 680px;
    margin: 0;
    color: var(--white);
    font-size: 4rem;
    line-height: 0.98;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 18px 48px var(--shadow);
}

.lead {
    max-width: 610px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
}

.button-primary {
    border: 1px solid #f3c35e;
    background: var(--gold);
    color: #1f1b14;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 56px 32px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .maintenance-page {
        background-position: 58% center;
    }

    .site-header {
        align-items: flex-start;
        padding: 22px 22px 0;
    }

    .brand {
        max-width: 52vw;
    }

    .site-nav a {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 50px 22px 58px;
    }

    h1 {
        font-size: 2.6rem;
        line-height: 1.04;
    }

    .lead {
        font-size: 1.02rem;
        line-height: 1.58;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .site-footer {
        display: grid;
        padding: 0 22px 28px;
    }
}

@media (max-width: 420px) {
    .site-header {
        gap: 12px;
    }

    .brand-logo {
        width: 152px;
    }

    h1 {
        font-size: 2.25rem;
    }
}
