:root {
  --color-basic: #000000;
  --form-check-color: #D9D9D9;
  --color-white: #ffffff;
  --color-error: #ff5757;
  --color-btn-type-1: #1DA5DF;
  --color-btn-type-2: #61B44F;
  --color-accent: #23A3DD;
}

@font-face {
  font-family: "Montserrat";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  font-weight: 500;
  font-style: normal;
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  font-weight: 600;
  font-style: normal;
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}
.before_after.before_element{
  width: 50%;
  border-right: 2px solid #FFFFFF;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
ul {
  margin: 0;
}

.descr-mobile{
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-text-sechond);
  background-color: var(--color-white);
  margin: 0;
  padding: 0;
}

.header,
.main,
.footer {
  width: 100%;
  padding: 0 50px;
  margin: 0 auto;
}

body {
  padding-bottom: 110px;
}

.header {
  /* position: fixed; */
  /* top: 0; */
  /* left: 0; */
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.nav-buttons {
  display: flex;
  gap: 30px;
}

.nav-list {
  margin: 0 auto;
  display: flex;
  gap: 35px;
  font-weight: 500;
  list-style: none;
}

.btn-type-1 {
  background-color: var(--color-btn-type-1);
  border-radius: 100vw;
  padding: 20px;
  font-size: 20px;
  color: var(--color-white);
  transition: color 0.3s, background-color 0.3s;
  text-align: center;
}

.btn-type-2 {
  background-color: var(--color-btn-type-2);
  border-radius: 100vw;
  padding: 20px;
  font-size: 20px;
  color: var(--color-white);
  transition: color 0.3s, background-color 0.3s;
  text-align: center;
}

.btn-type-1:hover {
  color: var(--color-basic);
  background-color: var(--color-accent);
}

.btn-type-2:hover {
  color: var(--color-basic);
}

.nav-list {
  padding: 0;
}

.nav-link {
  transition: color 0.3s;
  display: block;
}

.nav-link:hover {
  color: var(--color-accent);
}

section, .spring-section,
.footer {
  padding: 80px 0;
}

.hero {
  padding-top: 20px;
  border-radius: 20px;
  display: flex;
}

.hero-container {
  border-radius: 20px;
  height: auto;
  width: 100%;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  height: 980px;
  justify-content: center;
  align-items: center;
}

.order-btn {
  width: 277px;
}

.title-h1 {
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  font-size: 80px;
  color: var(--color-white);
  margin-bottom: 40px;
  max-width: 1320px;
}

.hero-description {
  color: var(--color-white);
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: 500;
  max-width: 960px;
  text-transform: uppercase;
}

.hero-btn {
  max-width: 400px;
  width: 100%;
}

.logo {
  width: 107px;
  height: 148px;
  display: block;
}

.logo>img {
  display: block;
  width: 100%;
  height: 100%;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}

.title-h2 {
  font-weight: 700;
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 55px;
}

.services-item {
  display: grid;
  grid-template-columns: 1fr max-content;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
}

.services-item-img-link,
.services-item-btn {
  grid-column: 1 / -1;
  display: block;
}
.services-item-btn{
  margin-top: 5px;
}

.services-item-title,
.services-item-price {
  align-self: flex-end;
}

.services-item-img-link>img {
  display: block;
  width: 100%;
  height: 100%;
}

.services-item-img-link {
  border-radius: 15px;
  overflow: hidden;
}

.services-item-price {
  margin-left: auto;
}

.services-item-title-link,
.services-item-price {
  text-transform: none;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.swiper-wrapper {
  list-style: none;
  padding: 0;
}



.before-after-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 481px;
  overflow: hidden;
  border-radius: 20px;
  grid-column: 1 / -1;
  margin-bottom: 15px;
}

.before_element,
.after_element {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
}

/* //////////////////////////////////////////////////////////////// */

.swiper-slide:nth-child(1) .before_element {
  /* background-image: url("../img/furniture/before-after/before1.jpg"); */
  width: 50%;
  border-right: 2px solid #FFFFFF;
}

.swiper-slide:nth-child(1) .after_element {
  /* background-image: url("../img/furniture/before-after/after1.jpg"); */
}

.swiper-slide:nth-child(2) .before_element {
  /* background-image: url("../img/furniture/before-after/before2.jpg"); */
  width: 50%;
  border-right: 2px solid #FFFFFF;
}

.swiper-slide:nth-child(2) .after_element {
  /* background-image: url("../img/furniture/before-after/after2.jpg"); */
}

.swiper-slide:nth-child(3) .before_element {
  /* background-image: url("../img/furniture/before-after/before2.jpg"); */
  width: 50%;
  border-right: 2px solid #FFFFFF;
}

.swiper-slide:nth-child(3) .after_element {
  /* background-image: url("../img/furniture/before-after/after2.jpg"); */
}

/* //////////////////////////////////////////////////////////////// */

.before_after_slider {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0;
}


.before_after_slider {
  /* Сбрасываем стандартные стили */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 106%;
  transform: translateX(-3%);
  height: 100%;
  background: transparent;
  border-radius: 0px;
  outline: none;
  margin: 0;
}

/* Track (дорожка) для WebKit браузеров */
.before_after_slider::-webkit-slider-track {
  transform: translateX(-3%);
  -webkit-appearance: none;
  height: 100%;
  background: transparent;
  border-radius: 0;
  border: none;
}

/* Track (дорожка) для Firefox */
.before_after_slider::-moz-range-track {
  transform: translateX(-3%);
  height: 100%;
  background: transparent;
  border-radius: 0;
  border: none;
}


/* Thumb (ползунок) для WebKit */
.before_after_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;

  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 2px solid #2196F3;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

  /* Плавная анимация при наведении */
  transition: all 0.2s ease;
}

