header.header,
div#new-design,
footer.footer,
div.popup {
    --accent: #342763;
    --text: #202020;
    --muted: #777;
}

header.header, header.header *, header.header *::before, header.header *::after,
div#new-design, div#new-design *, div#new-design *::before, div#new-design *::after,
footer.footer, footer.footer *, footer.footer *::before, footer.footer *::after,
div.popup, div.popup *, div.popup *::before, div.popup *::after {
    box-sizing: border-box;
}

header.header,
div#new-design,
footer.footer,
div.popup {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

body.popup-open {
    overflow: hidden;
}

header.header button,
div#new-design button,
footer.footer button,
div.popup button,
header.header input,
div#new-design input,
footer.footer input,
div.popup input {
    font: inherit;
}

header.header button,
div#new-design button,
footer.footer button,
div.popup button,
header.header a,
div#new-design a,
footer.footer a,
div.popup a {
    -webkit-tap-highlight-color: transparent;
}

header.header button,
div#new-design button,
footer.footer button,
div.popup button {
    cursor: pointer;
}

header.header a,
div#new-design a,
footer.footer a,
div.popup a {
    color: inherit;
    text-decoration: none;
}

header.header img,
div#new-design img,
footer.footer img,
div.popup img {
    display: block;
    max-width: 100%;
}

header.header h1,
div#new-design h1,
footer.footer h1,
div.popup h1,
header.header h2,
div#new-design h2,
footer.footer h2,
div.popup h2,
header.header p,
div#new-design p,
footer.footer p,
div.popup p {
    margin: 0;
}

header.header h1,
div#new-design h1,
footer.footer h1,
div.popup h1,
header.header h2,
div#new-design h2,
footer.footer h2,
div.popup h2 {
    font-weight: 400;
}

header.header button:focus-visible,
div#new-design button:focus-visible,
footer.footer button:focus-visible,
div.popup button:focus-visible,
header.header a:focus-visible,
div#new-design a:focus-visible,
footer.footer a:focus-visible,
div.popup a:focus-visible,
header.header input:focus-visible,
div#new-design input:focus-visible,
footer.footer input:focus-visible,
div.popup input:focus-visible {
    outline: 2px solid #8e79d0;
    outline-offset: 5px;
}

div#new-design div.container {
    width: min(1080px, calc(100% - 64px));
    margin: 0 auto;
}

header.header button.button,
div#new-design button.button,
div#new-design a.button,
footer.footer button.button,
footer.footer a.button,
div.popup button.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 14px 30px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    transition: background .2s;
}

header.header button.button:hover,
div#new-design button.button:hover,
div#new-design a.button:hover,
footer.footer button.button:hover,
footer.footer a.button:hover,
div.popup button.button:hover {
    background: #493a80;
}

header.header button.button--outline,
div#new-design button.button--outline,
div#new-design a.button--outline,
footer.footer button.button--outline,
footer.footer a.button--outline,
div.popup button.button--outline {
    border-color: currentColor;
    background: transparent;
}

header.header button.button--outline:hover,
div#new-design button.button--outline:hover,
div#new-design a.button--outline:hover,
footer.footer button.button--outline:hover,
footer.footer a.button--outline:hover,
div.popup button.button--outline:hover {
    background: #ffffff18;
}

div#new-design h2.section-title {
    font-size: 34px;
    line-height: 1.3;
}

header.header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 64px;
    padding: 8px 28px;
    background: #fff;
}

header.header a.logo,
footer.footer a.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 105px;
    line-height: .9;
    color: var(--accent);
}

header.header span.logo__name,
footer.footer span.logo__name {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -4px;
}

header.header span.logo__caption,
footer.footer span.logo__caption {
    margin-top: 5px;
    font-size: 7px;
    letter-spacing: 2px;
}

header.header nav.header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    font-size: 12px;
}

header.header a.header__link {
    padding: 9px 0;
    white-space: nowrap;
}

header.header a.header__link:hover {
    color: var(--accent);
}

header.header a.header__link--active {
    border-bottom: 1px solid var(--accent);
    color: var(--accent);
}

header.header div.header__contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

header.header a.header__phone {
    font-size: 13px;
    white-space: nowrap;
}

