:root {
    --blue: #1a2a39;
    --orange: #ec5a29;
    --blue---700: rgba(26, 42, 57, 0.7);
    --stroke---120: rgba(26, 42, 57, 0.12);
    --white: #fff;
    --bacground: #f6f6f6;
    --font-family: "Inter", sans-serif;
    --second-family: "Golos", sans-serif;
    --third-family: "Nikkyou Sans", sans-serif;
}


* {
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 4px;
    background: var(--orange);
}

*::-webkit-scrollbar-button {
    background: var(--stroke---120);
}

*::-webkit-scrollbar-track {
    border-radius: 5px;
    background: var(--stroke---120);
}

*::-webkit-scrollbar-track-piece {
    background-color: var(--orange);
    border: 1px solid var(--orange);
}

*::-webkit-scrollbar-thumb {
    border-radius: 2px;
    width: 100%;
    background: var(--stroke---120);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--stroke---120) transparent;
}

html {
    font-size: calc(100vw / 192);
}

body {
    position: relative;
    padding: 0 2.7rem;
    font-family: var(--font-family);
    font-size: 1.6rem;
    font-weight: normal;
    color: var(--blue);
    overflow-x: hidden;
}

body._lock {
    overflow-y: hidden;
}

html._lock {
    overflow-y: hidden;
}

main {
    width: 100%;
    overflow: hidden;
}

section {
    width: 100%;
}

h1, h2, h3, h4, h5 {
    margin: 0;
}

a, button, p, ul {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    list-style: none;
    background: transparent;
}

button {
    cursor: pointer;
}

svg {
    transition: fill 0.3s, stroke 0.3s;
}

.container {
    margin: 0 auto 2.5rem auto;
    padding-top: 7.7rem;
    padding-bottom: 6.5rem;
    width: 100%;
    max-width: 156.6rem;
    border-radius: 3rem;
    background: var(--bacground);
}

.row {
    margin: 0 auto;
    width: 100%;
    max-width: 120rem;
}

.btn-orange {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.8rem 1.9rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 90%;
    letter-spacing: 0.01em;
    color: var(--white);
    white-space: nowrap;
    border-radius: 4.3rem;
    background: var(--orange);
    border: .1rem solid var(--orange);
    transition: color .3s, background-color .3s;
}

.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active {
    color: var(--orange);
    background-color: transparent;
}

.page-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 4rem;
    line-height: 100%;
    color: var(--blue);
}

.page-label {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 110%;
    text-transform: uppercase;
    color: var(--orange);
}

/*header*/
header {
    width: 100%;
}

.header-container {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
    border-radius: 0;
}

.header {
    display: flex;
    align-items: center;
    padding: 2rem 0 2.5rem 0;
    width: 100%;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3rem;
    width: 18rem;
}

.header-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.header-place {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-right: 2rem;
    padding: .7rem 1.6rem;
    width: 12.8rem;
    height: 4rem;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 120%;
    color: var(--orange);
    border: 1px solid var(--stroke---120);
    border-radius: 3rem;
}

.header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

.header-menu .menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-menu .menu li {
    width: auto;
}

.header-menu .menu a {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 120%;
    color: var(--blue);
    transition: color .3s;
}

.header-menu .menu a:hover,
.header-menu .menu a:focus,
.header-menu .menu a:active {
    color: var(--orange);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
    margin-right: 3.2rem;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border: 1.40px solid var(--stroke---120);
    border-radius: 100%;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow .3s, border .3s;
}

.header-social-link:hover,
.header-social-link:focus,
.header-social-link:active {
    border-color: var(--orange);
    box-shadow: 0 0 .5rem .1rem var(--orange);
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-right: 2.8rem;
}

.header-contact-link {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue);
    white-space: nowrap;
    transition: color .3s;
}

.header-contact-link:hover,
.header-contact-link:focus,
.header-contact-link:active {
    color: var(--orange);
}

.header-contact-open {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 120%;
    color: var(--blue---700);
}

.header-contact-open br {
    display: none;
}

.header-callback {
    padding: 1.8rem 1.9rem;
}

.header-burger {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -110%;
    z-index: 5;
    padding: 1.4rem .9rem 4.8rem 1.8rem;
    width: 37.5rem;
    max-height: 100%;
    background-color: var(--white);
    overflow-y: auto;
    transition: left .6s;
}

.mobile-menu._open {
    left: 0;
}

.mobile-menu-wrapper {
    padding-right: .9rem;
    height: max-content;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 5.5rem;
    margin-right: auto;
}

.mobile-menu-logo {
    display: block;
    margin-right: auto;
    width: 15.4rem;
}

.mobile-menu-logo img {
    display: block;
    width: 100%;
}

.mobile-menu-phone {
    display: block;
    margin-right: 2.7rem;
    margin-left: 2rem;
    width: 2.4rem;
    height: 2.4rem;
}

.mobile-menu-phone svg {
    fill: var(--blue);
    transition: fill .3s;
}

