@charset "UTF-8";
.info, .wrapper{
  overflow-x: hidden !important; /* Скрывает горизонтальный overflow */
}
/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.video-background__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
@media (width <= 47.99875rem) {
  .video-background__video {
    width: 100%;
    height: 100%;
  }
}
.video-background__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  margin-left: 0;
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 12px;
  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;

  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
}

/**
  Плавный скролл
 */
html,
:has(:target) {
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill=none],
[fill^=url])) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke=none],
[stroke^=url])) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Benzin";
  src: url("../fonts/Benzin-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src: url("../fonts/benzin-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-light: #ffffff;
  --color-dark: #3a3a3a;
  --color-gray: #919191;
  --color-accent: #d1e4a3;
  --font-family-base: "Benzin", sans-serif, system-ui;
  --container-width: 120rem;
  --container-padding-x: 1rem;
  --transition-duration: 0.2s;
}
@media (width <= 90.06125rem) {
  :root {
    --container-width: 80rem;
  }
}
@media (width <= 47.99875rem) {
  :root {
    --container-padding-x: 1.25rem;
  }
}

.container {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

.wrapper {
  /* background removed - using video background instead */
}
@media (width <= 47.99875rem) {
  .wrapper {
    overflow-x: hidden;
    width: 100%;
  }
}
@media (width <= 47.99875rem) {
  .circle_start {
    overflow-x: hidden;
    width: 100%;
    height: 40% !important;
  }
  .circle__main {
    height: 20%;
    margin-top: -300px !important;
  }
}

@media (width <= 47.99875rem) {
  .circle__main.moved {
    transform: translateY(300px) !important;
  }

}


.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

@media (width <= 47.99875rem) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (width > 47.99875rem) {
  .visible-mobile {
    display: none !important;
  }
}

.full-vw-line {
  position: relative;
}
.full-vw-line::before, .full-vw-line::after {
  position: absolute;
  width: calc((100vw - var(--container-width)) / 2);
  height: 0.0625rem;
  background-color: var(--color-gray);
}
.full-vw-line--top::before {
  content: "";
  bottom: 100%;
}
.full-vw-line--bottom::after {
  content: "";
  top: 100%;
}
.full-vw-line--left::before, .full-vw-line--left::after {
  right: 100%;
}
.full-vw-line--right::before, .full-vw-line--right::after {
  left: 100%;
}

html {
  overflow-x: hidden;
}
html.is-lock {
  overflow: hidden;
}
@media (width > 47.99875rem) {
  html {
    overflow-x: hidden;
  }
}

body {
  font-size: clamp(0.875rem, 0.8431372549rem + 0.1307189542vw, 1rem);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family-base);
  letter-spacing: -0.03em;
  color: var(--color-light);
  background-color: #000000;
  font-weight: 400;
  position: relative;
}
@media (width <= 47.99875rem) {
  body {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
  }
}
.header,
.main,
.footer {
  position: relative;
  z-index: 1;
}

main {
  flex-grow: 1;
}
@media (width <= 47.99875rem) {
  main {
    overflow-x: visible;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: var(--color-light);
}

h1,
.h1 {
  font-size: clamp(1.875rem, 1.237745098rem + 2.614379085vw, 4.375rem);
  line-height: 1.2;
}

h2,
.h2 {
  font-size: clamp(1.5rem, 1.2450980392rem + 1.045751634vw, 2.5rem);
  color: var(--color-accent);
}

h3,
.h3 {
  font-size: clamp(1.125rem, 1.0294117647rem + 0.3921568627vw, 1.5rem);
  color: var(--color-accent);
}

a,
button,
label,
input,
textarea,
select,
svg * {
  transition-duration: var(--transition-duration);
}

a {
  color: inherit;
}
@media (any-hover: hover) {
  .header__menu-link:hover {
    color: var(--color-accent) !important;
  }
}
@media (any-hover: none) {
  a:active {
    color: var(--color-accent);
  }
}
a[class] {
  text-decoration: none;
}

:focus-visible {
  outline: 0.125rem dashed var(--color-light);
  outline-offset: 0.25rem;
  transition-duration: 0s !important;
}

a[aria-label],
button[aria-label] {
  position: relative;
}
a[aria-label]::before,
button[aria-label]::before {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 2.75rem;
  height: 2.75rem;
  content: "";
}

@-webkit-keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
  }
}
.rotate-center {
  -webkit-animation: rotate-center 0.6s ease-in-out both;
  animation: rotate-center 0.6s ease-in-out both;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000000000;
  box-shadow: 0 5px 4px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, #fff 91.75%, rgba(255, 255, 255, 0) 100%);
}
.header__body {
  background-color: var(--color-dark-10);
}
@media (width <= 47.99875rem) {
  .header__body {
    padding-block: 1.25rem;
  }
}
.header__body-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
  min-height: 5rem;
}
@media (width <= 47.99875rem) {
  .header__body-inner {
    justify-content: space-between;
    min-height: 3.125rem;
    max-height: 3.125rem;
  }
}
@media (width > 47.99875rem) {
  .header__overlay {
    display: contents;
  }
}
@media (width <= 47.99875rem) {
  .header__overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 3rem;
    padding: 1rem;
    background-color: var(--color-dark);
    transition-duration: var(--transition-duration);
  }
  .header__overlay:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    translate: 100%;
  }
}
@media (width <= 47.99875rem) {
  .header__menu {
    overflow-y: auto;
  }
}
.header__menu-list {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  column-gap: 5.3125rem;
  position: relative;
}

