body {
    background: white;
}
p{
    margin: 0;
}

.wrap {
    font-family: var(--inter), sans-serif;
    max-width: 100vw;
    min-height: 100vh;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    color: var(--color-black);
    overflow: hidden;
}

.wrap__main {
    background:white;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    z-index: 1;
    padding-top: 8rem;
}

.wrap.hidden {
    height: 100vh;
}

.section__btn {
    letter-spacing: -0.3px;
    white-space: nowrap;
    text-align: center;
    border-radius: 3.6rem;
    padding: 0.7rem 4.1rem;
    color: var(--color-white);
    background: var(--color-black);
    font: 700 1.7rem/3.2rem var(--inter);
    transition: 0.4s ease;
    display: block;
    width: -moz-max-content;
    width: max-content;
    position: relative;
}

.section__btn:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: 0.2s ease;
    text-decoration: unset;
    color: var(--color-white)!important;
}

.section__btn.arrow {
    padding-right: 4.2rem;
    padding-left: 2.1rem;
}

.section__btn.arrow:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
    width: 1.5rem;
    height: 1.5rem;
    transition: 0.2s ease;
    background: url(../img/arr.svg) center/1.5rem 1.5rem no-repeat;
}

.section__btn.arrow:hover:before {
    transform: translateY(-50%) scale(1.15);
}

.section__btn.white {
    background: var(--color-white);
    color: var(--color-black);
    position: relative;
}
.container {
    overflow:visible;
    width: 100%;
    max-width: 144rem;
    margin: 0 auto;
    padding: 0 8.9rem;
}

.header {
    background: transparent;
    width: 100%;
    top: 0;
    z-index: 11;
    left: 0;
    position: fixed;
}

.header__place {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
}

.header.scroll {
    background: white;
    z-index: 11;
}

.header .container {
    padding: 1.6rem 8.9rem;
}

.header__block {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
}

.header__logo {
    margin-top: -1.4rem;
    display: block;
    width: 14.3rem;
    min-width: 14.3rem;
}

.header__menu {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 1.6rem;
}

.header__menu-item {
    position: relative;
    cursor: pointer;
}






