@font-face {
    font-family: 'museosanscyrl';
    src: url(../fonts/museosanscyrl_500-webfont.woff) format("woff");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: 'museosanscyrl';
    src: url(../fonts/museosanscyrl_900-webfont.woff) format("woff");
    font-weight: 900;
    font-style: normal
}

@font-face {
    font-family: 'Magistral-Medium';
    src: url('../fonts/Magistral-Medium.ttf');
    src: url('../fonts/Magistral-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

header,
main,
footer {
    display: flex;
    justify-content: center;
}

body.none-scroll {
    overflow: hidden;
}

.header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 9001;
}

.header__container {
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 110px;
    min-width: 110px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo__image {
    width: 160px;
}

.nav {
    display: flex;
    gap: 24px;
}

@media screen and (max-width: 800px) {
    .nav {
        position: fixed;
        left: 0;
        top: 60px;
        bottom: 0;
        width: 100%;
        height: auto;
        background-color: #000;
        padding: 10px;
        transform: translateX(-100%);
        align-items: flex-start;
        flex-direction: column;
        transition: transform .3s;
        z-index: 10;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__item {
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid #ffffff33;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .nav {
        top: 65px;
    }
}

.nav__item {
    color: #fff;
    font-size: 18px;
    font-family: 'museosanscyrl', Helvetica, Arial, sans-serif;
    font-weight: 500;
    transition: color .2s;

    &:hover {
        color: #f8c733;
    }
}

.nav__item:hover {
    color: #f8c733;
}

.mob-contacts {
    margin-top: auto;
    margin-inline: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.mob-contacts__title {
    color: #fff;
    font-family: 'museosanscyrl', Helvetica, Arial, sans-serif;
    font-size: 18px;
}

.mob-contacts__links {
    display: flex;
    gap: 16px;
}

@media screen and (min-width: 801px) {
    .mob-contacts {
        display: none;
    }
}


.contacts {
    display: flex;
    gap: 8px;
}

.contacts__social img {
    width: 32px;
}

.contacts a:has(img) {
    display: flex;
}

@media screen and (max-width: 800px) {
    .header .contacts {
        margin-left: auto;
    }

    .contacts img {
        width: 27px;
    }

    .header .contacts__social.mob-hide {
        display: none;
    }

    body.none-scroll .contacts__social:not(.mob){
        display: none;
    }
}

.phone {
    color: #fff;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone__number {
    font-size: 24px;
    font-family: 'museosanscyrl', Helvetica, Arial, sans-serif;
    font-weight: 900;
    white-space: nowrap;
}

.phone__text {
    font-family: 'museosanscyrl', Helvetica, Arial, sans-serif;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .phone {
        display: none;
    }
}

.menu {
    color: #fff;
    font-size: 15px;
    margin-left: 20px;
    display: none;
    align-items: center;
    gap: 8px;
}

@media screen and (max-width: 800px) {
    .menu {
        display: flex;
    }
}

.menu__burger {
    display: block;
    min-width: 30px;
    padding-block: 10px;
    position: relative;
}

.menu__icon {
    height: 3px;
    background-color: #fff;
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: background .2s linear;
}

.menu__icon:before, .menu__icon:after {
    width: 100%;
    content: "";
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: transform .2s linear;
}

.menu__icon:before {
    top: -8px;
}

.menu__icon:after {
    bottom: -8px;
}

.menu.active .menu__icon {
    background: none;
}

.menu.active .menu__icon:before {
    transform: rotate(45deg) translate3d(0px, -2px, 0);
    transform-origin: left top;
}

.menu.active .menu__icon:after {
    transform: rotate(-45deg) translate3d(0px, 3px, 0);
    transform-origin: left bottom;
}

.main {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

.main__container {
    width: 100%;
    flex-direction: column;
    gap: 40px;
}

.banner {
    width: 100%;
    height: 260px;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url("../images/banner.webp") center/150% no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner__title {
    font-size: 50px;
    font-family: "Magistral-Medium", serif;
    color: #fff;
    text-wrap: balance;
    text-align: center;
}

@media screen and (max-width: 800px) {
    .banner__title {
        font-size: 30px;
    }
}

.map {
    width: 100%;
    height: 330px;
    border-radius: 12px;
}

.footer {
    color: #fff;
    background: #000;
    margin-top: 40px;
}

.footer__container {
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 800px) {
    .footer__container {
        flex-direction: column;
    }
}

.disclaimer {
    font-size: 12px;
    font-family: "Helvetica", serif;
    text-wrap: balance;
    text-align: center;
}

.phone-mobile {
    border-radius: 50%;
    display: none;
    position: fixed;
    right: 14px;
    bottom: 68px;
    z-index: 9000;
    overflow: hidden;
}

.phone-mobile::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -20%;
    left: -20%;
    background: linear-gradient(
            45deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.05) 60%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: translate(-150%, 150%) rotate(45deg);
    filter: blur(6px);
    mix-blend-mode: screen;
    animation: diagonalShine 1.5s linear infinite;
    pointer-events: none;
}

@keyframes diagonalShine {
    0% {
        transform: translate(-150%, 150%) rotate(45deg);
    }
    50% {
        transform: translate(0%, 0%) rotate(45deg);
    }
    100% {
        transform: translate(150%, -150%) rotate(45deg);
    }
}

@media screen and (max-width: 1200px) {
    .phone-mobile {
        display: flex;
    }
}

#scrollToTop {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, .3);
    border-radius: 8px;
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9000;
}