@font-face {
  font-family: "Manrope";
  src: url("./fonts/Manrope-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 500;

  margin: 0;
  padding: 0;
}

:root {
  --blue: #0C263B;
  --light-blue: #556673;
  --orange: #F24E24;
  --orange-light: #FF8D70;
  --red: #BF060A;
  --dark-gray: #A9B5BC;
  --gray: #F6F6F6;
  --line: #EEF0F2;
  --line-dark: #BEC7CD;
  --slide-text: #808B94;

  --border-width: 1px;
  --border-style: solid;

  --border: 1px solid var(--gray);
  --border-dark: 1px solid var(--line-dark);
  --border-orange: 1px solid var(--orange-light);
  --border-blue: 1px solid var(--light-blue);
}

h1,
h2,
h3,
.title-h3 {
  color: var(--blue);
  margin: 0;
  font-weight: 500;
  vertical-align: baseline;
  line-height: 1;

}

h1 {
  font-size: 88px;
  line-height: 1;
  letter-spacing: -4%;
}

h2 {
  font-size: 64px;
  letter-spacing: -3%;
}

h3,
.title-h3 {
  font-size: 42px;
  letter-spacing: -3%;
}

h4,
.title-h4 {
  font-size: 24px;
  font-weight: 500;
  color: var(--light-blue);
  margin: 0;
  letter-spacing: -3%;
  line-height: 1.2;
}

p,
li {
  font-size: 16px;
  font-weight: 400;
  color: var(--light-blue);
  margin: 0;
}

a {
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

li {
  list-style: none;
}

.container {
  max-width: 1640px;
  margin: 0 auto;
  border-left: var(--border);
  border-right: var(--border);
}


/* Разделитель секций*/
.section-divider-180 {
  display: flex;
  justify-content: end;
  height: 180px;
}

.section-divider-100 {
  height: 100px;
}

.section-divider-90 {
  display: flex;
  justify-content: end;
  height: 90px;
}

.section-divider-70 {
  height: 70px;
}

.section-divider-40 {
  height: 40px;
}

.section-dividr_border {
  border-left: var(--border);
  width: 560px;
  height: 100%;
}

section {
  border-top: var(--border);
}

.container-top {
  border-bottom: var(--border);
}

.section-title {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.section-title__left {
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 1080px;
  height: 100%;
}

.section-title__right {
  display: flex;
  align-items: center;
  padding: 0 30px;
  height: 100%;
  min-height: 145px;
  width: 560px;
  border-left: var(--border);
}

.left-block {
  padding: 50px 20px 0 20px;
}

.right-block {
  padding: 50px 30px 0 30px;
}

.block__subtitle {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Активное состояние - видимо и на месте */
.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/*Срезанный верхний левый угол*/
.cut-top-left {
  clip-path: polygon(0% 20px,
      20px 0%,
      100% 0%,
      100% 100%,
      0% 100%);
}

/*Срезанный нижний правый угол*/
.cut-bottom-right {
  clip-path: polygon(0% 0%,
      100% 0%,
      100% calc(100% - var(--cut-size)),
      calc(100% - var(--cut-size)) 100%,
      0% 100%);
}

/*Срезанный левый верхний и нижний правый угол*/
.cut-corners-two {
  clip-path: polygon(0% 20px,
      20px 0%,
      100% 0%,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      0% 100%);
}

/*Два угла с ховер эффектом начало*/
.cut-corners {
  position: relative;
  overflow: hidden;
}

.cut-corners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 1;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(0, 0);
}

.cut-corners::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  z-index: 1;
  border-bottom: 20px solid #fff;
  border-left: 20px solid transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(20px, 20px);
  opacity: 0;
}

.cut-corners:hover::before {
  transform: translate(-20px, -20px);
  opacity: 0;
}

.cut-corners:hover::after {
  transform: translate(0, 0);
  opacity: 1;
}

.cut-corners>* {
  position: relative;
  z-index: 5;
}

/*Два угла с ховер эффектом конец*/

/*Все углы*/
.corners-all_dark-gray {
  position: relative;
  background:
    linear-gradient(313deg, transparent 20px, var(--line-dark) 0px) top left,
    linear-gradient(46deg, transparent 20px, var(--line-dark) 20px) top right,
    linear-gradient(227deg, transparent 20px, var(--line-dark) 20px) bottom left,
    linear-gradient(133deg, transparent 20px, var(--line-dark) 20px) bottom right;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  background-color: transparent !important;
}

/*Все углы*/
.corners-all_gray {
  position: relative;
  background:
    linear-gradient(313deg, transparent 20px, var(--line) 0px) top left,
    linear-gradient(46deg, transparent 20px, var(--line) 20px) top right,
    linear-gradient(227deg, transparent 20px, var(--line) 20px) bottom left,
    linear-gradient(133deg, transparent 20px, var(--line) 20px) bottom right;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  background-color: transparent !important;
}

.corners-all_orange {
  position: relative;
  background:
    linear-gradient(313deg, transparent 20px, var(--orange-light) 0px) top left,
    linear-gradient(46deg, transparent 20px, var(--orange-light) 20px) top right,
    linear-gradient(227deg, transparent 20px, var(--orange-light) 20px) bottom left,
    linear-gradient(133deg, transparent 20px, var(--orange-light) 20px) bottom right;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  background-color: transparent !important;
}


/*Левый верхний и нижний*/
.corners-left_gray {
  position: relative;
  background:
    linear-gradient(313deg, transparent 20px, var(--line) 0px) top left,
    linear-gradient(227deg, transparent 20px, var(--line) 20px) bottom left;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  background-color: transparent !important;
}

button {
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 10px;
  padding: 20px;
  background-color: var(--blue);
  color: #fff;
  text-decoration: none;
  height: 58px;
  width: 100%;
}

.button.btn-orange {
  background-color: var(--orange);
}

.button svg {
  transition: transform 0.35s;
  transform: rotate(0deg);
}

.button:hover svg {
  transform: rotate(45deg);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 6;
}

.header .container {
  border-color: var(--dark-gray)
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header__left {
  display: flex;
  align-items: end;
  width: 100%;
  padding-bottom: 45px;
}

.header__logo {
  margin-right: 42px;
}

.header__right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 45px 0 45px 0;
}

.header__logo {
  max-width: 375px;
  width: 100%;
}

.header__contacts {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-dark);
  padding: 20px;
  height: 58px;
}

.header__contacts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 20px solid var(--dark-gray);
  border-right: 20px solid transparent;
  z-index: 1;
  pointer-events: none;
}

