@import url("/assets/css/reset.css");
@import url("/assets/css/fonts.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-color: white;
  --secondary-color: #7caecc;
  --font-color: #2c2e32;
  --dark: #2c2e32;
  --color3: #f2f2f2;
  --h2-left-bracket: url("data:image/svg+xml,%3Csvg width='20' height='49' viewBox='0 0 20 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.999999 30L0.999999 36.5955L12.9917 48.5872L19.5871 48.5872' stroke='%232C2E32' stroke-width='0.5'/%3E%3Cpath d='M19.5871 1L12.9917 1L1 12.9917L1 19.5871' stroke='%232C2E32' stroke-width='0.5'/%3E%3C/svg%3E%0A");
  --scope-bracket: url("data:image/svg+xml,%3Csvg width='36' height='255' viewBox='0 0 36 255' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.999998 218.647L0.999999 231.066L23.5806 253.647L36 253.647' stroke='%237CAECC'/%3E%3Cpath d='M36 0.646973L23.5806 0.646973L1 23.2276L1 35.647' stroke='%237CAECC'/%3E%3C/svg%3E%0A");
  --primary-font: "Suisse Intl";
  --secondary-font: "NonBureauExtended";
  --additional-font: "Inter";
  --numbered-list-arrow: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.9652 23.0286L2.58495 23.0346M1.68788 1.01951L23.9652 23.0286L1.68788 1.01951ZM23.9652 23.0286L23.9592 1.89397L23.9652 23.0286Z' stroke='%232C2E32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  --numbered-list-arrow-white: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.9652 23.0286L2.58495 23.0346M1.68788 1.01951L23.9652 23.0286L1.68788 1.01951ZM23.9652 23.0286L23.9592 1.89397L23.9652 23.0286Z' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  --numbered-list-arrow-hovered: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.9652 23.0286L2.58495 23.0346M1.68788 1.01951L23.9652 23.0286L1.68788 1.01951ZM23.9652 23.0286L23.9592 1.89397L23.9652 23.0286Z' stroke='%237caecc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  --filter-white: brightness(0) invert(1);
  --third-font: "Noto Sans", sans-serif;
}

body,
html {
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
}

h1,
h2,
.h1,
.h2 {
  text-transform: uppercase;
}

.h2, h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 70px;
  font-size: 40px;
}

.h2, h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 70px;
  font-size: 40px;
}

.base-content h2 {
    margin-bottom: 30px;
    margin-top: 30px;
}

.base-content p,
.base-content ul {
    margin-bottom: 16px;
}

.base-content li {
    margin-bottom: 8px;
}

@media screen and (max-width: 1000px) {
  .h2, h2 {
    margin-bottom: 30px;
  }
  
  .base-content h2 {
      margin-bottom: 20px;
      margin-top: 30px;
  }
}

@media screen and (max-width: 650px) {
  .h2, h2, h1 {
    font-size: 20px;
    text-align: center;
  }
}

.h2::before,
.h2::after,
.h2_splitted span:first-child::before,
.h2_splitted span:last-child::after {
  content: var(--h2-left-bracket);
  height: 48px;
  width: 19px;
  position: relative;
  top: -2px;
  display: inline-block;
}

.h2::after,
.h2_splitted span:last-child::after {
  -webkit-transform: scale(-1, 1);
      -ms-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

.h2_splitted {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
  row-gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.h2_splitted span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 48px;
}

@media screen and (max-width: 700px) {
  .h2::before,
  .h2_splitted span:first-child::before {
    -webkit-transform: scale(0.8);
        -ms-transform: scale(0.8);
            transform: scale(0.8);
  }

  .h2::after,
  .h2_splitted span:last-child::after {
    -webkit-transform: scale(-0.8, 0.8);
        -ms-transform: scale(-0.8, 0.8);
            transform: scale(-0.8, 0.8);
    top: -1px;
  }
}

@media screen and (max-width: 650px) {
  .h2::before,
  .h2_splitted span:first-child::before {
    -webkit-transform: scale(0.6);
        -ms-transform: scale(0.6);
            transform: scale(0.6);
  }

  .h2::after,
  .h2_splitted span:last-child::after {
    -webkit-transform: scale(-0.6, 0.6);
        -ms-transform: scale(-0.6, 0.6);
            transform: scale(-0.6, 0.6);
    top: -2px;
  }

  .h2_splitted {
    -webkit-column-gap: 10px;
       -moz-column-gap: 10px;
            column-gap: 10px;
    row-gap: 5px;
  }

  .h2_splitted span {
    height: 28px;
  }
}

.h2_white {
  color: var(--primary-color);
}

.h2_white::before,
.h2_white::after,
.h2_white.h2_splitted span:first-child::before,
.h2_white.h2_splitted span:last-child::after {
  -webkit-filter: var(--filter-white);
          filter: var(--filter-white);
}

.h2_splitted::before,
.h2_splitted::after {
  display: none;
}

.add-bracket::before,
.add-bracket::after {
  content: var(--h2-left-bracket);
  height: 48px;
  width: 19px;
  position: relative;
  top: -2px;
}

.add-bracket::after {
  -webkit-transform: scale(-1, 1);
      -ms-transform: scale(-1, 1);
          transform: scale(-1, 1);
  top: 0px;
}

@media screen and (max-width: 700px) {
  .add-bracket::before {
    -webkit-transform: scale(0.8);
        -ms-transform: scale(0.8);
            transform: scale(0.8);
  }

  .add-bracket::after {
    -webkit-transform: scale(-0.8, 0.8);
        -ms-transform: scale(-0.8, 0.8);
            transform: scale(-0.8, 0.8);
    top: -1px;
  }
}

@media screen and (max-width: 650px) {
  .add-bracket::before {
    -webkit-transform: scale(0.6);
        -ms-transform: scale(0.6);
            transform: scale(0.6);
  }

  .add-bracket::after {
    -webkit-transform: scale(-0.6, 0.6);
        -ms-transform: scale(-0.6, 0.6);
            transform: scale(-0.6, 0.6);
    top: -2px;
  }
}

.add-bracket_white::before,
.add-bracket_white::after {
  -webkit-filter: var(--filter-white);
          filter: var(--filter-white);
}

.content-wrapper {
  max-width: 1172px;
  width: 100%;
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  padding: 0 16px;
}

.block-margin {
  margin-bottom: 100px;
}

@media screen and (max-width: 1000px) {
  .block-margin {
    margin-bottom: 60px;
  }
}

.button {
  height: 49px;
  padding: 0px 36px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  background-size: 101% 100%;
  background-position-x: -1px;
  background-repeat: no-repeat;
  background-image: url(/assets/img/button-bg.png);
  background-color: transparent;
  border: 0;
  color: white;
}

.button:hover {
  -webkit-box-shadow: 15px -12px 10px -4px rgba(0, 0, 0, 0.1);
          box-shadow: 15px -12px 10px -4px rgba(0, 0, 0, 0.1);
}

.button_box-white:hover {
  -webkit-box-shadow: 15px -12px 10px -4px rgba(255, 255, 255, 0.1);
          box-shadow: 15px -12px 10px -4px rgba(255, 255, 255, 0.1);
}

.button:active {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.button_blue {
  background-image: url(/assets/img/button-bg-blue.png);
}

.button_font-primary {
  color: var(--primary-color);
}

.header {
  z-index: 10;
}

.header .button {
  color: var(--dark);
}

.header__contacts {
  padding: 16px 0;
  border-bottom: 1px solid var(--dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 0.875rem;
}

@media screen and (max-width: 500px) {
  .header__contacts {
    padding: 12px 0;
    margin-bottom: 20px;
  }
}

.header__contacts-inner-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
}

.header__contacts-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}

.header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 92px;
  gap: 80px;
}

.header-nav__logo img,
.footer__logo img {
  width: 130px;
}

.footer__logo img {
  background-color: white;
  padding: 5px;
  border-radius: 5px;
}

.header-nav__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  gap: 20px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none !important;
}

@media screen and (max-width: 860px) {
  .mob-hidden {
    display: none;
  }
}

@media screen and (min-width: 860px) {
  .desk-hidden {
    display: none;
  }
}

.burger {
  content: url(/assets/img/burger.svg);
  cursor: pointer;
}

.close {
  content: url(/assets/img/close.svg);
  cursor: pointer;
}

.navbar-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 30px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: 100%;
}

.navbar-nav .nav-item:hover .nav-link {
  color: var(--secondary-color);
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 0.255em;
  vertical-align: baseline;
  content: " /";
  border: 0;
}

