:root {
    --page-bg: #98dbe3;
    --panel-bg: rgba(8, 43, 66, 0.44);
    --panel-border: rgba(255, 255, 255, 0.2);
    --panel-shadow: 0 24px 60px rgba(4, 24, 39, 0.25);
    --text-main: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.82);
    --text-muted: rgba(255, 255, 255, 0.68);
    --accent: #c7f36d;
    --accent-strong: #0f3c53;
    --card-bg: rgba(255, 255, 255, 0.12);
    --card-bg-hover: rgba(255, 255, 255, 0.2);
    --card-border: rgba(255, 255, 255, 0.18);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
    color: var(--text-main);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-image:
        linear-gradient(180deg, rgba(7, 84, 116, 0.2) 0%, rgba(14, 91, 112, 0.08) 32%, rgba(139, 226, 214, 0.16) 100%),
        url("../images/background15.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.frontpage-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.frontpage-shell__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.28), transparent 36%),
        linear-gradient(180deg, rgba(12, 82, 112, 0.64) 0%, rgba(68, 163, 181, 0.22) 54%, rgba(133, 219, 183, 0.08) 100%);
    pointer-events: none;
}

.frontpage {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 28px;
}

.hero,
.menu-section,
.status-card,
.frontpage-footer {
    border: 1px solid var(--panel-border);
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--panel-shadow);
}

.hero {
    border-radius: 28px;
    padding: 28px;
}

.hero__brand {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.hero__logo {
    width: 72px;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(9, 42, 56, 0.35));
}

.hero__title {
    text-align: center;
}

.hero__eyebrow {
    margin: 0 0 4px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.hero__title h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.08;
}

.hero__subtitle {
    margin: 8px 0 0;
    font-size: 1rem;
    color: var(--text-soft);
}

.hero__panel {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    border-radius: 22px;
    padding: 20px 22px;
    background: rgba(4, 33, 51, 0.22);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(199, 243, 109, 0.18);
    color: #efffc8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__summary {
    max-width: 700px;
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.hero__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-soft);
    font-size: 0.9rem;
}

.menu-section {
    margin-top: 24px;
    border-radius: 28px;
    padding: 26px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}

.section-heading__eyebrow {
    margin: 0 0 6px;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 2.1rem);
}

.section-heading__note {
    max-width: 360px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: right;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 20px 18px;
    background: var(--card-bg);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.menu-card:hover,
.menu-card:focus-visible {
    transform: translateY(-4px);
    background: var(--card-bg-hover);
    border-color: rgba(199, 243, 109, 0.45);
    box-shadow: 0 18px 38px rgba(3, 22, 35, 0.22);
}

.menu-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
}

.menu-card__image {
    width: min(100%, 150px);
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(8, 37, 49, 0.24));
}

.menu-card__body {
    margin-top: 10px;
}

.menu-card__body h3 {
    margin: 0;
    font-size: 1.08rem;
}

.menu-card__body p {
    margin: 8px 0 0;
    color: var(--text-soft);
    line-height: 1.58;
    font-size: 0.95rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.status-card {
    border-radius: 24px;
    padding: 20px 22px;
}

.status-card__label {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-card__value {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.frontpage-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 24px 0 0;
    border-radius: 24px;
    padding: 18px 22px;
}

.frontpage-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.frontpage-footer__brand img {
    width: 44px;
    height: 44px;
}

.frontpage-footer__brand strong {
    display: block;
    font-size: 1rem;
}

.frontpage-footer__brand p,
.frontpage-footer__note {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
}

.frontpage-footer__note {
    max-width: 520px;
    text-align: right;
}

@media (max-width: 900px) {
    .frontpage {
        width: min(100% - 24px, 1180px);
        padding-top: 20px;
    }

    .hero,
    .menu-section,
    .status-card,
    .frontpage-footer {
        border-radius: 22px;
    }

    .hero__panel,
    .section-heading,
    .frontpage-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__title {
        text-align: left;
    }

    .hero__meta,
    .section-heading__note,
    .frontpage-footer__note {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .frontpage {
        width: calc(100% - 16px);
        padding: 10px 0 18px;
    }

    .hero,
    .menu-section,
    .status-card,
    .frontpage-footer {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .hero__brand {
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        gap: 10px;
    }

    .hero__logo {
        width: 52px;
    }

    .hero__title {
        text-align: center;
    }

    .hero__eyebrow {
        margin-bottom: 2px;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .hero__title h1 {
        font-size: 1.15rem;
        line-height: 1.18;
    }

    .hero__subtitle {
        margin-top: 4px;
        font-size: 0.72rem;
    }

    .hero__panel {
        display: none;
    }

    .menu-section {
        margin-top: 14px;
        padding: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .section-heading {
        margin-bottom: 14px;
        padding: 0 2px;
    }

    .section-heading__eyebrow,
    .section-heading__note {
        display: none;
    }

    .section-heading h2 {
        font-size: 0.98rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .status-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 18px;
    }

    .menu-card {
        min-height: 170px;
        border-radius: 22px;
        padding: 14px 12px;
        justify-content: center;
    }

    .menu-card__visual {
        min-height: 82px;
    }

    .menu-card__image {
        width: min(100%, 96px);
    }

    .menu-card__body h3 {
        font-size: 0.9rem;
        line-height: 1.3;
        text-align: center;
    }

    .menu-card__body p {
        display: none;
    }

    .status-card__value,
    .frontpage-footer__brand p,
    .frontpage-footer__note {
        font-size: 0.92rem;
    }

    .frontpage-footer {
        margin-top: 18px;
    }
}