.header__contacts-item a {
  position: relative;
  padding-bottom: 5px;
  text-decoration: none;
}

.header__contacts-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.header__contacts-item a:hover::after {
  width: 100%;
}

.line {
  display: inline-block;
  width: 1px;
  height: 100%;
  background-color: var(--dark-gray);
  margin: 0 10px;
  vertical-align: middle;
  flex-shrink: 0;
}

.header__contacts .contact-mail {
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__contacts .contact-phone {
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}

.heander__menu {
  display: flex;
  gap: 25px;
}

.menu__link {
  display: flex;
  gap: 25px;
  white-space: nowrap;
  margin-right: 15px;
}

.menu__link a {
  font-size: 18px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
}

.menu__link a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.menu__link a:hover::after {
  width: 100%;
}

.social__btn {
  display: flex;
  gap: 10px;
}

.header .social__btn a {
  width: 58px;
  height: 58px;
}

.footer .social__btn a {
  width: 44px;
  height: 44px;
}

.social__btn a img {
  width: auto;
  height: 16px;
}

.top-banner {
  position: relative;
  padding-top: 148px;
  background-image: url(../images/top-banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.top-banner .container {
  border-color: var(--dark-gray);
}

.top-banner .container-top {
  border-top: var(--border-dark);
  border-bottom: var(--border-dark);
}

.banner-top {
  border-top: var(--border-dark);
  border-bottom: var(--border-dark);
}

.top-banner__title {
  display: flex;
  align-items: center;
  padding: 50px 20px;
  position: relative;
  max-width: 425px;
  width: 100%;
  border-right: var(--border-dark);
}

.top-banner__title::after {
  content: '';
  position: absolute;
  top: -168px;
  right: -1px;
  width: 1px;
  height: calc(100% + 773px + 1px);
  background: linear-gradient(to bottom,
      var(--dark-gray) 0%,
      var(--dark-gray) 60%,
      transparent 100%);
  pointer-events: none;
}


.banner-bottom .container {
  border-left: var(--border-dark);
  border-right: var(--border-dark);
  padding: 0 20px;
}

.banner-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 75px;
}

.banner-bottom__title {
  margin: 0 20px;
}

.banner-bottom__inner h1 span {
  color: var(--light-blue);
}

span.banner-bottom__description {
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -3%;
  color: var(--light-blue);
  margin-top: 20px;
}

.top-banner__form {
  max-width: 520px;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 20px 20px 20px;
  margin-top: 110px;
}

.top-banner__form-title {
  display: flex;
  margin-bottom: 20px;
  border-bottom: var(--border-blue);
}

.title-item {
  margin-bottom: 20px;
}

.title-item__nubmer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.title-item__nubmer div {
  font-size: 88px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: -8%;
  line-height: 0.8;
  margin: 0;
}

.title-item__nubmer span {
  font-size: 42px;
  color: var(--blue);
  line-height: 0.8;
  margin: 0;
}

.top-banner__form .form__police {
  border: none;
  gap: 4px;
}


.advantages__top {
  display: flex;
}

.advantages__title {
  max-width: 738px;
  width: 100%;
}

.advantages__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 20px;
}

.advantages__item {
  max-width: 520px;
}


.advantages__item-wrapper {
  padding-top: 50px;
}

.advantages__item-wrapper:nth-child(2) {
  border-right: var(--border);
}

.advantages__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--gray);
  padding: 20px;
  height: 100%;
}

.advantages__item .item-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.advantages__item-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.4s;
}

.advantages__item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  display: block;
}

.advantages__item:hover .advantages__item-icon {
  transform: scale(1.2);
}

.advantages__item-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -2%;
  line-height: 1.2;
  color: var(--blue);
}


.portfolio__inner {
  display: flex;
}

.portfolio .left-block {
  flex: 1;
  width: 100%;
  overflow: hidden;
  padding-right: 30px;
  position: relative;
}

.portfolio .right-block {
  flex-shrink: 0;
  width: 560px;
  border-left: var(--border);
}

.portfolio__grid {
  height: 100%;
}

.slider-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  position: relative;
  width: 100%;
  height: 724px;
  display: flex;
  justify-content: center;
  overflow: visible;
  padding: 0;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.slide {
  position: absolute;
  background: var(--blue);
  transition: all 0.45s ease;
  display: flex;
  flex-direction: column;
  bottom: 0;
  overflow: hidden;
  padding: 0;
  height: 724px;
  max-width: 520px;
  width: 520px;
  transform: scale(0.55);
  opacity: 0.35;
  filter: blur(2px);
  transform-origin: bottom center;
}

