:root {
    /* палитра взята с rassvet.award: неоновый фиолет на почти чёрном */
    --violet: #A100F0;
    --violet-deep: #6E00C8;
    --violet-soft: #C77BFF;
    --magenta: #E01BC0;
    /* соседняя пара для блока о формате: индиго + коралл */
    --indigo: #5B2BFF;
    --indigo-soft: #9FA8FF;
    --coral: #FF3D6E;
    --ink: #07060A;
    --muted: rgba(255, 255, 255, .66);
    --hair: rgba(255, 255, 255, .16);
    --glass: rgba(255, 255, 255, .10);
    --glass-hi: rgba(255, 255, 255, .18);
    --pad: 40px;
    --r: 8px;
    --online: #3ECF8E;
    /* золото для заголовков */
    --gold: linear-gradient(104deg, #FBEFC9 0%, #EBCE85 18%, #C9A24A 38%, #FAF0D2 54%, #D9B45F 74%, #F3E2AC 92%, #C9A24A 100%);
    --safe-l: max(var(--pad), env(safe-area-inset-left));
    --safe-r: max(var(--pad), env(safe-area-inset-right));
    --font-h: 'Tenor Sans', Constantia, Georgia, serif;
    --font-b: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

header *,
header {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

div#menu.menu a,
div#menu.menu a:focus,
div#menu.menu a:visited {
    text-decoration: none;
    color: #fff;
}

div#menu.menu button {
    outline: none !important;
}

button {
    cursor: pointer;
}

header p,
header li,
header a,
header span,
header button {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    outline: none !important;
    box-shadow: none;
}

header {
    background: var(--ink);
    color: #fff;
    font-family: var(--font-b);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip
}

body.is-locked {
    overflow: hidden
}

header a,
header a:focus,
header a:visited {
    color: inherit;
    text-decoration: none
}

header button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent
}

header img,
header svg,
header video {
    display: block
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 24px var(--safe-r) 0 var(--safe-l);
    padding-top: max(24px, env(safe-area-inset-top));
    transition: transform .35s cubic-bezier(.22, .75, .3, 1), background .3s, padding .3s, backdrop-filter .3s;
}

.header.is-scrolled {
    padding-top: 12px;
    background: rgba(9, 7, 13, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
}

.header.is-scrolled .header__in {
    padding-bottom: 12px;
    border-bottom-color: transparent;
}

.header__in {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hair);
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    min-width: 0;
}

.brand__logo img {
    height: 32px;
    width: auto;
}

.divider {
    width: 1px;
    height: 32px;
    background: var(--hair);
    flex: none;
}

.lang {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    letter-spacing: .04em;
}

.lang button {
    padding: 7px 10px;
    border-radius: var(--r);
    color: var(--muted);
    transition: color .2s, background .2s;
}

.lang button.is-active {
    color: #fff;
    background: var(--glass);
}

.lang button:hover {
    color: #fff;
}

.lang i {
    font-style: normal;
    color: rgba(255, 255, 255, .28);
}

.citysw {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-left: 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
}

.citysw button {
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .62);
    transition: .2s;
}

.citysw button:hover {
    color: #fff;
}

.citysw button.is-active {
    color: #fff;
    background: linear-gradient(96deg, var(--violet-deep), var(--violet) 70%, var(--magenta));
}

.hnav {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 22px;
    margin-left: 2px;
    border-left: 1px solid var(--hair);
    font-size: 14px;
    color: rgba(255, 255, 255, .68);
}

.hnav a {
    transition: color .2s;
    white-space: nowrap;
}

.hnav a:hover {
    color: #fff;
}

.header__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phones {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 16px;
    border-radius: var(--r);
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex: none;
    transition: background .2s;
}

.pill:hover {
    background: var(--glass-hi);
}

.pill i {
    font-style: normal;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.city-contact[hidden] {
    display: none !important;
}


/* онлайн-индикатор */

.dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--online);
    flex: none;
    box-shadow: 0 0 0 0 rgba(62, 207, 142, .6);
}

.dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--online);
    opacity: .55;
    animation: ping 2.4s cubic-bezier(.22, .61, .36, 1) infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: .55;
    }
    70% {
        transform: scale(2.8);
        opacity: 0;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.socials {
    display: flex;
    gap: 8px;
}

.header__socials[hidden] {
    display: none !important;
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--r);
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background .2s;
}

.icon-btn:hover {
    background: var(--glass-hi);
}

