@media only screen and (max-width: 991px) {

  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  section.hero-front {
    position: relative;
    background: #F2EDE3;
    min-height: 100vh;
    padding-top: 72px;
    padding-bottom: 96px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .shape-blue,
  .shape-red,
  .shape-yellow,
  .shape-green {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 2;
    display: block;
    object-fit: contain;
  }

  .shape-blue {
    left: -22px;
    top: 82px;
    right: auto;
  }

  .shape-yellow {
    left: -56px;
    top: 254px;
    right: auto;
  }

  .shape-red {
    right: -32px;
    top: 58px;
    left: auto;
  }

  .shape-green {
    right: -64px;
    top: 182px;
    left: auto;
  }

  .menu-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0;
  }

  .menu {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #FFFFFF;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 10px -5px rgba(30, 30, 30, 0.10);
    box-sizing: border-box;
    position: relative;
  }

  .menu > img {
    height: 24px;
    width: auto;
    flex-shrink: 0;
  }

  .menu-burger {
    width: 48px;
    height: 48px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F6C325;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    margin-left: auto;
  }

  .menu-burger img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
  }

  .menu-right {
    display: none !important;
  }

  .menu-links {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px 28px;
    background: #FFFFFF;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25);
    z-index: 20;
    box-sizing: border-box;
  }

  .menu.menu--open .menu-links {
    display: flex;
  }

  .menu-links a {
    font-size: 18px;
    color: #1E1E1E;
    text-decoration: none;
    text-align: center;
  }

  .menu-mobile-extra {
    margin-top: 8px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(30, 30, 30, 0.10);
  }

  .menu-mobile-extra .menu-lang {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  .menu-mobile-extra .menu-lang a {
    font-size: 16px;
    color: #1E1E1E;
    text-decoration: none;
  }

  .menu-mobile-extra .menu-lang .devider {
    width: 1px;
    height: 14px;
    background: rgba(30, 30, 30, 0.4);
  }

  .menu-mobile-extra .btn-yellow {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    text-align: center;
    display: block;
    border-radius: 24px;
  }

  .HeaderCenterBlock {
    position: relative;
    z-index: 5;
    margin: 260px auto 0;
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .TextHeader-Top {
    width: 343px;
    max-width: 100%;
    margin: 0 auto 16px;
    color: #1E1E1E;
    text-align: center;
    font-family: 'Anton', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
  }

  .TextHeader-Bot {
    width: 343px;
    max-width: 100%;
    margin: 0 auto 28px;
    color: rgba(30, 30, 30, 0.80);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: -0.16px;
  }

  .HeaderButtons {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .HeaderBlackBtt,
  .HeaderWhiteBtt {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .HeaderBlackBtt a,
  .HeaderWhiteBtt a {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .HeaderWhiteBtt a:hover {
    background-color: transparent;
  }

  section.stats-section {
    width: 100%;
    margin: 40px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .stats-header {
    margin-bottom: 48px;
  }

  .stats-title {
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.16px;
    margin: 0;
  }

  .Alikas-link a {
    font-size: 14px;
    line-height: 140%;
  }

  .stats-grid {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 56px;
  }

  .stat-item {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }

  .stat-number {
    text-align: center;
    font-size: 56px;
    line-height: 120%;
    margin: 0 0 8px 0;
  }

  .stat-text {
    text-align: center;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.16px;
    margin: 0;
  }

  /* =========================
     StatsInfo (wheel + quote)
     ========================= */

  .StatsInfo .BackGround {
    position: relative;
    width: 100%;
    height: 560px;
    margin: 24px auto 0;
    padding: 240px 20px 28px;
    border-radius: 24px;
    overflow: hidden;
    box-sizing: border-box;
  }

  /* Wheel */
  .StatsInfo .CircleDed {
    position: absolute;
    width: 760px;
    height: 760px;
    top: -120px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform 0.5s ease;
    pointer-events: none;
    z-index: 1;
  }

  .StatsInfo .CircleDed img {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: 50% 50%;
  }

  /* Wheel rotation (only rotate, no scale) */
  .StatsInfo .CircleDed.rotated {
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: 50% 50%;
  }

  /* =========================
     MOBILE: CircleText (Figma)
     ========================= */

  .StatsInfo .CircleText {
    display: block !important;
    position: absolute;
    left: 0;
    top: -70px;
    width: 100%;
    height: 260px;
    pointer-events: none;
    z-index: 6;
    opacity: 1;
    transition: opacity var(--wheelDur) var(--wheelEase);
  }

  .StatsInfo .CircleText.is-fading {
    opacity: 0;
  }

  .StatsInfo .CircleText .CircleLabel,
  .StatsInfo .CircleText .CircleTitle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin: 0;
    color: #FFF;
  }

  /* Figma: плашка Sinine / Roheline */
  .StatsInfo .CircleText .CircleLabel {
    top: 120px;

    display: inline-flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 24px;
    border: 1px solid #FFF;

    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    white-space: nowrap;
  }

  /* Figma: заголовок под плашкой */
  .StatsInfo .CircleText .CircleTitle {
    top: 150px;

    width: 92%;
    max-width: 340px;

    color: #FFF;
    font-family: 'Anton', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
  }

  /* Quote */
  .StatsInfo .QuoteBlock {
    width: 100%;
    min-height: 220px;
    margin-top: 0;
    text-align: center;
    position: relative;
    z-index: 3;
  }

  .StatsInfo .quote {
    font-size: 18px;
    line-height: 160%;
    margin-bottom: 28px;
    padding: 0 8px;
  }

  .StatsInfo .quote br {
    display: none;
  }

  /* Button */
  .StatsInfo .ChangeSlide {
    top: auto;
    right: 20px;
    bottom: 20px;
    transform: none;
    z-index: 10;
  }

  .StatsInfo .CarlJung img {
    width: 40px;
    height: 40px;
  }

  .StatsInfo .JungName {
    font-size: 14px;
  }

  .StatsInfo .JungTitle {
    font-size: 12px;
  }


    /* Секция целиком Koostoo */
  section.Koostoo {
    width: 100%;
    margin: 0;
    padding: 40px 16px 0;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    overflow: hidden;
  }

  /* Текстовый блок: убираем absolute и центруем */
  .KoostooTextBlock {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto 24px;
  }

  /* Общая типографика заголовка (как ты указал) */
  .KoostooText1,
  .KoostooText2,
  .KoostooText4,
  .KoostooText5 {
    color: #1E1E1E;
    font-family: Anton, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-transform: uppercase;

    margin: 0;
    padding: 0;
    max-width: 100%;
  }

  /* "JA" меньше (как на ПК, только в моб. масштабе сохраняем логику) */
  .KoostooText3 {
    color: #1E1E1E;
    font-family: Anton, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-transform: uppercase;

    margin: 0;
    padding: 0;
  }

  /* Строка с "MEESKONNA JA" — держим в одной линии и ровно по центру */
  .KoostooText2 {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
  }

  /* Если где-то появятся дефолтные отступы у p */
  .KoostooTextBlock p {
    margin: 0;
  }

  /* Пока скрываем стрелки ПК (в моб. будет одна стрелка — сделаем позже) */
  .ArrowShape1,
  .ArrowShape2 {
    display: none;
  }

   /* viewport */
  .koostoo-slider {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
  }

  /* track */
  .koostoo-track {
    display: flex;
    will-change: transform;
    transition: transform 280ms ease;
  }

  /* СЛАЙД = экран, НЕ карточка */
  .Koostoo .window {
    flex: 0 0 100vw;
    max-width: 100vw;

    display: flex;
    justify-content: center;

    box-sizing: border-box;
    padding: 0;

    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  /* КАРТОЧКА строго как по макету */
  .Koostoo .koostoo-card {
    display: flex;
    width: 272px;
    height: 259px;
    padding: 25px 16px 32px 16px;

    flex-direction: column;
    align-items: center;
    gap: 8px;

    border-radius: 24px;
    background: #F2EDE3;

    box-sizing: border-box;
  }

  /* Контролы */
  .koostoo-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;
    padding: 18px 12px 0;
    gap: 12px;
  }

  .koostoo-btn {
    display: inline-flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 32px;
    background: #F2EDE3;

    border: 0;
    cursor: pointer;
    color: #1E1E1E;
    line-height: 0;
  }

  .koostoo-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
  }

  .koostoo-dot {
    width: 8px;
    height: 8px;
    border-radius: 32px;
    background: #F2EDE3;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .koostoo-dot.is-active {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: rgba(30, 30, 30, 0.80);
  }

  /* На мобилке скрываем ПК-стрелки */
  .ArrowShape1,
  .ArrowShape2 {
    display: none;
  }
}
