@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-semibold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}



:root {
  --main-color: #F6F6F6;
  --accent-color: #3366FF;
  --text-color: #303030;
  --text-color-light: #C5C5C5;
  --secondary-text-color: #fff;
  --secondary-accent-color: #00E4F9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--main-color);
  color: var(--text-color);
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

input, select {
  outline:none;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease-in-out;
}

img {
  max-width: 100%;
}

ul {
  list-style-type: none;
}

ul, h1, h2, h3, h4, p {
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4 {
  font-weight: 600;
}

.container {
  width: 1350px;
  max-width: 100%;
  margin: 0 auto;
}

.btn-left-arrow {
  width: fit-content;
  position: relative;
  display: inline-block;
  padding: 16px 25px 16px 50px;
  border-radius: 60px;
  background-color: #fff;
  color: var(--text-color);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  transition: padding 0.4s ease-in-out;
  z-index: 1;
}
.btn-left-arrow .btn-text {
  font-size: 14px;
  position: relative;
  transition: color 0.4s ease-in-out;
  z-index: 2;
}

.btn-left-arrow::before {
  position: absolute;
  content: url(../img/arrow-right-dark.svg);
  left: 15px;
  top: calc(50% - 8px);
  transition: left 0.4s ease-in-out;
  z-index: 2;
}

.btn-left-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #00E4F9;
  transition: left 0.4s ease-in-out;
  z-index: 0;
}

.btn-left-arrow:hover {
  padding: 16px 50px 16px 22px;
}

.btn-left-arrow:hover .btn-text {
  color: var(--secondary-text-color);
}

.btn-left-arrow:hover::before {
  left: calc(100% - 35px);
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.btn-left-arrow:hover::after {
  left: 0;
}

.block-title {
  font-size: 47px;
  line-height: 1.06;
  font-weight: 600;
  color: var(--accent-color);
}
.block-title span {
  color: var(--text-color);
}
.wpcf7-spinner {
  position: absolute;
  bottom: -30px;
}

/* header */
.header {
  padding: 35px 0;
  position: fixed;
  width: 100vw;
  left: 0;
  top: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
}
.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.burger-menu {
  width: 18px;
  height: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: self-start;
  gap: 5px;
}
.main-navigation .menu {
  display: flex;
  align-items: center;
  gap: 46px;
}
.header a:hover {
  color: var(--accent-color);
}
.header__phone {
  position: relative;
  display: block;
  padding-left: 35px;
  white-space: nowrap;
}
.header__phone::before {
  position: absolute;
  content: url(../img/phone.svg);
  left: 0;
  transition: filter 0.3s ease;
}
.header__phone:hover::before {
  filter: brightness(0) saturate(100%) invert(41%) sepia(74%) saturate(1164%) hue-rotate(201deg) brightness(97%) contrast(101%);
}

/* hero */

.hero, .hero-service {
  padding: 108px 0 45px;
}

.hero__wrapper {
  display: flex;
  gap: 30px;
}

.hero__content {
  max-width: 775px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 40px 75px 50px;
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
  border-radius: 40px;
}

.hero__title {
  font-size: 60px;
  line-height: 1;
}

.hero__subtitle {
  margin: 20px 0;
  max-width: 490px;
}

.hero__img img {
  border-radius: 30px;
}
.hero__img .mobile, .benefits-img.mobile {
  display: none;
}

/* benefits */
.benefits {
  padding: 45px 0 65px;
}
.benefits__wrapper {
  display: flex;
  gap: 30px;
}
.benefits__wrapper-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.benefits-img {
  max-width: 430px;
  border-radius: 30px;
}
.benefits__text {
  margin-top: 20px;
  font-size: 35px;
  line-height: 1.43;
  font-weight: 600;
}
.benefits__text-block {
  display: flex;
  gap: 40px;
}

/* services */
.services {
  padding: 70px 0;
}
.services__wrapper {
  margin-top: 60px;
  position: relative;
  display: flex;
  gap: 145px;
}

.services__btn-block {
  position: -webkit-sticky;
  position: sticky;
  height: 200px;
  top: 120px;
  z-index: 5;
}

.btn-round {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
  text-align: center;
  font-weight: 700;
  z-index: 1;
  transition: background-color 0.3s ease;
}
.btn-round:hover {
  background-color: var(--secondary-accent-color);
}
.service-list {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}
.service-item {
  height: fit-content;
  width: calc(50% - 14px);
  padding: 25px 25px 16px;
  background-color: #fff;
  border-radius: 20px;
}
.service__item-title {
  font-size: 20px;
  font-weight: 600;
}
.service__item-text {
  padding: 16px 0 45px;
}
.service__item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.btn-more {
  position: relative;
  padding: 12px 60px 12px 16px;
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
  font-size: 14px;
  font-weight: 700;
  border-radius: 60px;
  transition: background-color 0.4s ease-in-out;
}
.btn-more::after {
  position: absolute;
  content: url(../img/arrow-right-white.svg);
  top: calc(50% - 7px);
  right: 15px;
  transform: rotate(-45deg);
  transition: transform 0.4s ease-in-out;
}
.btn-more:hover {
  background-color: var(--secondary-accent-color);
}
.btn-more:hover::after {
  transform: rotate(0);
}

/* stages */
.stages {
  padding: 70px 0 75px;
}
.stages__wrapper {
  margin-top: 65px;
}
.stages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stages-list-item {
  position: relative;
  padding: 35px 60px 22px 25px;
  background-color: #fff;
  width: calc(33.33% - 20px);
  border-radius: 30px;
  transition: box-shadow 0.4s ease-in-out;
}
.stages-list-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.stage-number {
  position: absolute;
  top: 22px;
  right: 32px;
  font-size: 44px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #EDEDED;
}
.stage-title {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
}
.stage-text {
  line-height: 22px;
  color: var(--text-color-light);
}
.stage-btn {
  margin-top: 20px;
  display: block;
  width: fit-content;
  padding: 15px 25px;
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.4s ease-in-out;
}
.stage-btn:hover {
  background-color: var(--secondary-accent-color)
}
.stages-list-item:nth-last-child(2), .stages-list-item:nth-last-child(3) {
  width: calc(50% - 145px);
}
.stages-list-item:nth-last-child(2), .stages-list-item:last-child {
  background-color: var(--accent-color);
  color: #fff;
}
.stages-list-item:nth-last-child(2) .stage-text {
  color: var(--secondary-text-color);
}
.stages-list-item.final-item {
  padding: 35px 15px 22px 15px;
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stages-ready {
  font-size: 44px;
  font-weight: 600;
}
.try-again-link {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-text-color);
  color: var(--accent-color);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  border-radius: 30px;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
  border: 1px solid #fff;
}
.try-again-link:hover{
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
}

.cleaning-img {
  padding: 75px 0;
}

.advantages {
  padding: 75px 0;
}
.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.advantages-item {
  padding: 55px 70px;
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
  border-radius: 30px;
}
.advantages-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 140px;
}
.advantages-text {
  max-width: 805px;
}
.advantages-description {
  /* max-height: 0;
  overflow: hidden; */
  margin-top: 75px;
  max-width: 805px;
  margin-left: auto;
  /* transition: max-height 0.4s ease-in-out; */
}
.advantages-description ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}
.advantages-description ul li {
  position: relative;
  width: 40%;
  padding-top: 60px;
}
.advantages-description ul li h4 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
}
.advantages-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
}
/* .advantages-item.active .advantages-description {
  max-height: 1000px;
} */
/* .advantages-item.active .advantages-header {
  margin-bottom: 75px;
} */
.advantages-title {
  font-size: 28px;
  font-weight: 600;
}

