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

.v-header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(520px 180px at 16% -40%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(560px 220px at 84% -30%, rgba(212, 170, 82, 0.2) 0%, rgba(212, 170, 82, 0) 76%),
        linear-gradient(180deg, #8f9db0 0%, #8695a7 44%, #7d8ea3 100%);
    color: var(--v-color-white);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.18) inset,
        0 20px 38px rgba(17, 33, 52, 0.12);
}

.v-header::before,
.v-header::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.v-header::before {
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 30%);
}

.v-header::after {
    width: 380px;
    height: 220px;
    right: -140px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 170, 82, 0.26) 0%, rgba(212, 170, 82, 0) 74%);
}

.v-header__top {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: var(--v-space-4);
    padding-block: var(--v-space-4);
}

.v-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--v-space-3);
    text-decoration: none;
}

.v-logo__img {
    width: 72px;
    filter: brightness(0) invert(1);
}

.v-logo__text {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.v-logo__text strong {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.v-logo__text small {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
}

.v-header__contact-wrap {
    justify-self: end;
    align-self: start;
    display: grid;
    gap: var(--v-space-2);
    justify-items: end;
    text-align: right;
}

.v-header__rates {
    justify-self: end;
    align-self: start;
    min-width: 0;
}

.v-header__rates .hotels-currency-mini--vega {
    position: relative;
    display: grid;
    gap: 3px;
    
    padding: 8px 10px 7px;
    border-radius: 12px;
    border: 1px solid rgba(237, 216, 175, 0.32);
    background:
        linear-gradient(160deg, rgba(18, 33, 52, 0.72) 0%, rgba(22, 40, 61, 0.66) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 18px rgba(10, 20, 33, 0.22);
    backdrop-filter: blur(8px);
    line-height: 1.1;
}

.v-header__rates .hotels-currency-mini--vega::before {
    content: "Курсы валют";
    display: block;
    margin-bottom: 3px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(237, 216, 175, 0.24);
    color: rgba(245, 234, 207, 0.92);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.v-header__rates .hotels-currency-mini--vega::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 1px;
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 250, 237, 0.68) 50%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.v-header__rates .hotels-currency-mini__row {
    display: flex;
    align-items: center;
    min-height: 15px;
}

.v-header__rates .hotels-currency-mini__row--rate {
    justify-content: flex-start;
}

.v-header__rates .hotels-currency-mini__row--empty {
    font-size: 11px;
    color: rgba(221, 232, 247, 0.85);
}

.v-header__rates .hotels-currency-mini__item {
    display: inline-flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
    font-size: 11px;
    white-space: nowrap;
}

.v-header__rates .hotels-currency-mini__symbol {
    min-width: 17px;
    text-align: center;
    font-weight: 700;
    color: rgba(255, 244, 212, 0.95);
}

.v-header__rates .hotels-currency-mini__rate {
    color: rgba(248, 252, 255, 0.96);
    font-weight: 600;
    text-align: right;
}

.v-header__rates .hotels-currency-mini__change {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.v-header__rates .hotels-currency-mini__change.is-up {
    color: #ff6b6b;
}

.v-header__rates .hotels-currency-mini__change.is-down {
    color: #3ccb85;
}

.v-header__rates .hotels-currency-mini__change.is-flat {
    color: rgba(215, 227, 243, 0.88);
}

.v-phone-link {
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.v-header__messengers,
.v-footer__messengers {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--v-space-2);
}

.v-messenger-link {
    text-decoration: none;
    border: 1px solid var(--v-color-line-soft);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: background var(--v-transition), color var(--v-transition);
}

.v-messenger-link:hover,
.v-messenger-link:focus-visible {
    background: var(--v-color-white);
    color: var(--v-color-brand-deep);
}

.v-nav-toggle {
    display: none;
    border: 1px solid var(--v-color-line-soft);
    background: transparent;
    color: inherit;
    border-radius: var(--v-radius-sm);
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
}

.v-header__bottom {
    position: relative;
    border-top: 1px solid var(--v-color-line-soft);
    border-bottom: 1px solid var(--v-color-line-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 52%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(6, 15, 27, 0.28),
        0 8px 20px rgba(12, 24, 39, 0.14);
}

.v-header__bottom::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 170, 82, 0) 0%, rgba(212, 170, 82, 0.9) 50%, rgba(212, 170, 82, 0) 100%);
    pointer-events: none;
}

.v-nav {
    display: flex;
    align-items: center;
    gap: var(--v-space-2);
    padding-block: 10px;
    overflow-x: auto;
}

.v-nav__link {
    position: relative;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transition: border-color var(--v-transition), background var(--v-transition), box-shadow var(--v-transition), transform var(--v-transition), color var(--v-transition);
}

.v-nav__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(212, 170, 82, 0) 0%, rgba(212, 170, 82, 0.72) 50%, rgba(212, 170, 82, 0) 100%);
    transform: scaleX(0);
    transition: transform 220ms ease;
}

