:root {
    --bg-color: #f1f1f1;
    --bg-color2: #6A6A6A;
    --text-color1: #f1f1f1;
    --text-color2: hsl(0, 0%, 42%);
    --accent-color: #E2C2AC;
    --accent-color-dark: rgba(197, 176, 161, 0.9);
}
body {
    background-color: var(--bg-color);
    color: var(--text-color2);
    font-size: 14px;
    line-height: 1.5;
    font-family: "raleway", sans-serif;
    font-weight: 400;
    overflow: hidden;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #6A6A6A 0%, #393939 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
a {
    text-decoration: none;
    color: var(--text-color1);
}
ul {
    display: flex;
}
input, label, button {
    font: inherit;
    color: inherit;
}
button, .btn {
    background-color: var(--accent-color-dark);
    padding: 16px 30px;
    border: none;
    color: var(--text-color1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 400ms;
}
button:hover, .btn:hover {
    background-color: var(--accent-color);
}
h1,h2,h3 {
    text-align: center;
}
h1 {
    font-family: "alegreya", serif;
    letter-spacing: -0.05rem;
    font-weight: 500;
}
h2, h4 {
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.2rem;
}
h3 {
    color: var(--accent-color);
    font-style: italic;
    font-size: 20px;
    font-weight: 600;
}
.mb-60 {
    margin-bottom: 60px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-10 {
    margin-bottom: 10px;
}
.container {
    max-width: 1320px;
    padding: 0 10px;
    margin: 0 auto;
}
.header {
    padding: 10px 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    transition: background-color 400ms;
}
.header.background {
    background-color: #6b6b6bc2;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.header,
.contacts-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__item,
.header__item .contacts-group__item {
    margin-right: 30px;
}
.header__item:last-child,
.header__item .contacts-group__item:last-child {
    margin-right: 0;
}
.header .logo,
.header .logo-link {
    height: 60px;
}
.header__item .telephone-link svg {
    display: none;
}
.menu__list-item:first-child,
.burger-menu__list-item:first-child {
    display: none;
}
.menu__list-item {
    margin-right: 20px;
}
.menu__list-item:last-child {
    margin-right: 0;
}
.social-icons__icon-item {
    margin-right: 15px;
}
.social-icons__icon-item:last-child {
    margin-right: 0;
}
.social-icons__icon-link path,
.telephone-link path {
    transition: fill 400ms;
}
.social-icons__icon-link:hover path,
.telephone-link:hover path {
    fill: var(--accent-color);
}
#home {
    color: var(--text-color1);
    background-image: url(../img/mom-cleaning.jpg);
    min-height: 600px;
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
}
.home__inner {
    margin: auto auto 30px;
    display: flex;
    flex-direction: column;
}
.slogan h1 {
    font-weight: 400;
    margin-left: -25vw;
    z-index: 1;
    position: relative;
    width: fit-content;
}
.slogan h1 svg {
    width: auto;
    height: 150%;
    content: url(../img/vectors/main1.svg);
    z-index: -1;
    position: absolute;
    bottom: -15%;
    left: 0;
}
.slogan h2 {
    margin-right: -25vw;
    z-index: 1;
    position: relative;
}
.slogan h2 svg {
    width: 70%;
    height: auto;
    content: url(../img/vectors/main2.svg);
    z-index: -1;
    position: absolute;
    left: 40%;
    top: calc(100% - 10px);
}

a {
    transition: all 400ms;
}
a:hover,
.menu__item-link_active {
    color: var(--accent-color);
}
.menu__item-link::after,
.burger-menu__item-link::after {
    background-color: var(--accent-color);
    display: block;
    content: "";
    height: 1px;
    width: 0%;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}
.menu__item-link_active::after {
    width: 100%;
}
.scroll-down-btn {
    margin: 60px auto 0px;
    border: 1px solid var(--text-color1);
    background: transparent;
}
.scroll-down-btn:hover {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}
section:not(#home),
#floor {
    margin-top: 80px;
}
.advantages {
    background-color: var(--bg-color2);
    padding: 30px 0;
}
.advantages__list {
    flex-wrap: wrap;
    justify-content: center;
}
.advantages__list-item {
    text-align: center;
    padding: 0 15px;
    margin: 30px 0;
    flex: 0 0 50%;
}
.advantages__list-item.row-1 {
    flex: 0 0 33%;
}
.advantages__item-title::before {
    content: url(../img/vectors/about-company.svg);
    display: block;
}
.advantages__item-description {
    color: var(--text-color1);
}
#about-company .container {
    position: relative;
}
.advantages-header + svg {
    position: absolute;
    bottom: -30px;
    left: calc(50% + 10px);
    width: 300px;
}
.calculator-discount-wrapper{
    display: flex;
    justify-content: space-between;
}
.calculator,
.discount {
    max-width: calc(50% - 50px);
    padding: 35px 40px;
    font-size: 16px;
}
.calculator {
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    box-shadow: 10px 10px 10px #0000003d;
    position: relative;
}
.calculator h2,
.discount h2 {
    text-align: left;
    font-size: 24px;
}
.calculator ~ svg {
    margin: auto;
}
.calculator__service,
.calculator__price {
    display: inline-block; 
}
.calculator__price {
    font-style: italic;
    font-weight: 600;
    margin-left: 30px;
    letter-spacing: 0.2rem;
}
.discount {
    color: var(--text-color1);
    background-color: var(--bg-color2);
    border-radius: 20px;
    position: relative;
}
.discount__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% - 200px);
    height: 100%;
}
.switch-counter {
    display: flex;
}
.switch-counter__btn {
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    margin-right: 3px;
    cursor: pointer;
    transition: background-color 400ms;
}
.switch-counter__btn_active {
    background-color: var(--accent-color);
    color: var(--text-color1);
}
.switch-counter__btn:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.switch-counter__btn:last-child {
    margin-right: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
}
input {
    outline: 0;
    border: none;
}
input[type=number] {
    -moz-appearance: textfield;
}
input[type= "number"]::-webkit-inner-spin-button,
input[type= "number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.switch-counter__input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--text-color2);
    width: 40px;
    text-align: center;
    transition: border-color 400ms;
}
.switch-counter__btn_active .switch-counter__input {
    border-color: var(--text-color1);
}
.discount__control {
    display: flex;
    flex-direction: column;
}
.discount__img {
    position: absolute;
    bottom: 0;
    right: 0px;
    height: 440px;
}
.services-wrapper {
    background-image: url(../img/services_bac.png);
    background-repeat: no-repeat;
    background-size: 100% 60%;
    background-position: 0% 60%;
}
.service__item-header {
    background-color: var(--bg-color2);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    height: 120px;
    padding: 10px 30px;
    justify-content: start;
}
.service__item-inner {
    border: 1px solid var(--accent-color);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-color: var(--bg-color2);
    background-color: #ffffffb5;
    height: calc(100% - 120px);
    padding: 16px 30px;
}
.service__item-title {
    text-align: left;
    color: var(--text-color1);
    letter-spacing: 0.2rem;
}
.service__list {
    flex-direction: column;
}
.service__list-item {
    display: flex;
}
.service__list-item::before {
    content:url(../img/vectors/check_mark_icon.svg);
    margin-right: 5px;
    margin-top: -2px;
    opacity: 0.6;
}
.service__item-icon {
    margin-right: 20px;
    max-height: 70px;
    max-width: 80px;
}
.icon-spray {
    content: url(../img/vectors/icon-spray.svg);
}
.icon-brush {
    content: url(../img/vectors/icon-brush.svg);
}
.icon-repair {
    content: url(../img/vectors/icon-repair.svg);
}
.icon-window {
    content: url(../img/vectors/icon-window.svg);
}
.icon-sofa {
    content: url(../img/vectors/icon-sofa.svg);
}
.icon-curtain {
    content: url(../img/vectors/icon-curtain.svg);
}
.service__text {
    text-align: center;
}
.service__text-title {
    font-size: 20px;
    font-style: italic;
}
.splide__arrows {
    position: absolute;
    top: -65px;
    right: 80px;
}
.splide__arrow {
    width: fit-content;
    height: fit-content;
    background-color: var(--accent-color);
    opacity: .8;
}
.splide__arrow:hover:not(:disabled) {
    opacity: 1;
}
.splide__arrow:disabled,
.splide__arrow:disabled:hover {
    background-color: #ccc;
}
.splide__arrow svg {
    height: 50px;
    width: 50px;
}
.splide__arrow:disabled {
    opacity: 1;
}
.splide__arrow--next {
    right: unset;
    left: 1em;
}
.splide__arrow--prev {
    right: 1em;
    left: unset;
}
.splide__pagination {
    bottom: -2.5rem;
    margin-top: 1rem;
    position: static;
}
.splide__pagination__page.is-active {
    background-color: var(--accent-color);
}
.splide__pagination__page {
    background: transparent;
    border: 1px solid var(--accent-color);
    opacity: 0.8;
    width: 12px;
    height: 12px;
    margin: 6px;
    transition: opacity, background-color 400ms;
}
.splide__pagination__page:hover {
    opacity: 1;
}
.question {
    border: 1px solid var(--accent-color);
    padding: 20px 30px;
    display: flex;
    align-items: center;
}
.question::before {
    content: url(../img/vectors/question.svg);
    margin-right: 30px;
    width: 36px;
    height: 53px;
    display: block;
}
.answer {
    font-size: 16px;
    margin: 20px 0px 20px 95px;
}
.footer {
    background: linear-gradient(to bottom, #6A6A6A 0%, #393939 100%);
    margin-top: 80px;
    padding: 40px 0;
}
.footer__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer__inner .contacts-group {
    flex-direction: column;
}
.footer__inner .logo-link {
    margin-right: 60px;
}
.footer__inner .social-icons {
    width: 100%;
    justify-content: space-between;
}
.telephone-link {
    display: flex;
    align-items: center;
    font-size: 16px;
}
.telephone-link svg {
    margin-right: 10px;
}
#floor {
    background-color: var(--bg-color2);
    padding: 60px 0px;
}
.floor__inner {
    background-color: var(--bg-color);
    display: flex;
    border-radius: 20px;
    font-size: 16px;
    max-width: 1000px;
    margin: auto;
    box-shadow: 10px 10px 10px #0000003d;
    min-height: 500px;
}
.floor__inner>div {
    flex: 0 0 50%;
    width: 50%;
}
.floor__inner-img-wrapper {
    background-image: url(/img/floor.png);
    background-repeat: no-repeat;
    background-position: 50% -40px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}