.slide-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.portfolio-slide__img-top {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 320px;
  overflow: hidden;
  flex-shrink: 0;
}

.portfolio-slide__img-top .swiper {
  display: flex;
  max-height: 320px;
  height: 100%;
}

.portfolio-slide__img-top .swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
}

.portfolio-slide__img-top .swiper-slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 100%;
}

.portfolio-slide__img-top .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-top__btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  flex-shrink: 0;
  background: var(--blue);
}

.slider-top__btn span {
  max-width: 30px;
}

.slider-top__btn span {
  flex: 1;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-top__btn span.active {
  background: #fff;
}

.portfolio-slide__content {
  background-color: var(--blue);
  display: flex;
  flex-direction: column;
  padding: 20px;
  flex: 1;
}

.slide__content-title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide__content-text {
  display: flex;
  flex-direction: column;
  border-top: var(--border-blue);
  padding-top: 15px;
  padding-bottom: 40px;
  gap: 15px;
  flex: 1;
}

.content-text__item {
  display: grid;
  grid-template-columns: 3fr 6fr;
  align-items: center;
  gap: 20px;
}

.content-text__item span:nth-child(1) {
  color: var(--gray);
  flex-shrink: 0;
  font-weight: 400;
  font-size: 16px;
}

.content-text__item span:nth-child(2)  {
  color: var(--slide-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
}

.content-text__item span.price{
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.slide.active {
  transform: scale(1) translateX(0px) rotateY(0deg);
  opacity: 1;
  z-index: 5;
  filter: blur(0px);
  background: var(--blue);
  bottom: 0;
  width: 520px;
  height: 750px;
  max-width: 520px;
  transform-origin: bottom center;
}

.slide.side {
  transform: scale(0.55);
  opacity: 0.35;
  filter: blur(0.5px);
  z-index: 1;
  background: var(--blue);
  pointer-events: auto;
  cursor: pointer;
  bottom: 0;
  padding: 0;
  width: 520px;
  height: 750px;
  max-width: 520px;
  transform-origin: bottom center;
}

.slide.side-left {
  transform: translateX(calc(-520px * 0.70 - 20px)) scale(0.45);
  z-index: 1;
  opacity: 0.35;
  transform-origin: bottom center;
}

.slide.side-right {
  transform: translateX(calc(520px * 0.70 + 20px)) scale(0.45);
  z-index: 1;
  opacity: 0.35;
  transform-origin: bottom center;
}

.slide.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.3);
  filter: blur(8px);
  z-index: 0;
  width: 520px;
  height: 750px;
  bottom: 0;
}

.slide.hidden .slide-inner {
  opacity: 0;
}

.portfolio-slide__btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  display: flex;
  gap: 15px;
  background-color: #fff;
  padding: 15px 15px 0 15px;
  z-index: 50;
}

.slide__btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  height: 34px;
  width: 34px;
  cursor: pointer;
  transition: background-color 0.3s ease, clip-path 0.3s ease;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}


.slide__btn-next:hover {
  background-color: var(--orange);
  clip-path: polygon(0% 0%,
      calc(100% - 8px) 0%,
      100% 8px,
      100% 100%,
      8px 100%,
      0% calc(100% - 8px));
}

.slide__btn-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  height: 34px;
  width: 34px;
  cursor: pointer;
  transition: background-color 0.3s ease, clip-path 0.3s ease;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.slide__btn-prev:hover {
  background-color: var(--orange);
  clip-path: polygon(8px 0%,
      0% 8px,
      0% 100%,
      calc(100% - 8px) 100%,
      100% calc(100% - 8px),
      100% 0%);
}


.portfolio-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 224px;
  height: 100%;
}

.portfolio-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  z-index: 1;
  pointer-events: none;
}

.portfolio-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item img:first-of-type {
  opacity: 1;
  z-index: 2;
}

.portfolio-item:hover img:first-of-type {
  transform: scale(1.2);
}

.portfolio-callback {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 20px 20px 20px;
  background-color: var(--orange);
}

.portfolio-item p,
.portfolio-callback p {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  bottom: 20px;
  z-index: 2;
}

.callback {
  background-image: url(../images/callback-banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.callback .container {
  border-left: var(--border-dark);
  border-right: var(--border-dark);
}

.callback .container-top {
  border-top: var(--border-dark);
  border-bottom: var(--border-dark);
}

.callback__inner {
  padding: 0px 0 100px 0;
}

.callback__wrapper {
  border: var(--border-dark);
}

.callback .section-head {
  text-align: center;
  padding: 30px;
}

.callback .section-head h2 {
  color: var(--blue);
  margin-bottom: 10px;
}

.callback .section-head h2 span {
  color: var(--orange);
  margin-bottom: 20px;
}

.callback .section-head p {
  color: var(--light-blue);
}

.calc-form__wrapper {
  padding: 50px 30px 0 30px;
}

.calc-form {
  max-width: 1060px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
}

.calc-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 20px;
}

.form-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 15px;
}

.calc-form__group-input {
  display: grid;
  grid-template-columns: 1fr;
}

.calc-form__group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--light-blue);
  margin-bottom: 15px;
  cursor: pointer;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: transparent;
  cursor: pointer;
  border: var(--border-dark);
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
  background: transparent;
  border-color: var(--orange);
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.8805 0L5.72827 7.56287L2.28064 3.88367L0 6.02075L5.56982 11.9647L16 2.29749L13.8805 0Z' fill='%230C263B'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

