@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;
    gap: 24px;
    padding: 24px;
}

.gateway-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

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

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

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

.gateway-nav {
    display: flex;
    align-items: center;
    justify-self: 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,
.gateway-nav a.active,
.gateway-nav a[aria-current="true"] {
    color: #180713;
    background: #ffd991;
    border-color: #ffd991;
    outline: none;
}

.gateway-hours {
    display: grid;
    justify-self: end;
    gap: 3px;
    color: rgba(255, 246, 223, 0.64);
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
}

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

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

.hero h1 {
    max-width: 940px;
    margin: 0 auto;
    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__divider {
    position: relative;
    width: min(260px, 46vw);
    height: 1px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, rgba(255, 217, 145, 0.58), transparent);
}

.hero__divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255, 217, 145, 0.72);
    background: #0b0710;
    transform: translate(-50%, -50%) rotate(45deg);
}

.hero__lead {
    max-width: 680px;
    margin: 16px auto 0;
    color: rgba(255, 246, 223, 0.82);
    font-size: 1.45rem;
    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;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.destination--hidden {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
    pointer-events: none;
}

.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--mor h2 {
    max-width: none;
    font-size: clamp(1.78rem, 2vw, 2.15rem);
    white-space: nowrap;
}

.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__phone {
    margin: 6px 0 0;
}

.destination__phone a {
    color: rgba(255, 217, 145, 0.9);
    font-size: 0.98rem;
    line-height: 1.3;
}

.destination__visual {
    position: absolute;
    z-index: 2;
    left: 54%;
    right: auto;
    bottom: 78px;
    width: 41%;
    max-width: 190px;
    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: 50%;
    right: auto;
    bottom: 62px;
    width: 45%;
    max-width: 210px;
}

.destination--msk .destination__visual {
    left: 60%;
    right: auto;
    bottom: 44px;
    width: 34%;
    max-width: 150px;
}

.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);
}

@media (max-width: 1080px) {
    .destination-grid,
    .destination-grid[data-filter="spb"],
    .destination-grid[data-filter="msk"] {
        grid-template-columns: 1fr;
    }

    .destination {
        min-height: 340px;
    }

    .destination__visual {
        left: 56%;
        right: auto;
        width: 34%;
        max-width: 185px;
    }

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

@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 {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .gateway-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }

    .gateway-hours {
        justify-self: end;
        text-align: right;
    }

    .hero {
        padding-top: 10px;
    }

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

    .hero h1 span {
        display: block;
    }

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

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

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

    .destination--mor h2 {
        font-size: clamp(1.55rem, 6vw, 1.85rem);
    }

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

    .destination__visual,
    .destination--mor .destination__visual,
    .destination--msk .destination__visual {
        left: 54%;
        right: auto;
        bottom: 74px;
        width: 36%;
        max-width: 140px;
        opacity: 0.86;
    }

    .destination--msk .destination__visual {
        left: 60%;
        right: auto;
        bottom: 54px;
        width: 30%;
        max-width: 120px;
    }
}

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

    .gateway-header {
        grid-template-columns: 1fr;
    }

    .gateway-brand,
    .gateway-hours,
    .gateway-nav {
        justify-self: center;
        text-align: center;
    }

    .gateway-nav {
        width: 100%;
        justify-content: center;
    }

    .gateway-nav a {
        flex: 1 1 0;
        max-width: 180px;
        padding-inline: 10px;
        text-align: center;
    }

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

    .gateway-brand__sub {
        font-size: 0.95rem;
    }

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

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

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

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

    .destination--mor h2 {
        font-size: clamp(1.28rem, 7vw, 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%;
    }
}