.floor__inner-content {
    display: flex;
    flex-direction: column;
    padding: 35px 80px;
    background-image: url(../img/floor_bac.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% -150px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}
.floor__inner-text {
    text-align: center;
    margin: auto;
}
.floor__inner-text span,
#team span {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.2rem;
}
.floor__inner-text span {
    display: block;
}
.floor__inner .order-call-btn {
    width: 80%;
    margin: 0 auto;
}
.splide__video__play {
    padding: 0;
    width: 60px;
    height: 60px;
    background-color: #ffffffb3;
    transition: background-color 400ms;
    opacity: 1;
}
.splide__slide--has-video:hover .splide__video__play {
    background-color: var(--accent-color);
}
.dropdown {
    position: relative;
}
.select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 100ms;
    width: 280px;
}
.select_clicked {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.caret {
    margin-left: 10px;
}
.caret svg {
    transition: transform 400ms;
}
.select_clicked .caret svg {
    transform: rotate(180deg);
}
.dropdown__menu {
    background-color: var(--bg-color);
    flex-direction: column;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid var(--accent-color);
    border-top: none;
    position: absolute;
    top: 101%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    display: none;
    opacity: 0;
    z-index: 1;
}
.dropdown__menu-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 400ms;
    display: flex;
    justify-content: space-between;
}
.dropdown__menu-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.dropdown__menu-item:hover {
    background-color: #d9d9d9;
}
.dropdown__menu-item_active {
    font-weight: bold;
}
.dropdown__menu-item_active::after {
    content: url(../img/vectors/check_mark_icon.svg);
    margin-left: 10px;
    margin-top: -2px;
}
.dropdown__menu_opened {
    display: block;
    opacity: 1;
}
.team-director {
    position: relative;
}
.team-director__text {
    position: absolute;
    bottom: 40px;
    left: 7%;
}
.team-director__text h4 {
    color: var(--accent-color);
    font-weight: 600;
}
.team-director__text h3 {
    color: var(--text-color1);
    font-style: normal;
    text-align: left;
    font-weight: normal;
}
.team-main {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.team-main__description {
    padding: 0 60px 60px 60px;
}
.team-main__description h1 {
    text-align: left;
}
.team-main__description h4 {
    text-align: center;
    max-width: 460px;
    min-width: 410px;
}
.team-main__description-slogan {
   position: relative;
   width: fit-content;
   margin-left: 10vw;
}
.team-main__description-slogan svg {
    position: absolute;
    max-height: 125%;
}
.team-main__description-slogan svg:first-child {
    bottom: 50%;
    left: -20%;
}
.team-main__description-slogan svg:last-child {
    bottom: -50%;
    left: 75%;
}
.team-director__img {
    max-height: 100vh;
    border-top-right-radius: 200px;
    width: 100%;
}
.team-main__block:first-child {
    flex-shrink: 1;
}
.team-main__block:last-child {
    flex-shrink: 1.2;
}
.team-main__img {
    max-height: 60vh;
    width: calc(100% + 30px);
    margin-left: -30px;
    border-top-left-radius: 200px;
    object-fit: cover;
}
.team-main__img2 {
    display: none;
}
.team-secondary {
    background: url(/img/vectors/team.svg);
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: 0% 45%;
}
.team-item {
    position: relative;
    line-height: 0;
    width: 33%;
    height: min-content;
    flex: 0 0 33%;
    margin-bottom: 30px;
}
.team-item:last-child {
    margin-bottom: 0;
}
.team-human__img {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 100%;
}
.team-human__text {
    padding: 20px 30px;
    position: absolute;
    bottom: 0;
    line-height: 1.5;
    width: 100%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #58565984;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.team-human__name {
    text-align: left;
}
.team-human__description {
    color: var(--text-color1);
}
.team-item-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.team-item h4 {
    line-height: 1.5;
    width: 33%;
    flex: 0 0 33%;
    margin: auto;
    padding: 10px;
}
.team-item.two-img {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: space-between;
}
.team-item.two-img>div {
    width: 66%;
    flex: 0 0 66%;
    position: relative;
}
.team-item.two-img .team-human__description,
.team-item.two-img .team-human__name {
    text-align: center;
}
.team-item.two-img p:first-child {
    margin-bottom: 30px;
}
.burger-menu {
    display: none;
    width: 100%;
}
.burger-checkbox {
    position: absolute;
    visibility: hidden;
}
.burger {
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: block;
    position: relative;
    border: none;
    background: transparent;
    width: 40px;
    height: 26px;
}
.burger::before,
.burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background-color: var(--bg-color);
}
.burger::before {
    top: 0;
    box-shadow: 0 11px 0 var(--bg-color);
    transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}