.mobile-menu-phone:hover svg,
.mobile-menu-phone:focus svg,
.mobile-menu-phone:active svg {
    fill: var(--orange);
}

.mobile-menu-close {
    display: block;
    padding: 0;
    width: 1.9rem;
    height: 1.9rem;
}

.mobile-menu-close svg {
    stroke: var(--blue);
    transition: stroke .3s;
}

.mobile-menu-close:hover svg,
.mobile-menu-close:focus svg,
.mobile-menu-close:active svg {
    stroke: var(--orange);
}

.mobile-menu-block {
    margin-bottom: 6.4rem;
    width: 100%;
}

.mobile-menu-block .menu {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.mobile-menu-block .menu li {
    width: 100%;
}

.mobile-menu-block .menu a {
    display: block;
    padding-bottom: .3rem;
    max-width: 100%;
    width: max-content;
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 2.2rem;
    color: var(--blue);
    border-bottom: .2rem solid transparent;
    transition: border .3s;
}

.mobile-menu-block .menu a:hover,
.mobile-menu-block .menu a:focus,
.mobile-menu-block .menu a:active {
    border-color: var(--orange);
}

.mobile-menu-callback {
    margin: 0 auto 2.7rem auto;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.mobile-menu-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: .14rem solid var(--stroke---120);
    transition: border .3s;
}

.mobile-menu-social-link:hover,
.mobile-menu-social-link:focus,
.mobile-menu-social-link:active {
    border-color: var(--orange);
}

.mobile-menu-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    font-family: "Golos Text", sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--blue);
    transition: color .3s;
}

a.contact-link:hover,
a.contact-link:focus,
a.contact-link:active {
    color: var(--orange);
}

.contact-link-icon {
    display: block;
    width: 2.3rem;
    height: 2.3rem;
}

.contact-link-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/*home*/
.hero-container {
    margin-bottom: 10rem;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
    border-radius: 0;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6.8rem;
    width: 100%;
    border-radius: 3rem;
    background: var(--blue);
}

.hero-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.hero-title {
    margin-bottom: 3rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 4.6rem;
    line-height: 100%;
    text-align: center;
    color: var(--white);
    text-align: center;
}

.hero-text {
    display: block;
    margin-bottom: 4rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.hero-button {
    margin-bottom: 5.6rem;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    display: block;
    width: 100%;
    border-radius: 3rem;
}

.hero-cards {
    position: absolute;
    left: 17.6rem;
    bottom: 5.8rem;
    padding: 2.2rem 2.4rem;
    border-radius: 2rem;
    background-color: var(--white);
}

.hero-card {
    display: flex;
    gap: 1.6rem;
}

.hero-card:not(:last-child) {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: .1rem solid var(--stroke---120);
}

.hero-card-image {
    display: block;
    width: 3.6rem;
    height: 3.6rem;
}

.hero-card-title {
    display: block;
    margin-bottom: .5rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2rem;
    line-height: 120%;
    color: var(--blue);
}

.hero-card-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
}

.about {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.3rem;
    width: 100%;
}

.about-left {
    width: 49%;
}

.about-title {
    margin-bottom: 4.4rem;
    max-width: 50.4rem;
}

.about-image {
    width: 100%;
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3rem;
    object-fit: cover;
}

.about-right {
    width: 51%;
}

.about-label {
    margin-bottom: 1rem;
}

.about-text {
    margin-bottom: 5rem;
    width: 100%;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue---700);
}

.about-cards {
    display: flex;
    padding: 2.2rem 3rem;
    border: 1px solid var(--stroke---120);
    border-radius: 1.6rem;
}

.about-card {
    width: 50%;
}

.about-card:nth-child(odd) {
    padding-right: 1.8rem;
    border-right: .1rem solid var(--stroke---120);
}

.about-card:nth-child(even) {
    padding-left: 3.3rem;
}

.about-card-icon {
    display: block;
    margin-bottom: 2.3rem;
    width: 4rem;
    height: 4rem;
}

.about-card-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.about-card-title {
    margin-bottom: 2.2rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--blue);
}

.about-card-title strong {
    display: block;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: var(--blue);
}

.about-card-title span {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 4rem;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: var(--blue);
}

.about-card-line {
    display: block;
    margin-bottom: 2rem;
    width: 3.6rem;
    height: .1rem;
    background-color: var(--orange);
}

.about-card-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 120%;
    color: var(--blue---700);
}

.works {
    width: 100%;
}

.works-label {
    display: block;
    margin-bottom: 1.5rem;
    text-align: center;
}

.works-text {
    display: block;
    margin-bottom: 5rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    text-align: center;
    color: var(--blue---700);
    text-align: center;
}

.works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

.work {
    padding: 3.2rem;
    border-radius: 1.6rem;
    background: var(--white);
}

.work:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.work:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.work:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.work:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.work:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.work-count {
    display: block;
    margin-bottom: 2rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue---700);
}

.work:nth-child(1) .work-count {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12.8rem;
    line-height: 1;
    color: var(--orange);
}