/* about */
.about {
  padding: 75px 0 65px;
}
.about .block-title {
  margin-left: 10%;
}
.about .block-title p:first-child {
  text-align: right;
}
.about__wrapper {
  margin-top: 50px;
  display: flex;
  gap: 30px;
}
.about__wrapper img {
  border-radius: 30px;
  max-width: 430px;
}
.about-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.about-list__item {
  width: calc(50% - 15px);
  height: calc(50% - 15px);
  padding: 58px 25px 40px;
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
  border-radius: 30px;
}
.about-list__title {
  margin-bottom: 30px;
  font-size: 21px;
  font-weight: 600;
}

/* prices */
.prices {
  padding: 60px 0 35px;
}
.prices__wrapper {
  display: flex;
  justify-content: space-between;
}
.price-text {
  width: 360px;
  max-width: 100%;
}

.prices__toggles {
  display: flex  ;
  margin: 10px 0 80px;
  border: 2px solid #E2E8F0;
  width: fit-content;
  margin-left: auto;
  padding: 4px;
  border-radius: 50px;
}

.toggle-btn {
  padding: 10px 30px;
  border-radius: 60px;
  border: none;
  background-color: transparent;
  color: var(--text-color);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background-color: var(--accent-color);
  color: var(--secondary-text-color)
}