header.header button.header__callback {
    min-height: 30px;
    padding: 6px 18px;
    font-size: 10px;
}

header.header div.header__tools {
    display: flex;
    gap: 14px;
}
.header__tools .twosmallfont{
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.map__header {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

button.map__header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

#map-contacts-modal {
    position: fixed;
    z-index: 2500;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .55);
}

#map-contacts-modal.is-open {
    display: flex;
}

#map-contacts-modal,
#map-contacts-modal * {
    box-sizing: border-box;
}

#map-contacts-modal .map-modal__window {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 40px;
    border-radius: 12px;
    background: #fff;
    color: #202020;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .15);
}

#map-contacts-modal .map-modal__close {
    position: absolute;
    top: 14px;
    right: 20px;
    padding: 0;
    border: 0;
    background: none;
    color: #777;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

#map-contacts-modal .map-modal__title {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

#map-contacts-modal .map-modal__section {
    margin-bottom: 28px;
}

#map-contacts-modal .map-modal__subtitle {
    margin-bottom: 12px;
    color: #777;
    font-size: 13px;
}

#map-contacts-modal .map-modal__address {
    margin-bottom: 14px;
    padding-left: 20px;
    border-left: 2px solid #342763;
    font-size: 14px;
    line-height: 1.6;
}

#map-contacts-modal .map-modal__address a {
    color: inherit;
    text-decoration: none;
}

#map-contacts-modal .map-modal__address a:hover {
    color: #342763;
}

#map-contacts-modal .map-modal__phone {
    display: inline-block;
    color: #202020;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
}

#map-contacts-modal .map-modal__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

#map-contacts-modal .map-modal__socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #202020;
    font-size: 13px;
    text-decoration: none;
}

#map-contacts-modal .map-modal__socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

#map-contacts-modal .map-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

#map-contacts-modal .map-modal__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #342763;
    border-radius: 4px;
    background: #342763;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
}

#map-contacts-modal .map-modal__button--outline {
    background: #fff;
    color: #342763;
}

#map-contacts-modal .map-modal__button:hover {
    background: #493a80;
    color: #fff;
}

@media (max-width: 600px) {
    #map-contacts-modal .map-modal__window {
        padding: 32px 24px;
    }

    #map-contacts-modal .map-modal__title {
        font-size: 24px;
    }

    #map-contacts-modal .map-modal__actions {
        grid-template-columns: 1fr;
    }
}

header.header img.header__icon {
    width: 18px;
    height: 18px;
}

div#new-design section.hero {
    background: #555;
    color: #fff;
}

div#new-design div.hero__slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 532px;
    padding: 85px 0;
    overflow: hidden;
}

div#new-design img.hero__image {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
}

div#new-design div.hero__slide::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #12131a99, #12131a33);
}

div#new-design div.hero__content {
    position: relative;
    z-index: 1;
}

div#new-design .hero__title {
    max-width: 840px;
    font-size: 56px;
    line-height: 1.08;
    color: #fff;
}

div#new-design div.hero__actions {
    display: flex;
    gap: 16px;
    margin-top: 38px;
}

div#new-design div.hero__actions .button {
    min-width: 280px;
    min-height: 60px;
}

div#new-design div.hero__navigation {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 24px;
    background: #8d8e94;
}

div#new-design button.hero__previous,
div#new-design button.hero__next {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 48%;
    min-height: 42px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    text-align: left;
}

div#new-design button.hero__next {
    text-align: right;
}

div#new-design span.hero__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

div#new-design p.hero__offer {
    display: none;
}

div#new-design div.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 42px 28px 54px;
    gap: 45px;
}

div#new-design div.benefits__item {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: start;
    gap: 16px;
}

div#new-design img.benefits__icon {
    width: 42px;
    height: 42px;
}

div#new-design p.benefits__title {
    margin: 10px 0 16px;
    font-size: 14px;
}

div#new-design p.benefits__text {
    max-width: 220px;
    color: #555;
    font-size: 11px;
    line-height: 1.6;
}

div#new-design div.directions__heading {
    padding-top: 42px;
    padding-bottom: 50px;
}

div#new-design p.directions__subtitle {
    margin-top: 7px;
    font-size: 32px;
    line-height: 1.4;
}

