:root {
  --blue: #f4f6f6;
  --black: #282828;
  --white: #fff;
  --darkBlue: #00738d;
  --darkBlue30: rgba(0, 115, 141, 0.3);
  --black70: rgba(27, 31, 42, 0.7);
  --black30: rgba(27, 31, 42, 0.3);
  --hoverBlue: #004f60;
  --lightBlue: #e2eef4;
  --lightBlue50: rgba(226, 238, 244, 0.5);
}

@font-face {
  font-family: "Faberge";
  src: url("fonts/Faberge-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Stetica";
  src: url("fonts/AAStetica-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Stetica";
  src: url("fonts/AAStetica-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
* {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  -o-tap-highlight-color: rgba(0, 0, 0, 0);
  -ms-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  font-size: 18px;
  line-height: 140%;
  font-family: "Stetica";
  font-weight: 400;
  color: var(--black);
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: var(--blue);
}

main {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  outline: none;
  background: transparent;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

textarea {
  resize: none;
}

a {
  color: var(--black);
}

a:not([class]) {
  color: var(--black);
  text-decoration: underline;
}
a:not([class]):hover {
  text-decoration: none;
}

a,
a:visited {
  text-decoration: none;
}

input,
button,
textarea {
  font-family: "Stetica";
  font-weight: 400;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=number],
input[type=number]:hover,
input[type=number]:focus {
  -webkit-appearance: none;
  appearance: none;
  -moz-appearance: textfield;
}

img {
  max-width: 100%;
  max-height: 100%;
}

ul li {
  list-style: none;
}

img {
  vertical-align: middle;
}

iframe {
  width: 100%;
}

input:-webkit-autofill {
  background: #ffffff;
  -webkit-transition: 10000000000s linear;
  transition: 10000000000s linear;
}

h1,
.h1 {
  font-weight: 400;
  font-size: 64px;
  line-height: 130%;
  font-family: "Faberge";
}

h2,
.h2 {
  font-family: "Faberge";
  font-weight: 400;
  font-size: 36px;
  line-height: 130%;
}

.numbers-text {
  font-family: "Faberge";
  font-weight: 400;
  font-size: 60px;
  line-height: 120%;
}

h3,
.h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 135%;
}

h4,
.h4 {
  font-weight: 400;
  font-size: 24px;
  line-height: 135%;
}

h2:first-child,
.h2:first-child,
h3:first-child,
.h3:first-child,
h4:first-child,
.h4:first-child {
  margin-top: 0 !important;
}
h2:not([class]),
.h2:not([class]),
h3:not([class]),
.h3:not([class]),
h4:not([class]),
.h4:not([class]) {
  margin: 80px 0 30px 0;
}

.text {
  font-weight: 400;
  font-size: 26px;
  line-height: 130%;
}

.text-1 {
  font-weight: 400;
  font-size: 24px;
  line-height: 130%;
}

.text-2 {
  font-weight: 400;
  font-size: 16px;
  line-height: 135%;
}

.text-3 {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
}

.btn-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
}

.btn-text-2 {
  font-weight: 400;
  font-size: 16px;
  line-height: 135%;
}

.menu-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}
.header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.header a:not([class]) {
  color: var(--blue);
}
.header a {
  text-decoration: none;
}
.header a:hover {
  text-decoration: underline !important;
}
.header a:not([class]) {
  text-decoration: none;
}
.header.scrolled {
  background: var(--darkBlue);
}
.header.scrolled .header__menu span, .header.scrolled a:not([class]) {
  color: var(--blue);
}
.header.scrolled a:has(span):hover {
  color: var(--blue);
}
.header-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.header-box a:has(span):hover {
  color: var(--black);
}
.header-box .header {
  position: relative;
}
.header-box a:not([class]) {
  color: var(--black);
}
.header-box .header__menu span {
  color: var(--black);
}
.header__inner {
  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;
}
.header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 320px;
}
.header__logo svg {
  width: 100%;
}
.header__box {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.header__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}
.header__menu-link {
  color: var(--blue);
}
.header .btn {
  min-width: unset;
  padding: 15px 25px;
}
.header .btn:hover {
  -webkit-box-shadow: 0 0 15px 4px rgba(248, 248, 248, 0.4);
  box-shadow: 0 0 15px 4px rgba(248, 248, 248, 0.4);
  background: var(--lightBlue);
  color: var(--darkBlue);
}
.header__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}
.header__mobile {
  display: none;
}
.header__burger {
  display: none;
}
.footer {
  position: relative;
  background: var(--darkBlue);
  margin: 160px 0 0 0;
  padding: 0 0 38px 0;
  color: var(--blue);
}
.footer a {
  color: var(--blue);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.footer a:hover {
  text-decoration: underline !important;
}
.footer::before {
  content: "";
  width: 100%;
  height: 165px;
  background: url(../img/svg/footer-top.svg) no-repeat;
  background-size: cover;
  top: -165px;
  left: 0;
  display: block;
  position: absolute;
}
.footer__top-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: 15px;
}
.footer__top-inner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 29px;
}
.footer__logo {
  width: 744px;
}
.footer__bottom {
  padding: 177px 0 0 0;
  position: relative;
}
.footer__bottom p:not(:last-child), .footer__bottom li:not(:last-child) {
  margin: 0 0 10px 0;
}
.footer__bottom a:not([class]) {
  text-decoration: none;
}
.footer__bottom-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 30px;
}
.footer__bottom-inner.flex-end {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
.footer__bottom::before {
  content: "";
  width: 100%;
  height: 149px;
  background: url(../img/svg/footer-bottom.svg) no-repeat;
  background-size: cover;
  position: absolute;
  top: 7px;
  left: 0;
}
.footer__bottom-group {
  max-width: 745px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 30px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.footer__bottom-group .footer__bottom-col {
  max-width: 270px;
}
.footer__bottom .social {
  margin: 0 0 35px 0;
}
.footer__bottom-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
}
.container {
  max-width: 1580px;
  padding: 0 30px;
  margin: 0 auto;
  width: 100%;
}

label {
  cursor: pointer;
}

main img {
  display: block;
}
main img:first-child {
  margin-top: 0;
}
main img:last-child {
  margin-bottom: 0;
}
main img:not(:last-child) {
  margin: 0 0 40px 0;
}
main p:not(:last-child) {
  margin: 0 0 20px 0;
}
main ol:not([class]), main ul:not([class]) {
  margin: 20px 0 30px 0;
  padding: 0 0 0 20px;
}
main ol:not([class]) li:not(:last-child), main ul:not([class]) li:not(:last-child) {
  margin: 0 0 10px 0;
}
main ul:not([class]) li {
  list-style-type: disc;
}

.main-screen {
  position: relative;
}
.main-screen__bg {
  height: 900px;
  position: relative;
  background: var(--darkBlue);
}
.main-screen__bg img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
}
.main-screen__content {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.main-screen__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 40px;
}
.main-screen__img {
  width: 614px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin: 0 146px 0 0;
}
.main-screen__text {
  padding: 0 0 118px 0;
  color: var(--white);
  max-width: 590px;
}
.main-screen__heading {
  margin: 0 0 15px 0;
}
.main-screen .btn {
  margin: 40px 0 0 0;
}