input[type="checkbox"]:hover {
  border-color: var(--orange);
}

form .form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 483px;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 20px;
  border: none;
  font-size: 16px;
  font-weight: 400;
  color: var(--light-blue);
  transition: border-color 0.3s ease;
  outline: none;
}

.top-banner__form input[type="text"],
.top-banner__form input[type="tel"] {
  background: rgba(255, 255, 255, 0.5);
}

.calc-form input[type="text"],
.calc-form input[type="tel"] {
  background: rgba(255, 255, 255, 0.8);

}

input[type="text"]::placeholder,
input[type="tel"]::placeholder {
  font-size: 14px;
  font-weight: 400;
  color: var(--light-blue);
}

input[type="text"]:focus::placeholder,
input[type="tel"]:focus::placeholder {
  color: var(--blue);
}

.messengers {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.messenger-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--blue);
  cursor: pointer;
  position: relative;
  padding-left: 50px;
  min-height: 24px;
  user-select: none;
}

/* Скрываем нативный чекбокс */
form .messenger-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

/* Трек переключателя */
form .toggle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 24px;
  background: var(--dark-gray);
  border-radius: 15px;
  transition: 0.25s ease;
  flex-shrink: 0;
}

/* Бегунок*/
form .toggle::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--gray);
  border-radius: 50%;
  transition: all 0.25s;
}

/* Активное состояние (когда включен) */
form .messenger-option input[type="checkbox"]:checked~.toggle {
  background: var(--light-blue);
}

form .messenger-option input[type="checkbox"]:checked~.toggle::after {
  left: 19px;
  background: var(--gray);
}

/* При наведении*/
form .messenger-option:hover .toggle::after {
  background: var(--orange);
}

/* При наведении на включенный*/
form .messenger-option:hover input[type="checkbox"]:checked~.toggle::after {
  background: #ffffff;
}

form .form__police {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  margin-bottom: 30px;
  border-top: var(--border-blue);
  padding-top: 20px;
}

.form__police a {
  color: var(--light-blue);
  transition: color 0.3s ease;
}

.form__police a:hover {
  color: var(--orange);
}

form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--light-blue);
  cursor: pointer;
}

form .check a {
  font-size: 14px;
  text-decoration: underline;
}

.stages__inner {
  display: flex;
  justify-content: space-between;
  position: relative;
}


.stages .right-block {
  border-left: var(--border);
  position: relative;
  z-index: 6;
}

.stages .left-block {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
}


.stages__subtitle {
  height: 124px;
}

.stages__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.stages__item {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  background-color: var(--gray);
  cursor: pointer;
}

.stages__item:hover .stages__item-title p {
  color: var(--orange);
  transition: color 0.3s ease;
}

.stages__img-inner {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 553px;

}

.stages__img {
  width: 100%;
  position: relative;
  min-height: 553px;
}

.stages__img-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.stages__img-item.active {
  opacity: 1;
}

.stages__item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-dark);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.stages__item-title p {
  font-size: 36px;
  font-weight: 500;
  color: var(--blue);
}

.stages__item-title span {
  font-size: 18px;
  font-weight: 500;
  color: var(--orange);
}

.stages__item-text p {
  font-size: 18px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1;
}

.stages__item-text span {
  font-size: 16px;
  font-weight: 400;
  color: var(--light-blue);
}

.mission .left-block {
  max-width: 1080px;
}

.mission__inner {
  display: flex;
}

.mission__inner .right-block {
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-left: var(--border);
}

.mission__subtitle img {
  max-width: 480px;
}

.mission__text {
  margin-bottom: 150px;
}

.mission__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  justify-content: space-between;
}


.mission__number {
  max-width: 225px;
  width: 100%;
}

.number__item {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 30px;
}

.number__item p {
  font-size: 88px;
  font-weight: 500;
  color: var(--blue);
  line-height: 0.8;
  margin: 0;

  transition: none;
}

.number__item span {
  font-size: 42px;
  color: var(--blue);
  line-height: 0.8;
  margin: 0;
}


.mission__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--gray);
}

.card-tag {
  padding: 10px;
  color: #fff;
  background-color: var(--orange);
  margin-bottom: 30px;
  width: fit-content;
}

.card-text p {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -2%;
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 20px;
}

.card-text span {
  color: var(--blue);
}

.promo {
  background-color: var(--orange);
}

.promo .container-top {
  border-top: var(--border-orange);
  border-bottom: var(--border-orange);
}

.promo .container-bottom {
  border-bottom: var(--border-orange);
}


.promo .container {
  border-left: var(--border-orange);
  border-right: var(--border-orange);
}

.promo__titles,
.promo__btn {
  max-width: 790px;
  width: 100%;
  border-left: var(--border-orange);
  border-right: var(--border-orange);
  padding: 0 32px;
}

.promo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo__title {
  text-align: center;
  color: #fff;
  margin: 30px 0;
}

.promo__text {
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
}

.promo__btn {
  width: 100%;
  min-width: 790px;
  padding: 30px 0;
}

.promo__btn a {
  justify-self: center;
  width: 250px;
}

.faq .left-block {
  max-width: 1080px;
  width: 100%;
}

.faq .right-block {
  border-left: var(--border);
}

.faq .section-title__right {
  min-width: 560px;
  padding: 0 0 0 30px;
}

.faq__inner {
  display: flex;
}

.faq .right-block {
  display: flex;
  flex-direction: column;
}