/* ── Arrow ── */
.header__menu-arrow {
    display: inline-block;
    width: 0.6rem;
    height:  0.6rem;
    border-right: 0.15rem solid var(--color-black);
    border-bottom: 0.15rem solid var(--color-black);
    transform: rotate(45deg) translateY(-2px);
    margin-left: 0.6rem;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.header__menu-item.is-open > a .header__menu-arrow {
    transform: rotate(-135deg) translateY(2px);
}

.header__submenu {
    background: #fff;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.header__submenu-item {
    padding: 1.2rem 2rem;
    color: inherit;
    text-decoration: none;
    font: 500 1.5rem / 2.6rem var(--inter);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.header__submenu-item:hover {
    background: #000;
    color:white;
}

.header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    border-radius: 0.8rem;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(0.8rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.header__menu-item.is-open > .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}








.header__menu-item > a {
    white-space: nowrap;
    padding: 0.6rem 1.2rem;
    position: relative;
    display: block;
    transition: 0.2s ease;
    font: 700 1.5rem/2.6rem var(--inter);
    color: black;
}

.header__menu-item > a:after {
    transition: 0.2s ease;
    content: "";
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    height: 0.2rem;
    background: var(--color-black);
    width: 0;
}

.header__menu-item > a:hover:after {
    width: calc(100% - 2.4rem);
}

.header__menu-item.active:after {
    content: "";
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    height: 0.2rem;
    background: var(--color-primary);
    width: calc(100% - 2.4rem);
}

.header__burger {
    display: none;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    width: 2.4rem;
    height: 2.4rem;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.4rem;
    transition: 0.2s ease;
}

.header__burger span {
    transition: 0.2s ease;
    background:#000;
    width: 1.8rem;
    height: 0.2rem;
    min-height: 0.2rem;

    display: block;
    border-radius: 0.2rem;
}

.header__burger-open span {
    display: block;
    position: absolute;
    top: 50%;
    margin: 0;
    transition: 0.2s ease;
}

.header__burger-open span:nth-child(1) {
    background: var(--color-black);
    transform: rotate(-45deg);
}

.header__burger-open span:nth-child(2) {
    background: var(--color-black);
    transform: rotate(45deg);
}

.header__burger-open span:nth-child(3) {
    display: none;
}


.footer {
    background: var(--color-black);
}

.footer .container {
    padding: 12.2rem 8.9rem;
}

.footer__block {
    display: -ms-flexbox;
    display: flex;
    gap: 2rem;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: start;
    align-items: flex-start;
}

.footer__left {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5rem;
}

.footer__left-text {
    color: white;
    opacity: 0.65;
    font: 400 1.6rem/2.4rem var(--is);
}

.footer__menu {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2.4rem;
    min-width: 16.1rem;
}

.footer__menu > * {
    color: var(--color-white);
    font: 400 1.6rem/2.4rem var(--is);
    transition: 0.2s ease;
    white-space: nowrap;
}

.footer__menu > *:hover {
    color: var(--color-grey);
}

.footer__menu-item > p {
    color: var(--color-white);
    opacity: 0.65;
    font: 400 1.6rem/2.4rem var(--inter);
    margin-bottom: 2.2rem;
}

.footer__menu-wrap {
    display: -ms-flexbox;
    display: flex;
    gap: 2.4rem;
}

.footer__logo {
    font: 700 2.8rem/124% var(--inter);
    color: var(--color-white);
}

.footer__social {
    margin-top: 1.2rem;
    display: -ms-flexbox;
    display: flex;
    gap: 2.3rem;
    -ms-flex-align: center;
    align-items: center;
}

.footer__social > * {
    width: 1.8rem;
    aspect-ratio: 1/1;
    overflow: hidden;
    transition: 0.2s ease;
}

.footer__social > *:hover {
    filter: brightness(0) saturate(100%) invert(40%) sepia(44%) saturate(885%) hue-rotate(313deg) brightness(110%) contrast(78%);
}

.footer__right {
    width: 55%;
}

.footer__right-img {
    max-width: 15.6rem;
    width: 100%;
    margin-top: 2rem;
}
@media only screen and (max-width: 1280px) {
    .container {
        padding-left: 2.4rem !important;
        padding-right: 2.4rem !important;
    }
    .header__menu {
        gap: 0;
    }
}

@media only screen and (max-width: 666px) {
    .wrap__main {
        padding-top: 5.2rem;
    }
    .wrap__main .container {
        padding: 4rem 1.6rem !important;
    }
    .section__title {
        font-size: 2.4rem;
        line-height: 124%;
    }
    .section__text {
        font-size: 1.4rem;
        line-height: 124%;
    }
    .section__flex {
        -ms-flex-direction: column;
        flex-direction: column;
    }
    section .section__flex > * {
        width: 100%;
        max-width: 100%;
    }
    .section__btn {
        font-size: 1.5rem;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }
    .section__subtitle {
        font-size: 1.4rem;
    }
    .header .container {
        padding: 1.6rem !important;
    }
    .header__logo {
        width: 12rem;
        min-width: 12rem;
    }
    .header.white {
        background-color: white;
    }
    .header__menu-wrap {
        left: -100%;
        position: absolute;
        transition: all 0.2s ease;
        width: 0;
        padding: 4rem 1.6rem 6rem;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 3.2rem;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-align: center;
        align-items: center;
        top: 5.2rem;
        background: var(--color-white);
        min-height: calc(100vh - 5.2rem);
        z-index: 6;
    }
    .header__menu-wrap.active {
        left: 0;
        width: 100%;
    }
    .header__menu {
        color: black;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 2.4rem;
    }
    .header__menu-item:after {
        display: none !important;
    }
    .header__menu-item {
        width: 100%;
    }
    .header__menu-item > a {
        font-size: 2rem;
        width: 100%;
        padding: 0;
        text-align: center;
        font-weight: 600;
    }
    .header__burger {
        display: flex;
    }
    .header__info {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        gap: 0.8rem;
    }
    .header .section__btn.arrow {
        padding-top: 0;
        padding-bottom: 0;
    }
    .footer .container {
        padding: 4.4rem 1.6rem;
    }
    .footer__block {
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 6rem;
        margin-bottom: 6rem;
    }
    .footer__menu-wrap {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 4rem 2rem;
        -ms-flex-align: center;
        align-items: center;
    }
    .footer__menu > * {
        font-size: 1.6rem;
    }
    .footer__menu-item {
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    .footer__right-img {
        margin: 3rem auto 0;
    }
    .footer__menu-item > p {
        margin-bottom: 1rem;
    }
    .footer__contact {
        max-width: 100%;
        margin: 0;
        gap: 1.2rem;
        width: 100%;
        text-align: center;
    }
    .footer__phone {
        font-size: 2rem;
    }
    .footer__social {
        margin-top: 2rem;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .footer__bottom > *:not(:last-child):after {
        display: none;
    }
    .footer__bottom {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 1.6rem;
        padding: 0;
    }
    .footer__bottom-link, .footer__bottom p {
        font-size: 1.2rem;
    }
    .footer .container {
        padding: 4.4rem 1.6rem 2.8rem;
    }
    .footer__address {
        font-size: 1.2rem;
    }
    .footer__left-text {
        text-align: center;
    }
    .header__submenu {
        position: relative;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
    }

    .header__menu-item.is-open > .header__submenu {
        max-height: 600px;
    }
    .header__menu-item > a:after{
        display: none;
    }
    .header__submenu{
        text-align: center;
        box-shadow: unset;
    }
    .section__btn {
        font-size: 1.5rem;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }
    .header .section__btn.arrow {
        padding-top: 0;
        padding-bottom: 0;
    }
}

