/* Reset: базовое обнуление */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Убираем оформление списков */
ul,
ol {
  list-style: none;
}

/* Убираем подчеркивания ссылок и наследуем цвет */
a {
  text-decoration: none;
  color: inherit;
}

/* Убираем обводку у кнопок и инпутов */
button,
input,
textarea,
select {
  border: none;
  outline: none;
  font: inherit;
  background: none;
}

/* HTML и body — на 100% высоты, гладкий скролл */
html, body {
  height: 100%;
  scroll-behavior: smooth;
}

/* Убираем курсив у address и стандарт у цитат */
address,
cite,
em,
i {
  font-style: normal;
}

/* Убираем border у изображений и максимум ширины */
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}

/* Таблицы без отступов */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

::placeholder {
  color: #061D33;
  opacity: 1; /* убираем прозрачность по умолчанию */
}

/* Для совместимости с разными браузерами */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #061D33;
  opacity: 1;
}

body {
  font-family: "Nunito", sans-serif;
  font-size: 18px;
  color: #061D33;
  background: url(../img/bg.jpg) no-repeat center top;
  background-size: cover;
}

.header {
  padding: 44px 3%;
}

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

.header__lang {
  margin-left: auto;
  display: flex;
  align-items: center;
  margin-right: 34px;
  position: relative;
  cursor: pointer;
}

.lang__dropdown {
  position: absolute;
  top: 75%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px 0;
  margin-top: 10px;
  border-radius: 6px;
  display: none;
  min-width: 80px;
  z-index: 10;
}

.lang__current {
  display: flex;
  align-items: center;
  height: 40px;
}
.header__contact a {
display: flex;
  align-items: center;
}
.lang__item {
  display: flex;
  align-items: center;
  padding: 5px 15px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.lang__item:hover {
  background: #f5f5f5;
}

.header__lang:hover .lang__dropdown {
  display: block;
}

.lang__flag {
  width: 24px;
  height: 16px;
  margin-right: 7px;
}

.lang__text {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #000000;
  margin-right: 7px;
}

.lang__arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.header__lang:hover .lang__arrow {
  transform: rotate(180deg);
}

.header__contact {
  display: flex;
  align-items: center;
}

.contact__icon {
  margin-right: 7px;
}

.contact__phone {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #000000;
}

.cta {
  display: flex;
  justify-content: center;
  margin-bottom: 280px;
  align-items: flex-end;
  margin-top: 37%;
}

.cta__inner {
  width: 970px;
    text-align: center;
}

/* Заголовок */
.cta__title {
  font-weight: 800;
  font-size: 48px;
  line-height: 110%;
  color: #ffffff;
  margin-bottom: 13px;
    background: #972150;
  opacity: 0.89;
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1),
              0px 0px 10px rgba(0, 0, 0, 0.07);
  border-radius: 20px;

  padding: 17px 34px;
  margin-bottom: 13px;
}

.cta__title span {
  color: #FFCBAA;
}

/* Описание */
.cta__desc {
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: #061D33;
  margin-bottom: 20px;
}

/* Кнопка */
.cta__btn {
  background: #FD711A;
  border: 2px solid #FD711A;
  border-radius: 8px;
  padding: 18px 21px;
  font-weight: 800;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.cta__btn:hover {
  background: #e15d00;
  border-color: #e15d00;
}

.cta__icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
.products {
  display: flex;
  justify-content: center;
  margin-bottom: 210px;
}

.products__inner {
  width: 1027px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.product {
  width: calc((100% - 64px) / 3); /* 3 блока + 2 промежутка по 32px */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 7px 64.8px -4px rgba(6, 48, 255, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product__img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 0.9;
}

.product__content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 33px;
  color: #061D33;
  margin-bottom: 16px;
}

.product__desc {
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: #061D33;
  margin-bottom: 32px;
  flex-grow: 1;
}

.product__btn {
  width: 100%;
  padding: 18px 0;
  font-weight: 800;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  background: #FD711A;
  border: 2px solid #FD711A;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.product__btn:hover {
  background: #e15d00;
  border-color: #e15d00;
}
.cta2 {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.cta2__button {
  position: relative;
  width: 766px;
  padding: 23px 0;
  text-align: center;
  font-weight: 800;
  font-size: 38px;
  line-height: 52px;
  color: #FFFFFF;
  background: #478CC4;
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1),
              0px 0px 10px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  z-index: 1;
}

.cta2__button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -15px;
  width: 795px;
  height: 100%;
  background: #86D3C9;
  opacity: 0.5;
  border-radius: 20px;
  transform: rotate(-5.79deg);
  z-index: -1;
}
.lang__dropdown .lang__item a {
  display: flex;
  align-items: center;
}
.info-block {
  display: flex;
  justify-content: center;
  margin: 16% 0;
}

.info-block__inner {
  background: #FFFFFF;
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1),
              0px 0px 10px rgba(0, 0, 0, 0.07);
  border-radius: 30px;
  width: 1194px;
  padding: 30px 30px 30px 56px;
  display: flex;
  gap: 30px;
  position: relative;
}