.burger::after {
    bottom: 0;
    transition: bottom .3s .15s, transform .3s;
}
.burger-checkbox:checked + .burger::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0,0,0,0);
    transition: box-shadow .15s, top .3s, transform .3s .15s;
}
.burger-checkbox:checked + .burger::after {
    bottom: 11px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .15s;
}
.burger-menu__list {
    top: 0;
    left: 0;
    position: absolute;
    display: grid;
    gap: 5px;
    padding: 60px 0 30px;
    margin: 0;
    background: linear-gradient(to bottom, #6A6A6A 0%, #393939 100%);
    box-shadow: 10px 10px 10px #0000003d;
    transform: translateY(-100%);
    transition: .3s;
    width: 100%;
}
.burger-menu__item-link {
    display: block;
    padding: 11px;
    text-align: center;
}
.burger-checkbox:checked ~ .burger-menu__list {
    transform: translateY(0);
}
.burger-menu__item-link {
    margin: auto;
    width: fit-content;
}
.dialog {
    display: none;
    width: 600px;
    max-width: calc(100% - 20px);
    min-height: 472px;
    overflow: auto;
    margin: auto;
    padding: 80px 60px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    background-color: var(--bg-color);
    box-shadow: 10px 10px 10px #0000003d;
    z-index: 20;
    display: none;
    font-size: 16px;
    text-align: center;
    background-image: url(../img/floor_bac.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% -150px;
}
.dialog h4 {
    color: var(--accent-color);
    font-weight: bold;
    font-style: normal;
    letter-spacing: normal;
    margin: auto;
}
.dialog .contacts-group {
    justify-content: center;
}
.dialog.show {
    display: flex;
    flex-direction: column;
}
.dialog img {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 40;
}
.dialog .overlay {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    background: var(--bg-color);
    opacity: 0.5;
    z-index: 30;
    display: none;
    height: 100%;
    width: 100%;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: none;
}
#overlay.show {
    display: block;
}
.close-btn {
    padding: 0;
    background: transparent !important;
    position: absolute;
    top: 20px;
    right: 20px;
}
.form {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}
.form .form-input {
    padding: 10px 20px;
    background-color: transparent;
    border-radius: 10px;
    border: 1px solid #BFBFBF;
    transition: border 200ms;
    margin-top: 5px;
}
.form .form-input:focus {
    border-color: var(--accent-color);
}
.form label {
    display: flex;
    flex-direction: column;
    text-align: left;
}

@media (max-width: 1246px) {
    .header .social-icons {
        display: none;
    }
}

@media (max-width: 1200px) {
    .calculator-discount-wrapper {
        flex-direction: column;
        align-items: center;
        max-width: min-content;
    }
    .calculator, .discount {
        max-width: unset;
    }
    .calculator ~ svg {
        transform: rotate(0.25turn);
        margin: 15px;
    }
    .team-main__description-slogan svg:first-child {
        width: 250px;
    }
    .services-wrapper {
        background-size: 200% 50%;
    }
}

@media (max-width: 1093px) {
    .header__item .contacts-group__item {
        margin-right: 0;
    }
    .header .order-call-btn {
        display: none;
    }
    .header__item .telephone-link svg {
        display: block;
    }
}
@media (max-width: 992px) {
    .advantages__list-item.row-1 {
        flex: 0 0 50%;
    }
    .team-item {
        width: calc(50% - 15px);
        flex-basis: calc(50% - 15px);
    }
    .team-item.two-img {
        flex-direction: column;
        align-items: center;
    }
    .team-item.center {
        margin-left: auto;
        margin-right: auto;
    }
    .team-item h4,
    .team-item.two-img > div {
        width: 100%;
        flex: 0 0 100%;
    }
    .team-item h4 {
        display: none;
    }
    .team-item.two-img p:first-child {
        margin-bottom: 10px;
    }
    .team-secondary {
        background: none;
    }
    .slogan h1 {
        margin-left: -10vw;
    }
    .slogan h2 {
        margin-right: -10vw;
    }
    #home {
        height: unset;
    }
    .team-main__description {
        padding-bottom: 40px;
    }
    .team-main__block:first-child {
        order: 2;
        margin-top: 30px;
        padding: 0 10px;
    }
    .team-director__img {
        border-top-right-radius: 0px;
        max-width: 400px;
    }
    .team-main {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }
    .team-main__description h1 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .team-main__img {
        border-top-left-radius: 0px;
        width: 100%;
        margin: 0;
    }
    .team-main__description-slogan {
        margin: auto;
    }
    .team-main__description-slogan svg:first-child {
        left: -10%;
    }
}