/* Gooey Nav Canvas */
.gooey-nav-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (width <= 47.99875rem) {
  .gooey-nav-canvas {
    display: none;
  }
}
@media (width <= 90.06125rem) {
  .header__menu-list {
    column-gap: 0.575rem;
    font-size: 1rem;
  }
}
@media (width <= 47.99875rem) {
  .header__menu-list {
    flex-direction: column;
    row-gap: 2rem;
  }
}
.header__menu-link {
  color: #393939 !important;
  text-wrap: nowrap;
  position: relative;
  z-index: 2;
}
@media (width > 47.99875rem) {
  .header__menu-link {
    max-width: 7.5rem;
    max-height: 3.75rem;
    width: 100%;
    height: 100%;
  }
}
@media (width <= 90.06125rem) {
  .header__menu-link {
    padding: 0.625rem 1.125rem;
  }
}
@media (width <= 47.99875rem) {
  .header__menu-link {
    color: #fff !important;
    padding: 0;
    
  }
}
.header__logo {
  padding-inline: 4.0625rem;
}
@media (width <= 47.99875rem) {
  .header__logo {
    padding: 0;
  }
}

.burger-button {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.53125rem 0.265625rem;
  color: var(--color-light);
  background-color: transparent;
  border: none;
}
@media (any-hover: hover) {
  .burger-button:hover {
    color: var(--color-accent);
  }
}
@media (any-hover: none) {
  .burger-button:active {
    color: var(--color-accent);
  }
}
.burger-button.is-active .burger-button__line:nth-child(1) {
  rotate: 45deg;
  transform-origin: 0;
  translate: 0.25em -0.1em;
}
.burger-button.is-active .burger-button__line:nth-child(2) {
  rotate: -45deg;
}
.burger-button.is-active .burger-button__line:nth-child(3) {
  width: 0;
}
.burger-button__line {
  background-color: var(--color-gray);
  width: 100%;
  height: 0.125rem;
  border-radius: 1rem;
  transition-duration: var(--transition-duration);
}
.burger-button__line:last-child {
  align-self: end;
  width: 55%;
}

.hero {
  overflow-x: hidden;
}
.hero__gif {
  position: relative;
  right: clamp(4.375rem, 1.5073529412rem + 11.7647058824vw, 15.625rem);
}
@media (width <= 47.99875rem) {
  .hero__gif {
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100vw;
    height: auto;
  }
}

.info {
  padding-bottom: 6.25rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  column-gap: 2rem;
}
@media (width <= 47.99875rem) {
  .info {
    flex-direction: column;
    justify-content: center;
    row-gap: 3rem;
    padding-bottom: 3rem;
    padding-top: 1rem;
    width: 100%;
    overflow-x: hidden;
  }
}
.info__title {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}
.info__main {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
}
.info__main-list {
  display: flex;
  flex-direction: column;
}
.info__main-description {
  width: 43.75rem;
  font-size: 1.2rem;
  margin-top: 1.25rem;
}
@media (width <= 63.99875rem) {
  .info__main-description {
    width: 28.125rem;
  }
}
@media (width <= 47.99875rem) {
  .info__main-description {
    width: 100%;
    max-width: 90vw;
    font-size: 0.875rem;
    line-height: 1.5;
  }
}
.info__main-description:not(:last-child) {
  padding-bottom: 2rem;
}
.info__main-item {
  position: relative;
}
.info__main-line {
  height: 0.25rem;
  background: #ffffff;
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  bottom: 0; /* или top: ..., как тебе нужно по вертикали */
  right: 0; /* привязка к правому краю <li> */
  left: calc(-1 * (100vw - 100%) / 2);
}
.info__images {
  display: flex;
  flex-direction: column;
  row-gap: 3.125rem;
}
@media (width <= 47.99875rem) {
  .info__images {
    width: 100%;
    align-items: center;
    row-gap: 2rem;
    padding: 0;
  }
}
.info__image {
  position: relative;
  border-radius: 0.9375rem;
  border: 0.125rem solid var(--color-accent);
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 0.125rem #ff0;
  margin-left: 0.625rem; /* ← отступ слева для картинки */
  filter: grayscale(1);
  transition-duration: var(--transition-duration);
}
@media (width <= 47.99875rem) {
  .info__image {
    width: calc(100vw - 3rem);
    max-width: 85vw;
    height: auto;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (any-hover: hover) {
  .info__image:hover {
    filter: grayscale(0);
    z-index: 100000;
  }
}
@media (any-hover: none) {
  .info__image:active {
    filter: grayscale(0);
    z-index: 100000;
  }
}
.info__image-container {
  position: relative;
}
.info__image-container::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  left: -0.125rem;
  bottom: -0.75rem;
  right: 0; /* Смещение вправо на 60px */
  background-image: url("../images/info/border.png");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
}
@media (width <= 47.99875rem) {
  .info__image-container::before {
    display: none;
  }
}
.info__horizontal-lines {
  position: absolute;
  top: -0.75rem;
  left: 14.990625rem;
  width: calc(100vw - 19.375rem);
  height: calc(100% + 1.5rem);
  pointer-events: none;
  z-index: 3;
}
@media (width <= 47.99875rem) {
  .info__horizontal-lines {
    display: none;
  }
}
.info__horizontal-lines::before, .info__horizontal-lines::after {
  content: "";
  position: absolute;
  height: 0.125rem;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.5);
  left: 0;
}
.info__horizontal-lines::before {
  top: 0;
  border-top-left-radius: 0.9375rem;
  border-top-right-radius: 0.9375rem;
}
.info__horizontal-lines::after {
  bottom: 0;
  border-bottom-left-radius: 0.9375rem;
  border-bottom-right-radius: 0.9375rem;
}