.navbar-nav .nav-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.dropdown-menu {
  border: 0;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.burger {
  content: url(/assets/img/burger.svg);
  cursor: pointer;
}

@media screen and (max-width: 860px) {
  .header-nav {
    position: absolute;
    right: 0;
    top: var(--hide-height);
    height: auto;
    -webkit-transition: top 0.3s ease-in-out;
    -o-transition: top 0.3s ease-in-out;
    transition: top 0.3s ease-in-out;
    border: 1px solid var(--secondary-color);
    border-top: none;
    border-right: none;
    padding: 65px 0px;
    gap: 40px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: var(--primary-color);
    width: 300px;
  }

  .header-nav__nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  .header-nav.show {
    top: 0;
  }

  .header-nav__logo {
    width: 100%;
  }

  .header-nav__close {
    -ms-flex-item-align: end;
        align-self: flex-end;
    padding-right: 16px;
  }

  .navbar-nav .nav-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .navbar-nav .nav-link,
  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 0 16px;
  }

  .navbar-nav .dropdown-menu {
    width: 100%;
  }

  .navbar-nav > .nav-item > .nav-link {
    font-family: var(--secondary-font);
    font-size: 20px;
    font-weight: bold;
  }

  .navbar-nav .dropdown.active {
    color: var(--secondary-color);
  }

  .header-nav__logo {
    padding-left: 16px;
  }

  .header .mob-hidden {
    display: none;
  }

  .header__contacts-inner-wrapper:nth-child(2) {
    gap: 20px;
  }
}

@media screen and (max-width: 540px) {
  .header__contacts {
    padding: 8px 0;
  }

  .header__contacts img.logo {
    height: 40px;
  }

  .header-nav {
    width: 100%;
  }

  .header [alt="phone"] + a {
    font-size: 0.85em;
  }

  .header__contacts-item img {
    height: 16px;
  }

  .header__contacts-item {
    gap: 5px;
  }

  .header__contacts-inner-wrapper:nth-child(2) {
    gap: 10px;
  }
}

.first-screen {
  background-color: var(--dark);
  color: var(--color3);
  height: 650px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  background-image: url(/assets/img/fs-bg.jpg);
  background-size: cover;
  overflow: hidden;
  margin-top: 32px;
}

/* .fs-title::before,
.fs-list-wrapper::before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
} */

@media screen and (max-width: 1430px) {
  .first-screen {
    background-position-x: 80%;
  }
}

.first-screen .content-wrapper {
  z-index: 2;
}

.first-screen h1 {
  font-family: "NonBureauExtended";
  font-weight: bold;
  font-size: 93.25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
}

.first-screen .under-title {
  font-size: 1.1875rem;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color3);
  margin-bottom: 24px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-weight: 300;
}

.long-line {
  display: inline-block;
  height: 18px;
  width: 184px;
  background-color: var(--color3);
  margin-left: 10px;
}

.fs-list {
  display: -ms-grid;
  display: grid;
  gap: 24px;
}

.fs-list .button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: var(--color3);
}

.fs-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.fs-list__item img {
  width: 38px;
  height: 49px;
}

.fs-list__item .text {
  font-size: 14px;
}