.icon-btn img,
.icon-btn svg {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.icon-btn img[src*="yandex"] {
    filter: none;
    border-radius: 4px;
    opacity: 1;
}

.burger {
    position: relative;
}

.burger span {
    position: absolute;
    left: 13px;
    width: 16px;
    height: 1px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}

.burger span:nth-child(1) {
    top: 15px;
}

.burger span:nth-child(2) {
    top: 21px;
}

.burger span:nth-child(3) {
    top: 27px;
}

header a:hover {
    color: inherit !important;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.22, .75, .3, 1), transform .8s cubic-bezier(.22, .75, .3, 1)
}

.reveal.is-in {
    opacity: 1;
    transform: none
}

@keyframes riseIn {
    to {
        opacity: 1;
        transform: none
    }
}

@media (prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1!important;
        transform: none!important
    }
    .hero__eyebrow,
    .hero h1,
    .hero .sub,
    .hero .cta,
    .hero .rating,
    .facts__in .fact {
        opacity: 1!important;
        transform: none!important;
        animation: none!important
    }
}

.menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: radial-gradient(70% 50% at 12% 88%, rgba(161, 0, 240, .22) 0%, rgba(161, 0, 240, 0) 65%), radial-gradient(50% 40% at 92% 8%, rgba(224, 27, 192, .16) 0%, rgba(224, 27, 192, 0) 60%), rgba(7, 6, 10, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .28s, transform .28s, visibility .28s
}

.menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none
}

.menu__top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px var(--safe-r) 20px var(--safe-l);
    padding-top: max(24px, env(safe-area-inset-top));
    border-bottom: 1px solid var(--hair)
}

.menu__top img {
    height: 32px
}

.menu__close {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: var(--r);
    background: var(--glass);
    display: grid;
    place-items: center
}

.menu__close svg {
    width: 15px;
    height: 15px
}

.menu__cities {
    display: flex;
    gap: 6px;
    padding: 24px var(--safe-r) 0 var(--safe-l)
}

.mcity {
    padding: 11px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: .2s
}

.mcity:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12)
}

.mcity.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(96deg, var(--violet-deep), var(--violet) 70%, var(--magenta))
}

.menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    padding: 24px var(--safe-r) 32px var(--safe-l);
    overflow-y: auto
}

.menu__nav[hidden] {
    display: none
}

.menu__nav a {
    font-family: var(--font-h);
    font-size: clamp(26px, 5.2vw, 52px);
    line-height: 1.35;
    transition: color .2s, padding .2s
}

.menu__nav a:hover {
    color: var(--violet-soft);
    padding-left: 12px
}

.menu__foot {
    padding: 22px var(--safe-r) 0 var(--safe-l);
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--hair);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px
}

.menu__foot .lang {
    margin-left: auto
}

@media (max-width:1520px) {
    .header__in {
        gap: 12px
    }
    .brand {
        gap: 12px
    }
    .citysw {
        margin-left: 4px
    }
    .hnav {
        gap: 12px;
        padding-left: 12px;
        margin-left: 0;
        font-size: 13px
    }
    .header__right {
        gap: 8px
    }
    .pill {
        gap: 7px;
        padding-inline: 12px;
        font-size: 13px
    }
}

@media (max-width:1400px) {
    .hnav {
        display: none
    }
}

@media (max-width:1080px) {
    .citysw {
        display: none
    }
}

@media (max-width:1240px) {
     :root {
        --pad: 28px
    }
    .facts__in {
        gap: 20px
    }
}

@media (max-width:1080px) {
    .pill i {
        display: none
    }
    .hero__content {
        max-width: 720px
    }
}

@media (max-width:860px) {
    .phones,
    .divider,
    .brand .lang {
        display: none
    }
    .rating {
        top: 92px;
        gap: 6px
    }
    .rating__card {
        width: 210px;
        padding: 10px 12px
    }
    .hero__content {
        padding: 32px 0;
        max-width: none
    }
    .facts__in {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 24px
    }
}