/* Thumb (ползунок) для Firefox */
.before_after_slider::-moz-range-thumb {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 2px solid #2196F3;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: none;
}

/* Состояния при наведении и фокусе */
.before_after_slider:hover::-webkit-slider-thumb {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.before_after_slider:hover::-moz-range-thumb {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.before_after_slider:focus {
  outline: none;
}

.before_after_slider:focus::-webkit-slider-thumb {
  border-color: #1565C0;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

.before_after_slider:focus::-moz-range-thumb {
  border-color: #1565C0;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}


.title-accent {
  color: var(--color-accent);
}

.gallery-up,
.why-choose-up,
.reviews-up {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.gallery-nav-btn-container,
.why-choose-nav-btn-container,
.reviews-nav-btn-container {
  margin-left: auto;
  display: flex;
  gap: 14px;
}

.swiper-button {
  width: 50px;
  height: 50px;
  border-radius: 100vw;
  padding: 0;
  border: none;
  background: url("../img/ico/arrow.svg") no-repeat center / 20px 10px, var(--color-btn-type-2);
}

.btnp,
.btnp-why,
.btnp-reviews {
  transform: rotate(180deg);
}

.swiper-button {
  cursor: pointer;
  transition: opacity 0.3s;
}

.swiper-button-disabled {
  opacity: 0.6;
  cursor: default;
}

.gallery-title {
  margin-bottom: 0;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.slider-text-after {
  margin-left: auto;
}

.slider-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-decor {
  grid-column: 1 / -1;
  border-radius: 20px;
  display: block;
  width: 100%;
  object-fit: cover;
}

.about-title,
.why-choose-title {
  margin: 0;
}

.about-btn {
  height: max-content;
  width: 440px;
  align-self: flex-end;
  margin-left: auto;
}

.about-parag {
  font-size: 30px;
  font-weight: 500;
}

.about-parag-first {
  max-width: 778px;
}

.about-parag-sechond {
  max-width: 839px;
  margin-left: auto;
}

.why-choose-item {
  padding: 20px;
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  display: grid !important;
  grid-template-rows: max-content 1fr;
}

.why-choose-swiper>.swiper-wrapper,
.swiper-reviews>.swiper-wrapper {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(50, 1fr);
  column-count: auto;
}

.why-choose-item-title {
  margin-bottom: 170px;
  font-weight: 600;
  font-size: 26px;
  color: var(--color-accent);
}

.why-choose-item-descr {
  margin-top: auto;
  font-size: 20px;
  line-height: 1.2;
}

.why-choose-swiper,
.swiper-reviews {
  overflow: hidden;
}

.why-choose-item-img {
  padding: 0;
  overflow: hidden;
  border: none;
  display: flex;
}

.why-choose-item-img>img {
  display: block !important;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.calculate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calculate-label-span {
  color: #252525;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 27px;
  display: block;
  width: 100%;
}

.calculate-btn-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 150px;
}

.calculate-label-btn-minus {
  grid-row: 2;
  grid-column: 1;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.calculate-label-btn-plus {
  grid-row: 2;
  grid-column: 3;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.calculate-count-input {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
  appearance: none;
  /* max-width: 60px; */
  border-radius: 20px;
}

.calculate-count-input::-webkit-outer-spin-button,
.calculate-count-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.calculate-count-input:focus {
  outline: none;
}

.calculate-label-count {
  grid-column: 1 / -1;
}

.calculate-label-count-btn,
.calculate-count-input {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  font-size: 24px;
  font-weight: 600;
  padding: 7px;
}

.calculate-label-count-btn {
  padding: 7px 20px;
  display: block;
}

.calculate-settings-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 50px;
  column-gap: 20px;
}

.calculate-settings-block>.title-h2 {
  margin: 0;
  grid-column: 1 / -1;
}

.calculate-fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.calculate-fieldset-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 50px;
  row-gap: 20px;
}

.fieldset-label {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.fieldset-label-span {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 24px;
}

.input-radio {
  display: block;
  border-radius: 100vw;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-basic);
  background: transparent;
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.input-radio:checked::after {
  content: "";
  display: block;
  border-radius: 100vw;
  width: 21px;
  height: 21px;
  background-color: #D9D9D9;
}

.calculate-info-block {
  color: var(--color-white);
  background-color: var(--color-accent);
  border-radius: 20px;
  padding: 30px 45px;
  display: flex;
  flex-direction: column;
}

.title-h3 {
  text-transform: uppercase;
}

.calculate-info-title {
  font-weight: 700;
  font-size: 50px;
}

.calculate-cost-wrapper {
  padding-top: 32px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--color-white);
  margin-bottom: 50px;
}

.calculate-cost-title,
.calculate-cost-count-wrapper {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 30px;
}

.calculate-cost-count-wrapper {
  margin-left: auto;
  font-size: 20px;
}

.calculate-button {
  border-radius: 100vw;
  display: block;
  width: 100%;
  padding: 20px;
  background-color: var(--color-white);
  font-size: 20px;
  color: var(--color-basic);
  text-align: center;
  transition: color 0.3s;
}

.calculate-button:hover {
  color: var(--color-accent);
}

.calculate-info-config-wrapper {
  margin: auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 20px;
}

.reviews-title {
  margin: 0;
}

.reviews-item {
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  padding: 20px;
  background-color: rgba(35, 163, 221, 0.05);
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: max-content auto 1fr;
  gap: 20px;
}

.reviews-item-person {
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 24px;
  color: var(--color-accent);
  align-items: center;
  width: 70px;
  height: 70px;
}

.reviews-item-person>img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 100vw;
}

.reviews-item-service {
  display: block;
  padding: 10px 15px;
  border-radius: 100vw;
  color: var(--color-white);
  background-color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 100px;
}

.reviews-item-descr {
  margin-top: auto;
  font-size: 20px;
}












.faq-title {
  text-transform: uppercase;
}

.faq-accord-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-accord-item {
  border: 1px solid var(--color-accent);
  position: relative;
  padding: 0 30px 20px;
  transition: background-color 0.5s;
  border-radius: 20px;
  background-color: rgba(35, 163, 221, 0.05);
}

.faq-accord-item-head {
  display: block;
  font-size: 24px;
  font-weight: 600;
  padding-top: 20px;
  padding-bottom: 0px;
  cursor: pointer;
  color: var(--color-accent);
}

.accord-item-open .accord-btn-close::before,
.accord-item-open .accord-btn-close::after {
  background-color: var(--color-white);
}

.accord-btn-close {
  width: 40px;
  height: 40px;
  border-radius: 100vw;
  background-color: var(--color-accent);
  display: grid;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 15px;
  top: 15px;
  transition: transform 0.4s;
}

.accord-btn-close::after,
.accord-btn-close::before {
  content: "";
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 15px;
  height: 1px;
  border-radius: 100vw;
  background-color: var(--color-white);
  transform-origin: 50% 50%;
  transition: transform 0.3s;
}

.accord-btn-close::before {
  transform: rotate(90deg);
}

.accord-item-open .accord-btn-close::before {
  transform: rotate(0deg);
}

.accord-item-open .accord-item-content {
  margin-top: 20px;
  max-height: max-content;
}

.faq-accord-item-content {
  overflow: hidden;
  max-height: 0px;
  margin-top: 0px;
  transition: 0.3s linear;
  color: var(--color-basic);
  max-width: 1500px;
  font-size: 20px;
}

.document-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.document-container>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.calculate-label-count-btn {
  cursor: pointer;
}

.connect-title {
  margin-bottom: 30px;
}

.connect-descr {
  font-size: 26px;
  margin-bottom: 50px;
}

.connect-content {
  display: flex;
  gap: 20px;
}

.connect-form-wrapper {
  padding: 50px;
  border-radius: 20px;
  background-color: var(--color-accent);
  width: 40%;
}

.connect-decor {
  height: 730px;
  width: 60%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.connect-form-title {
  font-weight: 700;
  font-size: 50px;
  text-transform: none;
  color: var(--color-white);
  margin-bottom: 50px;
}

.connect-form,
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.connect-input {
  padding: 20px;
  color: var(--color-white);
  border-radius: 100vw;
  border: 1px solid var(--color-white);
  font-size: 20px;
  background-color: transparent;
}

.connect-input:focus {
  border: 1px solid var(--color-white);
  outline: none;
}

.connect-input::placeholder {
  opacity: 1;
  color: var(--color-white);
}

.connect-btn {
  display: block;
  border-radius: 100vw;
  color: var(--color-basic);
  font-size: 20px;
  padding: 20px;
  transition: color 0.3s;
  border: none;
  margin: 0;
  cursor: pointer;
}

.connect-btn:hover {
  color: var(--color-accent);
}

.footer {
  margin: 22px 50px 0px 50px;
  width: auto;
  padding: 22px 50px 50px;
  border-radius: 20px;
  background-color: var(--color-accent);

}

.footer-logo {
  display: block;
  width: 140px;
  height: 194px;
}

.footer-logo>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-address {
  color: var(--color-white);
  font-size: 26px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-link {
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--color-basic);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  gap: 14px;
  font-size: 18px;
  text-align: right;
}

.footer-document-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--color-white);
  list-style: none;
  color: var(--color-white);
  padding-left: 0;
  font-size: 16px;
}

.phone-btn-wrapper {
  position: fixed;
  bottom: 110px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.phone-btn-container {
  display: block;
  width: 120px;
  height: 120px;
  display: grid;
  justify-content: center;
  align-items: center;
}

.phone-btn {
  width: 80px;
  height: 80px;
  border: none;
  border-radius: 100vw;
  background: url("../img/ico/Speech.png") no-repeat center / 45px 45px, #B60000;
  z-index: 4;
  grid-column: 1;
  grid-row: 1;
  margin: 0 auto;
  cursor: pointer;
}

.phone-btn-decor {
  grid-column: 1;
  grid-row: 1;
  width: 120px;
  height: 120px;
  background-color: var(--color-accent);
  border-radius: 100vw;
  z-index: -1;
  opacity: 0.5;
  animation: phoneAnimation ease-out 3s infinite;
}

.phone-label {
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  background-color: var(--color-white);
  border-radius: 5px;
  padding: 13px 30px;
  font-weight: 500;
  display: none;
  position: relative;
}

.phone-label::after {
  position: absolute;
  right: -10px;
  top: calc(50% - 10px);
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--color-white);
  transform: rotate(45deg);
}

.phone-label-open {
  display: flex;
}


.modal-wrapper {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 40px;
}

.modal-container {
  border-radius: 20px;
  background-color: var(--color-accent);
  padding: 50px;
  width: 100%;
  max-width: 830px;
  cursor: default;
}

.modal-title {
  text-transform: none;
  color: var(--color-white);
}

.modal-open {
  display: flex;
}

.modal-wrapper {
  cursor: pointer;
}

.modal-close-btn {
  border: 1px solid var(--color-accent);
  width: 70px;
  height: 70px;
  border-radius: 100vw;
  position: fixed;
  top: 30px;
  right: 30px;
  cursor: pointer;
  background: url("../img/ico/blue-cross.svg") no-repeat center / 22px 22px, var(--color-white);
}

.button-up {
  z-index: 3;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 100vw;
  position: fixed;
  border: none;
  left: 40px;
  bottom: 120px;
  background: url("../img/ico/up.png") no-repeat center / 46px 46px, #B60000;
}

.burger-btn {
  display: none;
}

.document-nav-btn-container {
  display: none;
}

.nav-link {
  display: block !important;
}

.main-inner .hero-container {
  height: 684px;
}

.main-inner .hero-container {
  align-items: start;
  padding: 80px 60px;
}

.hero-title-inner {
  margin-top: auto;
}

.main-inner .hero-btn {
  background-color: var(--color-white);
  color: var(--color-basic);
  border-radius: 20px;
}

.about-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 64px auto 64px;
  gap: 20px;
}

.about-inner-descr {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 500;
}

.about-inner-btn {
  max-width: 386px;
  height: min-content;
}

.about-inner-title,
.about-inner-descr,
.about-inner-btn {
  grid-column: 1 / 7;
}

.about-inner-img {
  grid-column: -1 / -6;
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  grid-row: 1 / 4;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}

.content-item {
  padding: 20px 0;
  border-top: 1px solid #9BB6BE;
  border-bottom: 1px solid #9BB6BE;
}

.content-item-title {
  color: var(--color-accent);
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 20px;
}

.content-item-descr {
  color: #0E4657;
  font-size: 20px;
  line-height: 1.1;
  max-width: 285px;
  font-weight: 500;
}

.main-phone {
  display: block;
  position: fixed;
  z-index: 3;
  background-color: #B60000;
  color: var(--color-white);
  font-size: 20px;
  border-radius: 100vw;
  padding: 23px;
  bottom: 15px;
  left: 50px;
  right: 50px;
  text-align: center;
}

@keyframes phoneAnimation {
  0% {
    opacity: 1;
    transform: scale(0.6);
  }

  80% {
    transform: scale(1);
  }

  100% {
    opacity: 0;
  }
}

.spring-line-container{
  display: flex;
  flex-wrap: nowrap;
  font-weight: 500;
  animation: spring 40s linear infinite;
  gap: 10px;
  width: fit-content;
}
.spring-section{
  width: 100%;
  overflow: hidden;

}
.spring-line-part{
  display: flex;
  gap: 10px;
}
.spring-line-atom{
  white-space: nowrap;
  display: block;
  padding: 10px;
  font-size: 20px;
  border-radius: 5px;
  border: 1px solid #23A3DD;
  background-color: #F4FAFD;
  
}

.g-recaptcha{
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}
.spring-section>h2{
  width: 100%;
  margin: 0 auto 40px 50px;
  max-width: 1880px;
}


@media screen and (max-width: 1860px) {
  .about-title{
    font-size: 44px;
  }
  .about-parag{
    font-size: 28px;
  }
  .about-parag-first{
    max-width: 750px;
  }
  .about{
    column-gap: 20px;
  }
}
@media screen and (max-width: 1700px) {
.spring-section>h2{
  width: 100%;
  margin: 0 auto 40px 20px;
  max-width: 1880px;
}
  .nav-buttons {
    gap: 15px;
  }

  .nav-list {
    font-size: 18px;
    gap: 30px;
  }

  .logo {
    height: 115px;
  }

  .title-h1 {
    font-size: 60px;
  }

  .title-h2 {
    font-size: 44px;
  }

  .hero-description {
    font-size: 34px;
    max-width: 800px;
  }

  .hero-container {
    padding: 70px 40px;
    height: 800px;
  }

  .services-item-title-link,
  .services-item-price {
    font-size: 20px;
  }

  .btn-type-1,
  .btn-type-2 {
    font-size: 18px;
    padding: 15px;
  }

  .before-after-container {
    height: 400px;
  }

  .about-parag {
    font-size: 26px;
  }

  .why-choose-item-title {
    margin-bottom: 80px;
  }

  .fieldset-label-span {
    font-size: 22px;
  }

  .calculate-fieldset-wrapper {
    column-gap: 30px;
  }

  .input-radio {
    width: 38px;
    height: 38px;
  }

  .header,
  .main,
  .footer {
    padding: 0 20px;
  }

  .reviews-item-service {
    margin-bottom: 50px;
  }

  .reviews-item-descr {
    font-size: 18px;
  }

  .connect-form-title {
    font-size: 40px;
  }

  .connect-form-wrapper {
    padding: 30px;
  }

  .connect-decor {
    height: 680px;
  }

  .footer {
    padding: 40px;
    margin-left: 20px;
    margin-right: 20px;
  }

  body {
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 1700px) {
  .why-choose-item-title {
    margin-bottom: 60px;
    font-size: 20px;
  }

  .why-choose-item-descr {
    font-size: 18px;
  }

  .header {
    padding-top: 20px;
  }

  .about-inner-descr {
    font-size: 20px;
  }
}

@media screen and (max-width: 1400px) {
  .burger-btn {
    display: block;
    border-radius: 100vw;
    border: none;
    background: url("../img/ico/burger-icon.svg") no-repeat center / 20px 13px, var(--color-accent);
    width: 52px;
    height: 52px;
    z-index: 4;
  }

  .nav-link {
    width: auto;
    height: auto;
    background: none;
  }

  .order-btn {
    display: none;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo {
    z-index: 2;
    width: 59px;
    height: 81px;
  }

  .nav {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--color-white);
    transition: top 0.5s;
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
  }

  .nav-open {
    top: 0%;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-container {
    background-position: left;
    background-size: cover;
    height: 600px;
    padding: 20px;
  }

  .hero-title {
    text-align: left;
    font-size: 36px;
  }

  .hero-description {
    text-align: left;
    font-size: 26px;
    margin-left: 0;
    margin-right: auto;
  }

  section, .spring-section {
    padding: 30px 0;
  }
  .spring-section>h2{
    margin: 0 20px 20px;
  }

  .services-list {
    grid-template-columns: 1fr 1fr;
  }

  .title-h2 {
    margin-bottom: 20px;
    font-size: 38px;
  }

  .services-item-title-link,
  .services-item-price {
    /* text-transform: none; */
    font-size: 16px;
  }

  .gallery-title {
    margin-bottom: 0;
  }

  .gallery-up,
  .why-choose-up,
  .reviews-up {
    margin-bottom: 20px;
  }

  .about-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
    font-size: 34px;
  }

  .spring-line-atom{
    font-size: 14px;
  }

  .about-parag-first {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .about-parag-sechond {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .about-btn {
    grid-column: 1 / -1;
    grid-row: 5;
    width: 100%;
  }

  .about-parag {
    font-size: 20px;
  }

  .why-choose-item {
    width: 292px !important;
  }

  .why-choose-swiper,
  .swiper-reviews {
    overflow: visible;
  }

  .main {
    overflow: hidden;
  }

  .calculate {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .calculate-settings-block {
    row-gap: 20px;
  }

  .calculate-info-title {
    font-size: 40px;
  }

  .calculate-info-config-wrapper {
    margin: 20px 0;
  }

  .reviews-item {
    width: 267px !important;
  }

  .faq-accord-item-head {
    font-size: 20px;
  }

  .faq-accord-item-content {
    font-size: 16px;
  }

  .connect-content {
    flex-direction: column;
  }

  .connect-form-wrapper,
  .connect-decor {
    width: 100%;
  }

  .footer-nav {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }

  .footer-list {
    text-align: left;
  }

  .footer {
    padding: 20px;
  }

  .footer-document-list {
    flex-direction: column;
    text-align: left;
    align-items: start;
    gap: 10px;
  }

  body {
    padding-bottom: 16px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .about-inner-title,
  .about-inner-descr,
  .about-inner-btn,
  .about-inner-img {
    grid-column: 1;
  }

  .about-inner-img {
    grid-row: 3;
  }

  .about-inner-title,
  .about-inner-descr {
    margin-bottom: 0;
    margin-top: 0;
  }

  .about-inner-btn {
    max-width: none;
    font-size: 14px;
    padding: 12px;
  }

  .about-inner-descr {
    max-width: 290px;
  }

  .content-item-descr {
    font-size: 16px;
  }
}

@media screen and (max-width: 660px) {
  .hero-container {
    height: 400px;
  }

  .hero-title {
    font-size: 30px;
    margin-bottom: 20px;
    margin-top: auto;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 0;
  }

  .hero-btn {
    width: calc(100vw - 40px);
    padding: 11px;
    font-size: 14px;
    transform: translateY(60px);
  }

  .services {
    padding-top: 80px;
  }

  .hero-container {
    padding-bottom: 0;
  }

  .title-h2 {
    font-size: 30px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .services-item {
    align-items: center;
  }

  .services-item-title-link {
    margin-top: auto;
    display: block;
    text-transform: none;
  }

  .services-item-img-link {
    height: 291px;
  }
  .services-item-img-link>img{
    object-fit: cover;
  }

  .services-item-title-link,
  .services-item-price {
    font-size: 20px;
  }

  .services-item-btn {
    padding: 11px;
    font-size: 14px;
    margin-top: 0;
  }

  .before-after-container {
    height: 135px;
  }
  .services-item-title, .services-item-price{
    margin: 3px 0;
  }

  .swiper-gallery .swiper-slide {
    width: 239px;
  }

  .swiper-gallery {
    overflow: visible;
  }

  .gallery-nav-btn-container,
  .why-choose-nav-btn-container,
  .reviews-nav-btn-container {
    gap: 8px;
  }

  .swiper-button {
    width: 30px;
    height: 30px;
    background-size: 12px 6px;
  }

  .about {
    gap: 20px;
  }

  .about-decor {
    height: 200px;
  }

  .about-parag-sechond {
    grid-row: 4;
  }

  .why-choose-title {
    margin-bottom: 0;
  }

  .why-choose-up {
    align-items: end;
  }

  .why-choose-item-descr {
    font-size: 16px;
  }

  .calculate-title {
    text-transform: uppercase;
  }

  .calculate-label-span {
    margin-bottom: 15px;
    font-size: 20px;
  }

  .calculate-settings-block {
    grid-template-columns: 1fr;
  }

  .calculate-fieldset-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .fieldset-label-span {
    font-size: 20px;
  }

  .input-radio {
    width: 30px;
    height: 30px;
  }

  .input-radio:checked::after {
    width: 15px;
    height: 15px;
  }

  .calculate-info-block {
    padding: 20px;
  }

  .calculate-info-title {
    font-size: 30px;
  }

  .calculate-info-config-item {
    font-size: 16px;
  }

  .calculate-info-config-wrapper {
    gap: 15px;
  }

  .calculate-cost-wrapper {
    padding-top: 20px;
    margin-bottom: 20px;
  }

  .spring-line-container{
  animation: spring 60s linear infinite;
}

  .calculate-cost-title {
    font-size: 20px;
  }

  .calculate-cost-count-wrapper {
    font-size: 16px;
  }

  .calculate-button {
    padding: 11px;
    font-size: 14px;
  }

  .reviews-title,
  .documents-title {
    margin-bottom: 0;
  }

  .reviews-item-person {
    width: 50px;
    height: 50px;
  }

  .reviews-item-service {
    font-size: 12px;
  }

  .reviews-item-service {
    margin-bottom: 0px;
  }

  .reviews-item-descr {
    font-size: 14px;
  }

  .faq-accord-item-content {
    font-size: 14px;
  }

  .accord-btn-close {
    width: 30px;
    height: 30px;
    top: 20px;
  }

  .document-up {
    display: flex;
    align-items: end;
    justify-content: space-between;
  }

  .document-nav-btn-container {
    display: flex;
  }

  .document-nav-btn-container {
    gap: 8px;
  }

  .btnp-document {
    transform: rotate(180deg);
  }

  .btnp-document,
  .btnn-document {
    background: url("../img/ico/arrow.svg") no-repeat center / 12px 6px, var(--color-accent);
  }

  .document-container>.swiper-slide {
    width: 275px;
  }

  .doc-swiper {
    margin-top: 20px;
  }

  .connect-descr {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .connect-decor {
    order: 1;
  }

  .connect-form-wrapper {
    order: 2;
  }

  .connect-decor {
    height: 200px;
  }

  .connect-form-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .connect-form-wrapper {
    padding: 15px;
  }

  .connect-input {
    padding: 11px 20px;
    font-size: 14px;
  }

  .connect-form,
  .modal-form {
    gap: 15px;
  }

  .connect-btn {
    padding: 11px;
    font-size: 14px;
  }

  .footer-logo {
    width: 132px;
    height: 182px;
  }

  .footer-address {
    font-size: 16px;
  }

  .footer-nav {
    margin-bottom: 20px;
  }

  .footer-address {
    gap: 15px;
  }

  .footer-list {
    font-size: 14px;
  }

  .footer-document-list {
    font-size: 12px;
  }

  .footer-document-item:nth-child(1) {
    order: 5;
  }

  .footer-document-item:nth-child(2) {
    order: 1;
  }

  .footer-document-item:nth-child(3) {
    order: 2;
  }

  .footer-document-item:nth-child(4) {
    order: 3;
  }

  .footer-document-list {
    padding-top: 20px;
  }

  .phone-btn-wrapper {
    bottom: 10px;
    right: 10px;
    flex-direction: column;
    align-items: end;
    gap: 5px;
  }

  .phone-btn-container,
  .phone-btn-decor {
    width: 38px;
    height: 38px;
  }

  .phone-btn,
  .button-up {
    width: 40px;
    height: 40px;
  }

  .button-up {
    left: 20px;
    bottom: 80px;
    background: url("../img/ico/up.png") no-repeat center / 23px 23px, #B60000;
  }

  .phone-label-item {
    font-size: 12px;
  }

  .phone-label-open {
    padding: 7px;
  }

  .phone-label {
    border-radius: 10px;
  }

  .modal-container {
    padding: 40px 20px;
  }

  .modal-wrapper {
    padding: 10px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-close-btn {
    width: 40px;
    height: 40px;
    background: url("../img/ico/blue-cross.svg") no-repeat center / 15px 15px, var(--color-white);
  }

  .connect-btn {
    background-color: var(--color-white);
  }

  .main-inner .hero-container {
    height: 400px;
    padding: 20px;
  }

  .main-inner .hero-btn {
    transform: none;
    width: 100%;
  }

  .content-list {
    grid-template-columns: 1fr;
  }

  .content-item-title {
    margin-bottom: 15px;
  }

  .content-item-title {
    font-size: 20px;
  }

  .content-item-descr {
    font-size: 14px;
  }

  .content-item {
    border-bottom: none;
  }

  .content-list {
    gap: 0px;
  }

  .content-item:last-child {
    border-bottom: 1px solid #9BB6BE;
  }

  .main-phone {
    left: 20px;
    right: 20px;
    font-size: 14px;
    padding: 16px;
  }

  .phone-btn {
    background: url("../img/ico/Speech.png") no-repeat center / 23px 23px, #B60000;
  }

  .phone-btn-wrapper {
    bottom: 85px;
    display: flex;
    flex-direction: row;
    right: 20px;
    gap: 15px;
    align-items: center;
  }

  .phone-label::after {
    width: 15px;
    height: 15px;
    right: -5px;
    top: calc(50% - 7px);
  }

  .phone-label {
    padding: 7px 14px 7px 5px;
    border-radius: 3px;
  }

  .faq-accord-item-head {
    max-width: 235px;
  }
  .descr-mobile{
    display: block;
    font-size: 11px;
    text-align: center;
    margin: 0 auto;
    font-weight: 600;
  }
  .hero-description{
    display: none;
  }
}


@keyframes spring {
  0%{
    transform: translateX(0%);
  }100%{
    transform: translateX(-50%);
  }
}