/* Базовый адаптивный сброс */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
@media (max-width: 900px) {
  html { font-size: 15px; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
}
@media (max-width: 400px) {
  html { font-size: 12px; }
}
body {
  min-width: 320px;
  background: #FFFFEE;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  line-height: 1.45;
  overflow-x: hidden;
}
img, video, svg, canvas, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Контейнер и базовые размеры */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}
.nav__logo { max-height: 48px; }
.nav__list-container {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav__list > a {
  color: #161618;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 1em;
  transition: background 0.3s;
}
.nav__list > a:hover { background: #F6F958; }
.nav__btn {
  background: #F6F958;
  color: #161618;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
}
.lang-select {
  font-size: 1em;
  border: none;
  background: transparent;
  border-radius: 12px;
  padding: 8px 12px;
}
.lang-select:hover,
.lang-select:focus {
  background: #F6F958;
  outline: none;
}

/* HERO SECTION */
.hero__section {
  display: flex;
  flex-direction: row;           /* Блоки в ряд */
  justify-content: space-between; /* Блоки у краев контейнера */
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__left_block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 600px;
}

.hero__right_block {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;      /* Выровнять контент по правому краю */
}

.hero__right_block img {
  width: 100%;
  border-radius: 32px;
  /* Любые дополнительные стили */
}

.hero__title {
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #161618;
}
.hero__description {
  font-size: 1.125rem;
  color: #313131;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.hero__buttons a img {
  max-width: 180px;
}

/* FEATURES SECTION */
.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: #161618;
  margin: 48px 0 24px 0;
  text-transform: uppercase;
  width: 100%;
  max-width: 900px;
}
.feature__section {
  gap: 40px;
  background: #161618;
  border-radius: 32px;
  padding: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.feature__left_block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 540px;
  color: #fff;
}
.feature__right_block {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__right_block img {
  width: 100%;
  border-radius: 32px;
}
.feature__title { color: #FFF; text-transform: uppercase; }
.feature__title span { color: #F6F958; }
.feature__description { color: #cdcdcd; font-size: 1rem; }

/* HEALTH SECTION */
.health__section {
  background: #161618;
  border-radius: 32px;
  padding: 32px;
  margin-top: 32px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.health__title {
  color: #FFF;
  font-size: 2rem;
  margin-bottom: 18px;
}
.health__block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.health__block_left_side {
  display: flex;
  gap: 14px;
  align-items: center;
}
.health__block_left_side_text h3 {
  color: #FFF;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.health__block_left_side_text p {
  color: #cdcdcd;
  font-size: 1rem;
}

/* RESULT SECTION */
.result__section {
  background: #161618;
  border-radius: 20px;
  padding: 24px 12px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}
.result__block {
  display: flex;
  gap: 16px;
  border-radius: 20px;
  padding: 20px;
  background: #161618;
  align-items: center;
  width: 100%;
  max-width: 640px;
}
.result__block.last-child {
  /*  justify-content: center;*/
  max-width: 100%;
}
.result__block .item h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.result__block .item p {
  color: #cdcdcd;
  font-size: 1rem;
  line-height: 1.5;
}

.flex {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.result__line {
  display: none;
  width: 100%;
  border: 1px solid #555555;
  margin: 8px 0;
}

/* DOWNLOAD SECTION */
.download__section {
  background: #161618;
  border-radius: 20px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.download__section p {
  color: #cdcdcd;
  font-size: 1rem;
  max-width: 320px;
}
.download__section a img {
  max-width: 180px;
  margin-top: 8px;
}

/* FOOTER SECTION */
.footer {
  width: 100%;
  border-radius: 32px;
  background: #161618;
  padding: 24px 0;
  margin-top: 60px;
}
.footer__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__item {
  list-style: none;
}
.footer__list li a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.3s, color 0.3s;
}
.footer__list li a:hover {
  background: #F6F958;
  color: #161618;
}
.footer__nav_btn {
  background: #F6F958;
  color: #161618;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.footer_lang-select {
  background: transparent;
  color: #FFFFEE;
  font-size: 1em;
  border: none;
  border-radius: 12px;
  margin-right: 14px;
}
.footer_lang-select:hover {
  color: #161618;
  background: #F6F958;
}

/* --- MOBILE ADAPTATION --- */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }
  .nav__list-container,
  .footer__list,
  .footer__nav_btn {
    display: none !important;
  }
  .mobile {
    display: block !important;
  }
  .hero__section,
  .feature__section,
  .download__section,
  .health__section,
  .result__section,
  .flex {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: stretch;
  }
  .hero__left_block,
  .hero__right_block,
  .feature__left_block,
  .feature__right_block {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }
  .section__title,
  .hero__title,
  .health__title {
    font-size: 1.1rem !important;
    padding-left: 0 !important;
  }
  .footer {
    padding: 16px 0;
    border-radius: 18px;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 3px; }
  .section__title,
  .hero__title,
  .health__title { font-size: 1rem; }
  .download__section {
    padding: 10px;
    gap: 10px;
  }
  .download__section p { max-width: 100%; font-size: 0.85rem; }
  .footer { padding: 10px 0; font-size: 0.85rem; }
  .footer__nav { flex-direction: column; gap: 8px; }
}

@media (max-width: 420px) {
  html { font-size: 12px; }
  .container { padding: 0 1px; }
  .footer { font-size: 0.7rem; }
  .section__title,
  .hero__title,
  .health__title { font-size: 0.85rem; }
}

/* Вспомогательное */
.mobile {
  display: none;
}
.mobile.active {
  display: block !important;
}
.mobile.inactive {
  display: none !important;
}