@media (max-width:640px) {
     :root {
        --pad: 20px
    }
    .hero {
        min-height: 100svh
    }
    .hero__media::after {
        background: linear-gradient(180deg, rgba(6, 8, 7, .86) 0%, rgba(6, 8, 7, .14) 22%, rgba(6, 8, 7, .42) 48%, rgba(6, 8, 7, .94) 82%, rgba(6, 8, 7, .98) 100%);
    }
    .header {
        padding-top: max(16px, env(safe-area-inset-top))
    }
    .header__in {
        gap: 12px;
        padding-bottom: 14px;
        border-bottom: 0
    }
    .brand__logo img {
        height: 26px
    }
    .header__right {
        gap: 8px
    }
    .icon-btn {
        width: 44px;
        height: 44px
    }
    .burger span {
        left: 14px
    }
    .burger span:nth-child(1) {
        top: 16px
    }
    .burger span:nth-child(2) {
        top: 21px
    }
    .burger span:nth-child(3) {
        top: 27px
    }
    .hero__body {
        align-items: flex-end
    }
    .hero__content {
        padding: 24px 0
    }
    .hero__eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: .16em
    }
    .hero__eyebrow::before {
        width: 18px
    }
    .rating {
        position: static;
        flex-direction: row;
        gap: 8px;
        padding: calc(76px + env(safe-area-inset-top)) var(--safe-r) 0 var(--safe-l)
    }
    .rating__card {
        flex: 1;
        width: auto;
        gap: 9px;
        padding: 9px 10px;
        border-radius: 12px
    }
    .rating__logo {
        width: 22px;
        height: 22px;
        border-radius: 6px
    }
    .rating__val {
        font-size: 18px
    }
    .stars svg {
        width: 9px;
        height: 9px
    }
    .rating__txt {
        font-size: 10px;
        white-space: normal
    }
    .sub {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.55;
        color: rgba(255, 255, 255, .72)
    }
    .cta {
        margin-top: 22px;
        gap: 9px
    }
    .btn {
        width: 100%;
        height: 54px;
        padding: 0 20px;
        font-size: 15px
    }
    .menu__nav {
        justify-content: center;
        gap: 10px;
        padding-top: 24px
    }
    .menu__nav a {
        font-size: 28px
    }
    .menu__foot {
        flex-direction: column;
        align-items: stretch;
        gap: 12px
    }
    .menu__foot .lang {
        margin-left: 0;
        align-self: flex-start
    }
    .menu .pill {
        height: 50px;
        width: 100%;
        gap: 9px
    }
    .menu .pill i {
        display: inline;
        margin-right: auto
    }
}

@media (max-height:520px) and (orientation:landscape) {
    .hero__content {
        padding: 24px 0 18px
    }
    .sub {
        display: none
    }
    .facts__in {
        display: flex;
        grid-template-columns: none;
        padding-top: 14px
    }
}

@media (prefers-reduced-motion:reduce) {
    .format__glow span {
        animation: none!important
    }
}

a.pill.city-contact[data-city="moscow"] {
    order: 0;
}

a.pill.city-contact {
    order: 1;
}

button.mcity {
    outline: none !important;
}

button#menuClose {
    border: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
}

.header-clear-bg {
    display: block;
    position: relative;
    margin-bottom: 130px;
}

/* Топ-бар сервиса сдвигает body через top и встаёт с зазором под fixed-шапкой. */
html.sg-topbar-on body {
    top: 0 !important;
}

html.sg-topbar-on [id^="sgTopbar"] {
    top: var(--sg-header-bottom, 0px) !important;
}

html.sg-topbar-on .header-clear-bg {
    margin-bottom: calc(130px + var(--sg-topbar-h, 50px));
}

.footer-socials-city-title {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    font-weight: 500;
    margin-top: 22px;
}

.footer-socials-city-title+.footer-socials {
    margin-top: 5px;
}

@media (max-width: 768px) {
    .header-clear-bg {
        display: block;
        position: relative;
        height: 80px;
        margin-bottom: 40px;
    }

    html.sg-topbar-on .header-clear-bg {
        height: calc(80px + var(--sg-topbar-h, 60px));
        margin-bottom: 40px;
    }
}

@media (max-width: 380px) {
     :root {
        --pad: 12px;
    }
}

.menu__nav {
    scrollbar-width: thin;
    scrollbar-color: var(--hair) transparent;
    padding-bottom: 20px;
}

.menu__nav::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.menu__nav::-webkit-scrollbar-track {
    background: transparent;
}

.menu__nav::-webkit-scrollbar-thumb {
    background: var(--hair);
    border-radius: 4px;
}

.menu__nav::-webkit-scrollbar-button {
    display: none;
}

nav.menu__nav {
    padding-top: 10px;
}

div#menuCities {
    padding-bottom: 10px;
}