.text-transform {
  text-transform: uppercase;
}

.btn {
  padding: 19px;
  min-width: 277px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  text-align: center;
  background: var(--lightBlue);
  border: 1px solid transparent;
  border-radius: 50px;
  color: var(--black);
  display: inline-block;
}
.btn:hover {
  background: var(--darkBlue);
  color: var(--blue);
}
.btn.transparent {
  background: transparent;
  border: 1px solid var(--lightBlue);
  color: var(--lightBlue);
}
.btn.transparent:hover {
  background: var(--lightBlue);
  color: var(--darkBlue);
}
.btn.transparent.darkblue {
  border-color: var(--darkBlue);
  color: var(--darkBlue);
}

.slider-controls {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 30px;
}
.slider-controls__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.slider-controls__button line, .slider-controls__button path {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.slider-controls__button:hover line, .slider-controls__button:hover path {
  stroke: var(--hoverBlue);
}

.section {
  margin: 115px 0;
}
.section__head {
  margin: 0 0 40px 0;
}
.section__head.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  gap: 30px;
}
.section__heading {
  text-transform: uppercase;
}

.main-about {
  margin-bottom: 216px;
}
.main-about__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 29px;
}
.main-about__inner:not(:last-child) {
  margin: 0 0 60px 0;
}
.main-about__img {
  width: 746px;
  border-radius: 10px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  overflow: hidden;
}
.main-about p:not(:last-child) {
  margin: 0 0 15px 0;
}
.main-about__heading {
  margin: 0 0 20px 0;
  max-width: 723px;
}
.main-about__body {
  max-width: 668px;
}
.main-about__numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
}
.main-about__numbers-item {
  width: 342px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed var(--darkBlue30);
  background: var(--lightBlue);
  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: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  gap: 9px;
  padding: 30px;
  position: relative;
}
.main-about__numbers-item:nth-child(even) {
  top: 100px;
}
.main-about__numbers-digit {
  color: var(--darkBlue);
  position: relative;
  top: 3px;
}