.work-line {
    display: block;
    margin-bottom: 2rem;
    width: 3.6rem;
    height: .1rem;
    background-color: var(--orange);
}

.work-title {
    display: block;
    margin-bottom: 2rem;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 120%;
    color: var(--blue);
}

.work-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue---700);
}

.services {
    width: 100%;
}

.services-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 5.4rem;
}

.services-left {
    width: 100%;
    max-width: 59.2rem;
}

.services-label {
    margin-bottom: 1.5rem;
}

.services-title {
    margin-bottom: 3rem;
}

.services-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue---700);
}

.services-installment {
    display: flex;
    gap: 2rem;
    padding: 2.3rem 2.7rem;
    width: 38.7rem;
    border-radius: 2rem;
    background: var(--white);
}

.services-installment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
}

.services-installment-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-installment-content {
    width: auto;
}

.services-installment-title {
    display: block;
    margin-bottom: .5rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2rem;
    line-height: 120%;
    color: var(--blue);
}

.services-installment-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 2rem;
}

.service {
    padding-bottom: 1rem;
    width: calc((100% - 4rem) / 3);
    border: 1px solid transparent;
    border-radius: 1.6rem;
    transition: border .3s;
}

.service:hover {
    border: 1px solid var(--stroke---120);
}

.service-image {
    margin-bottom: 3rem;
    width: 100%
}

.service-image img {
    display: block;
    width: 100%;
    height: auto;
}

.services-content {
    padding: 0;
    transition: padding-left .3s;
}

.service:hover .services-content {
    padding: 0 2rem;
}

.service-title {
    display: block;
    margin-bottom: 1.7rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2rem;
    line-height: 120%;
    color: var(--blue);
}

.service-desc {
    display: block;
    margin-bottom: 2rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 120%;
    color: var(--blue---700);
}

.service-line {
    display: block;
    margin-bottom: 2rem;
    width: 3.6rem;
    height: .1rem;
    background-color: var(--orange);
}

.service-price {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2rem;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: var(--blue---700);
}

.steps-container {
    background-color: transparent;
    border: 1px solid var(--stroke---120);
}

.steps {
    width: 100%;
}

.steps-label {
    margin-bottom: 1rem;
    text-align: center;
}

.steps-title {
    margin-bottom: 3rem;
    text-align: center;
}

.steps-desc {
    margin-bottom: 4rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    text-align: center;
    color: var(--blue---700);
}

.steps-grid {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 4rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    width: 100%;
}

.steps-grid > * {
    position: relative;
}

.steps-grid:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: calc((100% + 8rem));
    height: 100%;
    border: 1px solid var(--stroke---120);
    border-radius: 2rem;
    transform: translateX(-50%);
}

.step {
    padding-top: 3.9rem;
    padding-left: 3rem;
    width: 100%;
    border-left: .1rem solid var(--stroke---120);
}

.step-decor {
    position: absolute;
    top: 0;
    left: -.9rem;
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 2.4rem;
    background: var(--orange);
}

.step-decor:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    background-color: rgba(236, 90, 41, 0.2);
    transform: translate(-50%, -50%);
}

.step-count {
    display: block;
    margin-bottom: 1.6rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.7rem;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: var(--blue---700);
}

.step-title {
    margin-bottom: 2rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2rem;
    line-height: 120%;
    color: var(--blue);
    transition: color .3s;
}

.step:hover .step-title,
.step:focus .step-title,
.step:active .step-title {
    color: var(--orange);
}

.step-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 120%;
    color: var(--blue---700);
}

.steps-button {
    margin: 0 auto;
}

.projects {
    width: 100%;
}

.projects-label {
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.projects-title {
    display: block;
    margin-bottom: 3rem;
    text-align: center;
}

.projects-text {
    margin-bottom: 4rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue---700);
    text-align: center;
}

.projects-types {
    margin-bottom: 3rem;
    width: 100%;
}

.projects-types-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.projects-type {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 1rem 2rem;
    width: calc((100% - 6rem) / 4);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue);
    text-align: start;
    background-color: var(--white);
    border-radius: 1rem;
    border: .1rem solid var(--white);
    box-shadow: 0 0 0 0 transparent;
    transition: border .3s, box-shadow .3s;
}

.projects-type:hover,
.projects-type:focus,
.projects-type:active {
    box-shadow: 0 .4rem 1.4rem 0 rgba(0, 0, 0, 0.15);
    border-color: var(--orange);
}

.projects-type-icon {
    display: block;
    width: 4rem;
    height: 4rem;
}

.projects-type-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.projects-sliders {
    position: relative;
    padding: 1rem 1.4rem;
    width: 100%;
    overflow: hidden;
    border-radius: 2rem;
    background-color: var(--white);
}

.projects-sliders:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 1.4rem;
    height: 100%;
    border-radius: 2rem 0 0 2rem;
    background-color: var(--white);
}

.projects-sliders:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: block;
    width: 1.4rem;
    height: 100%;
    border-radius: 0 2rem 2rem 0;
    background-color: var(--white);
}

.project {
    position: relative;
}

