#main-page.company,
#main-page.contacts,
#main-page.calculation,
#main-page.rev {
  padding: 40px 0 100px;
}
#main-page #sendForm.hidden{
display:none;}
#main-page .company__container,
#main-page .contacts__container {
  padding-top: 40px;
}
#main-page .company__block-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#main-page .company__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text-1);
}
#main-page .company__text a {
  color: var(--text-1);
}
#main-page .company__text--accent,
#main-page .company__title,
#main-page .contacts__title {
  font-weight: 700;
}
#main-page .company__block-box {
  margin: 12px 0;
  display: flex;
  flex-direction: row;
  gap: 40px;
}
#main-page .company__img {
  border-radius: 6px;
}
#main-page .company a {
  color: var(--text-1);
}
#main-page .contacts__title {
  font-size: 32px;
  text-align: left;
}
#main-page .contacts__wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
}
#main-page .contacts__box-info {
  max-width: 282px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#main-page .contacts__block,
#main-page .contacts__box-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.3;
}
#main-page .contacts__name {
  font-weight: 700;
  font-size: 20px;
  color: var(--dark-main);
}
#main-page .contacts__text {
  font-size: 16px;
  color: var(--text-1);
}
#main-page .contacts__box-details {
  max-width: 324px;
  width: 100%;
}
#main-page .contacts__list-socials {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
#main-page .contacts__list-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#main-page .contacts__list-info li {
  display: flex;
  flex-direction: row;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-1);
}
#main-page .contacts__list-info li a {
  font-weight: 400;
  color: var(--text-1);
}
#main-page .contacts__box-map {
  max-width: 574px;
  width: 100%;
}
#main-page .contacts__box-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}
#main-page .calculation__form {
  background: var(--light);
  border-radius: 6px;
}
#main-page .calculation__list {
  grid-template-areas:
    "a a b b"
    "f f b b"
    "c c e e"
    "d d . .";
  gap: 20px 30px;
  grid-template-columns: repeat(4, 1fr);
}
#main-page .calculation__form input {
  padding: 16px 20px;
  background: var(--white);
}
#main-page .calculation__form .calculation__textarea {
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  background: var(--light);
  border: 1px solid var(--main);
  border-radius: 6px;
  background: var(--white);
}
#main-page .order__item--third {
  grid-area: f;
}
#main-page .calculation__box {
  margin: 0 0 20px;
}
#main-page .calculation__container {
  margin: 40px auto 0;
}
#main-page .calculation__btn {
  padding: 14px;
}
#main-page .rev__title {
  margin-bottom: 14px;
  font-weight: 700;
}
#main-page .calculation__title {
  font-weight: 700;
}
#main-page .rev__descr {
  margin: 0 0 25px;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  text-align: center;
  color: var(--text-1);
}
#main-page .rev__block {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
#main-page .rev__circle {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--light);
  border-radius: 50%;
}
#main-page .circles-slider .swiper-slide {
  width: 100%;
  cursor: pointer;
}
#main-page .circles-slider .swiper-wrapper {
  align-items: flex-start;
  justify-content: space-between;
}
#main-page .rev__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  color: var(--dark-main);
}
#main-page .circles-slider .swiper-slide.active .rev__circle {
  box-shadow: 0px 0px 20px 0px #00000040;
}
#main-page .rev__wrapper-slider {
  padding: 64px 30px;
  background: var(--light);
}
#main-page .rev__wrap-slider {
  max-width: 1216px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--light);
}
#main-page .rev__container {
  padding: 40px 0 64px;
}

#main-page .rev__btn {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: static;
  cursor: pointer;
}
#main-page .rev__btn.swiper-button-disabled {
  opacity: 0.5;
}
#main-page .swiper-rev-button-prev img {
  rotate: 180deg;
}
#main-page .reviews-slider .rev__box {
  display: flex;
  flex-direction: row;
  gap: 60px;
}
#main-page .reviews-slider .rev__box > img {
  max-width: 300px;
  border-radius: 6px;
}
#main-page .rev__box-message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.3;
  color: var(--text-1);
}
#main-page .rev__text-title {
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 24px;
}
#main-page .rev__text {
  font-weight: 400;
  font-size: 16px;
}
#main-page .rev__text--accent {
  margin-top: 6px;
  font-weight: 700;
}
#main-page .rev__block-number {
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: var(--text-1);
}
#main-page .rev__block-number img {
  max-width: 136px;
}
#main-page .rev__link {
  text-decoration: underline;
  color: var(--text-1);
}
#main-page .rev-pag {
  display: none;
}
  #main-page .company__pictures,  #main-page .company__block-box .company__block-text {
	  max-width:49%;
  width:100%
  }
 #main-page .rev__circle img{