.running-line {
  height: 5rem;
  background-color: var(--color-light);
  overflow: hidden;
  position: relative;
}
@media (width <= 47.99875rem) {
  .running-line {
    height: 3.5rem;
  }
}

.running-line__inner {
  display: flex;
  animation: run-line 20s linear infinite;
  min-width: 200%;
}

.running-line__image {
  height: 5rem;
  width: auto;
  flex-shrink: 0;
}
@media (width <= 47.99875rem) {
  .running-line__image {
    height: 3.5rem;
  }
}
.running-line__image:not(:last-child) {
  margin-right: 2.5rem;
}

@keyframes run-line {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 2.5rem));
  }
}
.circle {
  user-select: none;
  min-height: 84.375rem;
  position: relative;
  overflow: hidden;
}
@media (width <= 47.99875rem) {
  .circle {
    min-height: 68.75rem;
    max-height: 68.75rem;
    width: 100%;
    overflow-x: visible;
    overflow-y: visible;
  }
}
.circle__center-image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 35px));
  z-index: 1000;
  user-select: none;
  cursor: pointer;
}
@media (width <= 47.99875rem) {
  .circle__center-image {
    width: 15.625rem;
    height: 15.625rem;
  }
}
@media (width <= 30.06125rem) {
  .circle__center-image {
    width: 12.5rem;
    height: 12.5rem;
  }
}
.circle__segment {
  user-select: none;
  position: absolute;
  display: inline-block;
  left: 50%;
  top: 50%;
  transform-origin: center center;
}
.circle__segment--1 {
  transform: translate(-50%, -50%) rotate(0deg) translateY(-200px);
}
@media (width <= 47.99875rem) {
  .circle__segment--1 {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-145px);
  }
}
@media (width <= 30.06125rem) {
  .circle__segment--1 {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-115px);
  }
}
.circle__segment--2 {
  transform: translate(-50%, -50%) rotate( 60deg) translateY(-200px);
}
@media (width <= 47.99875rem) {
  .circle__segment--2 {
    transform: translate(-50%, -50%) rotate(60deg) translateY(-145px);
  }
}
@media (width <= 30.06125rem) {
  .circle__segment--2 {
    transform: translate(-50%, -50%) rotate(60deg) translateY(-115px);
  }
}
.circle__segment--3 {
  transform: translate(-50%, -50%) rotate(120deg) translateY(-200px);
}
@media (width <= 47.99875rem) {
  .circle__segment--3 {
    transform: translate(-50%, -50%) rotate(120deg) translateY(-145px);
  }
}
@media (width <= 30.06125rem) {
  .circle__segment--3 {
    transform: translate(-50%, -50%) rotate(120deg) translateY(-115px);
  }
}
.circle__segment--4 {
  transform: translate(-50%, -50%) rotate(180deg) translateY(-200px);
}
@media (width <= 47.99875rem) {
  .circle__segment--4 {
    transform: translate(-50%, -50%) rotate(180deg) translateY(-145px);
  }
}
@media (width <= 30.06125rem) {
  .circle__segment--4 {
    transform: translate(-50%, -50%) rotate(180deg) translateY(-115px);
  }
}
.circle__segment--5 {
  transform: translate(-50%, -50%) rotate(240deg) translateY(-200px);
}
@media (width <= 47.99875rem) {
  .circle__segment--5 {
    transform: translate(-50%, -50%) rotate(240deg) translateY(-145px);
  }
}
@media (width <= 30.06125rem) {
  .circle__segment--5 {
    transform: translate(-50%, -50%) rotate(240deg) translateY(-115px);
  }
}
.circle__segment--6 {
  transform: translate(-50%, -50%) rotate(300deg) translateY(-200px);
}
@media (width <= 47.99875rem) {
  .circle__segment--6 {
    transform: translate(-50%, -50%) rotate(300deg) translateY(-145px);
  }
}
@media (width <= 30.06125rem) {
  .circle__segment--6 {
    transform: translate(-50%, -50%) rotate(300deg) translateY(-115px);
  }
}
.circle__segment-image {
  position: relative;
  display: block;
  width: 394px;
  height: 410px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
@media (width <= 47.99875rem) {
  .circle__segment-image {
    width: 17.5rem;
    height: 18.25rem;
  }
}
@media (width <= 30.06125rem) {
  .circle__segment-image {
    width: 13.75rem;
    height: 14.3125rem;
  }
}
.circle__segment-content {
  user-select: none;
  position: absolute;
  left: 50%;
  translate: -50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  z-index: 10;
}
.circle__segment-icon {
  position: relative;
  cursor: pointer;
}
@media (width <= 47.99875rem) {
  .circle__segment-icon {
    width: 2.8125rem;
    height: 2.8125rem;
  }
}
@media (width <= 30.06125rem) {
  .circle__segment-icon {
    width: 2.1875rem;
    height: 2.1875rem;
  }
}
.circle__segment-icon--1 {
  bottom: 0.5rem;
  z-index: 10;
  rotate: 0deg;
}
.circle__segment-icon--2 {
  rotate: 60deg;
  bottom: 0.5625rem;
}
.circle__segment-icon--3 {
  rotate: 120deg;
  bottom: 0.5625rem;
}
.circle__segment-icon--4 {
  rotate: 180deg;
  bottom: 0.5rem;
}
.circle__segment-icon--5 {
  rotate: 240deg;
  bottom: 0.625rem;
}
.circle__segment-icon--6 {
  rotate: 300deg;
  bottom: 0.625rem;
}
.circle__segment-text {
  user-select: none;
  color: var(--color-accent);
  font-weight: 700;
  transition: transform 0.6s ease-in-out;
}
@media (width <= 47.99875rem) {
  .circle__segment-text {
    font-size: 1rem !important;
  }
}
@media (width <= 30.06125rem) {
  .circle__segment-text {
    font-size: 0.875rem !important;
  }
}
.circle__segment-text--1 {
  font-size: 1.25rem;
  position: relative;
  rotate: 0deg;
  top: 1.5rem;
}
@media (width <= 47.99875rem) {
  .circle__segment-text--1 {
    top: 1.25rem;
  }
}
.circle__segment-text--2 {
  font-size: 1.25rem;
  position: relative;
  rotate: -60deg;
  top: 1.875rem;
}
@media (width <= 47.99875rem) {
  .circle__segment-text--2 {
    top: 1.5625rem;
  }
}
.circle__segment-text--3 {
  font-size: 1.25rem;
  position: relative;
  rotate: -120deg;
  top: 2.5rem;
}
@media (width <= 47.99875rem) {
  .circle__segment-text--3 {
    top: 2rem;
  }
}
.circle__segment-text--4 {
  font-size: 1rem;
  position: relative;
  rotate: -180deg;
  top: 1.9375rem;
}
@media (width <= 47.99875rem) {
  .circle__segment-text--4 {
    top: 1.5625rem;
  }
}
.circle__segment-text--5 {
  font-size: 1.25rem;
  position: relative;
  rotate: -240deg;
  top: 2.5rem;
}
@media (width <= 47.99875rem) {
  .circle__segment-text--5 {
    top: 2rem;
  }
}
.circle__segment-text--6 {
  font-size: 2rem;
  position: relative;
  rotate: -300deg;
  top: 2.5rem;
}
@media (width <= 47.99875rem) {
  .circle__segment-text--6 {
    font-size: 1.5rem !important;
    top: 2rem;
  }
}
.circle__main {
  text-wrap: nowrap;
  flex-wrap: nowrap;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transform-origin: center;
  bottom: -13rem;
  transition: transform 1s ease-in-out;
  transform: rotate(0deg);
}
.circle__main.moved {
  transform: translateY(200px);
}

@media (width <= 47.99875rem) {
  .circle__main {
    scale: 0.8;
  }
}
@media (width <= 30.06125rem) {
  .circle__main {
    bottom: -13rem;
    scale: 0.7;
  }
}

.circle__rotor {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  transform-origin: center center;
  top: 2.5rem;
}
@media (width <= 47.99875rem) {
  .circle__rotor {
    transform-origin: center center;
  }
}
.circle__cards {
  display: flex;
  column-gap: 2rem;
  align-items: center;
  position: relative;
  left: 50%;
  translate: -50%;
  max-width: 71.875rem;
  padding-top: 6.875rem;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}
@media (width <= 47.99875rem) {
  .circle__cards {
    justify-content: center;
    column-gap: 1rem;
    padding-top: 5rem;
    scale: 0.9;
  }
}
@media (width <= 30.06125rem) {
  .circle__cards {
    scale: 0.8;
    padding-top: 3.75rem;
  }
}
.circle__cards.slide-out {
  transform: translateX(2000px);
  opacity: 0;
}
.circle__cards.slide-in {
  transform: translateX(-2000px);
  opacity: 0;
}
.circle__cards.visually-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(0);
}
.circle__card-main {
  display: flex;
  column-gap: 1.25rem;
  align-items: center;
}
@media (width <= 47.99875rem) {
  .circle__card-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.circle__card-main-image {
  border-radius: 0.3125rem;
}
@media (width <= 47.99875rem) {
  .circle__card-main-image {
    width: 9.375rem;
    height: 14.0625rem;
  }
}
.circle__card-main-text {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
}
@media (width <= 47.99875rem) {
  .circle__card-main-text {
    row-gap: 0.75rem;
  }
}
.circle__card-main-title {
  font-size: 1rem;
  color: var(--color-accent);
}
@media (width <= 47.99875rem) {
  .circle__card-main-title {
    font-size: 0.875rem;
  }
}
.circle__card-main-subtitle {
  font-size: 0.825rem;     /* 10px — маленький, но читаемый */
  line-height: 1.3;
  max-width: 14rem;
  color: var(--color-light);
  font-weight: 400;
}
.circle__card-others {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.25rem;
}
.circle__card-others-wrapper {
  display: flex;
  gap: 1.875rem;
}
@media (width <= 63.99875rem) {
  .circle__card-others-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px !important;
  }
}
@media (width <= 47.99875rem) {
  .circle__card-others-wrapper {
    gap: 25px !important;
  }
}
.circle__card-inner {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(209, 228, 163, 0.2);
  pointer-events: auto;
  width: 7.8125rem;
  height: 12.5rem;
  overflow: hidden;
}
.circle__card-inner:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
@media (width <= 47.99875rem) {
  .circle__card-inner {
    min-width: 6.875rem;
  }
}
.circle__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.3125rem;
}
@media (width <= 47.99875rem) {
  .circle__card-image {
    width: 6.875rem;
    height: 10rem;
  }
}
.circle__card-text {
  position: absolute;
  bottom: 0.3125rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 0.3125rem;
  width: 100%;
  text-align: center;
}