.project-slide {
    display: flex;
    gap: 1.6rem;
}

.project {
    width: 66.66%;
    overflow: hidden;
}

.project-info {
    padding-bottom: 12rem;
    width: 33.33%;
}

.project-gallery {
    height: 100%;
}

.project-gallery img {
    display: block;
    height: 100%;
    object-fit: cover;
    border-radius: 1.6rem;
}

/* Стили для контролов */
.project-control .swiper-slide {
    width: auto;
    cursor: pointer;
    border: .1rem solid transparent;
    transition: opacity 0.3s, border .3s;
}

.project-control .swiper-slide img {
    width: 9.8rem;
    height: 6.4rem;
    object-fit: cover;
    border-radius: .8rem;
}

/* Активный слайд в контролах */
.project-control .swiper-slide-thumb-active {
    opacity: 1;
    border: .1rem solid var(--orange);
}

.project-control-fixed {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    z-index: 1;
    width: 42.2rem;
}

.project-gallery-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--white);
    border-radius: 50%;
}

.project-gallery-prev {
    left: 1rem;
}

.project-gallery-next {
    right: 1rem;
}

.project-gallery-slide img {
    display: block;
    width: 100%;
    border-radius: 1.6rem;
    pointer-events: none;
}

.project-control {
    overflow: hidden;
}

.project-control-slide {
    padding: .3rem;
    border-radius: 0.8rem;
    background-color: var(--white);
}

.project-control .project-control-slide img {
    display: block;
    width: 100%;
    border-radius: 0.8rem;
}

.project-info-title {
    margin-top: 3rem;
    margin-bottom: 1.4rem;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 120%;
    color: var(--blue);
}

.project-info-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
}

.project-info-label img {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
}

.project-info-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue---700);
}

.project-fixed {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    width: calc(33.33% - 1.6rem);
}

.project-fixed-callback {
    margin: 0 auto 2rem auto;
}

.project-fixed-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.project-fixed-button {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

.project-fixed-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.11);
}

.project-fixed-button-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 120%;
    text-align: right;
    color: var(--blue---700);
}

.project-fixed-prev .project-fixed-button-text {
    text-align: start;
}

.project-fixed-next .project-fixed-button-text {
    text-align: end;
}

.project-fixed-pagination {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
}

.faq-container {
    background-color: transparent;
    border: 1px solid var(--stroke---120);
}

.faq {
    width: 100%;
}

.faq-label {
    display: block;
    margin-bottom: 1rem;
}

.faq-title {
    margin-bottom: 5rem;
}

.faq-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}

.faq-block {
    width: calc((100% - 2rem) / 2);
    height: max-content;
    border-radius: 1rem;
    background: var(--bacground);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.8rem 1.4rem;
    width: 100%;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2rem;
    line-height: 100%;
    color: var(--blue);
    text-align: start;
}

.faq-question-cross {
    transition: transform .3s;
}

.faq-question._active .faq-question-cross {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.4rem 1.8rem 1.4rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 120%;
    color: var(--blue---700);
}

.form-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--blue);
}

.form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-left {
    width: 100%;
    max-width: 45rem;
}

.form-title {
    margin-bottom: 2.2rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 3rem;
    line-height: 100%;
    color: var(--white);
}

.form-desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.7);
}

.form-right {
    width: 100%;
    max-width: 59rem;
}

.form-right .wpcf7 {
    width: 100%;
}

.form-right form {
    width: 100%;
}

.form-right form br {
    display: none;
}

.form-top {
    margin-bottom: 3rem;
    width: 100%;
}

.form-right form p {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.form-right form label {
    display: block;
    width: 18.3rem;
    height: 4.6rem;
}

.form-right form label input {
    display: flex;
    align-items: center;
    padding: 1.6rem;
    width: 100%;
    height: 4.6rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.4);
    background: var(--blue);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5rem;
    transition: border .3s;
}

.form-right form label input:hover,
.form-right form label input:focus {
    border-color: var(--orange);
    outline: none;
}

.form-bottom {
    width: 100%;
}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7-submit {
    display: flex;
    align-items: center;
    width: 18.3rem;
    height: 4.6rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 90%;
    letter-spacing: 0.01em;
    color: var(--white);
    border-radius: 7rem;
    background: var(--orange);
    border: .1rem solid var(--orange);
    transition: color .3s, background-color .3s;
    cursor: pointer;
}

.wpcf7-submit:hover,
.wpcf7-submit:focus,
.wpcf7-submit:active {
    color: var(--orange);
    background-color: transparent;
}

.form .wpcf7-submit {
    width: 18.3rem;
}

input[name="acceptance"] {
    display: none !important;
}

.agree-decor {
    flex-shrink: 0;
    display: block;
    margin-right: 1.1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 3rem;
    background-color: var(--white);
    transition: background-color .3s;
}

input:checked + .agree-decor {
    background-color: var(--orange);
}

.wpcf7-list-item-label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--white);
}

