* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Benguiat';
  src: url('../assets/fonts/benguiat.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Benguiat';
  src: url('../assets/fonts/benguiatbold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix Madefor Display';
  src: url('../assets/fonts/WixMadeforDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix Madefor Display';
  src: url('../assets/fonts/WixMadeforDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix Madefor Display';
  src: url('../assets/fonts/WixMadeforDisplay-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix Madefor Display';
  src: url('../assets/fonts/WixMadeforDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix Madefor Display';
  src: url('../assets/fonts/WixMadeforDisplay-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 2px solid #e2fc04;
}

body {
  margin: 0;
  background: #0B0D0E;
  color: #ffffff;
  font-family: "Wix Madefor Display", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

section[id] {
  scroll-margin-top: 24px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, p {
  margin: 0;
}

.wrapper {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 700px) {
  .wrapper {
    max-width: 1740px;
    padding-inline: 50px;
  }
}

@media (min-width: 1100px) {
  .wrapper {
    max-width: 1820px;
    padding-inline: 90px;
  }
}

@media (min-width: 1700px) {
  .wrapper {
    max-width: 1920px;
    padding-inline: 140px;
  }
}

.title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 51px rgba(15, 89, 3, 0.1);
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .title {
    font-size: 36px;
  }
}

@media (min-width: 1440px) {
  .title {
    font-size: 48px;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding-inline: 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  min-width: 120px;
  background: none;
  color: inherit;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.button_download {
  gap: 10px;
}

.button_fill {
  background: #e2fc04;
  color: #0B0D0E;
}

.button_fill:hover {
  opacity: 0.85;
}

.button_line {
  border-color: #8c8c8c;
}

.button_line:hover {
  border-color: #ffffff;
}

.kit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 37px;
  padding: 3px 15px 4px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.kit_line {
  border-color: #8c8c8c;
}

.kit_line:hover {
  border-color: #ffffff;
}

.kit_line.kit_on {
  border-color: #e2fc04;
  color: #e2fc04;
}

.kit_glass {
  border-width: 0;
  padding-bottom: 7px;
  background: rgba(255, 255, 255, 0.4);
  color: #0B0D0E;
}

.kit_glass:hover {
  background: rgba(255, 255, 255, 0.55);
}

.kit_glass.kit_on {
  background: #e2fc04;
}

.is_locked {
  overflow: hidden;
}

.visually_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button_ghost {
  border-color: transparent;
}

.mobile_br,
.mobile_space {
  display: none;
}

/* мобильная версия: макет 360px, размеры сняты с адаптива */
@media (max-width: 767px) {
  .wrapper {
    padding-inline: 20px;
  }

  .title {
    font-size: 24px;
    margin-bottom: 0;
  }

  .button {
    height: 40px;
    min-width: 80px;
    padding-inline: 20px;
    font-size: 12px;
  }

  /* рамка 1px у «чипсов» нарисована снаружи, поэтому ряд выступает на 1px от края */
  .kit {
    height: 30px;
    padding: 0 12px 1.5px;
    font-size: 14px;
    line-height: 1;
  }

  .kit_list {
    gap: 7px;
    margin-inline: -1px;
  }

  .mobile_br,
  .mobile_space {
    display: inline;
  }

  body.is_menu_open {
    overflow: hidden;
  }
}

/* шкала заполнения на активной точке: светлая заливка растёт от кружка до всей длины точки за время показа кадра */
@keyframes dot_fill {
  from {
    width: var(--dot-h, 12px);
  }

  to {
    width: 100%;
  }
}

/* точки под лентой со свайпом: на широких экранах ленты нет, точки скрыты */
.scroll_dots {
  display: none;
}

@media (max-width: 767px) {
  .scroll_dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 14.5px;
  }

  .scroll_dot {
    position: relative;
    width: 25px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 100px;
    overflow: hidden;
    background: rgba(217, 217, 217, 0.27);
  }

  .scroll_dot::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d9d9d9;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .scroll_dot.is_on::before {
    opacity: 1;
  }

  .scroll_dots_progress .scroll_dot.is_on.is_running::before {
    border-radius: 100px;
    animation: dot_fill var(--autoplay, 5s) linear forwards;
  }

  @media (prefers-reduced-motion: reduce) {
    .scroll_dots_progress .scroll_dot.is_on.is_running::before {
      animation: none;
    }
  }

  /* галерея: простые кружки, активный — салатовый и крупнее */
  .scroll_dots_round {
    gap: 7px;
    margin-top: 20.3px;
  }

  .scroll_dots_round .scroll_dot {
    width: 10px;
    height: 10px;
    background: #4d4d4d;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .scroll_dots_round .scroll_dot::before {
    display: none;
  }

  /* много фото: видно окно из --visible точек, оно сдвигается за активной (шаг точки 17px = 10 + 7) */
  .scroll_dots_window {
    width: calc(var(--visible) * 17px - 7px + 2px);
    padding: 2px 1px;
    overflow: hidden;
  }

  .scroll_dots_strip {
    display: flex;
    gap: 7px;
    transform: translateX(calc(var(--first, 0) * -17px));
    transition: transform 0.3s ease;
  }

  .scroll_dots_round .scroll_dot {
    flex: none;
  }

  .scroll_dots_round .scroll_dot[data-edge="1"] {
    transform: scale(0.5);
  }

  .scroll_dots_round .scroll_dot[data-edge="2"] {
    transform: scale(0.75);
  }

  @media (prefers-reduced-motion: reduce) {
    .scroll_dots_strip {
      transition: none;
    }
  }

  .scroll_dots_round .scroll_dot.is_on {
    background: #e2fc04;
    transform: scale(1.2);
  }
}