div#new-design div.directions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}
section.video {
    position: relative;
    width: 100%;
    height: 565px;
    overflow: hidden;
}

section.video video.video__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

@media (max-width: 600px) {
    section.video {
        height: 330px;
    }
}
div#new-design a.direction {
    display: block;
}

div#new-design img.direction__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

div#new-design div.direction__body {
    padding: 42px 22% 40px;
}

div#new-design p.direction__title {
    margin-bottom: 16px;
    font-size: 22px;
    white-space: nowrap;
}

div#new-design p.direction__text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

div#new-design span.direction__arrow {
    display: inline-block;
    margin-top: 18px;
    font-size: 22px;
    transition: transform .2s;
}

div#new-design a.direction:hover span.direction__arrow {
    transform: translateX(8px);
}

div#new-design section.features {
    display: flex;
    min-height: 344px;
    background: #555;
    color: #fff;
    overflow: hidden;
}

div#new-design div.features__item {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transition: flex .6s ease;
    min-height: 950px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.features__item:not(.features__item--active) .features__content{
    opacity: 0;
}
div#new-design div.features__item--active {
    flex: 2;
}

div#new-design img.features__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div#new-design div.features__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #17171f66;
}

div#new-design div.features__content {
    z-index: 1;
    width: 590px;
    max-width: 100%;
    padding: 52px 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
}
.features__img {
    position: absolute;
    right: 0;
    bottom: 10px;
    max-width: 343px;
}
div#new-design div.features__item--active div.features__content {
    opacity: 1;
    visibility: visible;
}


div#new-design h2.features__title {
    margin-bottom: 22px;
    font-size: 56px;
    line-height: 1.2;
    color: #fff;
}
.features__title span{
    display: block;
    font-size: 160px;
}
div#new-design p.features__text {
    margin-bottom: 32px;
    font-size: 44px;
}

div#new-design a.features__button {
    min-height: 44px;
    padding: 12px 28px;
    font-size: 12px;
    display: none;
}
body.popup-open{
    overflow: unset;
}
.footer-b{
    background: #050505;
    margin-top: 40px;
}
body .maxwidth-theme{
    max-width: 1600px !important;
}
div#new-design button.features__toggle {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
}

div#new-design span.features__label {
    display: block;
    writing-mode: vertical-rl;
    margin: auto;
    font-size: 20px;
}

div#new-design div.features__item--active button.features__toggle {
    display: none;
}

div#new-design section.projects {
    padding: 88px 0 78px;
}

div#new-design div.projects__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 46px;
    margin-bottom: 30px;
}

div#new-design div.projects__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

div#new-design button.projects__tab {
    padding: 14px 20px;
    border: 1px solid #777;
    border-radius: 4px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
}

div#new-design button.projects__tab--active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

div#new-design a.projects__all {
    flex-shrink: 0;
    font-size: 12px;
}

div#new-design a.projects__all::after {
    content: "→";
    margin-left: 18px;
}

div#new-design div.projects__panel {
    display: none;
}

div#new-design div.projects__panel--active {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 64px;
    column-gap: 1px;
}

div#new-design img.project__image {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
}

div#new-design p.project__title {
    margin: 22px 22px 5px;
    font-size: 22px;
}

div#new-design p.project__place {
    margin: 0 22px;
    color: var(--muted);
    font-size: 12px;
}

div#new-design a.project:hover p.project__title {
    color: var(--accent);
}

div#new-design section.video {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 565px;
    padding: 60px 0 40px;
    background: #1b1921;
    color: #fff;
}

div#new-design img.video__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
}

div#new-design h2.video__title {
    position: absolute;
    top: 60px;
}

div#new-design div.video__placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 300px;
    color: #ffffff99;
    font-size: 14px;
}

div#new-design span.video__symbol {
    font-size: 48px;
    color: #fff;
}

div#new-design div.video__line {
    position: relative;
    height: 1px;
    margin-top: 40px;
    background: #ffffff50;
}

div#new-design div.services__heading {
    padding-top: 88px;
    padding-bottom: 78px;
}

div#new-design div.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
}

div#new-design a.service {
    position: relative;
    display: block;
    min-height: 430px;
    padding: 44px 26px;
    overflow: hidden;
    color: #fff;
}