@-webkit-keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.directions__layout {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}
.directions__wrapper {
  display: none;
}
.directions__wrapper.active {
  display: block;
  -webkit-animation: fade 0.6s ease-in-out;
  animation: fade 0.6s ease-in-out;
}
.directions__filters {
  margin: 0 0 40px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.directions__filters-item {
  padding: 14px 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 50px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  background: var(--lightBlue);
}
.directions__filters-item:hover, .directions__filters-item.active {
  background: var(--darkBlue);
  color: var(--blue);
}
.directions__item {
  padding: 40px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: var(--white);
}
.directions__item:hover {
  background: var(--darkBlue);
  color: var(--white);
}
.directions__item:hover .directions__list-item::before {
  opacity: 0;
  visibility: hidden;
}
.directions__item:hover .directions__list-item::after {
  opacity: 1;
  visibility: visible;
}
.directions__item:hover .btn {
  border-color: var(--lightBlue);
  color: var(--lightBlue);
}
.directions__item-btn {
  margin-top: auto;
}
.directions__item .btn:hover {
  background: var(--lightBlue);
  color: var(--darkBlue);
}
.directions__item-head {
  margin: 0 0 27px 0;
  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;
  gap: 20px;
}
.directions__list {
  margin: 0 0 39px 0;
}
.directions__list-item {
  position: relative;
  padding: 0 0 0 30px;
}
.directions__list-item::before, .directions__list-item::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.directions__list-item::before {
  background-image: url(../img/svg/check-black.svg);
}
.directions__list-item::after {
  background-image: url(../img/svg/check-white.svg);
  opacity: 0;
  visibility: hidden;
}
.directions__list-item:not(:last-child) {
  margin: 0 0 15px 0;
}

.services__layout {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.services__item {
  border-radius: 10px;
  border: 1px solid var(--darkBlue30);
  background: var(--lightBlue);
  padding: 20px;
  min-height: 164px;
  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: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.services__item:hover {
  color: var(--darkBlue);
}
.services__item-inner {
  max-width: 261px;
  margin: 0 auto;
}

.results-slider__item {
  border-radius: 10px;
  overflow: hidden;
}

.arrow-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  color: var(--darkBlue);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.arrow-link__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: relative;
}
.arrow-link__icon::before {
  content: "";
  width: 100%;
  min-width: 0;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  height: 2px;
  background: var(--darkBlue);
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
}
.arrow-link__icon svg {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.arrow-link:hover .arrow-link__icon::before {
  min-width: 38px;
  opacity: 1;
}
.arrow-link:hover svg {
  -webkit-transform: translateX(31px);
  -ms-transform: translateX(31px);
  transform: translateX(31px);
}
.arrow-link path {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.arrow-link:hover {
  color: var(--hoverBlue);
}
.arrow-link:hover path {
  stroke: var(--hoverBlue);
}

.reviews-slider__item {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--darkBlue30);
  padding: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: auto;
}
.reviews-slider__head {
  margin: 0 0 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}
.reviews-slider__head * {
  margin: 0 !important;
}
.reviews-slider__head .text-2 {
  opacity: 0.7;
}
.reviews-slider__body:not(:last-child) {
  margin: 0 0 30px 0;
}
.reviews-slider__footer {
  margin-top: auto;
}
.reviews-slider__footer button {
  font-size: inherit;
}

.price__item {
  border-bottom: 1px solid var(--black30);
  padding: 29px 30px;
}
.price__item:first-child {
  border-top: 1px solid var(--black30);
}
.price__item-body {
  display: none;
}
.price__item-wrapper:not(:last-child) {
  margin: 0 0 20px 0;
}
.price__item-wrapper .price__item-inner {
  padding: 20px 0 0 0;
}
.price__item-table {
  border-collapse: collapse;
  width: 100%;
}
.price__item-table tr:not(:last-child) td {
  padding-bottom: 15px;
}
.price__item-table td:not(:last-child) {
  padding-right: 20px;
}
.price__item-table td:last-child {
  text-align: right;
}
.price__item-head {
  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;
  gap: 25px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.price__item-head * {
  margin: 0 !important;
}
.price__item-head svg, .price__item-head path {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.price__item-head.active svg {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.price__item-head.active path:first-child {
  opacity: 0;
}
.price__item-inner {
  padding: 30px 0 0 0;
}

.form__message {
  text-align: center;
}
.form__message h2, .form__message .h2 {
  text-transform: uppercase;
}
.form__layout {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.form__layout:not(:last-child) {
  margin: 0 0 9px 0;
}
.form .btn {
  margin: 30px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 15px;
}
.form .btn path {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.form .btn:hover {
  background: var(--hoverBlue);
}
.form .btn:hover path {
  stroke: var(--blue);
}
.form__item.span-2 {
  -ms-grid-column-span: 2;
  grid-column: span 2;
}
.form input {
  height: 67px;
  background: var(--white);
  border-radius: 10px;
  padding: 0 30px;
  font-size: 18px;
  line-height: normal;
  display: block;
  width: 100%;
  border: 1px solid transparent;
}
.form input::-webkit-input-placeholder {
  color: var(--black);
}
.form input::-moz-placeholder {
  color: var(--black);
}
.form input:-ms-input-placeholder {
  color: var(--black);
}
.form input::-ms-input-placeholder {
  color: var(--black);
}
.form input::placeholder {
  color: var(--black);
}
.form__checkbox input {
  display: none;
}
.form__checkbox input:checked + .form__checkbox-text::after {
  opacity: 1;
}
.form__checkbox a {
  text-decoration: underline;
  color: var(--blue);
}
.form__checkbox-text {
  position: relative;
  display: inline-block;
  padding: 0 0 0 30px;
  color: var(--blue);
}
.form__checkbox-text::before, .form__checkbox-text::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: -2px;
  left: 0;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.form__checkbox-text::before {
  background: var(--blue);
  border-radius: 3px;
}
.form__checkbox-text::after {
  background: url(../img/svg/checkbox.svg) no-repeat;
  background-size: 100% 100%;
  opacity: 0;
}

.social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}
.social__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.social__item circle, .social__item path {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.social__item:hover circle {
  fill: var(--blue);
}
.social__item:hover path {
  fill: var(--darkBlue);
}

.top-page {
  background: var(--darkBlue);
  position: relative;
  margin: 0 0 80px 0;
  color: var(--blue);
}
.top-page + .section {
  margin-top: 0;
}
.top-page__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 450px;
  padding: 112px 0 60px 0;
}
.top-page::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../img/svg/top-decor.svg) no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}
.top-page h1, .top-page .h1 {
  margin-top: auto;
}

.centered-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 43px 0 0 0;
}

.breadcrumbs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
}
.breadcrumbs:not(:last-child) {
  margin: 0 0 30px 0;
}
.breadcrumbs__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  text-decoration: underline;
  color: var(--blue);
}
.breadcrumbs__link::after {
  content: url(../img/svg/bread.svg);
}
.breadcrumbs__item:last-child {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.video {
  display: block;
  position: relative;
  margin: 40px 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.textpage__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin: 80px 0;
}
.textpage__row-img {
  width: 745px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.modal {
  max-width: 600px;
  padding: 30px 30px 42px 30px;
  color: var(--blue);
  background: var(--darkBlue);
  border-radius: 10px;
}
.modal .fancybox-close-small {
  display: none;
}
.modal__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin: 0 20px 0 0;
}
.modal__button button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.modal__head {
  text-align: center;
  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;
  text-align: center;
  gap: 10px;
  margin: 0 0 30px 0;
}
.modal__button {
  margin: 0 20px 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
.modal__button button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.input-error input {
  border-color: #eb0c0c;
}
.input-error input::-webkit-input-placeholder {
  color: #eb0c0c;
}
.input-error input::-moz-placeholder {
  color: #eb0c0c;
}
.input-error input:-ms-input-placeholder {
  color: #eb0c0c;
}
.input-error input::-ms-input-placeholder {
  color: #eb0c0c;
}
.input-error input::placeholder {
  color: #eb0c0c;
}
.input-error .form__checkbox-text {
  color: #eb0c0c;
}
@media screen and (max-width: 1600px) {
  .footer__bottom-group {
    max-width: 650px;
  }
  .footer__bottom-row {
    gap: 30px;
  }
  .footer__logo {
    width: 650px;
  }
  .container {
    max-width: 1300px;
  }
  .main-screen__img {
    width: 470px;
  }
  .main-screen__bg {
    height: 689px;
  }
  .main-screen__text {
    padding: 0 0 60px 0;
  }
  .main-about__img {
    width: 600px;
  }
  .main-about__numbers-item {
    width: 272px;
    height: 272px;
  }
  .textpage__row-img {
    width: 600px;
  }
}
@media screen and (max-width: 1360px) {
  h1,
  .h1 {
    font-size: 50px;
  }
  h2,
  .h2 {
    font-size: 32px;
  }
  .numbers-text {
    font-size: 40px;
  }
  .text {
    font-size: 20px;
  }
  .text-1 {
    font-size: 18px;
  }
  h2:not([class]),
  .h2:not([class]),
  h3:not([class]),
  .h3:not([class]),
  h4:not([class]),
  .h4:not([class]) {
    margin: 50px 0 20px 0;
  }
  .header {
    padding: 15px 0;
  }
  .header__logo {
    width: 170px;
    position: relative;
    bottom: 1px;
  }
  .header__box {
    position: static;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }
  .footer__bottom {
    padding: 110px 0 0 0;
  }
  .footer__bottom-inner.flex-end {
    -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;
    margin: 50px 0 0 0;
  }
  .footer .social {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .container {
    max-width: 1023px;
  }
  .textpage__row-img {
    width: 500px;
  }
  .main-screen__inner {
    gap: 34px;
  }
  .main-screen__img {
    margin: 0px 72px 0 0;
  }
  .main-about__img {
    width: 500px;
  }
  .main-about__numbers {
    gap: 25px;
  }
  .main-about__numbers-item {
    width: 222px;
    height: 222px;
  }
  .services__layout {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media screen and (max-width: 1024px) {
  h1,
  .h1 {
    font-size: 32px;
  }
  h2,
  .h2 {
    font-size: 24px;
  }
  .numbers-text {
    font-size: 30px;
  }
  h3,
  .h3 {
    font-size: 18px;
  }
  h4,
  .h4 {
    font-size: 16px;
  }
  .text,
  .text-1 {
    font-size: 18px;
  }
  html,
  body {
    font-size: 14px;
  }
  .text-2 {
    font-size: 12px;
  }
  .btn-text {
    font-size: 16px;
  }
  .menu-text {
    font-size: 16px;
  }
  .header.active {
    background: var(--darkBlue);
  }
  .header.active .header__box {
    display: block;
  }
  .header.active .header__burger span {
    background: var(--blue);
  }
  .header.active .header__burger span:last-child {
    display: none;
  }
  .header.active .header__burger span:first-child {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 8px;
  }
  .header.active .header__burger span:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 3px;
  }
  .header-box .header__menu span {
    color: var(--blue);
  }
  .header-box a:has(span):hover {
    color: var(--blue);
  }
  .header-box a:not([class]) {
    color: var(--blue);
  }
  .header__box {
    position: fixed;
    top: 60px;
    left: 0;
    height: calc(100vh - 60px);
    width: 100%;
    overflow: auto;
    color: var(--blue);
    background: var(--darkBlue);
    padding: 30px 0 0 0;
    display: none;
  }
  .header__menu, .header__mobile {
    max-width: 767px;
    padding: 0 20px;
    margin: 0 auto;
  }
  .header__mobile {
    display: block;
  }
  .header .btn {
    min-width: 196px;
    padding: 12.5px;
  }
  .header__menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 30px auto;
  }
  .header__group:not(:last-child) {
    margin: 0 0 30px 0;
  }
  .header__group.desktop {
    display: none;
  }
  .header__group.mobile {
    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: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10px;
  }
  .header__logo {
    width: 164px;
    bottom: 0;
  }
  .header__burger {
    display: block;
  }
  .header__burger span {
    position: relative;
    display: block;
    height: 2px;
    width: 35px;
    background: var(--blue);
  }
  .header__burger span:not(:last-child) {
    margin: 0 0 9px 0;
  }
  .footer {
    margin: 120px 0 0 0;
  }
  .footer::before {
    height: 110px;
    top: -110px;
  }
  .footer__bottom-inner, .footer__bottom-group {
    -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;
    text-align: center;
  }
  .footer__bottom-inner.flex-end {
    margin: 30px 0 0 0;
  }
  .footer__logo {
    width: 400px;
  }
  .container {
    max-width: 767px;
    padding: 0 20px;
  }
  .textpage__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 40px 0;
  }
  .textpage__row-img {
    width: auto;
  }
  .play-btn {
    width: 50px;
    height: 50px;
  }
  .play-btn svg {
    width: 100%;
    height: 100%;
  }
  .price__item {
    padding: 20px 15px;
  }
  .price__item-head svg {
    max-width: 31px;
    max-height: 31px;
  }
  .reviews-slider__item {
    padding: 20px 15px;
  }
  .reviews-slider__head {
    gap: 5px;
    margin: 0 0 10px 0;
  }
  .reviews-slider__body:not(:last-child) {
    margin: 0 0 20px 0;
  }
  .services__item {
    min-height: 106px;
  }
  .services__layout {
    gap: 10px;
  }
  .top-page {
    margin: 0 0 50px 0;
  }
  .top-page__inner {
    min-height: 270px;
    padding: 80px 0 35px 0;
  }
  .directions__item {
    padding: 20px 15px;
  }
  .directions__item-head {
    margin: 0 0 15px 0;
  }
  .directions__filters {
    margin: 0 0 30px 0;
  }
  .directions__filters-item {
    padding: 12px 20px;
  }
  .directions__list {
    margin: 0 0 20px 0;
  }
  .directions__list-item:not(:last-child) {
    margin: 0 0 10px 0;
  }
  .directions__layout {
    gap: 10px;
  }
  main img:not(:last-child) {
    margin: 0 0 25px 0;
  }
  main p:not(:last-child) {
    margin: 0 0 15px 0;
  }
  main ol:not([class]), main ul:not([class]) {
    margin: 20px 0;
  }
  .section {
    margin: 80px 0;
  }
  .section__head {
    margin: 0 0 30px 0;
  }
  .main-about__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .main-about__inner:not(:last-child) {
    margin: 0 0 30px 0;
  }
  .main-about__numbers {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
    max-width: 280px;
    margin: 0 auto;
  }
  .main-about__numbers-item {
    width: 180px;
    height: 180px;
  }
  .main-about__numbers-item:not(:first-child) {
    margin-top: -20px;
  }
  .main-about__numbers-item:nth-child(even) {
    top: 0;
    margin-left: auto;
  }
  .main-about__img {
    width: auto;
  }
  .main-screen__img {
    width: 326px;
  }
  .main-screen__bg {
    height: 478px;
  }
  .btn {
    min-width: 196px;
    padding: 15px 25px;
  }
}
@media screen and (max-width: 768px) {
  .footer::before {
    background: url(../img/svg/footer-mobile.svg) no-repeat;
    background-size: 100% 100%;
    height: 75px;
    top: -75px;
  }
  .footer__bottom {
    padding: 80px 0 0 0;
  }
  .footer__bottom::before {
    background: url(../img/svg/footer-bottom-mobile.svg) no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 92px;
    top: 30px;
  }
  .footer__bottom-inner, .footer__bottom-group {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    text-align: left;
  }
  .footer__bottom-inner.flex-end {
    text-align: left;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  .footer__bottom .social {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .footer__bottom-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }
  .footer__logo {
    width: 263px;
  }
  .footer__top-inner {
    -ms-grid-columns: 4fr;
    grid-template-columns: 4fr;
  }
  .main-screen__img {
    width: 250px;
  }
  .main-screen .btn {
    margin: 20px 0 0 0;
  }
  .main-screen__text {
    padding: 0 0 20px 0;
  }
  .main-screen__bg {
    height: 366px;
  }
  .modal {
    padding: 30px 15px;
  }
  .modal__button {
    margin-right: 15px;
  }
  .form input {
    height: 48px;
    font-size: 14px;
  }
  .results,
  .reviews {
    padding: 0 0 35px 0px;
    position: relative;
  }
  .slider-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
  }
  .results-slider {
    width: calc(100% + 20px);
    padding: 0 20px 0 0;
  }
}
@media screen and (max-width: 640px) {
  .header-box .header.scrolled .header__logo path {
    fill: var(--blue);
  }
  .header-box .header.scrolled .header__burger span {
    background: var(--blue);
  }
  .header-box .header.active .header__logo path {
    fill: var(--blue);
  }
  .header-box .header__logo path {
    fill: var(--darkBlue);
  }
  .header-box .header__burger span {
    background: var(--black);
  }
  .directions__layout {
    -ms-grid-columns: 4fr;
    grid-template-columns: 4fr;
  }
  .price__item-table {
    display: block;
  }
  .price__item-table tbody, .price__item-table tr, .price__item-table td {
    display: block;
  }
  .price__item-table td {
    padding: 0 !important;
  }
  .price__item-table td:not(:last-child) {
    margin: 0 0 5px 0;
  }
  .price__item-table td:last-child {
    font-weight: 500;
    text-align: left;
  }
  .price__item-table tr:not(:last-child) {
    margin: 0 0 15px 0;
  }
  .services__layout {
    -ms-grid-columns: (minmax(0px, 1fr))[2];
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .services__item {
    padding: 5px;
  }
  .main-screen {
    background: var(--darkBlue);
  }
  .main-screen__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    gap: 0;
  }
  .main-screen__content {
    position: static;
  }
  .main-screen__text {
    padding: 40px 0;
  }
  .main-screen__img {
    width: calc(100% + 40px);
    position: relative;
    left: 20px;
    margin: 0;
  }
  .main-screen__img::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(27, 31, 42, 0)), color-stop(50%, rgba(27, 31, 42, 0)), to(rgb(27, 31, 42)));
    background: linear-gradient(180deg, rgba(27, 31, 42, 0) 0%, rgba(27, 31, 42, 0) 50%, rgb(27, 31, 42) 100%);
    pointer-events: none;
  }
  .main-screen__img::after {
    content: "";
    width: 100%;
    height: 106px;
    background: url(../img/svg/mm-decor.svg) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    bottom: -40px;
    pointer-events: none;
  }
  .main-screen__bg {
    display: none;
  }
}
@media screen and (min-width: 1025px) {
  .fancybox-active .header__inner {
    position: relative;
    right: 7.5px;
  }
}