@media (max-width: 47.99875rem) {
  
  /* 1. Переопределяем твой абсолютный блок — делаем большой отступ снизу */
  .circle__card-text {
    position: absolute !important;
    bottom: +1.5rem !important;        /* ← вот сюда ставишь нужную высоту */
    /* можно ещё сильнее: -2.8rem, -3rem, -3.5rem — как нравится */
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
    pointer-events: none; /* чтобы текст не мешал скроллу и тапам */
  }
}

.circle__card-title {
  font-size: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
  max-width: 5.5rem;
  margin: 0 auto;
  word-break: break-word;
  hyphens: auto;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (width <= 47.99875rem) {
  .circle__card-title {
    font-size: 0.625rem;
  }
}
.circle__card-subscription {
  font-size: 0.875rem;
}
@media (width <= 47.99875rem) {
  .circle__card-subscription {
    font-size: 0.75rem;
  }
}

.circle__segment {
  transition: opacity 0.3s ease-in-out;
}

.circle__segment:not(.is-active) {
  opacity: 0.5;
}

.circle__segment.is-active {
  opacity: 1;
}

.navigation {
  padding-block: 2.5rem;
  display: flex;
  flex-direction: column;
  row-gap: 3.75rem;
  width: 60vw;
  max-width: 71.875rem;
  min-width: 60rem;
}
.navigation__text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.125rem;
}
@media (width <= 63.99875rem) {
  .navigation__text {
    grid-template-columns: 1fr;
    max-width: 43.75rem;
    padding-left: 3.125rem;
  }
}
@media (width <= 47.99875rem) {
  .navigation__text {
    padding-left: 1.5rem;
    max-width: 80vw;
  }
}
.navigation__text-paragraph {
  background: transparent !important;
  border: none;
  font: inherit;
  text-align: left;
  font-size: 1.5rem;
  color: var(--color-accent) !important;

  font-weight: 700;
}
.navigation__text-list {
  display: flex;
  flex-direction: column;
  row-gap: 3.125rem;
  justify-content: center;
}
@media (width <= 63.99875rem) {
  .navigation__text-list {
    flex-direction: row;
    justify-content: space-between;
    padding-inline: 3.125rem;
    width: calc(100vw - 3.125rem);
  }
}
@media (width <= 47.99875rem) {
  .navigation__text-list {
    column-gap: 0.5rem;
    padding-inline: 1.5rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    justify-content: start;
  }
}
.navigation__text-item {
  border-bottom: 6.25rem solid var(--color-light);
  border-bottom-width: 0.25rem;
  min-width: 6.25rem;
}
@media (width <= 63.99875rem) {
  .navigation__text-item {
    margin-right: 0;
    scroll-snap-align: start;
  }
}
@media (width <= 47.99875rem) {
  .navigation__text-item {
    border: none;
  }
}
.navigation__title {
  font-size: 1.3em;
}
.navigation__info {
  display: grid;
  grid-template-columns: auto 25rem 25rem;
  gap: 1.875rem;
}
@media (width <= 63.99875rem) {
  .navigation__info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
}
.navigation__images-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (width <= 63.99875rem) {
  .navigation__images-list {
    display: grid;
    padding-left: 3.125rem;
  }
}
@media (width <= 47.99875rem) {
  .navigation__images-list {
    padding-left: 1.5rem;
  }
}
.navigation__images-image {
  border-radius: 0.625rem;
}
@media (width <= 90.06125rem) {
  .navigation__images-image {
    width: 85vw;
    height: auto;
  }
}
@media (width <= 47.99875rem) {
  .navigation__images-image {
    width: calc(100vw - 1.5rem - var(--container-padding-x) * 2);
    height: auto;
  }
}