width:auto;
height:auto}
@media (max-width: 1200px) {
  #main-page.company,
  #main-page.contacts,
  #main-page.calculation,
  #main-page.rev {
    padding: 20px 0 60px;
  }
  #main-page .company__container,
  #main-page .contacts__container {
    padding-top: 20px;
  }
  #main-page .company__block-text {
    gap: 6px;
  }

  #main-page .company__block-box {
    margin: 10px 0;
    gap: 20px;
  }

  #main-page .contacts__title {
    margin-bottom: 20px;
    font-size: 28px;
  }
  #main-page .contacts__wrapper {
    flex-wrap: wrap;
    gap: 20px;
  }
  #main-page .contacts__box-info {
    gap: 16px;
  }
  #main-page .contacts__block,
  #main-page .contacts__box-details {
    gap: 10px;
  }

  #main-page .contacts__box-map {
    max-width: 100%;
    height: 280px;
  }

  #main-page .calculation__list {
    grid-template-areas:
      "a  "
      "f  "
      "c  "
      "b   "
      "d  "
      "e  ";
    gap: 20px;
    grid-template-columns: 1fr;
  }
  #main-page .calculation__form input {
    padding: 16px 20px;
  }

  #main-page .calculation__box {
    margin: 20px 0;
  }
  #main-page .calculation__container {
    margin: 20px auto 0;
  }
  #main-page .calculation__btn {
    margin-top: 0;
  }
  #main-page .rev__title {
    margin-bottom: 12px;
  }
  #main-page .rev__descr {
    font-size: 20px;
  }

  #main-page .rev__wrapper-slider {
    padding: 40px 20px;
  }
  #main-page .rev__wrap-slider {
    gap: 10px;
  }
  #main-page .rev__container {
    padding: 20px 0 40px;
  }

  #main-page .reviews-slider .rev__box {
    align-items: flex-start;
    gap: 20px;
  }
  #main-page .reviews-slider .rev__box > img {
    max-width: 33%;
  }
  #main-page .rev__box-message {
    gap: 4px;
  }
  #main-page .rev__text-title {
    margin-bottom: 10px;
  }

  #main-page .rev__text--accent {
    margin-top: 4px;
  }
  #main-page .rev-pag {
    padding: 10px 0;
    display: flex;
  }
  #main-page .swiper-rev-pagination {
    justify-content: center;
    display: flex;
    flex-direction: row;
  }
  #main-page .contacts__box-map {
    max-width: 100%;
    height: 280px;
  }
}
@media (max-width: 767px) {
  #main-page.company,
  #main-page.contacts,
  #main-page.calculation,
  #main-page.rev {
    padding: 20px 0 40px;
  }
  #main-page .company__container,
  #main-page .contacts__container {
    padding-top: 10px;
  }
  #main-page .company__block-text {
    gap: 4px;
  }
  #main-page .company__pictures,  #main-page .company__block-box .company__block-text {
	  max-width:100%;
  width:100%
  }
  #main-page .company__block-box {
    margin: 6px 0;
    gap: 10px;
    flex-direction: column;
  }
  #main-page .company__text {
    font-size: 12px;
  }
  #main-page .company__img {
    max-width: 100%;
  }
  #main-page .company__pictures {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #main-page .contacts__title {
    margin-bottom: 20px;
    font-size: 20px;
  }
  #main-page .contacts__wrapper,
  #main-page .contacts__box-info {
    gap: 10px;
  }

  #main-page .contacts__block,
  #main-page .contacts__box-details {
    gap: 8px;
  }

  #main-page .contacts__box-map {
    margin-top: 10px;
  }
  #main-page .contacts__name {
    font-size: 16px;
  }
  #main-page .contacts__text,
  #main-page .contacts__list-info li {
    font-size: 12px;
  }
  #main-page .contacts__box-details {
    max-width: 282px;
  }
  #main-page .calculation__list {
    gap: 10px;
  }
  #main-page .calculation__form input {
    padding: 10px;
  }

  #main-page .calculation__box {
    margin: 20px 0 10px;
  }

  #main-page .calculation__btn {
    margin-top: 0;
  }
  #main-page .calculation__form {
    width: 100%;
  }
  #main-page .rev__title {
    margin-bottom: 10px;
  }
  #main-page .rev__descr {
    margin-bottom: 5px;
    font-size: 16px;
  }

  #main-page .rev__block {
    padding-top: 15px;

    gap: 10px;
  }
  #main-page .rev__circle {
    width: 100px;
    height: 100px;
  }

  #main-page .rev__name {
    font-size: 16px;
  }

  #main-page .rev__wrapper-slider {
    padding: 40px 10px;
  }

  #main-page .rev__container {
    padding: 20px 0 40px;
  }

  #main-page .rev__btn {
    display: none;
  }

  #main-page .reviews-slider .rev__box {
    gap: 10px;
  }

  #main-page .rev__text-title {
    margin-bottom: 6px;
    font-size: 20px;
  }
  #main-page .rev__text {
    font-size: 12px;
  }

  #main-page .rev__block-number {
    padding: 10px 0 0;
    font-size: 12px;
  }

  #main-page .rev__circle img {
    max-height: 65px;
  }
}
@media (max-width: 550px) {
  #main-page .reviews-slider .rev__box {
    flex-direction: column;
  }
  #main-page .reviews-slider .rev__box > img {
    max-width: 100%;
    margin: 0 auto;
  }
  #main-page .contacts__box-map {
    height: 150px;
  }
}