@media (max-width: 935px) {
    .header .contacts-group {
        display: none;
    }
    .floor__inner-content {
        padding: 35px 45px;
    }
    .header {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .advantages__list-item.row-1,
    .advantages__list-item.row-2 {
        flex: 0 0 100%;
    }
    .floor__inner-img-wrapper {
        display: none;
    }
    .floor__inner {
        min-height: 400px;
    }
    .floor__inner .floor__inner-content {
        flex: 0 0 100%;
        width: 100%;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 20px;
    }
    .team-item:not(.two-img) {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        flex-basis: 100%;
        max-width: 400px;
    }
    .team-item-wrapper {
        display: block;
    }
    .burger-menu {
        display: flex;
        justify-content: space-between;
    }
    .menu {
        margin-right: 0;
    }
    .menu__list {
        display: none;
    }
    .header {
        justify-content: space-between;
    }
}
@media (max-width: 645px) {
    .advantages-header + svg {
        left: calc(50% - 60px);
    }
}

@media (max-width: 576px) {
    body,
    .floor__inner,
    .dropdown__menu,
    .dialog,
    .dialog .overlay {
        background-color: #fff;
    }
    .calculator,
    .service__item-inner,
    .floor__inner-text,
    .question-answer-block,
    .form {
        color: #000;
    }
    h2, h4 {
      font-weight: 400;
    }
    .footer__inner {
        flex-direction: column;
    }
    .footer__inner .logo-link {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .discount__img {
        display: none;
    }
    .discount__text {
        width: 100%;
    }
    .calculator {
        display: flex;
        flex-direction: column;
    }
    .calculator__service {
        margin-bottom: 30px;
    }
    .switch-counter__btn.mobile-hidden {
        display: none;
    }
    .calculator__price {
        display: flex;
        margin-left: 0;
        justify-content: space-between;
    }
    .calculator__price-title {
        margin-bottom: 0;
        margin-right: 30px;
    }
    .select {
        width: 100%;
    }
    .calculator h2, .discount h2 {
        font-size: 20px;
    }
    .calculator ~ svg {
        margin: 0;
        scale: 0.7;
    }
    .services__title,
    .our-works__title {
        text-align: left;
    }
    .floor__inner-content {
        padding: 30px;
    }
    .answer {
        font-size: 16px;
        margin-left: 0;
    }
    .team-human__img {
        border-radius: 0;
    }
    .team-human__text {
        position: static;
        background: linear-gradient(to bottom, #6A6A6A 0%, #393939 100%);
    }
    .slogan h1,
    .slogan h2 {
        margin: auto;
    }
    .slogan h1 svg,
    .slogan h2 svg {
        display: none;
    }
    .advantages-header + svg {
        display: none;
    }
    .team-main__description {
        padding-left: 10px;
        padding-right: 10px;
    }
    .team-main__description-slogan svg {
        display: none;
    }
    .team-main__description h4 {
        min-width: unset;
    }
    .team-main__img {
        display: none;
    }
    .team-main__img2 {
        display: block;
        width: 100%;
    }
    .slogan {
        background: url(/img/vectors/main3.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 50% 50%;
        padding: 30px 0;
    }
}

@media (max-width: 460px) {
    .services__title, .our-works__title {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .question {
        padding: 20px;
    }
    .question::before {
        margin-right: 15px;
    }
    .dialog {
        padding: 60px 30px;
    }
}

@media (max-width: 405px) {
    .calculator, .discount {
        padding: 30px 20px;
    }
    .calculator-discount-wrapper {
        max-width: 100%;
    }
    .switch-counter__btn {
        padding: 10px 15px;
    }
    .service__item-header {
        padding: 10px;
    }
    .service__item-title {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .slogan h1 {
        font-size: 48px;
    }
    .slogan h2 {
        font-size: 32px;
    }
    h1 {
        font-size: 32px
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 18px;
    }
    h4 {
        font-size: 18px;
    }
}
@media (max-width: 1200px) and (min-width: 321px) {
    h1 {
        font-size: calc(32px + 16 * (100vw - 320px) / 1000);
    }
    h2 {
        font-size: calc(24px + 8 * (100vw - 320px) / 1000);
    }
    h3 {
        font-size: calc(18px + 2 * (100vw - 320px) / 1000);
    }
    h4 {
        font-size: calc(18px + 6 * (100vw - 320px) / 1000);
    }
}
@media (min-width: 1201px) {
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 24px;
    }
}

@media (max-width: 1400px) and (min-width: 321px) {
    .slogan h1 {
        font-size: calc(48px + 72 * (100vw - 320px) / 1000);
    }
    .slogan h2 {
        font-size: calc(32px + 58 * (100vw - 320px) / 1000);
    }
}
@media (min-width: 1401px) {
    .slogan h1 {
        font-size: 120px;
    }
    .slogan h2 {
        font-size: 90px;
    }
}