body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;

  font-weight: 400;
  font-style: normal;
  color: rgba(16, 16, 16, 1);
  height: 100%;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  height: 100%;
}

.main {
  flex: 1 1 auto;
}

._container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
  box-sizing: content-box;
  overflow: hidden;
}

._container-sh {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
  box-sizing: content-box;
}

a {
  cursor: pointer;
}

.mg-100 {
  margin: 100px 0px;
}

h2 {
  font-weight: 500;
  font-size: 46px;
  line-height: 120%;
  text-transform: uppercase;
}

h1 {
  font-weight: 500;
  font-size: 52px;
  line-height: 120%;
  text-transform: uppercase;
}

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

  .mg-100 {
    margin: 80px 0px;
  }

  h1 {
    font-size: 32px;

  }
}

/* achievement */

.achievement__body {
  background-color: rgba(246, 248, 250, 1);
  border-radius: 30px;
  padding: 50px;
}

.achievement__content {
  max-width: 610px;
  width: 100%;
}

.achievement__body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

.achievement__img {
  max-width: 438px;
  width: 100%;
}

.title-inf {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  text-transform: uppercase;
  color: rgba(29, 101, 236, 1);
  position: relative;
  padding-left: 13px;
}

.title-inf:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: rgba(29, 101, 236, 1);
  border-radius: 100%;
  left: 13px;
  left: 0;
  top: 7px;
}

.achievement__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 31px;
  width: 100%;
  margin: 40px 0px;
}

.achievement__item {
  display: flex;
  flex-direction: row;
  max-width: 285px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(234, 234, 234, 1);
}

.achievement__item-infos {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.achievement__item-num {
  font-weight: 500;
  font-size: 39px;
  line-height: 120%;
  letter-spacing: 0%;
}

.achievement__item-inf p {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0%;
  vertical-align: bottom;
  position: relative;
  top: -5px;
}

.achievement__item-inf span {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: rgba(29, 101, 236, 1);
  position: relative;
  top: -2px;
}

.achievement__item-inf {
  display: flex;
  position: relative;
  flex-direction: column-reverse;
}

.achievement__item-icon {
  position: relative;
  top: 4px;
}

.btn,
.wpcf7 .wpcf7-submit {
  border-radius: 36px;
  background-color: rgba(29, 101, 236, 1);
  max-width: 286px;
  width: 100%;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  transition: .3s ease;
}

.btn:hover {
  opacity: 0.8;
}

.achievement__content h2 {
  margin-top: 12px;
}

.achievement__img img {
  object-fit: cover;
  width: 100%;
  height: 100%;

  transform: scaleX(-1);
  border-radius: 30px;
}

@media(max-width: 1050px) {
  .achievement__body {
    flex-direction: column;
    gap: 30px;
  }

  .achievement__img,
  .achievement__content,
  .achievement__item,
  .achievement__content .btn {
    max-width: 100%;
  }
}

@media(max-width: 768px) {
  .achievement {
    background-color: rgba(246, 248, 250, 1);
    border-radius: 20px;
  }

  .achievement__body {
    padding: 20px 0px;
  }

  .title-inf {
    font-size: 12px;
  }

  .title-inf:after {
    top: 4px;
  }

  .achievement__content h2 {
    margin-top: 8px;
  }

  .achievement__items {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin: 20px 0px 30px 0px;
  }

  .achievement__item-num {
    font-size: 32px;
  }

  .achievement__item-infos {
    gap: 8px;
  }

  .achievement__item-inf p {
    font-size: 14px;
    top: -7px;
  }

  .achievement__item-inf span {
    font-size: 18px;
    top: -5px;
  }

  .btn {
    height: 52px;
    font-size: 14px;
  }
}

/* projects */

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.pag-cust,
body .swiper-button-next,
body .swiper-button-prev,
body .swiper-pagination {
  position: relative;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
}

.pag-cust {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 51px;
  margin-top: 30px !important;

}

.swiper-pagination {
  width: max-content !important;
}

.mySwiper-proj .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  opacity: 1;
  background-color: rgba(234, 234, 234, 1);
  border-radius: 30px;
  transition: .3s ease;
  margin: 0 !important;
}

body .mySwiper-proj .swiper-pagination {
  display: flex;
  gap: 6px;
}

.mySwiper-proj .swiper-pagination-bullet-active {
  background: rgba(29, 101, 236, 1);
  width: 22px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(234, 234, 234, 1);
  border-radius: 4px;
}

.swiper-button-next {
  transform: rotate(180deg);
}