.news {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 3.125rem;
  max-width: 71.875rem;
  padding-bottom: 6.5625rem;
}
.news__title {
  color: var(--color-light);
}
.news__main {
  display: grid;
  grid-template-columns: 25rem auto;
  column-gap: 3.125rem;
}
@media (width <= 63.99875rem) {
  .news__main {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }
}
.news__image {
  border-radius: 1.25rem;
  border: 0.125rem solid var(--color-light);
  box-shadow: 0.625rem 0.625rem 1.25rem 0 rgba(255, 255, 255, 0.15);
  object-fit: contain;
}
@media (width <= 63.99875rem) {
  .news__image {
    position: relative;
    left: 50%;
    translate: -50%;
    width: 70vw;
    height: auto;
    box-shadow: 0.3125rem 0.3125rem 0.625rem 0 rgba(255, 255, 255, 0.15);
  }
}
@media (width <= 47.99875rem) {
  .news__image {
    width: 90vw;
  }
}

.news-card {
  max-width: 700px;
  width: 48vw;
}
@media (width <= 63.99875rem) {
  .news-card {
    max-width: 70vw;
    width: 70vw;
  }
}
@media (width <= 47.99875rem) {
  .news-card {
    max-width: 90vw;
    width: 90vw;
  }
}
.news-card .swiper-slide {
  height: auto;
  padding: 1.25rem;
  border-radius: 0.9375rem;
  box-shadow: 0.3125rem 0.3125rem 0.375rem 0 rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-light);
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
  max-width: 700px;
  width: 48vw;
}
@media (width > 63.99875rem) {
  .news-card .swiper-slide {
    width: 60vw;
  }
}
@media (width <= 63.99875rem) {
  .news-card .swiper-slide {
    max-width: 70vw;
    width: 70vw;
  }
}
@media (width <= 47.99875rem) {
  .news-card .swiper-slide {
    max-width: 90vw;
    width: 90vw;
  }
}
.news-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
}
.news-card__header svg {
  stroke: var(--color-accent);
  color: var(--color-accent);
}
.news-card__title {
  font-size: 2rem;
}
.news-card__main {
  display: flex;
  flex-direction: column;
  row-gap: 0.625rem;
}
.news-card__description:nth-child(2) {
  padding-left: 10px;
  border-left: 0.125rem solid var(--color-accent);
}
.news-card__description--green {
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
}
.news-card__next-button {
  background-color: transparent;
  color: transparent;
  border: none;
  cursor: pointer;
}