div#new-design img.service__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div#new-design a.service::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(#17171f88, #17171f11);
}

div#new-design p.service__title,
div#new-design p.service__text {
    position: relative;
    z-index: 1;
}

div#new-design p.service__title {
    margin-bottom: 6px;
    font-size: 24px;
}

div#new-design p.service__text {
    font-size: 12px;
}

footer.footer {
    display: grid;
    grid-template-columns: 1fr 2.3fr 1fr;
    gap: 50px;
    padding: 36px 30px 28px;
    background: #050505;
    color: #999;
    font-size: 11px;
    line-height: 1.7;
}

footer.footer a.logo {
    color: #fff;
}

footer.footer p.footer__copyright {
    max-width: 180px;
    margin-top: 70px;
}

footer.footer a.footer__policy {
    display: block;
    max-width: 190px;
    margin-top: 24px;
}

footer.footer div.footer__contacts p {
    margin-bottom: 8px;
}

footer.footer nav.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    margin-top: 40px;
}

footer.footer ul.footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer.footer ul.footer__list li {
    margin-bottom: 6px;
    padding-left: 0;
}

footer.footer a:hover {
    color: #fff;
}

footer.footer div.footer__actions {
    display: flex;
    gap: 12px;
}

footer.footer .footer__button {
    min-height: 30px;
    padding: 6px 16px;
    font-size: 10px;
    white-space: nowrap;
}

footer.footer div.footer__socials {
    display: flex;
    gap: 10px;
    margin: 28px 0;
}

footer.footer a.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #555;
    color: #fff;
    font-size: 10px;
}

footer.footer p.footer__note {
    margin-bottom: 16px;
}

footer.footer a.footer__map {
    display: block;
    margin-top: 50px;
}
header.header button.header__menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

header.header button.header__menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #342763;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.content-md > .right_block.narrow_Y{
    width: 100% !important;
}

@media (max-width: 1000px) {
    header.header button.header__menu {
        display: flex;
    }
}

header.header button.header__menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header.header button.header__menu.active span:nth-child(2) {
    opacity: 0;
}

header.header button.header__menu.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1600px) {
    div#new-design div.container {
        width: min(1440px, calc(100% - 120px));
    }

    header.header {
        min-height: 80px;
        gap: 45px;
    }

    header.header nav.header__nav {
        gap: 26px;
        font-size: 15px;
    }

    header.header a.header__phone {
        font-size: 16px;
    }

    div#new-design div.hero__slide {
        min-height: 690px;
    }

    div#new-design .hero__title {
        max-width: 1000px;
        font-size: 62px;
    }

}