.faq__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.faq__item {
  background-color: var(--gray);
  padding: 20px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 10px;
}

.faq-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-title p {
  font-size: 24px;
  font-weight: 500;
  color: var(--blue);
}

.dot {
  display: block;
  width: 10px;
  height: 10px;
  background-color: var(--orange);
  flex-shrink: 0;
}

.faq-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border: var(--border-dark);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.faq-btn svg {
  transition: transform 0.3s ease;
  z-index: 2;
  position: relative;
}

.faq-btn svg path {
  transition: fill 0.3s ease;
}

/* Уголок */
.faq-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 15px solid var(--orange);
  border-right: 15px solid transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.faq-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border: 1px solid transparent;
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.faq-btn:hover {
  border-color: transparent;
}

.faq-btn:hover svg {
  transform: rotate(90deg);
}

.faq-btn:hover svg path {
  fill: var(--orange);
}

.faq-btn:hover::before {
  opacity: 1;
}

.faq-btn:hover::after {
  width: 100%;
  height: 100%;
  border-color: var(--orange);
}

.faq-text-inner {
  display: none;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--light-blue);
  padding-top: 20px;
  margin: 0;
}

.faq__item.active .faq-text-inner {
  display: block;
}

.faq__item.active .faq-btn svg {
  transform: rotate(90deg);
}

.call-card {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between;
  height: 100%; */
}

.call-card__img {
  flex-shrink: 0;
  height: 375px;
  width: 100%;
  min-width: 500px;
  overflow: hidden;
}

.call-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.call-card .button {
  flex-shrink: 0;
  width: 100%;
  /* margin-top: 10px; */
  margin-top: 70px;
}