.v-nav__link:hover,
.v-nav__link:focus-visible {
    border-color: rgba(240, 219, 175, 0.56);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 6px 14px rgba(10, 21, 34, 0.18);
    transform: translateY(-1px);
}

.v-nav__link:hover::after,
.v-nav__link:focus-visible::after {
    transform: scaleX(1);
}

.v-nav__link--cta {
    border-color: rgba(240, 219, 175, 0.74);
    background: linear-gradient(180deg, #fff7df 0%, #f4d994 45%, #ecbf66 100%);
    color: #273241;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 18px rgba(11, 20, 33, 0.18);
    margin-left: auto;
}

.v-nav__link--cta:hover,
.v-nav__link--cta:focus-visible {
    border-color: rgba(249, 229, 184, 0.9);
    background: linear-gradient(180deg, #fff9e9 0%, #f6de9f 45%, #edc76e 100%);
    color: #222d3b;
}

.v-main {
    flex: 1 1 auto;
}

.v-breadcrumbs-wrap {
    padding-block: 14px;
    border-bottom: 1px solid var(--v-color-line);
    background: var(--v-color-surface);
}

.v-breadcrumbs-wrap .bx-breadcrumb {
    margin: 0;
    color: var(--v-color-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.v-footer {
    margin-top: var(--v-space-7);
    background: var(--v-color-dark);
    color: var(--v-color-white);
    padding-block: var(--v-space-6);
}

.v-footer__inner {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: var(--v-space-5);
    align-items: start;
}

.v-footer__logo {
    display: inline-flex;
    text-decoration: none;
}

.v-footer__logo img {
    width: 88px;
    border-radius: var(--v-radius-sm);
    
}

.v-footer__slogan {
    margin-top: var(--v-space-2);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
}

.v-footer__menu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.v-footer__menu-link {
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 0;
    opacity: 0.9;
    transition: opacity var(--v-transition);
}

.v-footer__menu-link:hover,
.v-footer__menu-link:focus-visible {
    opacity: 1;
}

.v-footer__contacts {
    display: grid;
    gap: var(--v-space-2);
    justify-items: end;
    text-align: right;
}

.v-footer__requisites {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 12px;
    opacity: 0.78;
}

.v-footer__bottom {
    margin-top: var(--v-space-4);
    padding-top: var(--v-space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: flex-end;
}

.v-powered-by-link {
    display: inline-flex;
    text-decoration: none;
    opacity: 0.92;
    transition: opacity var(--v-transition);
}

.v-powered-by-link:hover,
.v-powered-by-link:focus-visible {
    opacity: 1;
}

.v-powered-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

.v-powered-by img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(61, 146, 223, 0.25);
}

.v-powered-by__name {
    font-weight: 600;
    letter-spacing: 0.1em;
}

@media (max-width: 1100px) {
    .v-header__top {
        grid-template-columns: 1fr auto;
        gap: var(--v-space-3);
    }

    .v-header__contact-wrap {
        justify-self: start;
        justify-items: start;
        text-align: left;
        order: 3;
        grid-column: 1 / -1;
    }

    .v-header__rates {
        order: 2;
        justify-self: end;
    }

    .v-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--v-space-4);
    }

    .v-footer__contacts {
        justify-items: start;
        text-align: left;
    }

    .v-footer__requisites {
        justify-content: flex-start;
    }

    .v-footer__bottom {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .v-header__top {
        grid-template-columns: 1fr auto;
    }

    .v-logo__img {
        width: 58px;
        height: 58px;
    }

    .v-logo__text strong {
        font-size: 20px;
    }

    .v-header__rates {
        order: 3;
        grid-column: 1 / -1;
        justify-self: start;
        width: auto;
        max-width: 100%;
    }

    .v-header__rates .hotels-currency-mini--vega {
        min-width: 0;
        width: auto;
        max-width: max-content;
        display: inline-grid;
        padding: 6px 8px 6px;
        border-radius: 10px;
    }

    .v-header__rates .hotels-currency-mini__item {
        width: auto;
        min-width: 110px;
        gap: 5px;
        font-size: 10px;
    }

    .v-header__rates .hotels-currency-mini__symbol {
        min-width: 14px;
    }

    .v-header__rates .hotels-currency-mini__rate {
        font-size: 10px;
    }

    .v-header__rates .hotels-currency-mini__change {
        font-size: 9px;
    }

    .v-header__rates .hotels-currency-mini--vega::before {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .v-nav-toggle {
        display: inline-block;
    }

    .v-header__bottom {
        border-top: 0;
    }

    .v-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding-block: var(--v-space-3);
    }

    .v-nav.is-open {
        display: flex;
    }

    .v-nav__link {
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: var(--v-radius-sm);
        box-shadow: none;
    }

    .v-nav__link::after {
        left: 9px;
        right: 9px;
    }

    .v-nav__link--cta {
        margin-left: 0;
    }
}