form .form-bottom label {
    display: flex;
    align-items: center;
    width: 100%;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-form-control {
    width: 100%;
}

.wpcf7-list-item {
    margin: 0;
    width: 100%;
}

.wpcf7-not-valid-tip {
    display: block;
    margin-top: .5rem;
    color: var(--orange);
    font-size: 1.2rem;
}

.wpcf7 form .wpcf7-response-output {
    margin: 1rem 0 0 0;
    padding: .5rem;
    font-size: 1.2rem;
    color: var(--orange);
    border: .2rem solid var(--orange) !important;
}

.contacts {
    width: 100%;
}

.contacts-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4.8rem;
    width: 100%;
}

.contacts-left {
    width: 100%;
    max-width: 64rem;
}

.contacts-label {
    margin-bottom: 2rem;
}

.contacts-wrapper {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact {
    padding: 2.3rem 1.3rem 1rem 1.3rem;
    width: calc((100% - 2rem) / 4);
    background-color: var(--white);
    border-radius: 1.6rem;
}

.contact-block {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.contact-info {
    width: auto;
}

.contact-name {
    margin-bottom: .5rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 110%;
    text-transform: uppercase;
    color: var(--blue---700);
}

.contact-link {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 120%;
    color: var(--blue);
    transition: color .3s;
}

a.contact-link:hover,
a.contact-link:focus,
a.contact-link:active {
    color: var(--orange);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.8rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .3rem 1.9rem;
    height: 4rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 90%;
    letter-spacing: 0.01em;
    color: var(--blue---700);
    border: 1px solid var(--stroke---120);
    border-radius: 7.5rem;
    transition: color .3s;
}

.contact-social-link:hover,
.contact-social-link:focus,
.contact-social-link:active {
    color: var(--orange);
}

.contact-social-link svg {
    fill: #1A2A39;
    transition: fill .3s;
}

.contact-social-link:hover svg,
.contact-social-link:focus svg,
.contact-social-link:active svg {
    fill: var(--orange);
}

.contacts-advantages {
    position: relative;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    padding: 1.4rem;
    border: 1px solid var(--stroke---120);
    border-radius: 1.6rem;
}

.contacts-advantages:before {
    content: '';
    position: absolute;
    top: 1.4rem;
    left: 33.33%;
    display: block;
    width: .1rem;
    height: calc(100% - 2.8rem);
    background-color: var(--stroke---120);
}

.contacts-advantages:after {
    content: '';
    position: absolute;
    top: 1.4rem;
    right: 33.33%;
    display: block;
    width: .1rem;
    height: calc(100% - 2.8rem);
    background-color: var(--stroke---120);
}

.contacts-advantage {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    width: 33%;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 100%;
    color: var(--blue);
}

.contacts-advantage-icon {
    flex-shrink: 0;
    display: block;
    width: 2.4rem;
    height: 2.4rem;
}

.contacts-advantage-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.contacts-advantage-text {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 100%;
    color: var(--blue);
}

/*footer*/
.footer-container {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    background-color: var(--blue);
}

.footer {
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.footer-block {
    width: 100%;
    max-width: 28rem;
}

.footer-logo {
    display: block;
    margin-bottom: 1.5rem;
    width: 19.2rem;
}

.footer-logo img {
    display: block;
    width: 100%;
}

.footer-desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.6);
}

.footer-menu {
    width: auto;
    min-width: 14.1rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.6);
}

.footer-menu-title {
    display: block;
    margin-bottom: 2.4rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 110%;
    text-transform: uppercase;
    color: var(--white);
}

.footer-menu .menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-menu .menu li {
    width: auto;
}

.footer-menu .menu a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.6);
    transition: color .3s;
}

.footer-menu .menu a:hover,
.footer-menu .menu a:focus,
.footer-menu .menu a:active {
    color: var(--orange);
}

.footer-consultation {
    position: relative;
    width: 19.2rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.6);
}

.footer-consultation > * {
    position: relative;
    z-index: 1;
}

.footer-consultation:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: calc(100% + 3rem);
    height: calc(100% + 4rem);
    transform: translate(-50%, -50%);
    background: #233244;
    border-radius: 1.6rem;
}

.footer-consultation-text {
    display: block;
    margin-bottom: 2.6rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.6);
}

.footer-button {
    padding: 1.2rem 1.9rem;
    font-size: 1.3rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 3.7rem 0 0 0;
    padding: 1.5rem 0;
    border-top: .1rem solid #233244;
}

.footer-copyright {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 167%;
    color: rgba(255, 255, 255, 0.6);
}

.footer-develop {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.6);
    transition: color .3s;
}

.footer-develop span {
    color: var(--orange);
}

.footer-develop:hover,
.footer-develop:focus,
.footer-develop:active {
    color: var(--orange);
}

.footer-item {
    margin-top: 1.8rem;
}