.footer {
  background-image: url(../images/footer-banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.footer .container {
  border: none;
}

.footer__container {
  padding: 120px 0;
}

.footer__menu {
  padding: 120px 0;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.footer__details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.footer__details p {
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer .menu__link {
  margin: 0;
}

.footer__phone {
  font-size: 70px;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.5s ease;
  line-height: 1;
  letter-spacing: -3%;
}

.footer__phone:hover {
  color: var(--orange);
}

.footer__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.button.btn-transparent {
  color: var(--blue);
  background-color: transparent;
  border: var(--border-dark);
}

.button.btn-transparent.cut-corners::before {
  border-top: 20px solid var(--dark-gray);
}

.button.btn-transparent.cut-corners::after {
  border-bottom: 20px solid var(--dark-gray);
}

.btn__icon-img {
  width: 24px;
  height: 24px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  border-top: var(--border-dark);
  padding-top: 20px;
}


.footer__text {
  display: flex;
  gap: 20px;
}

.footer__police {
  background-color: #fff;
  padding: 30px 0;
}

.footer__police-inner {
  display: flex;
  justify-content: space-between;
}

.footer__list {
  display: flex;
  gap: 20px;
}

.footer__police a {
  font-size: 14px;
  font-weight: 500;
  color: var(--light-blue);
  transition: color 0.3s ease;
}

.footer__police a:hover {
  color: var(--orange);
}

.footer__brv a {
  color: var(--blue);
  font-weight: 500;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(169, 181, 188, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  box-sizing: border-box;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  position: relative;
  max-width: 1060px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--gray);
  padding: 40px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}

.modal-overlay.active .modal-window {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.3s ease;
  padding: 0;
}

.modal-close svg path {
  transition: fill 0.3s ease;
  stroke: none;
}

.modal-close:hover svg path {
  fill: var(--orange);
}

.modal-close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.modal-close svg path {
  transition: stroke 0.3s ease;
}

.modal-close:hover svg path {
  stroke: var(--orange);
}


.modal-header p {
  text-align: center;
  font-size: 56px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 50px;
  letter-spacing: -3%;
}

.modal-feedback .form__fields {
  max-width: 100%;
  margin: 0 auto;
}

body.modal-open {
  overflow: hidden;
}

.modal-form.calc-form {
  background-color: transparent;
  padding: 0;
}

.modal-feedback {
  max-width: 750px;
}

.modal-content .messengers {
  margin-top: 15px;
  margin-bottom: 40px;
}


.modal-feedback .form__police {
  padding: 0;
  margin-bottom: 40px;
  border: none;
}


.modal-body img{
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
}

.modal-body p{
  margin-bottom: 10px;
}

.modal-body .button{
  margin-top: 40px;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 100;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.active {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 38, 59, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #ffffff;
  padding: 30px 30px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.mobile-menu__header .header__logo {
  width: stretch;
  margin-right: 20px;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s ease;
}

.mobile-menu__close:hover svg path {
  fill: var(--orange);
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 0;
  flex: 1;
}

.mobile-menu__nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
  position: relative;
}

.mobile-menu__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.mobile-menu__nav a:hover::after {
  width: 100%;
}

.mobile-menu__nav a:hover {
  color: var(--orange);
}

.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.mobile-menu__phone {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu__phone:hover {
  color: var(--orange);
}

.mobile-menu__mail {
  font-size: 16px;
  font-weight: 500;
  color: var(--light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu__mail:hover {
  color: var(--orange);
}

.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 20px;
  flex-shrink: 0;
}

.mobile-menu__bottom .social__btn {
  display: flex;
  gap: 10px;
}

.mobile-menu__bottom .social__btn a {
  width: 48px;
  height: 48px;
}

.mobile-menu__bottom .button {
  width: 100%;
}


@media (max-width: 1680px) {

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

}

@media (max-width: 1600px) {

  .header__left {
    align-items: center;
    padding-bottom: 0;
  }

  header .menu__link {
    flex-direction: column;
    gap: 5px;
  }

  .number__item p {
    font-size: 68px;
  }

  .mission__numbers {
    gap: 20px;
  }

}

@media (max-width: 1440px) {

  .footer__center {
    align-items: end;
  }

  .footer__phone {
    font-size: 56px;
  }

  .footer .menu__link a {
    font-size: 16px;
  }
}

@media (max-width: 1400px) {

  .header__contacts {
    flex-direction: column;
    gap: 5px;
    height: auto;
    padding: 10px;
  }

  .line {
    width: 100%;
    height: 1px;
  }

  .mission__inner .right-block {
    width: 100%;
    padding: 50px 20px 0 20px;
  }

  .mission__numbers {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 50px;
  }

  .number__item p {
    font-size: 88px;
  }
}

@media (max-width: 1300px) {
  h2 {
    font-size: 56px;
  }
}


@media (max-width: 1260px) {

  h4,
  .title-h4 {
    font-size: 20px;
  }

  .top-banner {
    padding-top: 166px;
  }

  .header__right {
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header__contacts {
    flex-direction: row;
    height: 58px;
  }

  .line {
    width: 1px;
    height: 100%;
  }

  .portfolio__inner {
    flex-direction: column;
  }

  .portfolio .right-block {
    width: 100%;
    padding: 50px 20px;
  }

  .portfolio .left-block {
    padding-right: 20px;
  }

  .portfolio-items {
    grid-template-columns: repeat(3, 1fr);
  }

}


@media (max-width: 1200px) {

  .header__inner {
    padding: 20px;
    border-right: var(--border-dark);
  }

  .top-banner {
    padding-top: 125px;
  }

  .header__right {
    flex-wrap: nowrap;
  }

  .header__burger {
    display: flex;
  }

  .header__left .menu__link {
    display: none;
  }

  .header__right .popup-feedback {
    display: none;
  }

  .line {
    width: 1px;
    height: 24px;
    margin: 0 5px;
  }

  .header__right {
    justify-content: flex-end;
    margin: 15px 0;
    gap: 10px;
  }

  .header .container {
    border-right: none;
  }

  .right-block {
    padding: 50px 20px;
  }

  .menu__link {
    gap: 15px;
  }

  .banner-bottom__inner {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 40px;
    padding-top: 150px;
  }

  .top-banner__form {
    max-width: 100%;
    margin: 30px 20px;
  }

  form .form__fields {
    max-width: 100%;
  }

  .stages__inner {
    flex-direction: column;
  }

  .stages .left-block {
    position: static;
    min-width: auto;
  }

  .stages__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .stages__item:last-of-type {
    justify-content: space-between;
    grid-column: span 2;
    width: 100%;
    height: 250px;
  }

  .mission__inner {
    flex-direction: column;
  }

  .mission__numbers {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq__inner {
    flex-direction: column;
  }

  .call-card {
    padding: 30px 0 0 0;
  }

  .footer__top {
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
  }

  .footer__center {
    width: 100%;
    align-items: center;
  }

  .footer__details {
    align-items: center;
  }

  .footer__right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__bottom {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
  }

  .footer__police-inner {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .footer__list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 1110px) {
  h2 {
    font-size: 52px;
  }

  .top-banner {
    padding-top: 110px;
  }

  .header__contacts {
    height: 48px;
  }

  .header .social__btn a {
    height: 48px;
    width: 48px;
  }

  .header .button {
    height: 48px;
  }

  .faq .section-title {
    flex-direction: column;
    align-items: start;
  }

  .faq .section-title__left {
    padding: 20px;
    min-height: 145px;
    height: 100%;
    width: 100%;
  }

  .faq .section-title__right {
    width: 100%;
    min-width: auto;
    height: 100%;
    padding: 20px;
  }

}

@media (max-width: 1050px) {
  .header .social__btn {
    display: none;
  }
}

@media (max-width: 1030px) {


  .section-title {
    flex-direction: column;
    align-items: start;
    position: relative;
    overflow: visible;
  }


  .section-title__left {
    padding: 20px;
    min-height: 145px;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: visible;
  }

  .section-dividr_border {
    width: 100%;
  }


  .section-title__left::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: var(--gray);
    z-index: 1;
    pointer-events: none;
  }

  .section-title__right {
    width: 100%;
    padding: 20px;
  }

  .stages .section-title::after {
    display: none;
  }

  .stages .section-title__right {
    display: none;
  }

  .mission .section-title__right img {
    max-height: 100px;
    width: auto;
  }
}

@media (max-width: 990px) {

  .advantages__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages__item {
    width: 100%;
    max-width: 100%;
  }

  .advantages__item-wrapper:nth-child(3) {
    padding-top: 0;
    grid-column: span 2;
    width: 100%;
    max-width: 100%;
  }

  .advantages__item-wrapper:nth-child(2) {
    border: none;
  }
}

@media (max-width: 940px) {
  .header .header__contacts {
    display: none;
  }

  .top-banner {
    padding-top: 100px;
  }

}

@media (max-width: 900px) {

  .calc-form__grid {
    grid-template-columns: 1fr;
  }

  .calc-form__group-input {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
  }

  form .form__police {
    margin-top: 40px;
  }

  .mission__text {
    margin-bottom: 100px;
  }

  .mission__numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission__number {
    max-width: 100%;
    text-align: center;
  }

  .number__item {
    justify-content: center;
  }

  .number__item p {
    text-align: center;
  }

}

@media (max-width: 890px) {

  h1 {
    font-size: 64px;
  }

  .promo .container {
    border: none;
  }

  .promo__titles {
    width: 100%;
    min-width: none;
  }

  .promo__btn {
    min-width: auto;
    width: 100%;
    padding: 30px 50px;
  }

  .portfolio-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu__panel {
    padding: 20px 20px 30px;
    max-width: 100%;
  }

  .mobile-menu__phone {
    font-size: 22px;
  }

  .header__contacts .contact-phone {
    font-size: 16px;
  }

  .header__contacts .contact-mail {
    font-size: 13px;
  }

  .container {
    margin: 0 15px;
  }

  .top-banner {
    padding-top: 110px;
  }

  .header__burger {
    display: flex;
  }

  .header__left .menu__link {
    display: none;
  }

  .header__right .popup-feedback {
    display: none;
  }

  .header__contacts {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    height: auto;
    gap: 5px;
    border: none;
    background: transparent;
  }

  .header__contacts::before {
    display: none;
  }

  .header__contacts .contact-mail {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .header__contacts .contact-phone {
    font-size: 20px;
  }

  .header__right {
    margin: 15px 0;
    gap: 5px;
    flex: 1;
    justify-content: flex-end;
  }

  .header__left {
    padding-bottom: 10px;
  }

  .header__inner {
    align-items: center;
  }

  .advantages__item {
    padding: 15px;
  }

  .portfolio-slide__content {
    padding: 15px;
  }

  .slide__content-title {
    font-size: 18px;
  }

  .slider {
    height: auto;
    min-height: 75px;
  }

  .slider-track {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .slide,
  .slide.active,
  .slide.side,
  .slide.side-left,
  .slide.side-right,
  .slide.hidden {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    height: 750px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .slide.side-left,
  .slide.side-right,
  .slide.hidden {
    opacity: 0 !important;
    transform: translateX(-50%) scale(0.85) !important;
    filter: blur(4px) !important;
    pointer-events: none !important;
  }

  .slide .slide-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .slide .portfolio-slide__img-top {
    height: 320px;
    flex-shrink: 0;
  }

  .slide__content-title {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .slide__content-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .callback .section-head h2 {
    font-size: 28px;
  }

  .calc-form__grid {
    flex-direction: column;
  }

  .calc-form__group {
    width: 100%;
  }

  form .form__fields {
    max-width: 100%;
  }

  .messengers {
    flex-wrap: wrap;
    gap: 10px;
  }

  .stages__item-title p {
    font-size: 24px;
  }

  .call-card__img {
    width: auto;
    min-width: 100%;
  }

  .faq__items {
    padding: 20px 0;
    gap: 15px;
  }

  .faq__item {
    padding: 15px;
  }

  .footer__container {
    padding: 40px 0;
  }

  .footer__menu {
    padding: 20px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__left {
    text-align: center;
  }

  .footer__details {
    align-items: center;
  }

  .footer__center .menu__link {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__phone {
    font-size: 36px;
  }

  .footer__right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer__text {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__police {
    padding: 20px 0;
  }

  .footer__list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .advantages__items {
    grid-template-columns: 1fr;
  }

  .advantages__item-wrapper:nth-child(2) {
    padding-top: 0;
  }

  .advantages__item-wrapper:nth-child(3) {
    grid-column: auto;
  }

  .stages__items {
    grid-template-columns: 1fr;
  }

  .stages__item:last-of-type {
    grid-column: auto;
    height: auto;
  }

  .portfolio-items {
    grid-template-columns: 1fr;
  }

  .portfolio-callback {
    min-height: 250px;
  }

  .calc-form {
    padding: 30px;
  }

  .stages__img-inner {
    min-height: auto;
  }

  .stages__img {
    min-height: 250px;
  }

  .modal-header p {
    font-size: 48px;
  }

}

@media (max-width: 600px) {
  .slider-track {
    max-width: 100%;
    height: 700px;
  }

  .slide,
  .slide.active,
  .slide.side,
  .slide.side-left,
  .slide.side-right,
  .slide.hidden {
    height: 100% !important;
  }

}

@media (max-width: 570px) {

  h2 {
    font-size: 48px;
  }

  h3,
  .title-h3 {
    font-size: 28px;
  }

  .calc-form__group-input {
    grid-template-columns: 1fr;
  }

  .calc-form__wrapper {
    padding: 50px 20px;
  }

  .mission__numbers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  h1 {
    font-size: 44px;
  }

  .container.section-divider-180 {
    height: 90px;
  }

  .mobile-menu__panel {
    padding: 16px 16px 24px;
  }

  .mobile-menu__header {
    padding-bottom: 20px;
  }

  .mobile-menu__nav {
    padding: 20px 0;
    gap: 6px;
  }

  .mobile-menu__contacts {
    padding: 16px 0;
  }

  h4,
  .title-h4 {
    font-size: 18px;
  }

  .top-banner {
    padding-top: 105px;
  }

  .header__contacts .contact-phone {
    font-size: 16px;
  }

  .title-item__nubmer div {
    font-size: 48px;
  }

  .button {
    font-size: 16px;
    padding: 15px;
    height: 50px;
  }

  .modal-header p {
    font-size: 28px;
  }

  .modal-window {
    padding: 30px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .modal-feedback .form__fields {
    gap: 10px;
  }

  .top-banner .container,
  .header__inner {
    border-right: none;
  }

  .top-banner__title {
    padding: 30px 20px;
  }

  .header .container {
    border-right: none;
  }

  .slider {
    min-height: 750px;
  }

  .slider-track {
    height: 750px;
  }

  .slide,
  .slide.active,
  .slide.side,
  .slide.side-left,
  .slide.side-right,
  .slide.hidden {
    height: 750px !important;
  }

  .slide .portfolio-slide__img-top {
    height: 200px;
  }

  .slide__content-text {
    gap: 20px;
    padding-top: 10px;
  }

  .content-text__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-text__item span {
    font-size: 14px;
  }

  .content-text__item span:nth-child(2){
    font-size: 14px;
  }

  .faq-title p {
    font-size: 20px;
  }
}


@media (max-width: 450px) {
  h2 {
    font-size: 36px;
  }

  h3,
  .title-h3 {
    font-size: 22px;
  }

  h4,
  .title-h4 {
    font-size: 16px;
  }

  .top-banner__form-title {
    flex-direction: column;
    gap: 20px;
  }

  .mission .section-title__right img {
    width: stretch;
  }

  .promo__btn {
    padding: 20px;
    width: 100%;
  }

  .faq-title {
    gap: 10px;
  }

  .faq-title p {
    font-size: 18px;
  }

  .footer__phone {
    font-size: 28px;
  }
}

@media (max-width: 410px) {
  h1 {
    font-size: 48px;
  }

  .top-banner {
    padding-top: 90px;
  }
}


@media screen and (max-width: 410px) {
  .mission .section-title__right img {
    max-width: 300px;
    width: 100%;
    height: auto;
  }
}


@media (max-width: 350px) {
  .top-banner {
    padding-top: 70px;
  }

  .mission .section-title__right img {
    max-width: 300px;
  }
}


@media (max-width: 280px) {
  h2 {
    font-size: 28px;
  }

  .left-block {
    padding: 50px 10px 0 10px;
  }

  .top-banner__form {
    margin: 15px 10px;
  }

  .promo__btn a {
    width: 200px;
  }

  .advantages__item {
    max-width: 200px;
  }

  .advantages__item-title {
    font-size: 18px;
  }

  .slider {
    padding: 0;
  }

  .portfolio-slide__content {
    padding: 10px;
  }

  .portfolio .left-block {
    padding-right: 10px;
  }

  .slide,
  .slide.active,
  .slide.side,
  .slide.side-left,
  .slide.side-right,
  .slide.hidden {
    height: 720px !important;
  }

  .calc-form__wrapper {
    padding: 50px 15px;
  }

  .calc-form {
    padding: 10px;
  }

  .form-title {
    text-align: center;
  }


  .faq-title p {
    font-size: 16px;
  }

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

  .footer__phone {
    font-size: 22px;
  }
}


/* form send status */
.form-message {
  width: 100%;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #0C263B;
}

.form-message.success {
  color: #1F8A45;
}

.form-message.error {
  color: #D93025;
}

button.is-loading,
button:disabled {
  cursor: wait;
  opacity: .75;
}


/* cookie notice */
.cookies-notice {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 10000;
  width: min(560px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 20px;
  align-items: center;
  padding: 24px 26px;
  background: #fff;
  border: var(--border-dark);
  box-shadow: 0 20px 60px rgba(12, 38, 59, 0.18);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.cookies-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cookies-notice__text {
  padding-right: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--light-blue);
}

.cookies-notice__text a {
  font-size: inherit;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.cookies-notice__text a:hover {
  color: var(--orange);
}

.cookies-notice__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 24px;
  height: 24px;
  border: none;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cookies-notice__close:hover {
  color: var(--orange);
}

.cookies-notice__accept {
  min-width: 130px;
  height: 48px;
  border: none;
  padding: 0 24px;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cookies-notice__accept:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

/* policy page */
.policy-page {
  background: var(--gray);
  padding: 130px 0 80px;
}

.policy-page__inner {
  margin: 0 auto;
  padding: 48px;
  background: #fff;
  border: var(--border-dark);
}

.policy-page__back {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--orange);
  font-size: 16px;
}

.policy-page__back:hover {
  color: var(--blue);
}

.policy-page h1 {
  margin-bottom: 24px;
  font-size: 58px;
}

.policy-page h2 {
  margin: 40px 0 16px;
  font-size: 32px;
  line-height: 1.1;
}

.policy-page p,
.policy-page li {
  color: var(--light-blue);
  line-height: 1.65;
}

.policy-page ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy-page li {
  list-style: disc;
  margin-bottom: 8px;
}

.policy-page a {
  font-size: inherit;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-page__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.policy-page__table th,
.policy-page__table td {
  padding: 14px;
  border: var(--border-dark);
  vertical-align: top;
  text-align: left;
  color: var(--light-blue);
  font-size: 15px;
  line-height: 1.45;
}

.policy-page__table th {
  color: var(--blue);
  font-weight: 600;
  background: var(--gray);
}

@media (max-width: 768px) {
  .cookies-notice {
    left: 20px;
    bottom: 20px;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .cookies-notice__text {
    padding-right: 22px;
  }

  .cookies-notice__accept {
    width: 100%;
  }

  .policy-page {
    padding: 100px 0 50px;
  }

  .policy-page__inner {
    padding: 28px 20px;
  }

  .policy-page h1 {
    font-size: 38px;
  }

  .policy-page h2 {
    font-size: 24px;
  }

  .policy-page__table {
    display: block;
    overflow-x: auto;
  }
}