.footer {
  height: 6.25rem;
  background-color: #000000;
}
@media (width <= 63.99875rem) {
  .footer {
    max-height: 31.25rem;
    height: 100%;
  }
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  max-width: 71.875rem;
}
@media (width <= 63.99875rem) {
  .footer__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    padding-block: 1.25rem;
  }
}
@media (width <= 30.06125rem) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  row-gap: 0.3125rem;
}
@media (width <= 47.99875rem) {
  .footer__contacts {
    text-align: center;
  }
}
.footer__contacts-title {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__contacts-links {
  display: flex;
  flex-direction: column;
  color: #fff;
}
.footer__contacts-links a {
  text-decoration: none;
}
.footer__soc1als {
  display: flex;
  column-gap: 0.625rem;
  align-items: center;
}
.footer__button {
  width: 12.5rem;
  height: 3.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light);
  font-size: 0.75rem;
  text-align: center;
  color: #4d4d4d;
  border: none;
  cursor: pointer;
  border-radius: 0.9375rem;
  font-weight: 700;
}
.footer__info {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (width <= 63.99875rem) {
  .footer__logo {
    width: 60vw;
    height: auto;
  }
}
@media (width <= 63.99875rem) {
  .footer__logo-link {
    grid-area: 2/1/3/3;
    order: -1;
  }
}
@media (width <= 30.06125rem) {
  .footer__logo-link {
    grid-area: 3/1/4/2;
    order: -1;
  }
}

/* ========== УЛУЧШЕНИЯ КЛИКАБЕЛЬНОСТИ ДЛЯ iOS ========== */

/* Только touch-оптимизация без визуальных изменений */
.circle__segment-content {
  transform: translateY(-0.4rem);
  cursor: pointer;
  z-index: 1000;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(209, 228, 163, 0.2);
  touch-action: manipulation;
}

.circle__segment-icon {
  position: relative;
  z-index: 1001;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(209, 228, 163, 0.2);
  touch-action: manipulation;
}

.circle__segment-text {
  position: relative;
  z-index: 1001;
  pointer-events: auto;
}

.circle__segment {
  cursor: pointer;
  z-index: 100;
  pointer-events: auto;
}

.circle__segment-image {
  pointer-events: none;
  z-index: 50;
}

/* ========== ОПТИМИЗАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ========== */

/* iOS Safari - исправление скролла и touch */
html {
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  height: 100%;
}

body {
  -webkit-overflow-scrolling: touch;
  position: relative;
  overflow-y: scroll;
  height: 100%;
  touch-action: pan-y pinch-zoom;
}

/* Приоритет мобильной версии - только функциональная оптимизация */
@media (width <= 47.99875rem) {
  /* Убираем ограничения по высоте для секции circle на мобильных */
  .circle {
    max-height: none !important;
    overflow-y: visible !important;
  }
  
  /* Оптимизация header для мобильных */
  .header__menu-link {
    -webkit-tap-highlight-color: rgba(209, 228, 163, 0.2);
  }
  
  /* Центральная кнопка - touch оптимизация */
  .circle__center-image {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(209, 228, 163, 0.2);
    touch-action: manipulation;
  }
}

/* Фон three.js FloatingLines - закреплён на весь экран */
.floating-lines-background {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;           /* позади всего контента */
  pointer-events: none !important;  /* не блокирует клики по сайту */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.floating-lines-background canvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: -1 !important;
}

/* Запасной черный фон для body */
body {
  background-color: #000000; /* запасной цвет под three.js */
}

/* Все секции прозрачные, чтобы через них был виден three.js-фон */
.wrapper,
.main,
.hero,
.info,
.circle,
.navigation,
.news,
.footer {
  background-color: transparent !important;
}

/* === INFINITE MENU ДЛЯ ФОТОГРАФИЙ РЕЗИДЕНТОВ === */
.residents-photos {
  padding: 4rem 0;
  background-color: transparent;
  position: relative;
  overflow: visible;
  min-height: 80vh;
}

.residents-photos__container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 80vh;
  height: 100%;
}

