/* Breadcrumbs */
.breadcrumb {
  background: #080361;
  padding: 18px 0 16px;
  margin: 0;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "LatoMedium", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.breadcrumb__item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb__item a:hover {
  color: #fff;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255,255,255,0.4);
}
.breadcrumb__item--active span {
  color: #FFBF01;
  font-weight: 600;
}

/* How It Works — Hero Section (Figma Variant 2, pixel-perfect) */

.hiw-hero {
  background: #080361;
  padding: 40px 0 40px;
  overflow: hidden;
}

.hiw-hero__container {
  position: relative;
}

/* ═══════════════════════════════════════
   Banner row: pitch diagram + stadium photo
   ═══════════════════════════════════════ */
.hiw-hero__banner {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* Pitch diagram — left side, overflows right under photo */
.hiw-hero__banner-pitch {
  width: 33.8%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hiw-hero__pitch-img {
  width: 150%;
  max-width: none;
  height: auto;
  display: block;
  filter: sepia(1) saturate(5) brightness(0.95);
}

/* Stadium photo card — right side, sits on top of pitch overflow */
.hiw-hero__banner-photo {
  flex: 1;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  height: 387px;
  display: flex;
  flex-direction: column;
  background: #080361;
}

.hiw-hero__stadium-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  transform: scaleX(-1);
  z-index: 0;
}

.hiw-hero__banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 1, 61, 0.2);
  z-index: 1;
  border-radius: 20px;
}

.hiw-hero__banner-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.hiw-hero__banner-title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 84px;
  line-height: 85px;
  letter-spacing: 0.756px;
  color: #fff;
  margin: 0;
}

.hiw-hero__banner-title span {
  color: #FFBF01;
}

.hiw-hero__banner-desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* ═══════════════════════════════════════
   Bottom row: text block + two white cards
   ═══════════════════════════════════════ */
.hiw-hero__bottom {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Left text block */
.hiw-hero__text-block {
  width: 32.3%; /* 400 / 1240 */
  flex-shrink: 0;
  padding-top: 40px;
}

.hiw-hero__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 90px;
  line-height: 95px;
  letter-spacing: 0.8px;
  color: #fff;
  margin: 0 0 30px;
}

.hiw-hero__title span {
  color: #FFBF01;
}

.hiw-hero__desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* ═══════════════════════════════════════
   Cards container
   ═══════════════════════════════════════ */
.hiw-hero__cards {
  flex: 1;
  display: flex;
  gap: 20px;
}

/* Individual card */
.hiw-hero__card {
  flex: 1;
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 387px;
}

/* Card 1: bottom-right corner is sharp */
.hiw-hero__card--1 {
  border-radius: 20px 20px 0 20px;
}

/* Card 2: bottom-left corner is sharp */
.hiw-hero__card--2 {
  border-radius: 20px 20px 20px 0;
}

/* Card text content — absolute, above ball */
.hiw-hero__card-content {
  position: absolute;
  left: 40px;
  top: 40px;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.hiw-hero__card-title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 45px;
  line-height: 45px;
  letter-spacing: 0.405px;
  color: #080361;
  margin: 0;
}

.hiw-hero__card-desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #080361;
  margin: 0;
}

/* ═══════════════════════════════════════
   Ball decoration — exact Figma structure
   ═══════════════════════════════════════ */