@media (max-width: 1250px) {
    header.header {
        gap: 20px;
        padding: 12px 24px;
    }

    header.header nav.header__nav {
        gap: 12px;
        font-size: 11px;
    }

    header.header div.header__contacts {
        gap: 10px;
    }

    header.header button.header__callback {
        padding: 7px 12px;
    }

    div#new-design div.benefits {
        gap: 24px;
    }

    div#new-design div.benefits__item {
        grid-template-columns: 34px 1fr;
        gap: 10px;
    }

    div#new-design div.direction__body {
        padding: 30px 28px;
    }

    div#new-design p.direction__title,
    div#new-design p.project__title {
        font-size: 19px;
    }

    div#new-design div.features__content {
        width: 490px;
    }

    footer.footer {
        gap: 30px;
        grid-template-columns: 1fr 2fr 1.2fr;
    }

    footer.footer div.footer__actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 1000px) {
    div#new-design div.container {
        width: calc(100% - 48px);
    }

    header.header {
        min-height: 72px;
    }

    header.header div.header__contacts {
        margin-left: auto;
    }

    header.header nav.header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px 24px;
        background: #fff;
        box-shadow: 0 12px 14px #00000012;
        font-size: 16px;
    }

    header.header nav.header__nav--open {
        display: flex;
        flex-direction: column;
    }

    header.header a.header__link {
        padding: 12px 0;
    }

    header.header a.header__link--active {
        border: 0;
    }

    div#new-design div.hero__slide {
        min-height: 490px;
        padding: 70px 0;
    }

    div#new-design .hero__title {
        max-width: 700px;
        font-size: 48px;
    }

    div#new-design div.hero__actions .button {
        min-width: 230px;
    }

    div#new-design div.benefits {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 40px 24px;
    }

    div#new-design p.benefits__text {
        max-width: 300px;
        font-size: 13px;
    }

    div#new-design p.benefits__title {
        margin-top: 4px;
        font-size: 16px;
    }

    div#new-design h2.section-title,
    div#new-design p.directions__subtitle {
        font-size: 30px;
    }

    div#new-design div.directions__heading {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    div#new-design div.directions__grid {
        grid-template-columns: 1fr 1fr;
    }

    div#new-design div.direction__body {
        padding: 28px 24px 34px;
    }

    div#new-design p.direction__text {
        max-width: 240px;
    }

    div#new-design p.direction__title {
        font-size: 23px;
    }

    div#new-design div.features__item:first-child div.features__content {
        margin-left: 0;
    }

    div#new-design div.features__item--active {
        flex: 5;
    }

    div#new-design div.features__content {
        padding: 40px 24px;
    }

    div#new-design h2.features__title {
        font-size: 30px;
    }

    div#new-design section.projects {
        padding: 60px 0;
    }

    div#new-design div.projects__controls {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 30px;
    }

    div#new-design div.projects__panel--active {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }

    div#new-design img.project__image {
        aspect-ratio: 1.4;
    }

    div#new-design section.video {
        min-height: 440px;
        padding: 40px 0 30px;
    }

    div#new-design h2.video__title {
        top: 40px;
    }

    div#new-design div.video__placeholder {
        min-height: 240px;
    }

    div#new-design div.services__heading {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    div#new-design a.service {
        min-height: 330px;
        padding: 28px 24px;
    }

    div#new-design p.service__title {
        font-size: 22px;
    }

    footer.footer {
        grid-template-columns: 1fr 2fr;
        padding: 36px 24px;
    }

    footer.footer div.footer__aside {
        grid-column: 2;
    }

    footer.footer p.footer__copyright {
        margin-top: 36px;
    }

    footer.footer a.footer__map {
        margin-top: 24px;
    }
}
@media(max-width: 1700px){
    .features__title span {
        display: block;
        font-size: 130px;
    }
    div#new-design h2.features__title {
        margin-bottom: 22px;
        font-size: 46px;
        line-height: 1.1;
        color: #fff;
    }
    .features__img {
        position: absolute;
        right: 0;
        bottom: 10px;
        max-width: 300px;
    }
}
@media (max-width: 600px) {
    div#new-design div.container {
        width: calc(100% - 40px);
    }

    header.header {
        gap: 14px;
        padding: 12px 20px;
    }

    header.header a.logo,
    footer.footer a.logo {
        width: 78px;
    }

    header.header span.logo__name,
    footer.footer span.logo__name {
        font-size: 34px;
    }

    header.header span.logo__caption,
    footer.footer span.logo__caption {
        font-size: 6px;
        letter-spacing: 1px;
    }

    header.header a.header__phone {
        font-size: 12px;
    }

    header.header button.header__callback {
        display: none;
    }

    header.header nav.header__nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    div#new-design div.hero__slide {
        min-height: 520px;
        padding: 70px 0 54px;
        align-items: flex-start;
    }

    div#new-design .hero__title {
        font-size: clamp(30px, 7.9vw, 46px);
        line-height: 1.13;
    }

    div#new-design div.hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 32px;
    }

    div#new-design div.hero__actions .button {
        width: min(100%, 300px);
        min-width: 0;
        min-height: 52px;
    }

    div#new-design div.hero__navigation {
        gap: 24px;
        padding: 0 20px;
    }

    div#new-design button.hero__previous,
    div#new-design button.hero__next {
        gap: 8px;
        min-height: 56px;
        font-size: 10px;
    }

    div#new-design div.benefits {
        gap: 26px 20px;
        padding: 34px 20px;
    }

    div#new-design div.benefits__item {
        display: block;
    }

    div#new-design img.benefits__icon {
        width: 34px;
        height: 34px;
        margin-bottom: 14px;
    }

    div#new-design p.benefits__title {
        margin-bottom: 10px;
        font-size: 14px;
    }

    div#new-design p.benefits__text {
        font-size: 11px;
    }

    div#new-design h2.section-title,
    div#new-design p.directions__subtitle {
        font-size: 25px;
    }

    div#new-design div.directions__heading {
        padding-top: 28px;
        padding-bottom: 32px;
    }

    div#new-design p.directions__subtitle {
        margin-top: 12px;
        font-size: 20px;
    }

    div#new-design div.direction__body {
        padding: 22px 20px 26px;
    }

    div#new-design p.direction__title {
        min-height: 45px;
        margin-bottom: 10px;
        font-size: 18px;
        line-height: 1.25;
        white-space: normal;
    }

    div#new-design p.direction__text {
        font-size: 12px;
    }

    div#new-design span.direction__arrow {
        margin-top: 10px;
    }

    div#new-design section.features {
        display: block;
    }

    div#new-design div.features__item {
        min-height: 74px;
        transition: none;
    }
    div#new-design h2.features__title {
        margin-bottom: 22px;
        font-size: 26px;
        line-height: 1.1;
        color: #fff;
    }
    .features__title span {
        display: block;
        font-size: 60px;
    }
    div#new-design p.features__text {
        margin-bottom: 32px;
        font-size: 24px;
    }
    .features__img{
        position: unset;
    }
    div#new-design div.features__content {
        display: none;
        width: 100%;
        padding: 36px 20px;
    }

    div#new-design div.features__item--active div.features__content {
        display: block;
    }

    div#new-design h2.features__title {
        font-size: 28px;
    }

    div#new-design p.features__text {
        max-width: 270px;
    }

    div#new-design button.features__toggle {
        text-align: left;
        padding: 24px 20px;
        border-bottom: 1px solid #ffffff30;
    }

    div#new-design span.features__label {
        writing-mode: initial;
        margin: 0;
        padding-right: 20px;
        font-size: 18px;
    }

    div#new-design button.features__toggle::after {
        position: absolute;
        right: 20px;
        top: 22px;
        content: "+";
        font-size: 22px;
    }

    div#new-design section.projects {
        padding: 46px 0;
    }

    div#new-design div.projects__controls {
        gap: 22px;
        margin-top: 26px;
        margin-bottom: 24px;
    }

    div#new-design div.projects__tabs {
        gap: 10px;
    }

    div#new-design button.projects__tab {
        padding: 11px 12px;
        font-size: 12px;
    }

    div#new-design div.projects__panel--active {
        row-gap: 28px;
    }

    div#new-design img.project__image {
        aspect-ratio: 1.1;
    }

    div#new-design p.project__title {
        margin: 15px 16px 5px;
        overflow-wrap: anywhere;
        font-size: 16px;
        line-height: 1.3;
    }

    div#new-design p.project__place {
        margin: 0 16px;
        font-size: 10px;
    }

    div#new-design section.video {
        min-height: 330px;
        padding: 30px 0;
    }

    div#new-design h2.video__title {
        top: 30px;
    }

    div#new-design div.video__placeholder {
        min-height: 200px;
        font-size: 12px;
    }

    div#new-design div.video__line {
        margin-top: 20px;
    }

    div#new-design div.services__heading {
        padding-top: 46px;
        padding-bottom: 34px;
    }

    div#new-design div.services__grid {
        grid-template-columns: 1fr;
    }

    div#new-design a.service {
        min-height: 290px;
        padding: 28px 20px;
    }

    div#new-design p.service__title {
        max-width: 280px;
        font-size: 23px;
    }

    footer.footer {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 20px;
    }

    footer.footer div.footer__brand {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    footer.footer p.footer__copyright,
    footer.footer a.footer__policy {
        margin: 0;
    }

    footer.footer nav.footer__links {
        gap: 24px;
        margin-top: 26px;
    }

    footer.footer div.footer__aside {
        grid-column: auto;
    }

    footer.footer div.footer__socials {
        margin: 24px 0;
    }

}

@media (prefers-reduced-motion: reduce) {
    header.header *,
    div#new-design *,
    footer.footer *,
    div.popup *,
    header.header *::before,
    div#new-design *::before,
    footer.footer *::before,
    div.popup *::before,
    header.header *::after,
    div#new-design *::after,
    footer.footer *::after,
    div.popup *::after {
        transition: none;
    }
}