.infinite-menu {
  width: 100%;
  min-height: 600px;
  height: 80vh;
  position: relative;
  overflow: visible;
}

.infinite-menu-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

#infinite-grid-menu-canvas {
  cursor: grab;
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  position: relative;
  outline: none;
  display: block;
}

#infinite-grid-menu-canvas:active {
  cursor: grabbing;
}

.item-name {
  user-select: none;
  position: absolute;
  font-weight: 700;
  font-size: 1.5rem;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  color: var(--color-accent);
  pointer-events: none;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  z-index: 20;
}

.item-name.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: 0.5s ease;
}

.item-name.inactive {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  transition: 0.1s ease;
}

.face-title {
  user-select: none;
  position: absolute;
  font-weight: 900;
  font-size: 3rem;
  left: 1.6em;
  top: 50%;
  transform: translate(20%, -50%);
  color: var(--color-light);
  pointer-events: none;
}

.face-title.active {
  opacity: 1;
  transform: translate(20%, -50%);
  transition: 0.5s ease;
}

.face-title.inactive {
  opacity: 0;
  transition: 0.1s ease;
}

.face-description {
  user-select: none;
  position: absolute;
  max-width: 10ch;
  top: 50%;
  font-size: 1.2rem;
  right: 1%;
  color: var(--color-light);
  pointer-events: none;
}

.face-description.active {
  opacity: 1;
  transform: translate(-90%, -50%);
  transition: 0.5s ease;
}

.face-description.inactive {
  transform: translate(-60%, -50%);
  opacity: 0;
  transition: 0.1s ease;
}

.action-button {
  position: absolute;
  left: 50%;
  z-index: 10;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  border: 5px solid #000;
  pointer-events: auto;
}

.action-button.active {
  bottom: 3.8em;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  transition: 0.5s ease;
}

.action-button.inactive {
  bottom: -80px;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: 0.1s ease;
}

.action-button-icon {
  user-select: none;
  position: relative;
  color: #fff;
  top: 2px;
  font-size: 26px;
  margin: 0;
}

@media (width <= 47.99875rem) {
  .residents-photos {
    padding: 2rem 0;
  }
  
  .infinite-menu {
    min-height: 400px;
    height: 60vh;
  }
  
  .residents-photos {
    min-height: 60vh;
  }
  
  .residents-photos__container {
    min-height: 60vh;
  }
  
  .face-title,
  .face-description {
    display: none;
  }
}

/* Убираем стили видео-бэкграунда */
.video-background {
  display: none !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .navigation__info {
    display: flex;
    flex-direction: column;
    width: 100%; /* растягиваем на всю ширину контейнера */
    box-sizing: border-box; /* учитываем padding в ширине */
  }

  .navigation__description-block {
    order: -1; /* ставим перед фотографиями */
    width: 80%;
    box-sizing: border-box;
    padding: 0 10px; /* отступ слева/справа, при необходимости */
    margin-bottom: 20px;
  }

  .navigation__description-text {
    width: 50%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* важно для переноса длинных слов */
    box-sizing: border-box;
  }

  /* Если внутри есть <p> или <br>, убедимся, что они не ломают контейнер */
  .navigation__description-text p {
    margin: 0 0 10px 0;
    word-break: break-word;
  }
}

/* Планшетная версия: от 769px до 1000px */
@media (min-width: 769px) and (max-width: 1000px) {
  .navigation__info {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
  }

  .navigation__description-block {
    order: -1; /* если нужно перед фотографиями */
    width: 80%;
    box-sizing: border-box;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  .navigation__description-text {
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
    font-size: 0.95rem; /* немного меньше, чтобы помещалось */
  }

  .navigation__description-text p {
    margin: 0 0 10px 0;
    word-break: break-word;
  }
/* Контейнер списка кнопок */
.navigation__text-list {
  display: flex !important;
  flex-wrap: wrap !important; /* разрешаем перенос */
  gap: 10px !important; /* расстояние между элементами */
}

/* Элементы списка */
.navigation__text-item {
  flex: 1 1 calc(50% - 10px) !important; /* 2 элемента в ряд с отступом */
  box-sizing: border-box !important;
}

/* Кнопки внутри элементов */
.navigation__text-paragraph {
  width: 100% !important;
  text-align: center !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  background: transparent !important;
  border: none !important;
  color: rgb(85, 94, 66) !important;

}

  
}

/* Десктоп: больше 1000px */
@media (min-width: 1001px) {
  .navigation__info {
    display: flex;
    flex-direction: row; /* стандартная десктопная верстка */
  }

  .navigation__description-block {
    order: 0;
    width: auto; /* или фиксированная ширина по дизайну */
    padding: 0;
    margin-bottom: 0;
  }

  .navigation__description-text {
    width: auto;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }




}

/* Планшетная версия: от 769px до 1000px */
@media (min-width: 769px) and (max-width: 1000px) {
  .circle {
    padding-bottom: 55rem !important; /* Добавляем место снизу, чтобы круг не уходил под следующий раздел */
  }

  .circle__main {
    bottom: -10rem; /* Легкая корректировка позиционирования, чтобы компенсировать отступ (опционально, протестируйте) */
  }

  .circle__rotor {
    top: 3rem; /* Немного сдвигаем ротор вверх для баланса (опционально) */
  }
  /* Добавляем отступ сверху для контейнера с карточками (.circle__cards) только когда он видим (появляется) */
  .circle__cards:not(.visually-hide) {
    padding-bottom: 5rem !important; /* Отступ сверху при появлении контейнера; скорректируйте значение по необходимости (например, 5rem) */
    margin-top: 2rem !important; /* Дополнительный margin для пространства перед контейнером */
  }
}

@media (max-width: 47.99875rem) {

  /* Разрешаем мобильному описанию нормальную ширину */
  .mobile-description {
    width: 100%;
    display: block;
  }

  /* Контейнер описания */
  .mobile-description .navigation__description-block {
    width: 100%;
    max-width: 100%;
    padding: 1rem 0;
  }

  /* ПЕРЕОПРЕДЕЛЯЕМ поведение текста только для мобилок */
  .mobile-description .navigation__description-text {
    width: 100% !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    display: block !important;
  }
}




.circle__cards-set {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}
.circle__card-others {
  width: 1000px;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  white-space: nowrap;
  padding-bottom: 20px !important;
}
.circle__card-others-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: 700px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-left: -200px;
  padding-bottom: 20px !important;
}
.circle__card-inner {
  min-width: 125px !important;
  flex: 0 0 auto;
}
.circle__card-others::-webkit-scrollbar {
  height: 8px;
}
.circle__card-others::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}
.circle__card-others::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}
.circle__card-others::-webkit-scrollbar-thumb:hover {
  background: #888;
}
.circle__cards-set[hidden] {
  display: none !important;
}