.swiper-button-next,
.swiper-button-prev {
  svg {
    display: none;
  }
}

.slide-proj__img {
  height: 281px;
  border-radius: 30px;
  padding: 8px;
  background-color: rgba(246, 248, 250, 1);
  overflow: hidden;
  width: 100%;
}

.slide-proj {
  background: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.slide-proj:hover .slide-proj__img img {
  transform: scale(1.03);
}

.slide-proj__img img {
  border-radius: 24px;
  transition: .3s ease;
}

.slide-proj__inf {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.slide-proj__inf span {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  text-transform: uppercase;
  color: rgba(117, 119, 123, 1);
}

.slide-proj__title {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
  align-items: end;
  text-align: left;
  margin-top: 10px;
}

.slide-proj__title img {
  width: 22px;
  height: 22px;
  min-width: 22px;
}

.slide-proj__title p {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: rgba(16, 16, 16, 1);
}

.over-link {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.projects__sliders {
  margin-top: 50px;
}

.projects-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.projects-title h2 {
  margin-top: 16px;
}

@media(max-width: 768px) {
  .projects__sliders {
    margin-top: 20px;
  }

  .slide-proj__img {
    height: 232px;
  }

  .slide-proj__inf span {
    font-size: 12px;
  }

  .slide-proj__title p {
    font-size: 18px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 38px;
    height: 38px;
  }

  .pag-cust {
    justify-content: space-between;
  }

  .projects-title h2 {
    margin-top: 8px;
  }
}

/* about */

.about__header {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.about-title h2 {
  margin-top: 12px;
}

.about-title {
  max-width: 642px;
  width: 100%;
}

.about-inf {
  max-width: 438px;
  width: 100%;
}

.about__body {
  padding: 50px;
  background-color: rgba(246, 248, 250, 1);
  border-radius: 30px;
}

.about-inf p {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  margin-top: 26px;
}

.about-info__inf {
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: rgba(29, 101, 236, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  transition: .3s ease;
}

.about-info__inf:hover {
  opacity: 0.8;
}

.about__content {
  margin-top: 30px;
}

.about__content-text {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  text-transform: uppercase;
  color: rgba(117, 119, 123, 1);
  margin-bottom: 50px;
}

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

.about__items img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  height: 340px;
  transition: .3s ease;
}

.about__items img:hover {
  transform: scale(1.02);
}

.about__items img:nth-child(1) {
  grid-column: span 2;
}

.about__items img:nth-child(2) {
  grid-column: 3;
}

@media(max-width: 768px) {
  .about__body {
    padding: 30px 0px;
  }

  .about {
    background-color: rgba(246, 248, 250, 1);
    border-radius: 20px;
  }

  .about__header {
    flex-direction: column;
    gap: 16px;
  }

  .about-inf {
    max-width: 100%;
    display: flex;
    flex-direction: column-reverse;
  }

  .about-title h2 {
    margin-top: 8px;
  }

  .about__content-text {
    font-size: 18px;
    margin-bottom: 30px;
    text-transform: none;
    line-height: 120%;
  }

  .about__content {
    margin-top: 20px;
  }

  .about-info__inf {
    font-size: 14px;
    margin-top: 20px;
  }

  .about-info__inf img {
    width: 18px;
    height: 18px;
  }

  .about-inf p {
    font-size: 14px;
    margin-top: 0;
  }
}

@media(max-width: 600px) {
  .about__items {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .about__items img:nth-child(1),
  .about__items img:nth-child(2) {
    grid-column: auto;
  }

  .about__items img {
    height: 169px;
    border-radius: 20px;
  }
}

/* banner */

.banner-up h1 {
  margin: 6px 0px 20px 0px;
  max-width: 481px;
}

.banner__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: rgba(117, 119, 123, 1);
  margin-bottom: 30px;
  max-width: 415px;
}

.banner-info__items {
  display: flex;
  flex-direction: column;
  gap: 31px;
  margin-top: 122px;
}

.banner {
  /* background: url(../img/line.svg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover; 
  width: 100%; */
  position: relative;
  /* margin-bottom: 109px; */
}

.banner-line {
  top: 0;
  left: 0;
  width: 100%;
  height: 692px;
  /* растянуть по высоте блока */
  object-fit: cover;
  /* или contain, в зависимости от эффекта */
  z-index: -1;
  /* отправить на задний план */
  position: absolute;
}

.banner-peop {
  position: absolute;
  bottom: 0;
  /* центрирование */
  left: 45%;
  transform: translateX(-50%);
  /* смещение вправо на 10px */
/*   margin-left: 40px; */

  width: 816px;
  height: 816px;
  z-index: -1;
}

.banner-up {
  position: relative;
  padding-bottom: 109px;
}

.banner-info-abs {
  position: absolute;
  top: 26px;
  right: 5px;
  max-width: 280px;
}

.banner-info-abs-title {
  font-weight: 500;
  font-size: 39px;
  line-height: 120%;
  color: rgba(16, 16, 16, 1);
}

.banner-info-abs-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: rgba(117, 119, 123, 1);
  margin: 14px 0px 20px 0px;
}

.inf-mes {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.inf-mes a {
  border: 1px solid rgba(29, 101, 236, 1);
  border-radius: 50px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease;
}

.inf-mes a:hover {
  opacity: 0.8;
}

.banner-slider {
  position: absolute;
  bottom: 109px;
  right: 0;
  max-width: 285px;
  width: 100%;
}

.banner-sl {
  border-radius: 20px;
  background-color: rgba(246, 248, 250, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px;
  position: relative;
}

.banner-sl__img {
  overflow: hidden;
  border-radius: 20px;
}

.banner-sl__img img {
  height: 191px;
  transition: .3s ease;
}

.banner-sl-title {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  vertical-align: bottom;
  margin: 8px 0px 6px 0px;
  padding: 0px 8px;
}

.banner-sl .sl-link {
  padding: 0px 8px 8px 8px;
}

.sl-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;

  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  vertical-align: middle;
  color: rgba(29, 101, 236, 1);
}

.banner-sl:hover .banner-sl__img img {
  transform: scale(1.03);
}

.banner-pag {
  position: relative;
}

.banner-pag-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: rgba(16, 16, 16, 1);
}

.banner-pag {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 16px;
  justify-content: space-between;
}

.banner-pag-btn {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5px;
}

.banner-pag-btn .swiper-button-next,
.banner-pag-btn .swiper-button-prev {
  width: 24px;
  height: 24px;
  border: 0;
}

@media (max-width: 1050px) {

  .banner .achievement__img,
  .banner .achievement__content,
  .banner .achievement__item,
  .banner .achievement__content .btn {
    max-width: 285px;
  }
}

@media(max-width: 1000px) {
  .banner-slider {
    display: none;
  }

  .banner-info-abs,
  .banner-peop {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 800px;
    margin-left: 0px;
  }

  .banner-line {
    display: none;
  }

  .banner-info-abs {
    background-color: rgba(246, 248, 250, 1);
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .banner-info-abs-title {
    font-size: 26px;
    text-align: center;
  }

  .banner-info-abs-text {
    font-size: 14px;
    margin: 12px 0px 16px 0px;
    text-align: center;
  }

  .banner-info__items {
    gap: 12px;
    margin-top: 20px;
  }

  .banner .achievement__img,
  .banner .achievement__content,
  .banner .achievement__item,
  .banner .achievement__content .btn,
  .banner-up h1,
  .banner__text {
    max-width: 100%;
  }


  .banner-up h1 {
    margin: 8px 0px 16px 0px;
  }
}

.banner {
  padding-top: 39px;
}

@media(max-width: 768px) {
  .banner__text {
    font-size: 14px;
  }

  .banner-up .btn {
    max-width: 100%;
  }

  .banner__text {
    margin-bottom: 20px;
  }

  .banner {
    padding-top: 16px;
  }

}

/* footer  */

.footer__down {
  border-top: 1px solid rgba(234, 234, 234, 1);
  padding-top: 20px;
}

.footer__down-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px 10px;
  flex-wrap: wrap;
}

.footer__down-body a,
.footer-down-inf {
  transition: .3s ease;
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  vertical-align: bottom;
  color: rgba(117, 119, 123, 1);
}

.footer__down-body a:hover {
  text-decoration: underline;
}

.footer__down {
  margin: 20px 0px 23px 0px;

}

.footer__down-body {
  max-width: 1025px;
}

.footer-info-btn,
.footer-inf-btn-column {
  display: flex;
  flex-direction: column;
}

.btn-footer {
  margin-bottom: 27px;
  max-width: 180px;
  background-color: rgba(16, 16, 16, 1);
  border-radius: 36px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: self-end;
  padding: 9px 0px;
  gap: 2px;
  color: white;
  height: 38px;
  transition: .3s ease;
}

.btn-footer:hover {
  opacity: 0.8;
}

.footer-inf-btn-column {
  gap: 20px;
}

.footer-inf-btn-column a {
  font-weight: 500;
  font-size: 31px;
  line-height: 120%;
  vertical-align: bottom;
  display: flex;
  flex-direction: row;
  color: rgba(16, 16, 16, 1);
  align-items: center;

}

.footer-inf-btn-column a:hover,
.adr:hover {
  text-decoration: underline;
}

.footer-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: rgba(29, 101, 236, 1);
  margin-bottom: 17px;
}

.adr {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: rgba(16, 16, 16, 1);
}

.footer-mes {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.footer-mes a {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 1px solid rgba(234, 234, 234, 1);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s ease;
}

.footer-mes a:hover {
  opacity: 0.6;
}

nav ul li a {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: rgba(16, 16, 16, 1);
  white-space: nowrap;
}

nav ul li a:hover {
  text-decoration: underline;
}

nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-log a {
  font-weight: 500;
  font-style: Medium;
  font-size: 25px;
  line-height: 120%;
  color: rgba(29, 101, 236, 1);
}

.footer__up {
  display: flex;
  flex-direction: row;
  gap: 149px;
}

.footer__info-bd {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.footer-menu {
  margin-right: 85px;
}

.footer-contact {
  max-width: 305px;
}

@media(max-width: 1040px) {
  .footer__up {
    gap: 20px;
  }
}

@media(max-width: 870px) {
  .footer__up {
    gap: 20px;
    flex-direction: column;
  }

  .footer-log a {
    font-size: 18px;
  }
}

@media(max-width: 768px) {
  .footer__info-bd {
    flex-direction: column;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  nav ul li a {
    font-size: 14px;
  }

  .footer-menu {
    margin-right: 0px;
  }

  .footer-contact {
    max-width: 100%;
  }

  .footer-inf-btn-column a {
    font-size: 24px;
  }

  .footer-inf-btn-column {
    gap: 16.5px;
  }

  .footer__down {
    margin: 20px 0px;
  }

  .footer-info-btn {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .btn-footer {
    margin-bottom: 0;
  }

  .adr {
    font-size: 14px;
  }
}

@media(max-width: 500px) {
  .footer__down-body {
    flex-direction: column;
    align-items: flex-start;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



/* header  */

.header {
  width: 100%;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 5px 0px;
}

.header nav ul {
  flex-direction: row;
  gap: 30px;
}

/* Фиксация при скролле без скачка */
.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Placeholder для компенсации высоты */
.header-placeholder {
  display: none;
  width: 100%;
}

.header-placeholder.visible {
  display: block;
}

.container {
  display: flex;
  gap: 47px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: content-box;
}

.logo {
  display: flex;
  width: 100%;
  max-width: 163px;
  z-index: 1002;
}

.header__body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 10px;
}

.logo a {
  font-weight: 500;
  font-size: 25px;
  line-height: 120%;
  color: rgba(16, 16, 16, 1);
}

.header__contant {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

.burger {
  display: none;
  cursor: pointer;
  z-index: 998;
  border: 1px solid rgba(234, 234, 234, 1);
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  position: relative;
  overflow: hidden;
}

.burger img {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

/* Первая иконка (open) — видна по умолчанию */
.burger img:first-child {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Вторая иконка (close) — скрыта по умолчанию */
.burger img:last-child {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

/* Когда меню открыто — меняем иконки местами */
.burger.active img:first-child {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

.burger.active img:last-child {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.header__infos-mes .btn-footer {
  width: 100%;
  margin-bottom: 0px;
}

.header__infos-mes .footer-mes {
  margin-top: 0px;
}

.nav {
  width: 100%;
}

.header__infos-mes {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}

/* Оверлей для меню */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 16, 16, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.menu-overlay-bur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 16, 16, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.menu-overlay.active, .menu-overlay-bur.active{
  opacity: 1;
  visibility: visible;
}

.header .footer__info-bd {
  display: none;
}

@media (max-width: 950px) {

  .header__body {
    display: none;
  }

  .header .footer__info-bd {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .logo a {
    font-size: 18px;
  }

  .header__contant {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 100vh;
    background: #fff;
    z-index: 998;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 55px 20px 20px 20px;
    box-sizing: border-box;
  }

  .header__contant.active {
    transform: translateY(0);
  }

  .header__body {
    flex-direction: column;
    gap: 30px;
  }

  .nav {
    width: 100%;
  }

  .header nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .header__infos-mes {
    flex-direction: column;
    gap: 20px;
  }

  .header__infos-mes .footer-mes {
    justify-content: center;
  }

  /* Фикс для фиксированного хедера на мобильных */
  .header.fixed .header__contant {
    /* высота фиксированного хедера */
    max-height: calc(100vh - 60px);
  }

  .container {
    justify-content: space-between;
  }
}

/* pop  */

/* Попап */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.popup__content {
  background: #fff;
  border-radius: 12px;
  max-width: 588px;
  width: 90%;
  padding: 50px;
  max-height: 90vh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border-radius: 20px;
}

.form-contact-body-item span {
  overflow: hidden;
}

.popup.active .popup__content {
  transform: scale(1);
}

/* Кнопка закрытия внутри попапа */
.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(246, 248, 250, 1);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.popup__close:hover {
  background: rgba(234, 234, 234, 1);
}

.popup__close img {
  width: 16px;
  height: 16px;
}

.pop-title {
font-weight: 500;
font-size: 31px;
line-height: 120%;
text-align: center;
color: rgba(16, 16, 16, 1);
}

.popup__content .form-contact-body-btn p {
  display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.popup__content .form-contact-policy p label {
  justify-content: center;
}

.popup__content .policy-text {
  max-width: 428px;
}


/* Оверлей используем тот же что и для меню, но для попапа z-index выше */
.popup.active~.menu-overlay,
.popup.active+.menu-overlay {
  z-index: 999;
}

.popup__close.mob-cl {
  display: none;
}

@media(max-width: 768px) {
  .popup__content {
      padding: 30px 20px;
  }

  .popup__close {
    display: none;
  }
.popup__close.mob-cl {
  display: flex;
  background-color: white;
  border-radius: 100%;
}

  .pop-title {
    font-size: 24px;
}
}


/* form  */

.form-main__body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

.form-map {
  max-width: 590px;
  width: 100%;
  height: 488px;
  border-radius: 30px;
  overflow: hidden;
}

.form-map iframe {
  width: 100%;
  height: 100%;
}

.form-main__content {
  max-width: 488px;
  width: 100%;
}

/* form-contact  */

/* === Кастомный чекбокс === */
.consent-wrapper {
  margin: 20px 0;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.custom-checkbox input:checked~.checkmark {
  background: #007bff;
  border-color: #007bff;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark::after {
  display: block;
}

.consent-text {
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}

.consent-text a {
  color: #007bff;
  text-decoration: underline;
}

/* === Кнопка с иконкой === */
.custom-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.custom-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.custom-submit-btn:not(:disabled):hover {
  background: #0056b3;
}

.btn-icon {
  width: 20px;
  height: 20px;
}


.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.form-contact-body-item {
  border-radius: 58px;
  background-color: rgba(246, 248, 250, 1);
  padding: 18px 20px;

}

.form-contact-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-contact-body-item p {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.form-contact-bd {
  margin-top: 30px;
}

.form-contact-body-btn {
  margin-top: 20px;
  margin-bottom: 30px;
}

.form-contact-body-btn br,
.form-contact-policy br {
  display: none;
}

.wpcf7-spinner {
  display: none;
}

.form-contact-policy p label {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.wpcf7-list-item {
  margin-left: 0;
}

.wpcf7-response-output {
  text-align: center;
}

.policy-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  color: rgba(117, 119, 123, 1);
}

.js-lwpcngNotice.lwpcngNotice {
	display: block;
    margin: 10px 30px;
    border-radius: 20px;
    background: rgba(246, 248, 250, 1);
    border: 0;
    color: rgba(16, 16, 16, 1);
}

.lwpcngNotice_accept.js-lwpcngAccept {
	    border-radius: 10px;
    background-color: rgba(29, 101, 236, 1);
    max-width: max-content;
    width: 100%;
    height: max-content;
    gap: 4px;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    transition: .3s ease;
	border: 1px solid rgba(29, 101, 236, 1);
}

.lwpcngNotice_accept.js-lwpcngAccept:hover {
	background-color: rgba(246, 248, 250, 1);
	color: rgba(29, 101, 236, 1);
}

@media(max-width: 768px) {
  .form-main__body {
    flex-direction: column;
  }

  .form-main__content,
  .form-map {
    max-width: 100%;
  }

  .form-map {
    height: 265px;
  }

  .form-contact-bd {
    margin-top: 20px;
  }

  .form-contact-body-item {
    padding: 16px 20px;
  }

  .form-contact-body-btn {
    margin-bottom: 16px;
  }

  .form-contact-body-btn .btn {
    max-width: 100%;
  }
}