/*modal*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    pointer-events: none;
}

.modal.in {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-wrapper {
    position: relative;
    padding: 2.8rem 1rem 4rem 1rem;
    width: 96vw;
    max-width: 75.1rem;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: 1.6rem;
    overflow-y: auto;
}

.modal-block {
    height: max-content;
}

.modal-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.7rem;
    width: 3.4rem;
    height: 3.4rem;
    background: rgba(236, 90, 41, 0.1);
}

.modal-close svg {
    stroke: var(--orange);
}

.modal-label {
    display: block;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-title {
    display: block;
    margin-bottom: 2rem;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 100%;
    text-align: center;
    color: var(--blue);
}

.modal-text {
    display: block;
    margin-bottom: 3rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
    text-align: center;
}

.modal-body {
    width: 100%;
}

.modal-body form {
    width: 100%;
}

.modal-body form br {
    display: none;
}

.form-consultation-top {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.form-consultation-top p {
    display: block;
    width: 100%;
}

.form-consultation-top label {
    display: block;
    width: 100%;
}

.form-consultation-top label:not(:last-child) {
    margin-bottom: 2rem;
}

.form-consultation-top label span {
    display: block;
    width: 100%;
}

.form-consultation-top input {
    padding: 2rem;
    width: 100%;
    height: 5rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
    border: 1px solid var(--stroke---120);
    border-radius: 5.7rem;
    transition: border .3s;
}

.form-consultation-top input:hover,
.form-consultation-top input:focus {
    border-color: var(--orange);
    outline: none;
}

.form-consultation-top textarea {
    padding: 2rem;
    width: 100%;
    height: 19rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
    border: 1px solid var(--stroke---120);
    border-radius: 2.4rem;
    resize: none;
    transition: border .3s;
}

.form-consultation-top textarea:hover,
.form-consultation-top textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.similar select,
.consultation select {
    display: none;
}

.form-consultation-bottom {
    margin-top: 2rem;
    width: 100%;
}

.form-consultation-bottom p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.form-consultation-bottom .wpcf7-list-item-label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 120%;
    color: var(--blue---700);
}

.form-consultation-bottom .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.form-consultation-bottom label {
    display: flex;
    align-items: center;
}

input[name="acceptance-fly"],
input[name="acceptance-fly-2"] {
    display: none !important;
}

.form-consultation-bottom .wpcf7-submit {
    max-width: 32.3rem;
}

.form-consultation-bottom .agree-decor {
    border: 1px solid var(--blue);
}

.jq-selectbox {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
    height: 5rem;
    border: 1px solid var(--stroke---120);
    border-radius: 5.7rem;
    transition: border .3s;
}

.jq-selectbox:hover, .jq-selectbox.opened {
    border-color: var(--orange);
}

.jq-selectbox__select {
    width: 100%;
}

.jq-selectbox__select-text {
    position: relative;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
    cursor: pointer;
}

.jq-selectbox__select-text:before {
    content: url("/wp-content/themes/allheights/assets/image/arrow.svg");
    position: absolute;
    top: 0;
    right: 0;
    transition: transform .3s;
}

.jq-selectbox.opened .jq-selectbox__select-text:before {
    transform: rotate(180deg);
}

.jq-selectbox__dropdown {
    position: absolute;
    top: 100% !important;
    left: 0;
    z-index: 1;
    padding: 1rem 2rem;
    width: 100%;
    height: max-content !important;
    background-color: var(--white);;
    border: 1px solid var(--stroke---120);
    border-radius: 2rem;
}

.jq-selectbox__dropdown ul {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 120%;
    color: var(--blue---700);
    background-color: var(--white)
}

.jq-selectbox__dropdown li:not(:last-child) {
    margin-bottom: .5rem;
}

.jq-selectbox__dropdown li {
    transition: color .3s;
    cursor: pointer;
}

.jq-selectbox__dropdown li:hover {
    color: var(--orange);
}

/*info*/
.info {
    width: 100%;
}

.info-title {
    margin-bottom: 2rem;
}

.info a {
    color: var(--orange);
    transition: color .3s;
}

.info a:hover,
.info a:focus,
.info a:active {
    color: var(--blue);
}

.info ul {
    padding-left: 2rem;
    list-style: disc;
}

/*cookie*/
.jlplg-lovecoding-cookie-info-container {
    left: 0;
    border-top: 1px solid var(--stroke---120);
}

#cookie-form{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
}

.jlplg-lovecoding-buttons {
    margin-bottom: 0;
}

@media (max-width: 1600px) {
    html {
        font-size: calc(100vw / 160);
    }
}