/* Outer wrapper: positioning + size viewport */
.hiw-hero__ball-wrap {
  position: absolute;
  width: 379px;
  height: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.hiw-hero__ball-wrap--right {
  left: 56%;
  top: 7%;
}

.hiw-hero__ball-wrap--left {
  right: 56%;
  top: 7%;
}

/* Rotated inner container — clips the image, fixed aspect ratio */
.hiw-hero__ball-rotate {
  width: 336px;
  height: 194px;
  overflow: hidden;
  transform: rotate(162.69deg);
  flex-shrink: 0;
  position: relative;
}

/* Ball image — scaled and offset to show just the ball */
.hiw-hero__ball-img {
  position: absolute;
  width: 121.28%;
  height: 315.15%;
  max-width: none;
  left: -10.64%;
  top: -87.63%;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   Responsive: 1199px
   ═══════════════════════════════════════ */
@media screen and (max-width: 1199px) {
  .hiw-hero {
    padding: 40px 0 30px;
  }

  .hiw-hero__banner-photo {
    height: 340px;
  }

  .hiw-hero__banner-content {
    padding: 30px;
  }

  .hiw-hero__banner-title {
    font-size: 60px;
    line-height: 62px;
  }

  .hiw-hero__title {
    font-size: 72px;
    line-height: 76px;
    margin-bottom: 30px;
  }

  .hiw-hero__desc {
    font-size: 20px;
  }

  .hiw-hero__card {
    height: 340px;
  }

  .hiw-hero__card-title {
    font-size: 36px;
    line-height: 38px;
  }

  .hiw-hero__card-content {
    left: 30px;
    top: 30px;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
  }

}

/* ═══════════════════════════════════════
   Responsive: 991px
   ═══════════════════════════════════════ */
@media screen and (max-width: 991px) {
  .hiw-hero {
    padding: 30px 0 30px;
  }

  .hiw-hero__banner {
    flex-direction: column;
  }

  .hiw-hero__banner-pitch {
    display: none;
  }

  .hiw-hero__banner-photo {
    height: 300px;
  }

  .hiw-hero__banner-title {
    font-size: 48px;
    line-height: 50px;
  }

  .hiw-hero__bottom {
    flex-direction: column;
  }

  .hiw-hero__text-block {
    width: 100%;
    padding-top: 20px;
  }

  .hiw-hero__title {
    font-size: 56px;
    line-height: 60px;
    margin-bottom: 20px;
  }

  .hiw-hero__desc {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .hiw-hero__cards {
    width: 100%;
  }

  .hiw-hero__card {
    height: 340px;
  }

  .hiw-hero__card-title {
    font-size: 32px;
    line-height: 34px;
  }
}

/* ═══════════════════════════════════════
   Responsive: 767px (mobile — Figma 440px)
   ═══════════════════════════════════════ */
@media screen and (max-width: 767px) {
  .hiw-hero {
    padding: 20px 0 20px;
  }

  /* Flatten wrappers so children participate in container flex */
  .hiw-hero__container {
    display: flex;
    flex-direction: column;
  }

  .hiw-hero__banner {
    display: contents;
  }

  .hiw-hero__bottom {
    display: contents;
  }

  /* Hide pitch on mobile */
  .hiw-hero__banner-pitch {
    display: none;
  }

  /* Reorder: text-block → stadium photo → cards */
  .hiw-hero__text-block {
    order: 1;
    width: 100%;
    padding-top: 20px;
    margin-bottom: 20px;
  }

  .hiw-hero__banner-photo {
    order: 2;
    flex: none;
    height: 189px;
    border-radius: 20px;
    margin-bottom: 10px;
  }

  .hiw-hero__cards {
    order: 3;
    flex: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  /* Text-block fonts (Figma mobile tokens) */
  .hiw-hero__title {
    font-size: 64px;
    line-height: 62px;
    letter-spacing: 0.576px;
    margin-bottom: 10px;
  }

  .hiw-hero__desc {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 0;
  }

  /* Banner photo content */
  .hiw-hero__banner-content {
    padding: 10px;
    width: 100%;
  }

  .hiw-hero__banner-title {
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 0.324px;
  }

  .hiw-hero__banner-desc {
    font-size: 14px;
    letter-spacing: -0.14px;
  }

  /* Cards */
  .hiw-hero__card {
    flex: none;
    height: 159px;
  }

  .hiw-hero__card--1,
  .hiw-hero__card--2 {
    border-radius: 20px 20px 0 20px;
  }

  .hiw-hero__card-content {
    left: 10px;
    top: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }

  .hiw-hero__card-title {
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 0.324px;
  }

  .hiw-hero__card-desc {
    font-size: 14px;
    letter-spacing: -0.14px;
  }

  /* Ball decoration — smaller on mobile */
  .hiw-hero__ball-wrap {
    width: 144px;
    height: 181px;
  }

  .hiw-hero__ball-wrap--right {
    left: 65%;
    top: 50%;
  }

  .hiw-hero__ball-wrap--left {
    right: auto;
    left: 65%;
    top: -55%;
  }

  .hiw-hero__ball-rotate {
    width: 158px;
    height: 91px;
  }
}

/* ═══════════════════════════════════════
   Video Section
   ═══════════════════════════════════════ */
.hiw-video {
  background: #080361;
  padding: 40px 0 60px;
}

.hiw-video__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 90px;
  line-height: 95px;
  letter-spacing: 0.8px;
  color: #fff;
  margin: 0 0 40px;
}

/* Player wrapper */
.hiw-video__player {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0a2e;
  outline: none;
}

.hiw-video__player:fullscreen,
.hiw-video__player:-webkit-full-screen {
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000;
}

.hiw-video__player:fullscreen .hiw-video__media,
.hiw-video__player:-webkit-full-screen .hiw-video__media {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 100%;
}

.hiw-video__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Overlay (initial poster state) ── */
.hiw-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 3, 97, 0.3);
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.hiw-video__overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hiw-video__play-big {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.hiw-video__play-big:hover {
  transform: scale(1.1);
}

/* ── Custom controls bar ── */
.hiw-video__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hiw-video__controls.is-visible {
  opacity: 1;
}

.hiw-video__player:hover .hiw-video__controls.is-visible {
  opacity: 1;
}

/* Buttons */
.hiw-video__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.hiw-video__btn:hover {
  opacity: 1;
}

/* Play/pause icon toggle */
.hiw-video__icon-pause { display: none; }
.hiw-video__player.is-playing .hiw-video__icon-play { display: none; }
.hiw-video__player.is-playing .hiw-video__icon-pause { display: block; }

/* Volume icon toggle */
.hiw-video__icon-mute { display: none; }
.hiw-video__player.is-muted .hiw-video__icon-vol { display: none; }
.hiw-video__player.is-muted .hiw-video__icon-mute { display: block; }

/* Time display */
.hiw-video__time {
  font-family: "LatoMedium", sans-serif;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

/* Progress bar */
.hiw-video__progress {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.hiw-video__progress-filled {
  height: 100%;
  background: #FFBF01;
  border-radius: 3px;
  width: 0;
  pointer-events: none;
}

.hiw-video__progress:hover {
  height: 8px;
}

/* Volume slider */
.hiw-video__volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.hiw-video__volume {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.hiw-video__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.hiw-video__volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* ── Video responsive ── */
@media screen and (max-width: 1199px) {
  .hiw-video__title {
    font-size: 72px;
    line-height: 76px;
  }
}

@media screen and (max-width: 991px) {
  .hiw-video {
    padding: 30px 0 40px;
  }

  .hiw-video__title {
    font-size: 56px;
    line-height: 60px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 767px) {
  .hiw-video {
    padding: 20px 0 30px;
  }

  .hiw-video__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0.432px;
    margin-bottom: 20px;
  }

  .hiw-video__play-big svg {
    width: 56px;
    height: 56px;
  }

  .hiw-video__controls {
    gap: 8px;
    padding: 8px 10px;
  }

  .hiw-video__volume-wrap {
    display: none;
  }

  .hiw-video__time {
    font-size: 12px;
  }
}

/* ═══════════════════════════════════════
   Data Section — stat cards carousel
   ═══════════════════════════════════════ */
.hiw-data {
  background: #f2f2f2;
  padding: 60px 0 70px;
}

.hiw-data__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 84px;
  line-height: 85px;
  letter-spacing: 0.756px;
  color: #080361;
  margin: 0 0 40px;
}

.hiw-data__title span {
  color: #FFBF01;
}

.hiw-data__desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 32px;
  line-height: 1.3;
  color: #080361;
  margin: 0 0 50px;
}

/* Carousel wrapper — full width, with arrows on sides */
.hiw-data__carousel-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navigation arrows */
.hiw-data__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.hiw-data__arrow:hover {
  opacity: 1;
}

/* Scrollable cards row */
.hiw-data__carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

.hiw-data__carousel::-webkit-scrollbar {
  display: none;
}

/* Individual card */
.hiw-data__card {
  flex: 0 0 280px;
  height: 246px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  scroll-snap-align: start;
}

.hiw-data__card--gold {
  background: #FFBF01;
}

.hiw-data__card--blue {
  background: #080361;
}

/* Card icon */
.hiw-data__icon {
  width: 100px;
  height: 86px;
  object-fit: contain;
}

/* Card text */
.hiw-data__card-text {
  font-family: "LatoMedium", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.hiw-data__card--gold .hiw-data__card-text {
  color: #080361;
}

.hiw-data__card--blue .hiw-data__card-text {
  color: #fff;
}

/* Data section responsive */
@media screen and (max-width: 1199px) {
  .hiw-data__title {
    font-size: 68px;
    line-height: 72px;
  }

  .hiw-data__desc {
    font-size: 26px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 991px) {
  .hiw-data {
    padding: 40px 0 50px;
  }

  .hiw-data__title {
    font-size: 52px;
    line-height: 56px;
    margin-bottom: 30px;
  }

  .hiw-data__desc {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .hiw-data__card {
    flex: 0 0 240px;
    height: 220px;
  }
}

@media screen and (max-width: 767px) {
  .hiw-data {
    padding: 30px 0 40px;
  }

  .hiw-data__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0.432px;
    margin-bottom: 20px;
  }

  .hiw-data__desc {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .hiw-data__arrow {
    display: none;
  }

  .hiw-data__carousel-wrap {
    padding: 0 15px;
  }

  .hiw-data__card {
    flex: 0 0 192px;
    height: 157px;
    padding: 15px;
  }

  .hiw-data__icon {
    width: 69px;
    height: 60px;
  }

  .hiw-data__card-text {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════
   Analysis Section — "Анализ в HistoryStats"
   ═══════════════════════════════════════ */
.hiw-analysis {
  background: #FFBF01;
  padding: 40px 0;
  overflow: hidden;
}

/* Header block */
.hiw-analysis__header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 100px;
}

.hiw-analysis__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 104px;
  line-height: 110px;
  letter-spacing: 0.936px;
  color: #fff;
  margin: 0;
}

.hiw-analysis__title-history {
  color: #080361;
}

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

.hiw-analysis__subtitle {
  font-family: "DrukCyrMedium", sans-serif;
  font-size: 45px;
  line-height: normal;
  letter-spacing: 0.405px;
  color: #fff;
  margin: 0;
}

.hiw-analysis__desc {
  font-family: "LatoBold", sans-serif;
  font-size: 24px;
  line-height: normal;
  color: #fff;
  margin: 0;
}

.hiw-analysis__hs-dark {
  color: #080361;
}

.hiw-analysis__hs-light {
  color: #f2f2f2;
}

/* Steps layout */
.hiw-analysis__steps-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.hiw-analysis__steps-title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 84px;
  line-height: 85px;
  letter-spacing: 0.756px;
  color: #fff;
  width: 400px;
  flex-shrink: 0;
}

.hiw-analysis__steps-title span {
  color: #080361;
}

.hiw-analysis__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Individual step row */
.hiw-analysis__step {
  border-bottom: 1px solid #fff;
}

.hiw-analysis__step:first-child {
  border-top: 1px solid #fff;
}

/* Clickable header */
.hiw-analysis__step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
  padding: 15px 0;
  cursor: pointer;
  user-select: none;
}

.hiw-analysis__step-content {
  display: flex;
  align-items: center;
  gap: 194px;
}

.hiw-analysis__step-num,
.hiw-analysis__step-label {
  font-family: "DrukCyrMedium", sans-serif;
  font-size: 45px;
  line-height: normal;
  letter-spacing: 0.405px;
  color: #fff;
}

.hiw-analysis__step-arrow {
  width: 57px;
  height: 57px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

/* Arrow rotates to ↗ when open */
.hiw-analysis__step.is-open .hiw-analysis__step-arrow {
  transform: rotate(-90deg);
}

/* Expandable body */
.hiw-analysis__step-body {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.hiw-analysis__step-body-inner {
  padding: 0 0 20px;
}

.hiw-analysis__step-desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* ── Analysis responsive: 1199px ── */
@media screen and (max-width: 1199px) {
  .hiw-analysis__header {
    margin-bottom: 80px;
  }

  .hiw-analysis__title {
    font-size: 84px;
    line-height: 88px;
  }

  .hiw-analysis__subtitle {
    font-size: 38px;
  }

  .hiw-analysis__steps-title {
    font-size: 68px;
    line-height: 72px;
    width: 340px;
  }

  .hiw-analysis__step-content {
    gap: 120px;
  }

  .hiw-analysis__step-num,
  .hiw-analysis__step-label {
    font-size: 38px;
  }

  .hiw-analysis__step-arrow {
    width: 48px;
    height: 48px;
  }
}

/* ── Analysis responsive: 991px ── */
@media screen and (max-width: 991px) {
  .hiw-analysis__header {
    margin-bottom: 60px;
  }

  .hiw-analysis__title {
    font-size: 72px;
    line-height: 76px;
  }

  .hiw-analysis__subtitle {
    font-size: 34px;
  }

  .hiw-analysis__desc {
    font-size: 22px;
  }

  .hiw-analysis__steps-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .hiw-analysis__steps-title {
    font-size: 56px;
    line-height: 60px;
    width: 100%;
  }

  .hiw-analysis__steps {
    width: 100%;
  }

  .hiw-analysis__step-header {
    height: 96px;
  }

  .hiw-analysis__step-content {
    gap: 80px;
  }

  .hiw-analysis__step-num,
  .hiw-analysis__step-label {
    font-size: 36px;
  }

  .hiw-analysis__step-arrow {
    width: 44px;
    height: 44px;
  }

  .hiw-analysis__step-desc {
    font-size: 22px;
  }
}

/* ── Analysis responsive: 767px (mobile) ── */
@media screen and (max-width: 767px) {
  .hiw-analysis {
    padding: 30px 0;
  }

  .hiw-analysis__header {
    gap: 20px;
    margin-bottom: 40px;
  }

  .hiw-analysis__title {
    font-size: 64px;
    line-height: 62px;
    letter-spacing: 0.576px;
  }

  .hiw-analysis__info {
    gap: 10px;
  }

  .hiw-analysis__subtitle {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 0.288px;
  }

  .hiw-analysis__desc {
    font-family: "LatoMedium", sans-serif;
    font-size: 20px;
    line-height: 24px;
  }

  .hiw-analysis__steps-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .hiw-analysis__steps-title {
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 0.324px;
    width: 100%;
  }

  .hiw-analysis__step-header {
    height: 76px;
    padding: 10px 0;
  }

  .hiw-analysis__step-content {
    gap: 50px;
  }

  .hiw-analysis__step-num,
  .hiw-analysis__step-label {
    font-family: "DrukCyrBold", sans-serif;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: 0.288px;
  }

  .hiw-analysis__step-arrow {
    width: 40px;
    height: 40px;
  }

  .hiw-analysis__step-desc {
    font-size: 20px;
    line-height: 24px;
  }

  .hiw-analysis__step-body-inner {
    padding: 0 0 15px;
  }
}

/* ═══════════════════════════════════════
   Examples Section — "Примеры анализа"
   ═══════════════════════════════════════ */
.hiw-examples {
  background: #FFBF01;
  padding: 40px 0 60px;
}

.hiw-examples__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 104px;
  line-height: 110px;
  letter-spacing: 0.936px;
  color: #080361;
  margin: 0 0 40px;
}

.hiw-examples__desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: #080361;
  margin: 0 0 40px;
}

.hiw-examples__rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Row — flex with video + info */
.hiw-examples__row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

/* Video card wrapper */
.hiw-examples__media {
  flex: 1;
  border: 4px solid #080361;
  border-radius: 5px;
  padding: 20px;
  min-width: 0;
}

/* Info card */
.hiw-examples__info {
  width: 400px;
  flex-shrink: 0;
  border: 4px solid #080361;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.hiw-examples__info.is-flipped {
  background: #080361;
}

/* Front face */
.hiw-examples__front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  transition: opacity 0.3s ease;
}

.hiw-examples__info.is-flipped .hiw-examples__front {
  opacity: 0;
  visibility: hidden;
}

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

.hiw-examples__num {
  width: 87px;
  height: 87px;
  border-radius: 50%;
  background: #080361;
  color: #fff;
  font-family: "DrukCyrBold", sans-serif;
  font-size: 45px;
  line-height: 45px;
  letter-spacing: 0.405px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-examples__learn {
  background: none;
  border: none;
  font-family: "LatoMedium", sans-serif;
  font-size: 24px;
  color: #080361;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.hiw-examples__card-title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 84px;
  line-height: 85px;
  letter-spacing: 0.756px;
  color: #080361;
}

/* Back face — desktop: overlay */
.hiw-examples__back {
  position: absolute;
  inset: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.hiw-examples__info.is-flipped .hiw-examples__back {
  opacity: 1;
  visibility: visible;
}

.hiw-examples__close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  align-self: flex-end;
  flex-shrink: 0;
}

.hiw-examples__match-title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 32px;
  line-height: 36px;
  color: #fff;
  margin: 0;
}

.hiw-examples__match-meta {
  font-family: "LatoMedium", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.hiw-examples__match-text {
  font-family: "LatoMedium", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* ── Example video player (hiw-ep) ── */
.hiw-ep {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0a2e;
  outline: none;
  height: 100%;
}

.hiw-ep:fullscreen,
.hiw-ep:-webkit-full-screen {
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000;
}

.hiw-ep:fullscreen video,
.hiw-ep:-webkit-full-screen video {
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.hiw-ep video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hiw-ep__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,3,97,0.3);
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.3s;
}

.hiw-ep__overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hiw-ep__play-big {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.hiw-ep__play-big:hover { transform: scale(1.1); }

.hiw-ep__controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s;
}

.hiw-ep__controls.is-visible { opacity: 1; }

.hiw-ep__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.hiw-ep__btn:hover { opacity: 1; }

.hiw-ep__ic-pause { display: none; }
.hiw-ep.is-playing .hiw-ep__ic-play { display: none; }
.hiw-ep.is-playing .hiw-ep__ic-pause { display: block; }

.hiw-ep__ic-mute { display: none; }
.hiw-ep.is-muted .hiw-ep__ic-vol { display: none; }
.hiw-ep.is-muted .hiw-ep__ic-mute { display: block; }

.hiw-ep__time {
  font-family: "LatoMedium", sans-serif;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.hiw-ep__progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.hiw-ep__progress-fill {
  height: 100%;
  background: #FFBF01;
  border-radius: 2px;
  width: 0;
  pointer-events: none;
}

/* ── Examples responsive: 1199px ── */
@media screen and (max-width: 1199px) {
  .hiw-examples__title {
    font-size: 84px;
    line-height: 88px;
  }

  .hiw-examples__card-title {
    font-size: 64px;
    line-height: 68px;
  }

  .hiw-examples__info {
    width: 340px;
    padding: 30px;
  }

  .hiw-examples__num {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }

  .hiw-examples__learn {
    font-size: 20px;
  }
}

/* ── Examples responsive: 991px ── */
@media screen and (max-width: 991px) {
  .hiw-examples {
    padding: 30px 0 40px;
  }

  .hiw-examples__title {
    font-size: 72px;
    line-height: 76px;
    margin-bottom: 30px;
  }

  .hiw-examples__desc {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .hiw-examples__row {
    flex-direction: column-reverse;
  }

  .hiw-examples__row--vr {
    flex-direction: column;
  }

  .hiw-examples__info {
    width: 100%;
    min-height: 200px;
    overflow: visible;
  }

  .hiw-examples__front {
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .hiw-examples__info.is-flipped .hiw-examples__front {
    max-height: 0;
    opacity: 0;
  }

  .hiw-examples__back {
    position: static;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease 0.1s;
  }

  .hiw-examples__info.is-flipped .hiw-examples__back {
    max-height: 600px;
    opacity: 1;
    overflow: visible;
  }

  .hiw-examples__media {
    padding: 15px;
  }

  .hiw-examples__card-title {
    font-size: 56px;
    line-height: 60px;
  }
}

/* ── Examples responsive: 767px (mobile) ── */
@media screen and (max-width: 767px) {
  .hiw-examples {
    padding: 20px 0 30px;
  }

  .hiw-examples__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0.432px;
    margin-bottom: 20px;
  }

  .hiw-examples__desc {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .hiw-examples__rows {
    gap: 20px;
  }

  .hiw-examples__row {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .hiw-examples__row--vr {
    flex-direction: column;
  }

  .hiw-examples__info {
    width: 100%;
    border-radius: 20px;
    padding: 20px;
    min-height: auto;
  }

  .hiw-examples__media {
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 0;
    border-width: 0;
  }

  .hiw-ep {
    border-radius: 15px;
  }

  .hiw-examples__num {
    width: 50px;
    height: 50px;
    font-size: 36px;
    line-height: 36px;
  }

  .hiw-examples__learn {
    font-size: 20px;
  }

  .hiw-examples__card-title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0.432px;
  }

  .hiw-examples__match-title {
    font-size: 26px;
    line-height: 30px;
  }
}

/* ═══════════════════════════════════════
   Lenis smooth scroll
   ═══════════════════════════════════════ */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* ═══════════════════════════════════════
   Audience Section — "Подойдет тем, кто"
   ═══════════════════════════════════════ */
.hiw-audience {
  padding: 60px 0 80px;
}

.hiw-audience__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 104px;
  line-height: 110px;
  letter-spacing: 0.936px;
  color: #080361;
  margin: 0 0 40px;
}

.hiw-audience__title span {
  color: #FFBF01;
}

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

.hiw-audience__row {
  display: flex;
  gap: 20px;
}

/* Card base */
.hiw-audience__card {
  position: relative;
  height: 363px;
  border-radius: 20px 70px 20px 20px;
  overflow: hidden;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.hiw-audience__card--gold {
  background: #FFBF01;
}

.hiw-audience__card--blue {
  background: #080361;
}

/* Sizing */
.hiw-audience__card--sm {
  width: 400px;
  flex-shrink: 0;
}

.hiw-audience__card--lg {
  flex: 1;
}

.hiw-audience__card--eq {
  flex: 1;
}

/* Number badge */
.hiw-audience__num {
  position: absolute;
  top: 0;
  right: 0;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #F2F2F2;
  border: 3px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DrukCyrBold", sans-serif;
  font-size: 84px;
  line-height: 85px;
  letter-spacing: 0.756px;
}

.hiw-audience__num--gold {
  border-color: #FFBF01;
  color: #FFBF01;
}

.hiw-audience__num--blue {
  border-color: #080361;
  color: #080361;
}

/* Card #2 decoration — wave mesh */
.hiw-audience__card-decor {
  position: absolute;
  left: -40px;
  top: -20%;
  width: auto;
  height: 140%;
  opacity: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Card #2 — text right-aligned */
.hiw-audience__card--lg .hiw-audience__card-text {
  left: auto;
  right: 40px;
  text-align: left;
}

/* Card text */
.hiw-audience__card-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 320px;
  font-family: "LatoBold", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

/* ── Audience responsive: 1199px ── */
@media screen and (max-width: 1199px) {
  .hiw-audience__title {
    font-size: 84px;
    line-height: 88px;
  }

  .hiw-audience__card {
    height: 300px;
  }

  .hiw-audience__num {
    width: 110px;
    height: 110px;
    font-size: 64px;
    line-height: 68px;
  }

  .hiw-audience__card-text {
    font-size: 28px;
    bottom: 30px;
    left: 30px;
    right: 30px;
  }

  .hiw-audience__card--sm {
    width: 320px;
  }
}

/* ── Audience responsive: 991px ── */
@media screen and (max-width: 991px) {
  .hiw-audience {
    padding: 40px 0 60px;
  }

  .hiw-audience__title {
    font-size: 72px;
    line-height: 76px;
  }

  .hiw-audience__card {
    height: 240px;
  }

  .hiw-audience__card--sm {
    width: 260px;
  }

  .hiw-audience__num {
    width: 90px;
    height: 90px;
    font-size: 48px;
    line-height: 52px;
  }

  .hiw-audience__card-text {
    font-size: 24px;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
}

/* ── Audience responsive: 767px (mobile) ── */
@media screen and (max-width: 767px) {
  .hiw-audience {
    padding: 30px 0 40px;
  }

  .hiw-audience__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0.432px;
    margin-bottom: 20px;
  }

  .hiw-audience__grid {
    gap: 10px;
  }

  .hiw-audience__row {
    flex-direction: column;
    gap: 10px;
  }

  .hiw-audience__card {
    height: 169px;
    border-radius: 20px 50px 20px 20px;
  }

  .hiw-audience__card--sm,
  .hiw-audience__card--lg,
  .hiw-audience__card--eq {
    width: 100%;
    flex: none;
  }

  .hiw-audience__num {
    width: 87px;
    height: 87px;
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 0.324px;
  }

  .hiw-audience__card-text {
    font-size: 20px;
    line-height: 24px;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .hiw-audience__card-decor {
    left: auto;
    right: -30px;
    top: -30%;
    height: 160%;
  }
}

/* ═══════════════════════════════════════
   B2B Widget Demo Section
   ═══════════════════════════════════════ */
.hiw-b2b {
  background: #080361;
  padding: 60px 0 80px;
  margin-bottom: 60px;
}

.hiw-b2b__header {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.hiw-b2b__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 84px;
  line-height: 85px;
  letter-spacing: 0.756px;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
  width: 50%;
}

.hiw-b2b__info {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hiw-b2b__desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

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

.hiw-b2b__feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hiw-b2b__feature span {
  font-family: "LatoBold", sans-serif;
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
}

.hiw-b2b__try-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFBF01;
  color: #080361;
  font-family: "LatoBold", sans-serif;
  font-size: 24px;
  padding: 20px 48px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hiw-b2b__try-btn:hover {
  opacity: 0.85;
}

.hiw-b2b__try-btn.is-active {
  background: rgba(255,191,1,0.6);
}

.hiw-b2b__demo {
  display: none;
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}

.hiw-b2b__demo.is-visible {
  display: block;
}

.hiw-b2b__demo iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
  background: #fff;
}

/* ── B2B responsive: 1199px ── */
@media screen and (max-width: 1199px) {
  .hiw-b2b__title {
    font-size: 68px;
    line-height: 72px;
  }

  .hiw-b2b__desc {
    font-size: 22px;
  }
}

/* ── B2B responsive: 991px ── */
@media screen and (max-width: 991px) {
  .hiw-b2b {
    padding: 40px 0 60px;
  }

  .hiw-b2b__header {
    flex-direction: column;
    gap: 20px;
  }

  .hiw-b2b__title {
    font-size: 56px;
    line-height: 60px;
    width: 100%;
  }

  .hiw-b2b__desc {
    font-size: 20px;
  }
}

/* ── B2B responsive: 767px (mobile) ── */
@media screen and (max-width: 767px) {
  .hiw-b2b {
    padding: 30px 0 40px;
  }

  .hiw-b2b__header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .hiw-b2b__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0.432px;
  }

  .hiw-b2b__desc {
    font-size: 18px;
  }

  .hiw-b2b__features {
    gap: 16px;
  }

  .hiw-b2b__feature span {
    font-size: 16px;
  }

  .hiw-b2b__try-btn {
    font-size: 20px;
    padding: 16px 36px;
    width: 100%;
  }

  .hiw-b2b__demo {
    margin-top: 24px;
    border-radius: 12px;
  }

  .hiw-b2b__demo iframe {
    height: 500px;
  }
}

/* ── B2B Integration Guide ── */
.hiw-b2b__integration {
  margin-top: 60px;
}

.hiw-b2b__integration-title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 48px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: #fff;
  margin: 0 0 16px;
}

.hiw-b2b__integration-desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
  max-width: 640px;
}

.hiw-b2b__code-block {
  background: #0d0b2e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.hiw-b2b__code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hiw-b2b__code-lang {
  font-family: "LatoBold", sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hiw-b2b__code-copy {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 6px 16px;
  font-family: "LatoMedium", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.hiw-b2b__code-copy:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.hiw-b2b__code-copy.is-copied {
  background: rgba(34,197,94,0.2);
  color: #22c55e;
  border-color: rgba(34,197,94,0.3);
}

.hiw-b2b__code-pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
}

.hiw-b2b__code-pre code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #e2e8f0;
  white-space: pre;
}

.hiw-b2b__params-title {
  font-family: "LatoBold", sans-serif;
  font-size: 22px;
  color: #fff;
  margin: 40px 0 20px;
}

.hiw-b2b__params-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hiw-b2b__params-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "LatoRegular", sans-serif;
  font-size: 15px;
}

.hiw-b2b__params-table th {
  text-align: left;
  padding: 12px 16px;
  color: rgba(255,255,255,0.5);
  font-family: "LatoBold", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

.hiw-b2b__params-table td {
  padding: 12px 16px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}

.hiw-b2b__params-table code {
  font-family: "SF Mono", "Fira Code", Menlo, Consolas, monospace;
  font-size: 13px;
  background: rgba(255,255,255,0.08);
  padding: 2px 7px;
  border-radius: 4px;
  color: #FFBF01;
}

.hiw-b2b__params-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.hiw-b2b__required {
  color: #ef4444;
  font-weight: bold;
}

/* ── Integration responsive: 991px ── */
@media screen and (max-width: 991px) {
  .hiw-b2b__integration {
    margin-top: 40px;
  }

  .hiw-b2b__integration-title {
    font-size: 36px;
    line-height: 40px;
  }

  .hiw-b2b__integration-desc {
    font-size: 18px;
  }
}

/* ── Integration responsive: 767px ── */
@media screen and (max-width: 767px) {
  .hiw-b2b__integration {
    margin-top: 32px;
  }

  .hiw-b2b__integration-title {
    font-size: 28px;
    line-height: 32px;
  }

  .hiw-b2b__integration-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hiw-b2b__code-pre {
    padding: 16px;
  }

  .hiw-b2b__code-pre code {
    font-size: 12px;
  }

  .hiw-b2b__params-title {
    font-size: 20px;
    margin: 28px 0 16px;
  }

  .hiw-b2b__params-table {
    font-size: 14px;
  }

  .hiw-b2b__params-table th,
  .hiw-b2b__params-table td {
    padding: 10px 12px;
  }
}

/* ═══════════════════════════════════════
   CTA Section — "Начните анализ"
   ═══════════════════════════════════════ */
.hiw-cta {
  padding: 0 0 80px;
}

.hiw-cta__box {
  background: #080361;
  border-radius: 5px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.hiw-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 878px;
}

.hiw-cta__title {
  font-family: "DrukCyrBold", sans-serif;
  font-size: 84px;
  line-height: 85px;
  letter-spacing: 0.756px;
  color: #fff;
  margin: 0;
}

.hiw-cta__desc {
  font-family: "LatoMedium", sans-serif;
  font-size: 32px;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.hiw-cta__features {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hiw-cta__feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hiw-cta__icon {
  flex-shrink: 0;
}

.hiw-cta__feature span {
  font-family: "LatoBold", sans-serif;
  font-size: 24px;
  color: #fff;
  white-space: nowrap;
}

.hiw-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFBF01;
  color: #fff;
  font-family: "LatoBold", sans-serif;
  font-size: 24px;
  padding: 20px 40px;
  border-radius: 5px;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.hiw-cta__btn:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

/* Decorative ball */
.hiw-cta__decor {
  position: absolute;
  right: -450px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: 300%;
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ── CTA responsive: 1199px ── */
@media screen and (max-width: 1199px) {
  .hiw-cta__title {
    font-size: 64px;
    line-height: 68px;
  }

  .hiw-cta__desc {
    font-size: 26px;
  }

  .hiw-cta__feature span {
    font-size: 20px;
  }

  .hiw-cta__features {
    gap: 30px;
  }
}

/* ── CTA responsive: 991px ── */
@media screen and (max-width: 991px) {
  .hiw-cta__box {
    padding: 40px;
  }

  .hiw-cta__title {
    font-size: 56px;
    line-height: 60px;
  }

  .hiw-cta__desc {
    font-size: 22px;
  }

  .hiw-cta__content {
    gap: 30px;
  }

  .hiw-cta__decor {
    height: 120%;
    right: -80px;
  }
}

/* ── CTA responsive: 767px (mobile) ── */
@media screen and (max-width: 767px) {
  .hiw-cta {
    padding: 0 0 40px;
  }

  .hiw-cta__box {
    border-radius: 20px;
    padding: 30px 20px;
  }

  .hiw-cta__content {
    gap: 20px;
  }

  .hiw-cta__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0.432px;
  }

  .hiw-cta__desc {
    font-size: 20px;
    line-height: 24px;
  }

  .hiw-cta__features {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hiw-cta__icon {
    width: 20px;
    height: 20px;
  }

  .hiw-cta__feature span {
    font-family: "LatoSemiBold", sans-serif;
    font-size: 16px;
  }

  .hiw-cta__btn {
    font-size: 20px;
    padding: 16px 32px;
  }

  .hiw-cta__decor {
    height: 100%;
    right: -60px;
    opacity: 0.3;
  }
}