.prices__lists {
  position: relative;
}

.price-list {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.price-list.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.price-item {
  padding: 30px 25px 50px;
  display: flex;
  width: calc(25% - 26px);
  flex-direction: column;
  justify-content: space-between;
  height: 250px;
  background-color: #fff;
  border-radius: 30px;
}
.price-title, .price-number {
  font-size: 21px;
  font-weight: 600;
}
.price-hours {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #6B92EA;
}
.price-hours::before {
  position: absolute;
  content: url(../img/clock.svg);
  top: 1px;
  left: 0;
}

/* pricing-details */
.pricing-details {
  padding: 40px 0 75px;
}
.pricing-details .block-title {
  color: var(--text-color);
}
.formation-list {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.formation-list__item {
  height: 250px;
  width: calc(25% - 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 25px 50px;
  background-color: var(--secondary-text-color);
  font-size: 21px;
  font-weight: 600;
  border-radius: 30px;
}

/* calculate */
.calculate {
  padding: 75px 0;
}
.calculate__wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 50px 115px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background-color: #fff;
  border-radius: 40px;
}
.calculate__block {
  max-width: 525px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calculate_text {
  margin-top: 30px;
}
.messenger__wrapper {
  display: flex;
  gap: 10px;
}
.messenger__item {
  position: relative;
  margin-top: 100px;
  display: block;
  width: calc(50% - 5px);
  border-radius: 50px;
  padding: 15px 24px 15px 70px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-text-color);
  transition: opacity 0.4s ease-in-out;
}
.messenger__item::before {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.calculate_telegram {
  background-color: #29ABEE;
}
.calculate_telegram::before {
  content: url(../img/telegram-ico.svg);
}
.calculate_viber {
  background-color: #9747FF;
}
.calculate_viber::before {
  content: url(../img/viber-ico.svg);
}
.messenger__item:hover {
  opacity: 0.7;
}

.site-main {
  padding-top: 150px;
}
.error-404 {
  height: 70vh;
}

/* reviews */

.reviews {
  padding: 75px 0;
}
.reviews-splide {
  margin-top: 60px;
}
.splide__slide {
  padding: 35px 30px 20px;
  background-color: #fff;
  border-radius: 30px;
}
.review-item {
  display: flex;
  align-items: center;
  gap: 25px;
}
.review-item img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}
.review-main-image {
  margin-top: 15px;
}
.review-title {
  font-size: 20px;
}
.review-content {
  margin-top: 30px;
  color: #515151;
}
.review-type_service {
  margin-top: 2px;
  color: var(--accent-color);
}
.splide__arrow {
  align-items: center;
  height: 60px;
  opacity: 1;
  top: -125px;
  transform: none;
  width: 60px;
  background: url(../img/arrow-right-white.svg), #3366FF;
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  z-index: 1;
  transition: background-color 0.4s ease-in-out;
}
.splide__arrow:hover {
  background-color: #00E4F9;
}
.splide__arrow svg {
  display: none;
  transform: none;
}
.splide__arrow--prev {
  left: auto;
  right: 90px;
  transform: rotate(180deg);
}

/* contacts */
.contacts {
  padding: 70px 0;
}
.contacts__block-mobil {
  display: none;
}
.contacts__wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 60px;
  color: var(--secondary-text-color);
  background: url(../img/contacts-bg.png), var(--accent-color);
  background-repeat: no-repeat;
  background-position: bottom right;
  border-radius: 60px;
}
.contacts__wrapper .wpcf7-form {
  min-width: 530px;
}
.contacts input:not([type="submit"]):not([type="checkbox"]), .hero__content-form input:not([type="submit"]) {
  width: 100%;
  padding: 15px 28px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 20px;
  border: 1px solid #fff;
  background-color: transparent;
  border-radius: 40px;
}
.contacts input::placeholder, .hero__content-form input::placeholder {
  color: #6B92EA;
}
.contacts .btn-left-arrow, .modal-window .btn-left-arrow, .hero__content-form .btn-left-arrow {
  padding: 14px 25px 14px 64px;
  max-width: 300px;
  display: flex;
}
.modal-window .btn-left-arrow:hover {
  padding: 16px 50px 16px 22px;
}
.contacts input[type="submit"], .modal-window input[type="submit"], .hero__content-form input[type="submit"] {
  border: none;
  color: var(--text-color);
  background-color: transparent;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.wpcf7-list-item-label {
  font-size: 14px;
}
.wpcf7-list-item {
  margin: 0;
}
.contacts input[type="checkbox"] {
  width: 22px;
  height: 22px;
  appearance: none; 
  -webkit-appearance: none;
  border-radius: 1px;
  background-color: transparent;
  border: 1px solid #FFFFFF;
  cursor: pointer;
  position: relative;
}

/* Стиль при активному чекбоксі */
.contacts input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.wpcf7-list-item label {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contacts .block-title {
  color: var(--secondary-text-color);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
}
.contacts-text {
  margin: 34px 0 55px;
}
.contacts__item {
  margin-top: 25px;
  font-size: 22px;
  color: var(--secondary-text-color);
  font-weight: 600;
}
.contacts__min-text {
  margin-top: 2px;
  font-size: 12px;
  color: #9AB9FF;
}

/* footer */
.footer {
  padding: 70px 0 40px;
}
.footer__wrapper {
  padding: 50px 30px 20px;
  border-radius: 40px;
  background-color: #fff;
}
.footer__top {
  margin-bottom: 70px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
}
.footer__wrapper .btn-round {
  width: 162px;
  height: 162px;
  font-size: 15px;
}
.footer__wrapper .menu-item {
  margin-bottom: 15px;
}
.footer__item {
  font-size: 22px;
  font-weight: 600;
}
.footer__min-text {
  margin-bottom: 35px;
  font-size: 12px;
  color: #6B92EA;
}
.footer__dsgn {
  width: fit-content;
  display: block;
  margin: 40px auto 0;
}
.footer__dsgn a {
  text-decoration: underline;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 50, 61, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-window {
  background-color: #F6F6F6;
  border-radius: 30px;
  width: 838px;
  max-width: 90%;
  padding: 65px 50px;
  position: relative;
}
.modal-window .block-title {
  margin-bottom: 80px;
}
.modal-window input:not([type="submit"]) {
  width: 100%;
  max-width: 620px;
  margin-bottom: 50px;
  padding: 0 0 20px;
  background-color: transparent;
  font-size: 24px;
  border: none;
  border-bottom: 2px solid #D9D9D9
}
.modal-window input:not([type="submit"]):focus {
  color: #3366FF;
  border-color: #6B92EA;
}
.modal-window input::placeholder {
  color: #C5C5C5;
}

/* hero-service */
.hero__content-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-service .hero__img {
  width: calc(100% - 800px);
}
.hero-service .hero__subtitle {
  margin: 65px 0 0;
}
.hero-service .hero__img img {
  width: 100%;
}
.hero__img {
  overflow: hidden;
  min-height: 100%;
}
.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-service .hero__content {
  padding: 50px 40px 40px 50px;
}
.hero__content-form .btn-left-arrow {
  margin-top: 20px;
}
.stages-services .stages-list-item, .stages-services .final-item {
  width: calc(33.33% - 20px);
}
.stages-services .stages-list-item {
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
}
.stages-services .stage-text {
  color: var(--secondary-text-color);
}
.stages-services .final-item img {
  border-radius: 30px;
}
.stages-services .stage-title {
  margin-bottom: 30px;
}
.advantages-services .advantages-item {
  background-color: #fff;
  color: var(--accent-color);
}
.advantages-services .advantages-description ul li::before {
  background-color: var(--accent-color);
}
.faq {
  padding: 75px 0;
}
.faq__wrapper {
  padding: 60px 50px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 90px;
  background-color: #fff;
  border-radius: 30px;
}
.block-title.block-title-faq {
  max-width: 260px;
  font-size: 28px;
}
.faq__item {
  padding: 30px 0;
  border-bottom: 1px solid #D9DBE9;
}
.faq__item:first-child {
  padding-top: 0;
}
.faq__item:last-child {
  border: none;
}
.faq__question {
  position: relative;
  padding-right: 40px;
  font-size: 22px;
  line-height: 1.27;
  cursor: pointer;
}
.faq__question::after {
  position: absolute;
  content: '';
  background: url(../img/plus.svg) no-repeat;
  background-size: 18px;
  width: 18px;
  height: 18px;
  top: 0;
  right: 0;
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  font-size: 16px;
  color: #6F6C90;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  padding-top: 0;
  opacity: 0;
}

.faq__item.active .faq__answer {
  max-height: 800px;
  padding-top: 12px;
  opacity: 1;
}
.faq__item.active .faq__question {
  color: var(--accent-color);
}
.faq__answer ol {
  list-style-type: decimal;
}
.faq__answer ul {
  list-style-type: disc;
}
.faq__answer li {
  margin-bottom: 10px;
}