@font-face {
    font-family: "Luminari";
    src: url("/assets/fonts/Luminari.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0100-017F, U+2000-206F;
}

@font-face {
    font-family: "vezitsacyrillic";
    src: url("/assets/fonts/vezitsacyrillic.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #0b0710;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: #fff6df;
    background: #0b0710;
    font-family: "Luminari", "vezitsacyrillic", Georgia, serif;
    letter-spacing: 0;
}

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

.scene-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: #0b0710;
}

.scene-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 4, 13, 0.55), rgba(10, 4, 13, 0.86)),
        linear-gradient(90deg, rgba(12, 2, 14, 0.18), rgba(255, 217, 145, 0.08), rgba(12, 2, 14, 0.18));
}

.scene-bg__panel {
    min-width: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(0.9) contrast(1.05);
}

.gateway {
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 24px;
    padding: 24px;
}

.gateway-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.gateway-brand {
    display: inline-grid;
    gap: 2px;
    color: #ffd991;
}

.gateway-brand__name {
    font-size: 1.8rem;
    line-height: 1;
}

.gateway-brand__sub {
    color: rgba(255, 246, 223, 0.74);
    font-size: 0.9rem;
    line-height: 1.15;
}

.gateway-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 246, 223, 0.8);
    font-size: 0.95rem;
}

.gateway-nav a {
    border: 1px solid rgba(255, 217, 145, 0.34);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(9, 5, 12, 0.34);
}

.gateway-nav a:hover,
.gateway-nav a:focus-visible {
    color: #180713;
    background: #ffd991;
    outline: none;
}

.hero {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 0 0;
}

.hero__eyebrow {
    margin: 0 0 8px;
    color: #ffd991;
    font-size: 1.05rem;
    line-height: 1.2;
}

.hero h1 {
    max-width: 940px;
    margin: 0;
    color: #fff6df;
    font-size: 4.6rem;
    font-weight: 400;
    line-height: 0.95;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.46);
}

.hero h1 span {
    display: inline;
}

.hero__lead {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 246, 223, 0.82);
    font-size: 1.25rem;
    line-height: 1.45;
}

.destination-grid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.destination {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 430px;
    overflow: hidden;
    display: grid;
    align-content: space-between;
    padding: 24px;
    border: 1px solid rgba(255, 217, 145, 0.46);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(8, 4, 10, 0.18), rgba(8, 4, 10, 0.74)),
        var(--card-bg) center / cover;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    isolation: isolate;
}

.destination::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(125deg, color-mix(in srgb, var(--tone) 88%, transparent), transparent 68%),
        linear-gradient(0deg, color-mix(in srgb, var(--tone-dark) 76%, transparent), transparent 50%);
}

.destination::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 0;
    border: 1px solid rgba(255, 217, 145, 0.2);
    border-radius: 6px;
    pointer-events: none;
}

.destination__shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    z-index: 1;
    background: linear-gradient(0deg, rgba(4, 2, 5, 0.86), rgba(4, 2, 5, 0));
}

.destination__copy,
.destination__actions {
    position: relative;
    z-index: 3;
}

.destination__city {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 16px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 217, 145, 0.42);
    border-radius: 999px;
    color: #ffd991;
    background: rgba(9, 5, 12, 0.28);
    font-size: 0.92rem;
    line-height: 1;
}

.destination h2 {
    max-width: 320px;
    margin: 0;
    color: #fff6df;
    font-size: 2.15rem;
    font-weight: 400;
    line-height: 1;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

.destination__lead {
    max-width: 300px;
    margin: 12px 0 0;
    color: rgba(255, 246, 223, 0.84);
    font-size: 1rem;
    line-height: 1.35;
}

.destination__address {
    max-width: 300px;
    margin: 16px 0 0;
    color: rgba(255, 217, 145, 0.9);
    font-size: 0.98rem;
    line-height: 1.3;
}

.destination__visual {
    position: absolute;
    z-index: 2;
    left: 56%;
    right: auto;
    bottom: 78px;
    width: 36%;
    max-width: 165px;
    pointer-events: none;
}

.destination__visual img,
.destination__visual video {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.45));
}

.destination--mor .destination__visual {
    left: 52%;
    right: auto;
    bottom: 62px;
    width: 40%;
    max-width: 185px;
}

.destination--msk .destination__visual {
    left: 62%;
    right: auto;
    bottom: 44px;
    width: 30%;
    max-width: 130px;
}

.destination__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gateway-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.gateway-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gateway-button--primary {
    color: #180713;
    background: #ffd991;
    border: 1px solid #ffd991;
}

.gateway-button--secondary {
    color: #fff6df;
    background: rgba(9, 5, 12, 0.64);
    border: 1px solid rgba(255, 217, 145, 0.42);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.gateway-button:hover,
.gateway-button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.gateway-button--secondary:hover,
.gateway-button--secondary:focus-visible {
    background: rgba(255, 217, 145, 0.18);
}

.gateway-footer {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255, 246, 223, 0.64);
    font-size: 0.95rem;
}

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

    .destination {
        min-height: 340px;
    }

    .destination__visual {
        left: 58%;
        right: auto;
        width: 30%;
        max-width: 165px;
    }

    .destination--msk .destination__visual {
        left: 64%;
        right: auto;
        bottom: 42px;
        width: 22%;
        max-width: 120px;
    }
}

@media (max-width: 760px) {
    .scene-bg {
        grid-template-columns: 1fr;
    }

    .scene-bg__panel {
        display: none;
    }

    .scene-bg__panel--mor {
        display: block;
    }

    .gateway {
        gap: 18px;
        padding: 18px;
    }

    .gateway-header {
        align-items: flex-start;
    }

    .gateway-nav {
        display: none;
    }

    .hero {
        padding-top: 10px;
    }

    .hero h1 {
        font-size: 3.1rem;
    }

    .hero h1 span {
        display: block;
    }

    .hero__lead {
        font-size: 1.08rem;
        max-width: 32ch;
    }

    .destination {
        min-height: 420px;
        padding: 22px;
    }

    .destination h2 {
        font-size: 1.85rem;
    }

    .destination__lead,
    .destination__address {
        max-width: 260px;
    }

    .destination__visual,
    .destination--mor .destination__visual,
    .destination--msk .destination__visual {
        left: 56%;
        right: auto;
        bottom: 74px;
        width: 32%;
        max-width: 120px;
        opacity: 0.86;
    }

    .destination--msk .destination__visual {
        left: 62%;
        right: auto;
        bottom: 54px;
        width: 26%;
        max-width: 100px;
    }

    .gateway-footer {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 460px) {
    .gateway {
        padding: 14px;
    }

    .gateway-brand__name {
        font-size: 1.55rem;
    }

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

    .hero__lead {
        font-size: 1rem;
        max-width: 30ch;
    }

    .destination {
        min-height: 450px;
        padding: 18px;
    }

    .destination h2 {
        font-size: 1.62rem;
    }

    .destination__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .destination__visual,
    .destination--mor .destination__visual {
        bottom: 148px;
    }

    .destination--msk .destination__visual {
        bottom: 104px;
    }

    .gateway-button {
        width: 100%;
    }
}
