.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.site-header {
    background: linear-gradient(180deg, var(--color-nav) 0%, var(--color-nav-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(10, 23, 33, 0.2);
}

.site-header__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a {
    padding: 26px 2px 22px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    opacity: 0.94;
}

.site-nav a.is-active {
    border-bottom-color: var(--color-accent);
}

.hero {
    position: relative;
    min-height: 308px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(9, 24, 34, 0.54) 0%, rgba(9, 24, 34, 0.28) 38%, rgba(9, 24, 34, 0.08) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)),
        linear-gradient(135deg, #6ea0c7 0%, #4f82a8 18%, #365a75 32%, #45637f 45%, #596f7f 52%, #667b86 60%, #485e6e 70%, #203444 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background:
        radial-gradient(circle at 2% 100%, rgba(46, 62, 73, 0.98) 0 30%, transparent 31%),
        radial-gradient(circle at 18% 100%, rgba(33, 48, 60, 0.98) 0 36%, transparent 37%),
        radial-gradient(circle at 38% 100%, rgba(48, 65, 78, 0.98) 0 34%, transparent 35%),
        radial-gradient(circle at 60% 100%, rgba(37, 54, 66, 0.98) 0 40%, transparent 41%),
        radial-gradient(circle at 84% 100%, rgba(31, 45, 56, 0.98) 0 36%, transparent 37%),
        radial-gradient(circle at 102% 100%, rgba(44, 60, 71, 0.98) 0 32%, transparent 33%);
    transform: scaleY(1.55);
    opacity: 0.96;
}

.hero::after {
    content: "";
    position: absolute;
    right: 11%;
    bottom: 18px;
    width: 240px;
    height: 220px;
    background:
        linear-gradient(180deg, rgba(43,54,62,0.0), rgba(24,32,38,0.10)),
        linear-gradient(120deg, #2a2d2f 0%, #4d4b48 18%, #9d5f39 18.5%, #9d5f39 28%, #2d353c 28.5%, #2d353c 48%, #7b858c 48.5%, #7b858c 58%, #242a30 58.5%, #242a30 100%);
    clip-path: polygon(66% 2%, 73% 12%, 81% 24%, 95% 18%, 86% 29%, 79% 40%, 74% 56%, 73% 73%, 70% 92%, 61% 92%, 60% 72%, 59% 56%, 56% 42%, 47% 30%, 51% 16%, 59% 7%);
    filter: drop-shadow(0 16px 14px rgba(0,0,0,0.25));
    opacity: 0.98;
}

.hero__inner {
    position: relative;
    z-index: 1;
    min-height: 308px;
    display: flex;
    align-items: center;
}

.hero--with-media::before {
    inset: 0;
    height: auto;
    background: linear-gradient(180deg, rgba(11, 24, 34, 0.18) 0%, rgba(11, 24, 34, 0.44) 100%);
    transform: none;
    opacity: 1;
}

.hero--with-media::after {
    display: none;
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.88fr) 320px;
    gap: 30px;
    align-items: start;
    padding-top: 14px;
    padding-bottom: 28px;
}

.content-column {
    min-width: 0;
}

.sidebar-column {
    min-width: 0;
}

.site-footer {
    margin-top: 14px;
    background: linear-gradient(180deg, #173a55 0%, #112f46 100%);
    color: #f4fbff;
}

.site-footer__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.88rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 1160px) {
    .page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header__inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 0;
    }

    .site-nav {
        gap: 10px 14px;
    }

    .site-nav a {
        padding: 10px 2px 8px;
    }

    .hero {
        min-height: 240px;
    }

    .hero::after {
        display: none;
    }

    .hero__inner {
        min-height: 240px;
    }

    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }
}
