.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.85rem 0;
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(18, 48, 95, 0.1);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(16, 49, 97, 0.08);
}

.site-brand {
    display: grid;
    gap: 0.15rem;
}

.site-brand__mark {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.site-brand__mark .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-brand__mark img {
    max-height: 2.3rem;
    width: auto;
}

.site-brand__text {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav__list {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.site-nav__list a,
.lang-switch a,
.site-actions__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: var(--muted);
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.site-nav__list a:hover,
.lang-switch a:hover,
.site-actions__phone:hover,
.site-nav__list a[aria-current="page"],
.lang-switch a[aria-current="true"] {
    color: var(--accent-deep);
    background: rgba(15, 99, 201, 0.1);
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.site-actions__phone {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(18, 48, 95, 0.08);
}

.lang-switch {
    display: inline-flex;
    padding: 0.2rem;
    background: rgba(15, 99, 201, 0.08);
    border-radius: 999px;
}

.lang-switch a {
    min-height: 2.15rem;
    min-width: 2.5rem;
    padding: 0.4rem 0.75rem;
    font-weight: 700;
    font-size: 0.84rem;
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 99, 201, 0.08);
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    flex-direction: column;
}

.nav-toggle span {
    width: 1.1rem;
    height: 2px;
    background: var(--accent-deep);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: min(76vh, 42rem);
    display: grid;
    align-items: stretch;
    padding: 1rem 0 0;
}

.hero-track {
    position: relative;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.95s ease;
    background:
        linear-gradient(115deg, rgba(7, 25, 53, 0.72), rgba(10, 43, 90, 0.32)),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(8, 32, 66, 0.3)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    border-radius: clamp(1.4rem, 3vw, 2.2rem);
    overflow: hidden;
}

.hero-slide::before,
.hero-slide::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.hero-slide::before {
    right: -8rem;
    top: -6rem;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(134, 201, 255, 0.28), transparent 62%);
}

.hero-slide::after {
    left: -8rem;
    bottom: -8rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(255, 202, 151, 0.24), transparent 62%);
}

.hero-slide--plain {
    background:
        radial-gradient(circle at top left, rgba(255, 212, 157, 0.28), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(174, 224, 255, 0.28), transparent 28%),
        linear-gradient(135deg, #12305f 0%, #154c8f 44%, #0f63c9 100%);
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide__inner {
    min-height: min(76vh, 42rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.38fr);
    gap: clamp(1rem, 2vw, 1.65rem);
    align-items: center;
    padding: clamp(3.2rem, 5.8vw, 4.4rem) 0 clamp(3.3rem, 5vw, 4rem);
}

.hero-copy,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 720px;
    color: #fff;
    display: grid;
    gap: 0.85rem;
}

.hero-copy h1 {
    max-width: 16ch;
    font-size: 3.45rem;
    line-height: 1.02;
    text-wrap: balance;
}

.hero-copy p:not(.hero-copy__eyebrow) {
    max-width: 46ch;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.78);
}

.hero-copy__eyebrow {
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: #d9ecff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hero-copy__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-copy__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.05rem;
    padding: 0.75rem 1.05rem;
    border-radius: 999px;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.hero-copy__actions a:first-child {
    background: #ffffff;
    color: var(--accent-deep);
}

.hero-copy__actions a:last-child {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-copy__actions a:hover {
    transform: translateY(-2px);
}

.hero-panel {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: calc(var(--radius-lg) + 4px);
    color: #fff;
    backdrop-filter: blur(18px);
    display: grid;
    gap: 0.8rem;
    align-self: center;
    max-width: 22rem;
}

.hero-panel p {
    color: rgba(255, 255, 255, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
}

.hero-panel ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.hero-panel li {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.hero-dots button {
    width: 0.75rem;
    height: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
}

.hero-dots button.is-active {
    background: #ffffff;
}

@media (max-width: 1024px) {
    .site-header__inner {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-nav {
        grid-column: 1 / -1;
        display: none;
    }

    body.nav-open .site-nav {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.5rem;
    }

    .site-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .hero-slide__inner {
        grid-template-columns: 1fr;
        align-items: center;
        min-height: auto;
        padding: 4.7rem 0 4rem;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: 2.85rem;
    }

    .hero-panel {
        max-width: 460px;
        align-self: start;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding: 0.7rem 0;
    }

    .site-header__inner {
        border-radius: 1.6rem;
    }

    .site-actions__phone {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-slide.is-active {
        position: relative;
    }

    .hero-slide__inner {
        padding: 4rem 0 3.35rem;
    }

    .hero-copy h1 {
        font-size: 2.15rem;
    }

    .hero-copy p:not(.hero-copy__eyebrow) {
        font-size: 1rem;
    }

    .hero-copy__actions {
        flex-direction: column;
    }
}