@media (max-width: 1400px) {
    html {
        font-size: calc(100vw / 140);
    }

    /*header*/
    .header-place {
        display: none !important;
    }

    .header-callback {
        font-size: 1.4rem;
    }

    .header-logo {
        width: 14rem;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: calc(100vw / 120);
    }

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .page-title {
        font-size: 3.6rem;
    }

    /*header*/
    .header-container {
        padding-left: 0;
        padding-right: 0;
    }

    .header-logo {
        margin-right: auto;
    }

    .header-menu {
        display: none;
    }

    .header-burger {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-left: 3rem;
        width: 3.6rem;
        height: 2rem;
        cursor: pointer;
    }

    .header-burger span {
        display: block;
        width: 100%;
        height: .3rem;
        background-color: var(--blue);
        transition: background-color .3s;
    }

    .header-burger:hover span,
    .header-burger:focus span,
    .header-burger:active span {
        background-color: var(--orange);
    }

    /*home*/
    .hero-container {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-cards {
        left: 7.6rem;
    }

    .about-left {
        width: 41%;
    }

    .about-right {
        width: 57%;
    }

    .steps-grid {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .form-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /*footer*/
    .footer-item {
        margin-right: 2rem;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: calc(100vw / 102.4);
    }

    /*home*/
    .hero-title {
        font-size: 4rem;
    }

    .hero-cards {
        left: 3rem;
        bottom: 3rem;
    }

    .services-left {
        max-width: 42.2rem;
    }

    .steps-grid {
        flex-wrap: wrap;
    }

    .step {
        width: calc((100% - 5rem) / 3);
    }

    .project {
        width: 50%;
    }

    .project-info {
        width: 50%;
    }

    .project-fixed {
        width: calc(50% - 1.6rem);
    }

    .project-control-fixed {
        width: 32.2rem;
    }

    .project-control .swiper-slide img {
        height: 3.4rem;
    }

    .project-gallery-button {
        top: 42%;
    }

    .form-right {
        max-width: 100%;
    }

    .form-right form label {
        width: 33%;
    }

    .form-right .wpcf7-submit {
        width: 33%;
    }

    .form-right .wpcf7-list-item label {
        width: 100%;
    }

    .form-desc {
        max-width: 33rem;
    }

    .contacts-wrapper {
        flex-wrap: wrap;
    }

    .contact {
        width: calc((100% - 2rem) / 2);
    }

    .projects-types-wrapper {
        gap: 0;
    }

    .services-grid {
        flex-wrap: nowrap;
        gap: 0;
    }

    /*footer*/
    .footer-top {
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 4rem;
    }

    .footer-block {
        order: 1;
    }

    .footer-menu:nth-child(2) {
        order: 3;
    }

    .footer-menu:nth-child(3) {
        order: 4;
    }

    .footer-menu:nth-child(4) {
        order: 5;
    }

    .footer-consultation {
        order: 2;
    }

    .footer-menu {
        width: 28%;
    }

    .footer-consultation {
        order: 2;
        width: 34%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: calc(100vw / 99.2);
    }

    /*home*/
    .faq-block {
        width: 100%;
    }

    .hero-image {
        height: 32rem;
    }

    .hero-image img {
        height: 100%;
        object-fit: cover;
    }

    .about-image {
        height: 59%;
    }

    .about-image img {
        border-radius: 1.6rem;
    }
}

@media (max-width: 850px) {
    html {
        font-size: calc(100vw / 85);
    }

    .page-title {
        font-size: 3rem;
    }

    /*home*/
    .about {
        flex-wrap: wrap;
    }

    .about-left {
        width: 100%;
    }

    .about-right {
        width: 100%;
    }

    .works-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .work {
        width: calc((100% - 2rem) / 2);
    }

    .services-left {
        max-width: 31.2rem;
    }

    .step {
        width: calc((100% - 2rem) / 2);
    }

    .service:hover .services-content {
        padding: 0;
    }

    .service:hover {
        border-color: transparent;
    }
}

@media (max-width: 768px) {
    html {
        font-size: calc(100vw / 76.8);
    }

    .container {
        padding: 4rem 1rem 1rem 1rem;
        border-radius: 2rem;
    }

    /*header*/
    .header-container {
        padding: 0;
    }

    /*home*/
    .hero-label {
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        margin-bottom: 6rem;
        padding: 0;
    }

    .about-image {
        height: auto;
    }

    .services-installment {
        width: 35.7rem;
    }

    .project-slide {
        flex-direction: column;
        gap: 3.6rem;
    }

    .project {
        width: 100%;
    }

    .project-info {
        padding-bottom: 2rem;
        width: 100%;
    }

    .project-fixed {
        position: static;
    }
}

@media (max-width: 650px) {
    html {
        font-size: calc(100vw / 65);
    }

    /*header*/
    .header-contacts {
        display: none;
    }

    .header-callback {
        display: none;
    }

    .header-social {
        margin-right: 0;
    }

    /*hero*/
    .hero-text {
        padding: 0 1rem;
    }

    .hero-text br {
        display: none;
    }

    .step {
        width: calc((100% - 3rem) / 2);
    }

    .works-text br {
        display: none;
    }

    .services-left {
        max-width: 48.2rem;
    }

    .project-fixed {
        width: 100%;
        max-width: 33.5rem;
    }

    .form-right form p {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-right form label {
        width: 100%;
    }

    .form-right .wpcf7-submit {
        width: 100%;
        max-width: 36rem;
    }

    .contacts-advantages {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .contacts-advantage-text {
        font-size: 1.6rem;
    }

    .contacts-advantages {
        padding: 1.4rem 1rem;
    }

    .contacts-advantage {
        padding-left: .5rem;
        width: 30%;
    }

    /*footer*/
    .footer-menu {
        width: 27%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: calc(100vw / 57.6);
    }

    body {
        padding: 0 1rem;
    }

    .page-title {
        font-size: 2.6rem;
    }

    /*hero*/
    .hero {
        padding-bottom: 24.6rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-image img {
        object-position: right center;
        border-radius: 3rem 3rem 0 0;
    }

    .hero-cards {
        left: 0;
        bottom: 0;
        width: 100%;
        border-radius: 2rem 2rem 0 0;
    }

    .hero-image {
        overflow: hidden;
        border-radius: 2rem 2rem 0 0;
    }

    .hero-image img {
        object-position: 84% center;
        border-radius: 2rem 2rem 0 0;
        transform: scale(1.5);
    }

    .about {
        gap: 3.5rem;
        margin-bottom: 0;
    }

    .about-cards {
        flex-direction: column;
        padding: 0;
        border: none;
        border-radius: 0;
    }

    .about-card:nth-child(odd) {
        padding: 2.3rem 1.3rem;
        border-right: 1px solid var(--stroke---120);
    }

    .about-card:nth-child(even) {
        padding: 2.3rem 1.3rem;
    }

    .about-card {
        position: relative;
        width: 100%;
        border: 1px solid var(--stroke---120);
        border-radius: 1.6rem;
    }

    .about-card:not(:last-child) {
        margin-bottom: 1.5rem;
    }

    .about-card-icon {
        position: absolute;
        top: 1.4rem;
        right: 1rem;
    }

    .work {
        width: 100%;
    }

    .steps-desc br {
        display: none;
    }

    .contact {
        padding: 2.3rem 1.3rem 2rem 1.3rem;
        width: 100%;
    }

    .contacts-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .steps-grid:before {
        width: 100%;
    }

    .projects-types {
        width: calc(100% + 1rem);
    }

    .projects-type {
        gap: 1rem;
        padding: 1rem;
        border: .1rem solid var(--white);
        box-shadow: 0 0 0 0 transparent;
        transition: border .3s, box-shadow .3s;
    }

    .projects-type:hover,
    .projects-type:focus,
    .projects-type:active {
        box-shadow: 0 .4rem 1.4rem 0 rgba(0, 0, 0, 0.15);
        border-color: var(--orange);
    }

    .projects-type-icon {
        display: block;
        width: 4rem;
        height: 4rem;
    }

    .projects-type-icon img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .projects-text br {
        display: none;
    }

    /*footer*/
    .footer-block {
        width: 100%;
        max-width: 30rem;
    }

    .footer-menu {
        width: 40%;
    }

    .footer-consultation {
        order: 6;
        margin: 0;
        width: 40%;
    }

    .footer-item {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: calc(100vw / 48);
    }

    /*home*/
    .hero-text {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 120%;
    }

    .step {
        width: 100%;
    }

    .step-title br {
        display: none;
    }

    .projects-text, .steps-desc, .services-text, .works-text, .about-text {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 120%;
        color: var(--blue---700);
    }

    .projects-text br {
        display: none;
    }

    .project-gallery-button {
        width: 3.5rem;
        height: 3.5rem;
    }

    .project-gallery-button svg {
        display: block;
        width: 1rem;
        height: 1rem;
    }

    .projects-sliders {
        padding: 1rem 0;
    }

    .project-fixed {
        max-width: 100%;
        padding: 0 .5rem;
    }

    .project-fixed-callback {
        max-width: 100%;
    }

    .projects-sliders {
        border-radius: 1rem;
    }

    .projects-sliders:before {
        display: none;
    }

    .projects-sliders:after {
        display: none;
    }

    .project-info {
        padding: 0 .5rem 2rem .5rem;
    }

    .project-info-title {
        margin-top: 0;
    }

    .services-installment {
        padding: 1.3rem 1.7rem;
        width: 100%;
    }

    .contacts-advantage {
        width: 100%;
    }

    .contacts-advantages:before {
        display: none;
    }

    .contacts-advantages:after {
        display: none;
    }

    /*footer*/
    .footer-consultation {
        margin-left: 2rem;
        margin-top: 4rem;
        width: calc(100% - 4rem);
        max-width: 100%;
    }

    /*modal*/
    .form-consultation-top {
        flex-wrap: wrap;
    }

    .form-consultation-left {
        width: 100%;
    }

    .form-consultation-right {
        width: 100%;
    }
}

@media (max-width: 400px) {
    html {
        font-size: calc(100vw / 40);
    }

    /*header*/
    .mobile-menu {
        width: 100%;
    }

    /*home*/
    .services-slider {
        overflow: hidden;
    }

    .project-fixed {
        max-width: 100%;
    }

    .project-fixed-callback {
        max-width: 100%;
        width: 100%;
    }

    .project-control-fixed {
        width: 28rem;
    }

    /*footer*/
    .footer-menu {
        width: 100%;
    }

    /*modal*/
    .modal-title br {
        display: none;
    }
}

@media (max-width: 360px) {
    html {
        font-size: calc(100vw / 36);
    }
}