.info-block__inner::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -16px;
  width: 183px;
  height: 151px;
  background: url(../img/decoration-1.svg) no-repeat center top;
}

.info-block__inner::after {
  content: "";
  position: absolute;
  top: -154px;
  right: -44px;
  width: 641px;
  height: 594px;
  background: url(../img/Deco-video.svg) no-repeat center top;
}

.info-block__text,
.info-block__image {
  width: 50%;
}

.info-block__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  justify-content: center;
}

.info-block__title {
  font-weight: 800;
  font-size: 38px;
  line-height: 110%;
  color: #0F172A;
  margin-bottom: 24px;
}

.info-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-block__list li {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: #061D33;
}

.info-block__list img {
  margin-right: 8px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.info-block__image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.info-block__image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  z-index: 2;
}


.contact-form {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

.contact-form__container {
  width: 936px;
  background: #FFFFFF;
  box-shadow: 0px 9px 25.3px -8px rgba(32, 66, 199, 0.29);
  border-radius: 30px;
  padding: 56px 44px 61px;
  overflow: hidden;
  position: relative;
}

.contact-form__container::after {
content: "";
  position: absolute;
  top: -10px;
  right: -29px;
  width: 146px;
  height: 141px;
  background: url(../img/decoration-1.svg) no-repeat center top;
}

.contact-form__container::before {
content: "";
  position: absolute;
  top: -29px;
  left: -19px;
  width: 146px;
  height: 141px;
  background: url(../img/decoration-1.svg) no-repeat center top;
}

.contact-form__title {
  font-weight: 800;
  font-size: 38px;
  line-height: 52px;
  text-align: center;
  color: #000000;
  margin-bottom: 40px;
}

.contact-form__form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form__row {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.form__field {
  flex: 1;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
  border-radius: 8px;
  padding: 16px 20px;
  position: relative;
}

.form__field--wide {
  flex: 7;
}

.form__row .cta__btn {
  flex: 5.1;
}

.form__icon {
  width: auto;
  height: auto;
}

.form__divider {
  width: 1px;
  height: 20px;
  background: #DBE3FF;
  margin-left: 12px;
}

.form__field input,
.form__field select {
  flex: 1;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: #061D33;
  background: transparent;
  padding-left: 10px;
  min-width: 0;
  appearance: none;
}

.footer {
padding-bottom: 66px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1227px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
padding: 0 15px;
}

.footer__left {
  width: 350px;
  text-align: center;
}

.footer__logo {
  margin: 0 auto;
  display: block;
  max-width: 100%;
}

.footer__text {
  margin-top: 22px;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: #061D33;
}

.footer__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer__right p {
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: #061D33;
  margin-bottom: 24px;
}

.footer__right a {
  text-decoration: none;
  color: #061D33;
}

.footer__socials {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);

  /* Flex центрирование */
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  width: 40%;
  max-width: 600px;
  padding: 40px 20px;
  position: relative;
  border-radius: 8px;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.info-block__title {
  font-size: 24px;
  margin-bottom: 20px;
}

.product__btn {
  padding: 14px 28px;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
@media (max-width: 1125px) {
    .info-block__inner::after {
        display:none;
    }
    .header {
      padding: 15px 3%;
    }
    .cta {
        margin-top: 22%;
    }
}
@media (max-width: 1093px) {
    .footer__inner {
        max-width: 100%;
    }
    .info-block__inner {
        width: 95%;
    }
     .popup-content {
  background: #fff;
  width: 40%;
  }
}
@media (max-width: 990px) {
      .header {
        padding: 7px 3%;
      }
    .contact-form__container {
      width: 95%;
    }
    .products__inner {
      width: 95%;
    }
    .cta__inner {
      width: 95%;
    }
    .cta {
        margin-bottom: 20%;
    }
    .product__btn {
      padding: 12px 0;
    }
    .products {
        margin-bottom: 15%;
    }
     .popup-content {
  background: #fff;
  width: 50%;
  }
}
@media (max-width: 768px) {
 body {
    background: url(../img/bg-mobile.jpg) no-repeat center top;
    background-size: cover;
  }
  .header {
      padding: 44px 15px;
      background: url(../img/header-bg.png) no-repeat center top;
      background-size: 100%;
  }
   .popup-content {
  background: #fff;
  width: 60%;
  }
}
@media (max-width: 700px) {
    .product {
      width: calc((100% - 33px) / 2);
    }
}

@media (max-width: 500px) {
 .popup-content {
  background: #fff;
  width: 90%;
  }
    .product__btn {
padding: 9px 0;
}
.footer {
padding: 0;
}
  .footer__inner {
    flex-flow: row-reverse;
    padding: 28px 19px 42px 19px;
  }
  .footer__logo {
    max-width: 138px;
    display: inline;
  }
  .footer__text {
    display: none;
  }
  .footer__left {
    text-align: right;
    width: auto;
  }
  .footer__right {
  padding-top: 68px;
  }
  .footer__right p {
    font-size: 12px;
    margin-bottom: 7px;
  }
  .footer__socials img {
    width: 28px;
  }
  .footer__socials {
    gap: 22px;
  }
  .products__inner {
    padding: 0 12px;
    width: auto;
    gap: 12px;
  }
  .product__title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .product__content {
    padding: 7px 16px;
  }
  .product__desc {
    font-size: 12px;
    margin-bottom: 22px;
  }
  .product__title br {
  display: none;
  }
  .product {
    width: calc((100% - 15px) / 2);
  }
  .product__btn {
  font-size: 16px;
  }
  .cta {
  height: 300px;
  }
  .cta__inner {
  padding: 0px 4px;
  }
  .cta__desc {
  font-size: 12px;
  margin-bottom: 8px;
  }
  .cta__title {
  font-size: 20px;
  padding: 8px 7px;
  margin-bottom: 8px;
  border-radius: 6px;
  }
  .cta__btn {
  border-radius: 6px;
  font-size: 16px;
  }
  .header__logo img {
  width: 71px;
  }
  .header {
  padding: 28px 15px;
  background: url(../img/header-bg.png) no-repeat center top;
  background-size: 100%;
  }
  .header__lang {
    right: -18px;
    top: 6px;
    position: absolute;
  }
  .cta2 {
  margin: 70px 0;
  }
  .cta2__button {
  font-weight: 800;
  font-size: 20px;
  line-height: 110%;
  color: #FFFFFF;
  padding: 10px 0;
  border-radius: 6px;
  width: 283px;
  }
  .cta2__button::after {
  border-radius: 6px;
  width: 294px;
  left: -6px;
  }
  .info-block__inner::after {
  top: -69px;
  right: -15px;
  }
  .info-block__inner::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -26px;
  width: 111px;
  height: 67px;
  }
  .info-block__inner {
  border-radius: 10px;
  padding: 30px 14px 32px 14px;
  gap: 0;
  width: auto;
  }
  .info-block__list {
  gap: 2px;
  }
  .info-block__image {
  display: none;
  }
  .info-block__list li {
  font-size: 12px;
  line-height: 16px;
  }
  .info-block__text, .info-block__image {
  width: 100%;
  }
  .info-block__inner::after {
  width: 180px;
  height: 155px;
  background: url('../img/Deco-video(1).svg') no-repeat center top;
  }
  .info-block__text {
  align-items: start;
  }
  .info-block__title {
  margin-bottom: 30px;
  font-size: 20px;
  width: 64%;
  }
  .contact-form {
  margin-bottom: 0;
  padding: 0px 11px;
  }
  .form__row {
  gap: 7px;
  }
  .contact-form__form {
  gap: 7px;
  }
  .form__row .cta__btn {
  flex: inherit;
  margin: 0 auto;
  margin-top: 23px;
  }
  .contact-form__container::before, .contact-form__container::after {
  display: none;
  }
  .form__icon {
  width: 14px;
  }
  .info-block {
  padding: 0 15px;
  }
  .form__field {
  border-radius: 4px;
  padding: 5px 13px;
  }
  .contact-form__title {
  font-weight: 800;
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 22px;
  }
  .form__field input, .form__field select {
  font-size: 12px;
  }
  .contact-form__container {
  width: auto;
  border-radius: 10px;
  padding: 15px 14px 25px;
}
}