@media (max-width: 47.99875rem) {
  /* Вертикальная структура карточек */
  .circle__cards-set {
    flex-direction: column;
    gap: 15px;
  }

  /* Главная карточка сверху */
  .circle__card-main {
    width: 90%;
    max-width: 300px;
    margin: 0 auto 10px auto;
    flex: 0 0 auto;
  }

  .circle__card-main img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* Остальные карточки горизонтально скроллятся */
  .circle__card-others {
    width: 700px;
    margin-left: 200px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px !important;
  }

  .circle__card-others-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    width: 450px;
    padding-left: 10px;
  }

  .circle__card-inner {
    min-width: 100px;
    flex: 0 0 auto;
    height: 15.5rem;
  }

  /* Мелкие стили */
  .circle__card-title {
    font-size: 0.8rem;
    text-align: center;
  }

  .circle__card-subscription {
    font-size: 0.7rem;
    text-align: center;
  }

  /* Скроллбар */
  .circle__card-others::-webkit-scrollbar {
    height: 6px;
  }
}
/* Специально для Safari */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 47.99875rem) {
    /* Вертикальная структура карточек */
    .circle__cards-set {
      flex-direction: column;
      gap: 15px;
    }
  
    /* Главная карточка сверху */
    .circle__card-main {
      width: 90%;
      max-width: 300px;
      margin: 0 auto 10px auto;
      flex: 0 0 auto;
    }
  
    .circle__card-main img {
      width: 100%;
      height: auto;
      border-radius: 12px;
    }
  
    /* Остальные карточки горизонтально скроллятся */
    .circle__card-others {
      width: 700px;
      margin-left: 200px;
      overflow-x: auto;
      overflow-y: hidden;
      padding-bottom: 15px !important;
    }
  
    .circle__card-others-wrapper {
      display: flex;
      gap: 10px;
      flex-wrap: nowrap;
      width: 450px;
      padding-left: 10px;
    }
  
    .circle__card-inner {
      min-width: 100px;
      flex: 0 0 auto;
    }
  
    /* Мелкие стили */
    .circle__card-title {
      font-size: 0.8rem;
      text-align: center;
    }
  
    .circle__card-subscription {
      font-size: 0.7rem;
      text-align: center;
    }
  
    /* Скроллбар */
    .circle__card-others::-webkit-scrollbar {
      height: 6px;
    }
  }
}
@media (min-width: 27.5rem) and (max-width: 48.125rem) { /* 440px - 770px */
  /* Вертикальная структура карточек */
  .circle__cards-set {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* Главная карточка сверху */
  .circle__card-main {
    width: 90% !important;
    max-width: 300px !important;
    margin: 0 auto 10px auto !important;
    flex: 0 0 auto !important;
  }

  .circle__card-main img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  /* Остальные карточки горизонтально скроллятся */
  .circle__card-others {
    width: 700px !important;
    margin-left: 200px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 15px !important;
  }

  .circle__card-others-wrapper {
    display: flex !important;
    gap: 25px !important;
    flex-wrap: nowrap !important;
    width: 450px !important;
    padding-left: 10px !important;
  }

  .circle__card-inner {
    min-width: 100px !important;
    flex: 0 0 auto !important;
  }

  /* Мелкие стили */
  .circle__card-title {
    font-size: 0.8rem !important;
    text-align: center !important;
    word-break: break-word !important; /* чтобы было в два ряда */
  }

  .circle__card-subscription {
    font-size: 0.7rem !important;
    text-align: center !important;
  }

  /* Скроллбар */
  .circle__card-others::-webkit-scrollbar {
    height: 6px !important;
  }
}

/*# sourceMappingURL=main.css.map */