@media screen and (max-width: 1130px) {
  .first-screen {
    background: none;
    display: block;
    height: auto;
  }

  .fs-area {
    display: -ms-grid;
    display: grid;
    position: relative;
  }

  .fs-title {
    background-image: url(/assets/img/fs-bg.jpg);
    background-position-x: 100%;
    height: 50vw;
    max-height: 500px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-size: cover;
  }

  .fs-title .content-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    z-index: 2;
  }

  .fs-title h1 {
    font-size: 70px;
  }

  .fs-title .under-title {
    font-size: 16px;
    border-bottom: none;
    padding-bottom: 0;
    border-top: 1px solid var(--color3);
    padding-top: 7px;
  }

  .fs-title .long-line {
    display: none;
  }

  .fs-list-wrapper {
    background-color: var(--dark);
    padding: 16px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .fs-list-wrapper .content-wrapper {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }

  .fs-list .button {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

@media screen and (max-width: 930px) {
  .fs-title .mob-hidden {
    display: none;
  }

  .fs-title span.desk-hidden {
    display: initial;
  }

  .fs-title h1 {
    display: block;
  }
}

@media screen and (max-width: 840px) {
  .fs-title h1 {
    font-size: 60px;
  }
}

@media screen and (max-width: 660px) {
  .fs-title h1 {
    font-size: 50px;
  }
}

@media screen and (max-width: 550px) {
  .first-screen {
    margin-top: 20px;
  }

  .fs-list {
    font-size: 14px;
    font-weight: 300;
  }

  .fs-list .button {
    left: 0;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }

  .fs-title h1 {
    font-size: 50px;
  }

  .fs-title br {
    display: initial !important;
  }

  .fs-title .under-title {
    font-size: 16px;
    border-bottom: none;
    padding-bottom: 0;
    border-top: 1px solid var(--color3);
    padding-top: 7px;
  }

  .fs-title {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
  }

  .fs-list-wrapper .content-wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .fs-title .content-wrapper {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  .fs-title {
    height: 90vw;
  }
}

.advantages__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

.advantages-item {
  padding: 46px 14px 16px 14px;
  border: 1px solid var(--dark);
  width: 220px;
  line-height: 1.4;
}

.advantages-item__accent {
  color: var(--secondary-color);
  font: bold 35px var(--secondary-font);
  line-height: 110%;
  margin-bottom: 37px;
}

.advantages-item__accent:has(img) {
  margin-bottom: 27px;
}

.advantages-item__text {
  font-size: 14px;
  font-weight: 300;
}

@media screen and (max-width: 1190px) {
  .advantages__items {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

@media screen and (max-width: 500px) {
  .advantages-item {
    width: 140px;
    height: 115px;
    padding: 30px 0px 11px 9px;
  }

  .advantages-item:has(img) {
    padding-top: 16px;
  }

  .advantages-item__accent {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .advantages-item__text {
    font-size: 8.9px;
  }

  .advantages-item__accent:has(img) {
    margin-bottom: 16px;
  }

  .advantages-item__accent img {
    height: 30px;
  }
}

.services-scroll__inner-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 342px 30px auto;
  grid-template-columns: 342px auto;
  gap: 30px;
}

.services-scroll__items {
  height: 100%;
  counter-reset: item;
  width: 100%;
}

.services-scroll-item {
  padding: 10px 0 10px 15px;
  margin-right: 18px;
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.services-scroll-item::before {
  display: inline-block;
  content: counter(item, decimal-leading-zero);
  counter-increment: item;
  margin-right: 47px;
}

.services-scroll-item a.main-link::after {
  content: var(--numbered-list-arrow);
}

.services-scroll-item:hover a.main-link::after {
  content: var(--numbered-list-arrow-hovered);
}

.services-scroll-item:last-child {
  border-bottom: none;
}

.services-scroll-item:hover,
.services-scroll-item:hover a.main-link {
  color: var(--secondary-color);
}

.services-scroll__items::-webkit-scrollbar {
  width: 7px;
  border-right: 1px solid var(--dark);
}

.services-scroll__items::-webkit-scrollbar-track {
  background: transparent;
  width: 1px;
}

.services-scroll__items::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 0;
  border: none;
}

.services-scroll-item a.main-link {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.services-scroll__image {
  height: 509px;
  width: 342px;
  background: url(/assets/img/services-scroll-image.jpg) no-repeat;
  background-size: cover;
}

.services-scroll .thumb-wrapper {
  height: 0;
  width: 100%;
  overflow: hidden;
  transition: 0.3s all;
  display: grid;
  justify-content: center;
}

.services-scroll .thumb-wrapper img {
  height: 250px;
  width: 100%;
  max-width: 500px;
  object-fit: cover;
}

.services-scroll .thumb-wrapper.show {
  height: 310px;
  padding-top: 10px;
}

.services-scroll a.mobile-link {
  position: relative;
  color: var(--dark);
  text-align: center;
  font-weight: bold;
  font-family: var(--secondary-font);
  color: var(--secondary-color);
}

.services-scroll a.mobile-link:active {
  text-decoration: underline;
}

.services-scroll__item-wrapper {
  border-bottom: 1px solid var(--dark);
}

@media screen and (max-width: 920px) {


  .services-scroll__inner-wrapper {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    height: auto;
  }
  .services-scroll__inner-wrapper > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .services-scroll__inner-wrapper > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .services-scroll__items {
    overflow: visible;
  }

  .services-scroll__image {
    /* width: 100%;
    height: 70vw;
    background-size: cover;
    background-position-y: 100%; */
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .services-scroll-item {
    font-size: 14px;
    padding: 15px 0px 15px 15px;
  }
}

@media screen and (max-width: 550px) {
  .services-scroll-item a::after {
    display: none;
  }

  .services-scroll-item::before {
    margin-right: 28px;
    -ms-flex-item-align: start;
        align-self: flex-start;
  }
}

.scope__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
}

.scope-item,
a.scope-item {
  --clip-size: 25px;
  display: block;
  height: 251px;
  color: var(--primary-color);
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.scope-item::before,
.scope-item::after {
  content: url("data:image/svg+xml,%3Csvg width='36' height='253' viewBox='0 0 36 253' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_2284_65' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='36' height='253'%3E%3Crect width='36' height='253' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_2284_65)'%3E%3Cpath d='M0 229L12 240.5L24 253H0L0 229Z' fill='white'/%3E%3Cpath d='M0.999998 217L0.999999 229.419L23.5806 252L36 252' stroke='%237CAECC' stroke-width='2'/%3E%3Cpath d='M24 0L12.5 12L-9.53674e-07 24L-9.53674e-07 0L24 0Z' fill='white'/%3E%3Cpath d='M36 1L23.5806 1L1 23.5806L1 36' stroke='%237CAECC' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E%0A");
  height: 253px;
  position: absolute;
  left: -1px;
  top: -1px;
  z-index: 2;
}

.scope-item::after {
  left: auto;
  right: -1px;
  rotate: 180deg;
}

.scope-item__title {
  position: absolute;
  bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 0 20px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  z-index: 2;
}

.scope-item__title::after {
  content: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7654 12.2985L2.13008 12.3014M1.68385 1.35032L12.7654 12.2985L1.68385 1.35032ZM12.7654 12.2985L12.7624 1.78531L12.7654 12.2985Z' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.scope__row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 290px 30px 290px 30px 290px;
  grid-template-columns: 290px 290px 290px;
  gap: 30px;
}

.scope__row_last-auto {
  -ms-grid-columns: 290px 290px minmax(290px, auto);
  grid-template-columns: 290px 290px minmax(290px, auto);
}

.scope__row_middle-auto {
  -ms-grid-columns: 290px minmax(290px, auto) 290px;
  grid-template-columns: 290px minmax(290px, auto) 290px;
}

.scope__row_start-auto {
  -ms-grid-columns: minmax(290px, auto) 290px 290px;
  grid-template-columns: minmax(290px, auto) 290px 290px;
}

@media screen and (max-width: 990px) {
  .scope__row {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }

  .scope__items {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 400px;
    grid-template-columns: 400px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

@media screen and (max-width: 640px) {
  .scope__items {
    -ms-grid-columns: minmax(auto, 500px);
    grid-template-columns: minmax(auto, 500px);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.stages {
  position: relative;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  z-index: 2;
}

.stages__items {
  display: -ms-grid;
  display: grid;
  width: 860px;
  z-index: 2;
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.stages__item:nth-child(even) {
  -ms-grid-column-align: end;
      justify-self: end;
}

.stages-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 26px;
  width: 339px;
}

.stages-item__text {
  font-weight: 300;
  line-height: 1.2;
}

.stages-item__title {
  font: bold 24px var(--secondary-font);
  margin-bottom: 7px;
}

.stages-item__img {
  height: 100%;
}

.stages__items::before {
  content: "";
  display: block;
  position: absolute;
  width: 0px;
  height: 100%;
  border-right: 2px solid var(--secondary-color);
  left: 50%;
  z-index: 1;
  -webkit-mask: -webkit-gradient(
    linear,
    left top, left bottom,
    from(transparent),
    color-stop(8%, black),
    color-stop(92%, black),
    to(transparent)
  );
  -webkit-mask: linear-gradient(
    to bottom,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
          mask: -webkit-gradient(
    linear,
    left top, left bottom,
    from(transparent),
    color-stop(8%, black),
    color-stop(92%, black),
    to(transparent)
  );
          mask: linear-gradient(
    to bottom,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.stages__item::after {
  content: " ";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: block;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-6px);
      -ms-transform: translateX(-6px);
          transform: translateX(-6px);
  z-index: 2;
}

@media screen and (max-width: 1140px) {
  .stages-item:nth-child(even) {
    justify-self: flex-start;
  }

  .stages-item {
    gap: 15px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: relative;
  }

  .stages-item__text {
    font-size: 14px;
  }

  .stages-item__title {
    font-size: 18px;
  }

  .stages__items {
    gap: 28px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    position: relative;
    row-gap: 30px;
    -webkit-transform: translateX(-35%);
        -ms-transform: translateX(-35%);
            transform: translateX(-35%);
    padding-top: 65px;
  }

  .stages__item {
    left: 0;
    padding-left: 32px;
  }

  .stages__item::after {
    top: 15px !important;
    left: 0;
    /* position: relative; */
    display: none;
  }

  .stages-item__img {
    position: relative;
  }

  .stages-item__img::after {
    content: " ";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: -38px;
    z-index: 2;
  }

  .stages-item__img img,
  .stages-item__img {
    width: 60px;
  }

  .stages__items::before {
    left: 0;
  }
}

@media screen and (max-width: 600px) {
  .stages__items {
    gap: 28px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    position: relative;
    row-gap: 30px;
    transform: none;
    left: 0;
  }

  .stages::before {
    display: none;
  }

  .ellipse-logo-bg {
    display: none;
  }

  .stages-item {
    gap: 28px;
  }
}

@media screen and (max-width: 400px) {
  .stages-item {
    gap: 15px;
  }

  .stages__item::after {
    position: absolute;
  }

  .stages__item {
    max-width: 240px;
  }
}

.deadlines {
  /* display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr; */
  background: var(--dark);
  color: var(--primary-color);
  position: relative;
}

.deadlines__image {
  width: 50%;
  height: 100%;
  background: url(/assets/img/deadlines-bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
}

.deadlines .content-wrapper {
  padding-top: 57px;
  padding-bottom: 57px;
}

.deadlines__content-wrapper {
  max-width: 435px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 50px;
}

.deadlines__title {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 450;
  line-height: 1.4;
  max-width: 50%;
  margin-bottom: 50px;
}

.deadlines__items {
  border-spacing: 0 25px;
}

.deadlines-item {
  text-transform: uppercase;
  font-weight: 300;
}

.deadlines-item td:not(:last-child) {
  padding-bottom: 30px;
}

.deadlines-item__name {
  padding-right: 20px;
}

.deadlines .button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.deadlines-item__deadline {
  white-space: nowrap;
}

@media screen and (max-width: 1000px) {
  .deadlines__title {
    max-width: 100%;
    text-align: center;
  }

  /* .deadlines-item {
    font-size: 14px;
  } */

  .deadlines {
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto 50vw;
    grid-template-rows: auto 50vw;
  }

  .deadlines > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .deadlines > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .deadlines__image {
    position: static;
    background-position-y: 100%;
    width: 100%;
  }

  .deadlines .button {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
  }

  .deadlines__content-outer-wrapper {
    max-width: 500px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .deadlines__items {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 550px) {
  .deadlines__title {
    font-size: 18px;
  }

  .deadlines-item {
    font-size: 14px;
  }

  .deadlines {
    -ms-grid-rows: auto 66vw;
    grid-template-rows: auto 66vw;
  }

  .deadlines__image {
    background-position-y: -1px;
  }

  .deadlines__content-wrapper {
    padding: 30px 16px;
    gap: 30px;
  }

  .deadlines-item td:not(:last-child) {
    padding-bottom: 24px;
  }

  .deadlines-item__name {
    padding-right: 8px;
  }
}

.about__content-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 387px 75px auto;
  grid-template-columns: 387px auto;
  gap: 75px;
}

.about__content {
  -ms-flex-line-pack: center;
      align-content: center;
  font-weight: 300;
}

.about__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
  margin-bottom: 55px;
  line-height: 1.4;
}

.about__numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.about-number__text {
  max-width: 110px;
}

.about-number__title {
  font: bold 28px var(--secondary-font);
  color: var(--secondary-color);
  margin-bottom: 9px;
}

@media screen and (max-width: 1140px) {
  .about__content-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 30px;
    position: relative;
  }

  .about__image img {
    width: 100vw;
    position: relative;
    margin-left: -16px;
    height: 400px;
    -o-object-fit: cover;
       object-fit: cover;
    left: 0px;
  }
}

@media screen and (max-width: 700px) {
  .about {
    font-size: 14px;
  }

  .about__numbers {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 1fr 30px 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 30px;
  }

  .about__numbers > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .about__numbers > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }

  .about__numbers > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }

  .about__numbers > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
  }

  .about__image img {
    height: 70vw;
  }

  .about-number__title {
    font-size: 22px;
  }
}

.clients__items-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.clients__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 40px;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  max-width: 850px;
}

.clients__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.clients__item img {
  width: 100px;
}

.cases-preview__items {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.cases-preview-item {
  font-weight: 300;
}

.cases-preview-item__thumb {
  margin-bottom: 36px;
}

.cases-preview-item__thumb img {
  aspect-ratio: 1;
  width: 100%;
}

.cases-preview-item__title {
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 14px;
}

.cases-preview a.button {
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  color: black;
  height: 50px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 760px) {
  .cases-preview-item__title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .cases-preview-item__desc {
    font-size: 12px;
  }

  .cases-preview-item__thumb {
    margin-bottom: 27px;
  }
}

@media screen and (max-width: 600px) {
  .cases-preview__items {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    justify-items: center;
  }

  .cases-preview-item {
    max-width: 240px;
  }
}

.cta-consult {
  background-color: var(--dark);
  color: var(--primary-color);
  position: relative;
}

.cta-consult__content-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.cta-consult__title {
  font: bold 24px var(--secondary-font);
  color: var(--secondary-color);
  text-transform: uppercase;
}

.cta-consult__text {
  width: 48%;
  max-width: 480px;
  font-weight: 300;
  line-height: 1.4;
}

.cta-consult__button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.cta-consult__back {
  position: absolute;
  height: 100%;
  width: 50%;
  background-image: url(/assets/img/cta-consult-back.png);
  background-size: contain;
  background-repeat: no-repeat;
  right: 0;
  top: 0;
}

@media screen and (max-width: 800px) {
  .cta-consult__back {
    position: relative;
    height: 271px;
    width: 100%;
    background-position-x: 100%;
    background-size: cover;
  }

  .cta-consult {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }

  .cta-consult__text {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .cta-consult__back {
    height: 188px;
    background-size: 500px;
  }
}

@media screen and (max-width: 380px) {
  .cta-consult__back {
    height: 130px;
    background-size: 500px;
  }

  .cta-consult__content-wrapper {
    gap: 15px;
  }

  .cta-consult__title {
    font-size: 20px;
    font-family: var(--primary-font);
  }
}

.reviews-slider__swiper {
  font-family: "Inter";
  overflow: hidden;
  padding: 0 50px;
}

@media screen and (max-width: 760px) {
  .reviews-slider__swiper {
    padding: 0 15px;
  }
}

.reviews-slider-item {
  padding: 20px;
  border: 1px solid var(--dark);
}

.reviews-slider-item__text {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.36;
  height: 64px;
  overflow: hidden;
  transition: 0.3s height;
  position: relative;
}

.reviews-slider-item__text_hidden {
  margin-bottom: 0px;
}

.reviews-slider-item__text_hidden::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px;
  width: 100%;
  background: linear-gradient(transparent, white);
}

.reviews-slider-item__show-full {
  font-size: 12px;
  font-weight: bold;
  color: var(--secondary-color);
}

.reviews-slider-item__avatar img {
  width: 48px;
  height: 48px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

.reviews-slider-item__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.reviews-slider-item__name {
  font-weight: 500;
  margin-bottom: 4px;
}

.reviews-slider-item__position {
  font-size: 11px;
  color: #777;
}

.reviews-slider .swiper-button-next:after,
.reviews-slider .swiper-button-prev:after {
  content: url(/assets/img/slider-arrow-right.svg);
}

.reviews-slider .swiper-button-prev:after {
  -webkit-transform: scale(-1, 1);
      -ms-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

@media screen and (max-width: 760px) {
  .reviews-slider .swiper-button-next:after,
  .reviews-slider .swiper-button-prev:after {
    scale: 0.7;
  }

  .reviews-slider .swiper-button-next {
    right: 0;
  }

  .reviews-slider .swiper-button-prev {
    left: 0;
  }

  .reviews-slider-item {
    padding: 12px;
  }
}

.faq__content-wrapper {
  display: -ms-grid;
  display: grid;
  gap: 20px;
  -ms-grid-columns: 174px 20px auto;
  grid-template-columns: 174px auto;
}

.faq__image {
  width: 174px;
  height: 627px;
  background-image: url(/assets/img/faq-image.jpg);
}

.faq-items-accordion {
  counter-reset: item;
}

.faq-item {
  color: var(--dark);
  border: 0;
  border-bottom: 1px solid var(--dark);
  font-weight: 300;
  line-height: 1.4;
}

.faq-item__button:not(.collapsed),
.faq-item__button {
  background-color: var(--primary-color);
  color: var(--dark);
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 0;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.faq-item__header {
  border: 0;
}

.faq-item__button:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.faq-item:last-of-type {
  border-radius: 0;
}

.faq-item__button::after {
  content: var(--numbered-list-arrow);
  background-image: none;
  --bs-accordion-btn-icon-transform: rotate(-90deg);
}

.faq-item__button:not(.collapsed) {
  color: var(--secondary-color);
}

.faq-item__button:not(.collapsed)::after {
  content: var(--numbered-list-arrow-hovered);
  background-image: none;
}

.faq-item ul {
  margin-top: 0.5rem;
}

.faq-item__button::before {
  display: inline-block;
  content: counter(item, decimal-leading-zero);
  counter-increment: item;
  margin-right: 47px;
}

.faq-item__body {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 920px) {
  .faq__image {
    display: none;
  }

  .faq__content-wrapper {
    display: block;
  }
}

@media screen and (max-width: 700px) {
  .faq-item__button {
    padding: 15px 0px 15px 15px;
    font-size: 14px;
  }

  .faq-item {
    font-size: 14px;
  }
}

@media screen and (max-width: 550px) {
  .faq-item__button::after {
    display: none;
  }

  .faq-item__button::before {
    margin-right: 28px;
    -ms-flex-item-align: start;
        align-self: flex-start;
  }
}

.spoiler__text {
  -webkit-transition: max-height 0.3s;
  -o-transition: max-height 0.3s;
  transition: max-height 0.3s;
  overflow: hidden;
  position: relative;
  margin-bottom: 25px;
  font-weight: 300;
  line-height: 1.4;
  max-height: 150px;
}

@media screen and (max-width: 550px) {
  .spoiler__text {
    max-height: 350px;
    font-size: 14px;
  }
}

.spoiler__text::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100px;
  bottom: 0;
  background: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 96%
  );
  background: -webkit-gradient(
    linear,
    left top, left bottom,
    from(rgba(255, 255, 255, 0)),
    color-stop(96%, rgba(255, 255, 255, 1))
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 96%
  );
  z-index: 1;
  -webkit-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
  opacity: 0;
}

.spoiler__text_hidden::after {
  opacity: 1;
}

.spoiler__button,
.spoiler__collapse {
  cursor: pointer;
  color: var(--secondary-color);
  font-size: 19px;
  font-weight: 400;
}

.spoiler__image {
  width: 100%;
  height: 140px;
  background-image: url(/assets/img/spoiler-bg.jpg);
  background-size: cover;
  background-position-y: 30%;
  margin-bottom: 30px;
}

@media screen and (max-width: 1140px) {
  .spoiler__image {
    width: calc(100% + 32px);
    position: relative;
    left: -16px;
  }
}

@media screen and (max-width: 550px) {
  .spoiler__image {
    height: 90px;
  }
}

.blur-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(123, 130, 139, 0.15);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  -webkit-box-shadow: inset 0 0 10px 1px rgba(123, 130, 139, 0.15);
          box-shadow: inset 0 0 10px 1px rgba(123, 130, 139, 0.15);
          z-index: 2;
}

.callback-question {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 43% auto;
  grid-template-columns: 43% auto;
  background-image: url(/assets/img/callback-question-bg.webp);
  background-repeat: no-repeat;
  background-position-y: 100%;
  background-size: cover;
  -webkit-clip-path: inset(0 0 0 0);
          clip-path: inset(0 0 0 0);
  color: var(--primary-color);
  padding-right: 16px;
}

.callback-question__form {
  padding: 80px 58px 80px 16px;
  justify-items: end;
  position: relative;
  display: grid;
}

.callback-question-form {
  max-width: 367px;
  display: -ms-grid;
  display: grid;
  gap: 15px;
  position: relative;
  z-index: 3;
}

.callback-question__text-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 97px;
}

.callback-question__question {
  font-family: var(--secondary-font);
  font-size: 40px;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.callback-question__answer {
  max-width: 460px;
  font-weight: 300;
}

.callback-question .button {
  max-width: 200px;
  -ms-grid-column-align: center;
      justify-self: center;
}

.callback-question-form__policy-agree-wrapper {
    display: flex;
    gap: 10px;
}

.callback-question-form__policy-agree {
  font-size: 10px;
  font-weight: 300;
}


.callback-question-form input:not([type="submit"]) {
  padding: 9px 24px;
}

.callback-question-form input::-webkit-input-placeholder {
  font-size: 14px;
}

.callback-question-form input::-moz-placeholder {
  font-size: 14px;
}

.callback-question-form input:-ms-input-placeholder {
  font-size: 14px;
}

.callback-question-form input::-ms-input-placeholder {
  font-size: 14px;
}

.callback-question-form input::placeholder {
  font-size: 14px;
}

@media screen and (max-width: 900px) {
  .callback-question__form {
    padding-right: 24px;
  }

  .callback-question__text-wrapper {
    padding-left: 24px;
  }
}

@media screen and (max-width: 750px) {
  .callback-question {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }

  .callback-question__text-wrapper {
    padding: 35px 16px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .callback-question__form {
    padding: 35px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .callback-question-form {
    width: 100%;
    left: 8px;
  }

  .callback-question .blur-bg {
    width: calc(100% + 32px);
    left: -16px;
  }
}

@media screen and (max-width: 500px) {
  .callback-question__text-wrapper {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  .callback-question__question {
    font-size: 20px;
  }

  .callback-question__answer {
    font-size: 14px;
  }
}

.contacts {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 43% auto;
  grid-template-columns: 43% auto;
  /* background-image: url(/assets/img/ya-maps-image.webp); */
  background-repeat: no-repeat;
  background-position-x: calc(100% + 10vw);
  background-size: cover;
  -webkit-clip-path: inset(0 0 0 0);
          clip-path: inset(0 0 0 0);
  padding-right: 16px;
  background-color: rgba(0, 0, 0, 0.15);
  position: relative;
}

.contacts iframe {
  position: absolute;
  z-index: 1;
  width: 100vw;
  height: 100%;
  left: 0;
  top: 0;
}

.contacts iframe.mobile {
  display: none;
}

.contacts .ymaps3x0--main-engine-container {
  -webkit-filter: grayscale(1) !important;
          filter: grayscale(1) !important;
}

.contacts .h2 {
  margin-bottom: 30px;
}

.contacts__form {
  padding: 80px 88px 80px 16px;
  display: grid;
  justify-items: end;
  position: relative;
  z-index: 3;
}

.contacts-form {
  max-width: 367px;
  width: 100%;
  display: -ms-grid;
  display: grid;
  position: relative;
  z-index: 3;
}

.contacts__text-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 97px;
}

.contacts__question {
  font-family: var(--secondary-font);
  font-size: 40px;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.contacts .button {
  max-width: 200px;
  -ms-grid-column-align: start;
      justify-self: start;
  color: var(--dark);
}

.contacts__policy-agree {
  font-size: 10px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 15px;
}

.contacts-form input::-webkit-input-placeholder {
  font-size: 14px;
}

.contacts-form input::-moz-placeholder {
  font-size: 14px;
}

.contacts-form input:-ms-input-placeholder {
  font-size: 14px;
}

.contacts-form input::-ms-input-placeholder {
  font-size: 14px;
}

.contacts-form input::placeholder {
  font-size: 14px;
}

.contacts__input-wrapper {
  display: -ms-grid;
  display: grid;
  row-gap: 8px;
}

.contacts__input-wrapper input, .contacts__input-wrapper label ~ div {
  background-color: transparent;
  font-weight: 300;
  font-size: 14px;
  border: 0;
  border-bottom: 1px solid var(--secondary-color);
  padding-bottom: 8px;
  margin-bottom: 26px;
}

.contacts__input-wrapper input:focus-visible {
  outline: none;
}

.contacts__input-wrapper label {
  text-transform: uppercase;
  font-size: 18px;
}

@media screen and (max-width: 1300px) {
  .contacts {
    background-position-x: calc(100% + 20vw);
  }
}

@media screen and (max-width: 1065px) {
  .contacts {
    background-position-x: calc(100% + 30vw);
  }
}

@media screen and (max-width: 900px) {
  .contacts__form {
    padding-right: 24px;
  }

  .contacts {
    background-position-x: calc(100% + 50vw);
  }
}

@media screen and (max-width: 750px) {
  .contacts .blur-bg {
    display: none;
  }

  .contacts iframe:not(.mobile) {
    display: none;
  }

  .contacts iframe.mobile {
    display: block;
  }

  .contacts {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto 245px;
    grid-template-rows: auto 245px;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    background-position-y: 320px;
    background-position-x: 74%;
    background-size: auto;
  }

  .contacts > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .contacts > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .contacts__form {
    padding: 35px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: var(--primary-color);
    width: calc(100% + 16px);
  }

  .contacts-form {
    width: 100%;
    padding: 0 16px;
  }

  .contacts .blur-bg {
    width: calc(100% + 32px);
    left: -16px;
  }

  .contacts-form .button {
    -ms-grid-column-align: center;
        justify-self: center;
  }
}

.footer {
  color: var(--primary-color);
  font-size: 14px;
  background-color: var(--dark);
  padding: 55px 0;
}

.footer__content-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 40px;
}

.footer__links {
  width: 210px;
}

.footer__links,
.footer__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.footer__links a:first-child {
  font-family: var(--secondary-font);
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

.footer__item:last-child {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 24px;
}

.footer a[href*="tel:"] {
  font-weight: bold;
  font-size: 16px;
}

.footer__socials__title {
  margin-bottom: 5px;
}

.footer-socials__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 16px;
  color: var(--secondary-color);
  gap: 24px;
}

.search-input-wrapper {
  font-size: 13px;
  padding: 11px 18px;
  background: white;
  color: #c2c2c2;
}

.search-input-wrapper i {
  position: relative;
  top: 1px;
}

.search-input {
  border: 0;
  position: relative;
  top: 1px;
}

.search-input:focus-visible {
  outline: none;
}

@media screen and (max-width: 576px) {
  .footer__content-wrapper {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .footer__item:last-child {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  .footer-socials__items {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
  }
}

.services-first-screen {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 46%;
  grid-template-columns: auto 46%;
  color: var(--primary-color);
}

.services-fs-content {
  background-color: var(--dark);
  display: -ms-grid;
  display: grid;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  padding-right: 163px;
  padding-left: 16px;
  padding-top: 57px;
  padding-bottom: 37px;
}

.services-first-screen .h1 {
  margin-bottom: 26px;
  font-family: var(--secondary-font);
  font-weight: bold;
}

.services-fs-content-inner-wrapper {
  width: 462px;
  -ms-flex-item-align: end;
      -ms-grid-row-align: end;
      align-self: end;
}

.services-fs-price-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.services-fs-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.services-fs-details > * {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}

.services-fs-details img {
  width: 26px;
  height: 26px;
  margin-left: -9px;
  margin-right: 25px;
}

.services-fs-details > *::before,
.services-fs-details > *::after {
  content: var(--h2-left-bracket);
  -webkit-filter: var(--filter-white);
          filter: var(--filter-white);
  position: relative;
  top: 3px;
}

.services-fs-details > *::after {
  rotate: 180deg;
  position: absolute;
  right: 0;
  top: -3px;
}

.services-fs-details span::before {
  content: "\00a0";
}

.services-fs-details {
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.services-fs-phone {
  font-family: var(--secondary-font);
  font-size: 19px;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 20px;
}

.color-secondary {
  color: var(--secondary-color);
}

.services-fs-content .button {
  width: 100%;
}

.services-fs-image {
  position: relative;
  background-size: cover;
}


.services-fs-image .blur-line {
  width: 213px;
  height: 100%;
  position: absolute;
  left: -70px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-box-shadow: inset 34.5px -34.5px 34.5px 0 rgba(185, 183, 183, 0.113),
    inset -34.5px 34.5px 34.5px 0 rgba(255, 255, 255, 0.113);
          box-shadow: inset 34.5px -34.5px 34.5px 0 rgba(185, 183, 183, 0.113),
    inset -34.5px 34.5px 34.5px 0 rgba(255, 255, 255, 0.113);
}

.services-fs-image-content-wrapper {
  display: none;
}

@media screen and (max-width: 1140px) {
  .services-first-screen {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }

  .services-fs-content .h1,
  .services-fs-content .services-fs-price-wrapper {
    display: none;
  }

  .services-fs-image-content-wrapper {
    display: block;
    max-width: 500px;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    padding: 0 16px;
    z-index: 3;
  }

  .services-fs-image-content-wrapper .services-fs-price-wrapper {
    border-bottom: 0;
    padding-bottom: 0;
    border-top: 1px solid var(--primary-color);
    padding-top: 8px;
  }

  .services-fs-content {
    padding: 18px 0 48px 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .services-fs-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 50%;
  }

  .services-fs-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }

  .services-fs-image .blur-line {
    width: 55vw;
    left: 0;
  }
}

@media screen and (max-width: 500px) {
  .services-fs-content-inner-wrapper {
    width: 100%;
    padding: 0 16px;
    font-size: 14px;
  }

  .services-fs-details > div {
    padding-right: 16px;
  }
}

@media screen and (max-width: 450px) {
  .services-fs-details img {
    margin-right: 16px;
  }
}

.types__items {
  display: -ms-grid;
  display: grid; /* 1 */
  grid-template-columns: repeat(auto-fill, 269px); /* 2 */
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  row-gap: 40px;
}

@media screen and (max-width: 900px) {
  .types__items {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

.types-item {
  display: -ms-grid;
  display: grid;
  gap: 10px;
  width: 269px;
}

@media screen and (max-width: 360px) {
  .types-item {
    width: 100%;
  }

  .types__items {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }
}

.types-item img {
  height: 220px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.types-item__title {
  font-size: 18px;
}

.types-item__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 14px;
}

.types-item__info-value {
  font-weight: 300;
}

.types-item .button {
  width: 100%;
  color: var(--dark);
}

.might-interest__items {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(auto, 367px));
  -ms-flex-pack: distribute;
      justify-content: space-around;
  gap: 15px;
}

.might-interest-item {
  display: block;
  aspect-ratio: 1;
  background-size: cover;
  color: var(--primary-color) !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  text-transform: uppercase;
  font-weight: 500;
  padding: 21px;
  position: relative;
  gap: 20px;
}

.might-interest-item span {
  position: relative;
  z-index: 1;
}

.might-interest-item::after {
  content: url("data:image/svg+xml,%3Csvg width='14' height='13' viewBox='0 0 14 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7654 12.2062L2.13008 12.2091M1.68385 1.25804L12.7654 12.2062L1.68385 1.25804ZM12.7654 12.2062L12.7624 1.69303L12.7654 12.2062Z' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  z-index: 2;
  position: relative;
}

.gradient {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0) 68%, var(--dark) 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(68%, rgba(0, 0, 0, 0)), to(var(--dark)));
  background-image: linear-gradient(rgba(0, 0, 0, 0) 68%, var(--dark) 100%);
  z-index: 1;
}

@media screen and (max-width: 400px) {
  .might-interest-item {
    font-size: 14px;
  }
}

.related-articles__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 70px;
}

.related-articles__title .h2 {
  margin-bottom: 0;
}

.related-articles__all-link {
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.related-articles__all-link::after {
  content: url("data:image/svg+xml,%3Csvg width='14' height='13' viewBox='0 0 14 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7654 12.2062L2.13008 12.2091M1.68385 1.25804L12.7654 12.2062L1.68385 1.25804ZM12.7654 12.2062L12.7624 1.69303L12.7654 12.2062Z' stroke='%232C2E32' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.related-articles__items {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 44% 30px 1fr 30px 1fr;
  grid-template-columns: 44% 1fr 1fr;
  gap: 30px;
}

.related-article-item {
  height: 391px;
  position: relative;
  width: 290px;
}

.related-article-item:first-child,
.related-article-item:nth-child(4n) {
  width: 500px;
}

.related-article-item__title,
.related-article-item__desc {
  position: relative;
  z-index: 2;
  padding: 0 23px;
}

.related-article-item__title {
  margin-bottom: 8px;
}

.related-article-item__desc {
  display: -webkit-box;
  max-height: 86px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: break-spaces;
  font-weight: 300;
}

.related-article-item__thumb {
  width: 100%;
  height: 230px;
  position: relative;
  -o-object-fit: cover;
     object-fit: cover;
}

.related-article-item__thumb-wrapper {
  position: relative;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin-bottom: 8px;
}

.related-article-item:first-child .related-article-item__thumb-wrapper,
.related-article-item:nth-child(4n) .related-article-item__thumb-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0;
}

.related-article-item__thumb-wrapper::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0) 60%, var(--dark) 150%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, rgba(0, 0, 0, 0)), color-stop(150%, var(--dark)));
  background-image: linear-gradient(rgba(0, 0, 0, 0) 60%, var(--dark) 150%);
  z-index: 1;
}

.related-article-item:first-child .related-article-item__thumb,
.related-article-item:nth-child(4n) .related-article-item__thumb {
  position: absolute;
  height: 100%;
  width: 100%;
}

.related-article-item:first-child .related-article-item__thumb-wrapper::before,
.related-article-item:nth-child(4n)
  .related-article-item__thumb-wrapper::before {
  top: 0;
}

.related-article-item::before,
.related-article-item::after {
  content: url(/assets/img/related-articles-small-brackets.svg);
  position: absolute;
  left: -1px;
  top: -1px;
  height: 393px;
  z-index: 3;
}

.related-article-item:first-child::before,
.related-article-item:first-child::after,
.related-article-item:nth-child(4n)::before,
.related-article-item:nth-child(4n)::after {
  content: url(/assets/img/related-articles-big-brackets.svg);
  position: absolute;
  left: -1px;
  top: -1px;
  height: 393px;
}

.related-article-item:first-child::after,
.related-article-item:nth-child(4n)::after,
.related-article-item::after {
  left: auto;
  right: -1px;
  rotate: 180deg;
}

.related-article-item:first-child .related-article-item__desc,
.related-article-item:nth-child(4n) .related-article-item__desc {
  display: none;
}

.related-article-item:first-child .related-article-item__title,
.related-article-item:nth-child(4n) .related-article-item__title {
  color: var(--primary-color);
  padding: 24px 21px;
  margin: 0;
  position: absolute;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
}

.related-article-item:first-child .related-article-item__title::after,
.related-article-item:nth-child(4n) .related-article-item__title::after {
  content: url("data:image/svg+xml,%3Csvg width='14' height='13' viewBox='0 0 14 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7654 12.2062L2.13008 12.2091M1.68385 1.25804L12.7654 12.2062L1.68385 1.25804ZM12.7654 12.2062L12.7624 1.69303L12.7654 12.2062Z' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

@media screen and (max-width: 1140px) {
  .related-articles__items {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .related-article-item:nth-child(3n + 2) {
    -ms-grid-column-align: end;
        justify-self: end;
  }

  .related-article-item:nth-child(3n) {
    -ms-grid-column-align: start;
        justify-self: start;
  }

  .related-article-item:first-child,
  .related-article-item:nth-child(4n) {
    -ms-grid-column-span: 2;
    grid-column: span 2;
    -ms-grid-column-align: center;
        justify-self: center;
  }
}

@media screen and (max-width: 680px) {
  .related-articles__items {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }

  .related-article-item {
    width: 100%;
  }

  .related-article-item:first-child,
  .related-article-item:nth-child(4n) {
    grid-column: inherit;
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .related-articles__all-link {
    display: none;
  }

  .related-article-item:first-child,
  .related-article-item:nth-child(4n) {
    grid-column: inherit;
    height: 223px;
  }

  .related-article-item:first-child::before,
  .related-article-item:first-child::after,
  .related-article-item:nth-child(4n)::before,
  .related-article-item:nth-child(4n)::after {
    content: url("data:image/svg+xml,%3Csvg width='36' height='225' viewBox='0 0 36 225' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_2247_115' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='36' height='225'%3E%3Crect width='36' height='225' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_2247_115)'%3E%3Cpath d='M0 201L12 212.5L24 225H0L0 201Z' fill='white'/%3E%3Cpath d='M0.999998 189L0.999999 201.419L23.5806 224L36 224' stroke='%237CAECC' stroke-width='2'/%3E%3Cpath d='M24 0L12.5 12L-9.53674e-07 24L-9.53674e-07 0L24 0Z' fill='white'/%3E%3Cpath d='M36 1L23.5806 1L1 23.5806L1 36' stroke='%237CAECC' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E%0A");
    position: absolute;
    left: -1px;
    top: -1px;
    height: 225px;
  }

  .related-article-item__desc {
    font-size: 14px;
  }
}

.case-fs {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 46%;
  grid-template-columns: auto 46%;
  position: relative;
}

.case-fs__title {
  background-color: var(--dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  padding: 31px 16px;
}

.case-fs__title .h2 {
  width: 620px;
  padding-right: 100px;
  margin: 0;
}

.case-fs__thumb {
  height: 100%;
  width: calc(100% + 1px);
  background-size: cover;
  background-position: center;
  position: relative;
  left: -1px;
}

.case-fs__thumb .blur-line {
  width: 350px;
  height: 100%;
  position: relative;
  left: -70px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  background-color: rgba(123, 130, 139, 0.15);
  -webkit-box-shadow: inset 34.5px -34.5px 34.5px 0 rgba(123, 130, 139, 0.15),
    inset -34.5px 34.5px 34.5px 0 rgba(123, 130, 139, 0.15);
          box-shadow: inset 34.5px -34.5px 34.5px 0 rgba(123, 130, 139, 0.15),
    inset -34.5px 34.5px 34.5px 0 rgba(123, 130, 139, 0.15);
}

@media screen and (max-width: 1000px) {
  .case-fs {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto 120px;
    grid-template-rows: auto 120px;
  }
  .case-fs > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .case-fs > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .case-fs__title .h2 {
    width: 100%;
    padding: 0;
  }

  .case-fs__thumb .blur-line {
    width: 60%;
    left: 0;
  }
}

.case-info-swiper {
  display: none;
}

.case-info {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


.case-info-images {
  display: grid;
  gap: 20px;
}

/* .case-info-image {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1;
} */

.case-info-content {
  background-color: var(--dark);
  padding: 60px 50px;
  color: var(--primary-color);
  font-size: 18px;
  display: -ms-grid;
  display: grid;
  -ms-flex-line-pack: justify;
      align-content: space-between;
}

.case-info-title {
  padding-bottom: 10px;
  font-size: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
}

.case-info-address {
  font-weight: 250;
  font-size: 18px;
}

.case-info-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 70px;
  margin-bottom: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.case-info-item-info__title {
  font-weight: 250;
  margin-bottom: 10px;
}

.case-info-item-info:last-child .case-info-item-info__title {
  font-weight: inherit;
}

.case-info-item-info:last-child .case-info-item-info__value {
  font-weight: 250;
}

.case-info-swiper-desk {
  width: 560px;
  overflow: hidden;
}

.case-info-swiper-desk img {
  height: 232px;
  width: 270px;
}

@media screen and (max-width: 1100px) {
  .case-fs + .block-margin {
    display: none;
  }

  .case-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    left: -16px;
    width: calc(100% + 32px);
    gap: 0;
    grid-auto-flow: column;
  }

  .case-info-images {
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .case-info-images {
    display: none;
  }

  .case-info-swiper {
    display: inherit;
  }

  .case-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .case-info-swiper .swiper-slide {
    width: 100%;
    height: 100vw;
  }

  .case-info-swiper img {
    width: 100%;
    height: 100%;
  }

  .case-info-swiper .swiper-scrollbar {
    bottom: -30px;
    width: 80%;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    height: 10px;
    border-radius: 0;
    border-bottom: 1px solid var(--dark);
    background: white;
    overflow: hidden;
  }

  .case-info-swiper .swiper-scrollbar-drag {
    height: 10px;
    background: var(--secondary-color);
    border-radius: 0px;
  }

  .case-info-content {
    padding: 32px 16px;
    font-size: 16px;
  }

  .case-info-title {
    font-size: 18px;
  }

  .case-info-address {
    font-size: 16px;
  }

  .case-info-items {
    gap: 30px;
  }
}

.blog-content {
  font-size: 18px;
  font-weight: 300;
}

.blog-content h2,
.blog-content *:has(.published) {
  font-family: var(--secondary-font);
  font-size: 40px;
  font-weight: bold;
}

.blog-content .published {
  font-size: 20px;
}

.blog-content > * {
  margin-bottom: 30px;
}

.blog-content img {
  margin-left: 20px;
  margin-bottom: 20px;
}

.blog-content .split {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
}

.blog-content .split img {
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0;
  width: 100% !important;
  height: auto !important;
}

@media screen and (max-width: 1000px) {
  .blog-content .split {
    -ms-grid-columns: calc(100% + 32px);
    grid-template-columns: calc(100% + 32px);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: relative;
    left: 0;
  }

  .blog-content img[style*="float: right"],
  .blog-content img[style*="float: left"] {
    float: none !important;
    margin: 0;
    width: calc(100% + 32px) !important;
    height: auto !important;
    position: relative;
    left: -16px;
  }
}

@media screen and (max-width: 760px) {
  .blog-content {
    font-size: 16px;
  }

  .blog-content h2 {
    font-size: 20px;
  }

  .blog-content .published {
    font-size: 16px;
  }

  .blog-content > * {
    margin-bottom: 10px;
  }

  .blog-content .split {
    gap: 10px;
  }
}

.reviews-page__items {
  display: -ms-grid;
  display: grid;
  row-gap: 50px;
}

.reviews-page-item {
  --border: 1px solid var(--dark);
  border: var(--border);
  display: -ms-grid;
  display: grid;
          grid-template-areas:
    "header text"
    "header reply";
}

.reviews-page-item-header {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 1;
  padding: 46px 78px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  grid-area: header;
  border-right: var(--border);
  width: 368px;
}

.reviews-page-item-header__logo {
  margin-bottom: 20px;
}

.reviews-page-item-header__logo img {
  height: 70px;
}

.reviews-page-item-header__name,
.reviews-page-item-header__company-name {
  font-size: 18px;
}

.reviews-page-item-header__company-name {
  margin-bottom: 40px;
}

.reviews-page-item-header__date {
  margin-bottom: 20px;
}

.reviews-page-item-header__date .date {
  font-family: var(--secondary-font);
  font-size: 18px;
  font-weight: bold;
}

.reviews-page-item__content {
  padding: 30px 20px;
  font-weight: 300;
}

.reviews-page-item__footer {
  border-top: var(--border);
  padding: 30px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  gap: 28px;
  font-family: var(--third-font);
}

.reviews-page-item__pre-answer {
  font-weight: 500;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
}

.reviews-page-item__answer {
  font-weight: 300;
}

.reviews-page-item-header__rate-wrapper {
  font-family: var(--secondary-font);
  font-size: 18px;
  font-weight: solid;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.stars {
  content: url("data:image/svg+xml,%3Csvg width='95' height='17' viewBox='0 0 95 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.63637 0L10.9207 5.14897L16.85 5.59461L12.3325 9.22248L13.7127 14.6469L8.63637 11.7401L3.56004 14.6469L4.94021 9.22248L0.422694 5.59461L6.35202 5.14897L8.63637 0Z' fill='%23FE8B75'/%3E%3Cpath d='M28.0661 0L30.3504 5.14897L36.2797 5.59461L31.7622 9.22248L33.1424 14.6469L28.0661 11.7401L22.9897 14.6469L24.3699 9.22248L19.8524 5.59461L25.7817 5.14897L28.0661 0Z' fill='%23FE8B75'/%3E%3Cpath d='M47.4996 0L49.784 5.14897L55.7133 5.59461L51.1958 9.22248L52.576 14.6469L47.4996 11.7401L42.4233 14.6469L43.8035 9.22248L39.286 5.59461L45.2153 5.14897L47.4996 0Z' fill='%23FE8B75'/%3E%3Cpath d='M66.9293 0L69.2137 5.14897L75.143 5.59461L70.6255 9.22248L72.0057 14.6469L66.9293 11.7401L61.853 14.6469L63.2332 9.22248L58.7157 5.59461L64.645 5.14897L66.9293 0Z' fill='%23FE8B75'/%3E%3Cpath d='M86.3629 0L88.6473 5.14897L94.5766 5.59461L90.0591 9.22248L91.4393 14.6469L86.3629 11.7401L81.2866 14.6469L82.6668 9.22248L78.1493 5.59461L84.0786 5.14897L86.3629 0Z' fill='%23FE8B75'/%3E%3C/svg%3E%0A");
  width: 95px;
}

@media screen and (max-width: 1000px) {
  .reviews-page-item {
    --border: 1px solid var(--dark);
    border: var(--border);
    display: -ms-grid;
    display: grid;
            grid-template-areas:
      "header"
      "text"
      "reply";
  }

  .reviews-page-item-header {
    border: none;
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 200px;
    padding: 24px 16px;
  }

  .reviews-page-item__content {
    padding: 0 16px 30px 16px;
  }

  .reviews-page-item__footer {
    padding: 32px 16px;
  }
  .reviews-page-item-header {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
  }
}

@media screen and (max-width: 600px) {
  .reviews-page-item-header {
    gap: 60px;
    font-size: 12px;
  }

  .reviews-page-item-header__date .date,
  .reviews-page-item-header__name, 
  .reviews-page-item-header__company-name,
  .reviews-page-item-header__rate-wrapper {
    font-size: 12px;
  }

  .reviews-page-item__content {
    font-size: 14px;
  }

  .reviews-page-item__footer {
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .reviews-page-item__pre-answer {
    min-width: inherit;
  }

  .stars {
    width: 60px;
  }
  
  .reviews-page-item-header__date {
    margin-bottom: 14px;
  }

  .reviews-page-item-header__company-name {
    margin-bottom: 12px;
  }

  .reviews-page-item-header__rate-wrapper {
    gap: 12px;
  }

  .reviews-page-item-header__logo img {
    height: 45px;
  }

  .reviews-page-item-header__logo {
    margin-bottom: 0;
  }
}

.contacts-page-map {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 90px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contacts-page-map__map {
  width: 580px;
  aspect-ratio: 1;
}

.contacts-page-map__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: var(--third-font);
  gap: 36px;
  font-size: 18px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.contacts-page-map__item:last-child {
  border-bottom: none;
}

.contacts-page-map__item-name {
  font-weight: 300;
}

.contacts-page-map__item img {
  width: 40px;
}

@media screen and (max-width: 1000px) {
  .contacts-page-map {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }

  .contacts-page-map__map {
    width: calc(100% + 32px);
    position: relative;
    height: 580px;
  }
}

@media screen and (max-width: 500px) {
  .contacts-page-map__item {
    gap: 26px;
    font-size: 14px;
    padding: 20px 0;
    width: 100%;
  }

  .contacts-page-map__contacts {
    width: 100%;
  }
}

.contacts-page-reqs__content-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 100px auto;
  grid-template-columns: 1fr auto;
  gap: 100px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.contacts-page-reqs__item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  font-size: 18px;
}

@media screen and (max-width: 1200px) {
  .contacts-page-reqs__content-wrapper {
    gap: 30px;
  }
}

@media screen and (max-width: 1050px) {
  .contacts-page-reqs__content-wrapper {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .contacts-page-reqs__image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

@media screen and (max-width: 640px) {
  .contacts-page-reqs__image img {
    max-width: 100%;
  }

  .contacts-page-reqs__item {
    font-size: 14px;
  }
}

.contacts-page-form {
  padding: 40px 0;
  background-color: var(--dark);
  position: relative;
}

.contacts-page-form::before {
  content: "";
  background-image: url(/assets/img/contacts-page-form-bg.webp);
  position: absolute;
  height: 100%;
  width: 682px;
  left: 0;
  top: 0;
}

.contacts-page-form-inner-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
}

.contact-page-form__form {
  max-width: 560px;
  color: var(--primary-color);
}

.contact-page-form__fields {
  display: -ms-grid;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-page-form__field {
  display: -ms-grid;
  display: grid;
  gap: 4px;
  font-size: 18px;
  font-weight: 300;
}

.contact-page-form__field label {
  font-family: var(--third-font);
}

.contact-page-form__field input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  padding: 10px 0 10px 10px;
}

.contact-page-form__submit-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contact-page-form__form .policy-message {
  font-size: 12px;
  font-weight: 300;
}

.contact-page-form__form .policy-message a {
  color: var(--secondary-color);
}

@media screen and (max-width: 1000px) {
  .contacts-page-form-inner-wrapper {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .contacts-page-form::before {
    display: none;
  }
}

@media screen and (max-width: 650px) {
  .contact-page-form__field {
    font-size: 16px;
  }
}

@media screen and (max-width: 450px) {
  .contact-page-form__submit-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .contact-page-form__submit-wrapper .button {
    width: 100%;
  }
}

.sale-page-content p {
  margin-bottom: 30px;
}

.free-measure-form {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  background-color: var(--dark);
}

.free-measure-form__cta-wrapper {
  padding: 58px 0 58px 16px;
  -ms-grid-column-align: end;
      justify-self: end;
}

.free-measure-form__cta {
  width: 600px;
  padding-right: 50px;
  color: var(--primary-color);
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.free-measure-form .button {
  max-width: 270px;
  width: 100%;
}

.free-measure-form__image {
  background: url('/assets/img/free-measure-form.jpg') no-repeat bottom / cover;
}

@media screen and (max-width: 1230px) {
  .free-measure-form__cta {
    width: auto;
  }
}

@media screen and (max-width: 960px) {
  .free-measure-form {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto 220px;
    grid-template-rows: auto 220px;
  }
  .free-measure-form > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .free-measure-form > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .free-measure-form__cta-wrapper {
    padding: 58px 16px;
    -ms-grid-column-align: start;
        justify-self: start;
  }

  .free-measure-form__cta {
    padding-right: 0px;
    font-size: 30px;
  }
}

@media screen and (max-width: 600px) {
  .free-measure-form__cta {
    font-size: 21px;
    margin-bottom: 30px;
  }

  .free-measure-form__cta-wrapper {
    padding: 30px 16px;
  }

  .free-measure-form .button {
    max-width: none;
  }
}

.content-404 {
  background-color: var(--dark);
  color: var(--primary-color);
  padding-top: 40px;
}

.content-404 h1 {
  font-family: var(--secondary-font);
  font-size: 250px;
  font-weight: bold;
  text-align: center;
}

.content-404 .message-box {
  width: calc(100% - 32px);
  max-width: 740px;
  height: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 2;
  margin-top: -142px;
  left: calc(50%);
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.content-404 .message-box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(123, 130, 139, 0.15);
  -webkit-backdrop-filter: blur(9px);
          backdrop-filter: blur(9px);
  -webkit-box-shadow: inset 0 0 26px 30px rgba(123, 130, 139, 0.15);
          box-shadow: inset 0 0 26px 30px rgba(123, 130, 139, 0.15);
  z-index: 1;
}

.content-404 .message {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  font-weight: 300;
  font-size: 20px;
  position: relative;
  z-index: 2;
  max-width: 428px;
}

.content-404 .button {
  display: block;
  height: auto;
  width: 100%;
  padding: 12px;
  max-width: 428px;
  text-align: center;
  font-size: 18px;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 640px) {
  .content-404 h1 {
    font-size: 150px;
  }

  .content-404 .message-box {
    margin-top: -87px;
  }
}

@media screen and (max-width: 500px) {
  .content-404 h1 {
    font-size: 120px;
  }

  .content-404 .message-box {
    gap: 46px;
    padding: 0 13px;
    margin-top: -69px;
    height: 325px;
  }

  .content-404 .message {
    font-size: 16px;
  }

  .content-404 .button {
    font-size: 16px;
  }
}

.modal-form .modal-body {
  height: 447px;
  background-color: var(--dark);
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  color: var(--primary-color);
  width: 733px;
  padding: 0;
}

.modal-form__form-wrapper {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 37px;
}

.modal-form__form {
  width: 100%;
  display: -ms-grid;
  display: grid;
  gap: 12px;
}

.modal-form .modal-image {
  background: url(/assets/img/modal-form-image.jpg) no-repeat top / cover;
  position: relative;
}

.modal-form .modal-image::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(123, 130, 139, 0.15);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  -webkit-box-shadow: inset 0 0 28px 20px rgba(123, 130, 139, 0.55);
          box-shadow: inset 0 0 28px 20px rgba(123, 130, 139, 0.55);
}

.modal-form__form input {
  padding: 10px 20px;
}

.modal-form .policy {
  font-size: 8px;
  text-align: center;
  width: 75%;
  -ms-grid-column-align: center;
      justify-self: center;
}

.modal-form .button[type="submit"] {
  width: 170px;
  -ms-grid-column-align: center;
      justify-self: center;
}

.modal-form button:has(.close) {
  position: absolute;
  width: 21px;
  height: 21px;
  right: 0;
  margin: 25px;
  z-index: 1;
}

.modal-form .modal-dialog {
  width: 733px;
  max-width: none;
  pointer-events: inherit;
}

.modal-form.fade .modal-dialog {
  -webkit-transform: translate(0, 50%);
      -ms-transform: translate(0, 50%);
          transform: translate(0, 50%);
}

@media screen and (max-width: 800px) {
  .modal-form .modal-body {
    width: 280px;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
  }

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

  .modal-form.fade .modal-dialog {
    -webkit-transform: translate(0, 10vh);
        -ms-transform: translate(0, 10vh);
            transform: translate(0, 10vh);
    margin: 0;
  }

  .modal-form__form-wrapper {
    padding: 30px 16px 36px 16px;
  }

  .modal-form__form input {
    padding: 4px 12px;
  }

  .modal-form .modal-image {
    height: 192px;
    width: 100%;
  }

  .modal-form .close,
  #successModal .close {
    content: url(/assets/img/arrow-modal.svg);
  }

  .modal-form button:has(.close) {
      right: 0;
      top: 0;
  }
}

.breadcrumbs-wrapper {
  margin-top: 30px;
  margin-bottom: 54px;
}

.breadcrumb {
  --bs-breadcrumb-item-padding-x: 1rem;
}

.breadcrumb-item.active {
  color: var(--dark);
}

@media screen and (max-width: 800px) {
  .breadcrumb {
    font-size: 14px;
  }

  .breadcrumbs-wrapper {
    margin: 20px 0;
  }
}

#successModal .modal-body {
  padding: 40px 16px;
  background-color: var(--dark);
  color: var(--primary-color);
  display: -ms-grid;
  display: grid;
  justify-items: center;
}

#successModal .fa {
  font-size: 150px; 
  color: greenyellow;
}

#successModal .message {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

#successModal.fade .modal-dialog {
    -webkit-transform: translate(0, 70%);
        -ms-transform: translate(0, 70%);
            transform: translate(0, 70%);
}

#successModal .close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 25px;
  -webkit-filter: var(--filter-white);
          filter: var(--filter-white);
}

.search-result {
  display: -ms-grid;
  display: grid;
  gap: 30px;
}

.simplesearch-results-list {
  display: -ms-grid;
  display: grid;
  gap: 10px;
}

.simplesearch-result-pages {
  margin-right: 1rem;
}

.simplesearch-result h3 {
  font-size: 20px;
}

.simplesearch-result a {
  font-weight: bold;
  text-decoration: underline;
}

.simplesearch-page {
  color: var(--dark);
  font-size: 16px;
  padding: 2px 8px;
  border-radius: 4px;
}

.simplesearch-current-page {
  color: var(--primary-color);
  background-color: var(--dark);
}

form label.error {
  background-color: var(--secondary-color);
  padding: 2px;
  width: 100%;
  font-size: 12px;
  text-align: center;
}

/* img.mfp-img {
  object-fit: cover;
  height: 60vh;
} */

input[type="phone"] {
  color: gray;
  font-weight: 400;
  font-size: 14px;
}

input[type="phone"]:focus,
input[type="phone"].active {
  color: var(--dark);
}

.contacts-page-form input[type="phone"]:focus,
.contacts-page-form input[type="phone"].active {
    color: white;
}


/* fix: пропорции изображений после добавления width/height атрибутов */
.clients__item img { height: auto; }
.certs-swiper img { height: auto; }
