
@font-face {
  font-family: 'sb';
  src: url('ProximaNova-Semibold.woff') format('woff');
}

@font-face {
  font-family: 'b';
  src: url('ProximaNova-Bold.woff') format('woff');
}

@font-face {
  font-family: 'l';
  src: url('ProximaNova-Light.woff') format('woff');
}

@font-face {
  font-family: 'li';
  src: url('ProximaNova-LightIt.woff') format('woff');
}

@font-face {
  font-family: 'r';
  src: url('Proxima-Nova-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 't';
  src: url('ProximaNovaT-Thin.woff') format('woff2');
}

@font-face {
  font-family: 'ti';
  src: url('ProximaNova-ThinIt.woff') format('woff2');
}


:root{
  --light-color: #ffffff;
  --gray-color: #f3f4f8;
  --darkgray-color: #d0d1d4;
  --accent1-color: #0080c9;
  --accent2-color: #e0f1fa;
  --accent3-color: #F38B00;
  --accent4-color: #000276;
  --dark-color:#1A1B25;
  --darklight-color:#474166;
  --accent1-color-transparent:hsla(202, 100%, 39%, 0.4);

  --light-gradient-color: linear-gradient(135deg, var(--light-color), #ffffff57);
  --dark-gradient-color: linear-gradient(135deg, #0963B7, #011856);

}

* {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  opacity: 0;
  animation: fadeIn 0.7s ease-out forwards;
}

.mobile {
  display: none;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

a {
  text-decoration: none;
}



html{
  font-size: clamp(0.9rem, 2vw, 1.1rem); /* Устанавливаем размер шрифта */
  line-height: 140%;
}

/* Основные стили */
body {
  margin: 0;  /* Убираем стандартные отступы браузера */
  padding: 0;
  font-family: 'r', sans-serif;
  background-color: var(--light-color);
  font-size: 1rem;
}


.margin{
  padding-bottom: 2rem;
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-1.88rem); /* Поднимаем, но чуть меньше */
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
} 

header{
  display: flex;
  justify-content: center;
  background-image: url('background.jpg');
  background-size: cover;      /* картинка масштабируется и заполняет блок */
  background-position: center; /* центрируем картинку */
  background-repeat: no-repeat;/* не повторяем картинку */
  width: 100%;                 /* ширина блока (можно задать нужную) */
  height: 100vh;               /* например, высота — весь экран */
  position: relative;  
  margin-bottom: 5rem;
}


/*::::::::::::::::::::::::::::::::::::::::::::::::::*/
/* Навигация                                        */
/*::::::::::::::::::::::::::::::::::::::::::::::::::*/

.container_start {
  width: 75%;
}

.micro-slider {
  height: 570px;
  position: relative;
  width: 100%;
}

.themes
{
  background-color: var(--gray-color);
}

.slider-item {
  background: var(--gray-color);
  color: #FFF;
  display: none;
  height: 480px;
  line-height: 140%;
  left: 0;
  position: absolute;
  text-align: center;
  width: 784px;
  cursor: grab;
  border-radius: 32px;
}


.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  mix-blend-mode: screen;
  pointer-events: none; /* чтобы видео не мешало кликам по меню */
  opacity: 1;
}

.background-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  object-fit: cover;
}

.background-content {
  top: 46%;               /* смещаем на 50% сверху */
  left: 50%;              /* смещаем на 50% слева */
  transform: translate(-50%, -50%); /* корректируем положение на половину собственного размера */
  width: 75%;
  text-align: left;
  position: absolute;
  flex-direction: column;
  justify-content: center;
}

.open2{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.open3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;

  animation: blink 3s infinite ease-in-out;
}

/* 2 сек — непрозрачно, затем быстрое мигание и обратно */
@keyframes blink {
  0%, 66%   { opacity: 1; }   /* первые 2 секунды из 3 — видно (66% от 3s) */
  75%       { opacity: 0.3; } /* быстрое мигание */
  100%      { opacity: 1; }   /* снова видно */
}


/* чтобы контент был поверх видео */
header > .container_start {
  position: relative;
  z-index: 1;
}

.s1, .s2, .s3, .s4, .s5, .s6, .s7, .s8, .s9, .s10, .s11, .s12, .s13, .s14, .s15, .s16, .s17
{background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)); background-attachment: fixed; background-size: cover; -webkit-background-size: cover; background-repeat: no-repeat; background-position: center center;}



nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
	font-size: 0.9rem;
  font-family: 'sb', sans-serif;
  color: var(--light-color);
  width: 100%;
}


h1 {
  margin: 0;
  font-family: 'b', sans-serif;
  font-size: 7.5vw;
  line-height: 120%;
  background: var(--light-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h5 {
  margin-left: 5px;
  font-family: 'b', sans-serif;
  font-size: 3vw;
  line-height: 120%;
  background: var(--light-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-family: 'l', sans-serif;
  font-size: 1.5rem;
  line-height: 100%;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  color: #545454;
}

h4 {
  font-family: 'r', sans-serif;
  font-size: 1rem;
  line-height: 100%;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h2 {
  font-family: 'b', sans-serif;
  font-size: 1.1rem;
  line-height: 100%;
  color: var(--accent1-color);
}

.offer p {
  font-family: 'l', sans-serif;
  font-size: 1.50rem;
  line-height: 120%;
  background: var(--light-color);
  background-clip: text;
  margin-left: 0.3rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  bottom: 20%;
}

.offer {
  display: flex;
  height: 86%;
  justify-content: space-between;
  margin-top: 3rem;
  margin-bottom: 3rem;
  align-items: flex-start;
  flex-direction: column;
}

.content img {
  width: 100%;
}

/* Логотип */
.logo img {
  width: 9.38rem;
}

.links {
	display: flex;
	cursor: pointer;
  gap: 1.7rem;
  padding-bottom: 0.2rem;
  color: var(--light-color);
  font-size: 0.9rem;
}

#links.active {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  width: 80%;
  background-color: var(--dark-color);
  padding: 2rem;
  position: absolute;
  opacity: 0.95;
  left: 0;
  top: 9rem;
}

.link {
	position: relative;
	overflow: hidden;
  padding: 0.20rem 0;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.5rem;
}

.burger .bar {
  width: 2rem;
  height: 0.2rem;
  background-color: var(--light-color);
  border-radius: 1rem;
}

.indicator_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 75%;
  margin: 2rem auto;
  margin-top: 0rem;
  margin-bottom: 3rem;
}

.indicator_container_one {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 75%;
  margin: 0rem auto;
  margin-bottom: 1rem;
}

.indicator_item {
  background: linear-gradient(180deg,rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  color: var(--light-color);
  padding-top: 1.7rem;
  padding-bottom: 1.1rem;
  padding-left: 1.7rem;
  padding-right: 1.7rem;
}

.indicator_item_desc {
  color: var(--light-color);
  font-family: 'r';
  padding-top: 0.5rem;
  padding-bottom: 0.42rem;
  padding-left: 0rem;
  padding-right: 0.9rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
  line-height: 100%;
}

.indicator_item_number {
  font-size: 5rem;
  font-family: "b";
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.indicator_item_number_mini {
  font-size: 2.5rem;
  font-family: "b";
  line-height: 2;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.link:after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0%;
	height: 0.06rem;
	background: var(--light-color);
	transition: all 0.30s cubic-bezier(.47,.17,.3,1);
}

button img {
  width: 2rem;
}

.link:hover:after {
	left: 0;
	width: 100%;
}

.container {
  background-color: var(--light-color);
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}


.container_mini {
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  margin: 0 auto; /* Центрирование */
  box-sizing: border-box; /* Включение padding в ширину */
}

.content {
  width: 75%;
}

.grid-text {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.part {
  font-family: 'r', sans-serif;
  font-size: 1.2rem;
  color: var(--darkgray-color);
  
}

.title {
  font-family: 'b', sans-serif;
  font-size: 3rem;
  color: var(--accent1-color);
  line-height: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.under_title{
  font-family: 't', sans-serif;
  font-size: 2.56rem;
  color: var(--dark-color);
  line-height: 120%;
  margin: 0 0 1.69rem;
}

.header-description {
  font-family: 'r', sans-serif;
  font-size: 1rem;
  color: var(--dark-color);
  line-height: 140%;
}

.description {
  font-family: 'r', sans-serif;
  font-size: 1rem;
  color: var(--dark-color);
  line-height: 150%;
  margin: 0 0 0.94rem;
}

.description_small {
  font-family: 'r', sans-serif;
  font-size: 1rem;
  color: var(--dark-color);
  line-height: 130%;
  margin: 0 0 0.94rem;
}

.container_img {
  width: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.container_img img {
  width: 100%;
  margin: 0 auto;
}

.pack {
  font-size: 1.3rem;
  font-family: "b";
  margin-bottom: 0.9rem;
}


.arrow {
  width: 3rem;
  opacity: 0.7;
  cursor: pointer;
}

.arrow:hover {
  opacity: 1;
  transform: scale(1.2); /* Увеличение */
}

.arrow {
  font-size: 1.25rem;
  transition: transform 0.3s;
}

/* Общий стиль summary */
details summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.75rem 0;
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
  color: var(--accent4-color);
}

/* Стрелка */
details summary::before {
  content: "▶";
  font-size: 0.75rem;
  position: absolute;
  left: 0;
  top: 0.75rem;
  transition: transform 0.2s ease;
}

/* Поворот стрелки при открытии */
details[open] summary::before {
  transform: rotate(90deg);
}

.tab_container {
  width: 75%;
  max-width: 86%;
  overflow: hidden; 
  /* border-radius: 1rem;
  border: 0.12rem solid var(--accent2-color);*/
  background-color: var(--light-color);
  margin: 0 auto;
  margin-bottom: 4rem;
}

.tab_header {
  display: flex;
  /* border-bottom: 0.12rem solid var(--accent2-color); */
  flex-wrap: nowrap; /* не даём переноситься вкладкам */
  /* убираем justify-content */
  /* justify-content: space-between; */
  margin-bottom: 1.5rem;
}

.tab_header_item {
  flex: 1; /* равномерно растягиваем вкладки */
  display: flex;
  justify-content: center; /* чтобы текст был по центру */
  align-items: center;
  cursor: pointer;
  color: var(--dark-color);
  font-size: 1rem;
  text-align: center;
  background: linear-gradient(180deg,rgba(197, 198, 198, 0.6) 0%, rgba(197, 198, 198, 0) 100%);

  /* уменьшить боковые padding, чтобы убрать промежутки */
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0.5rem; /* уменьшил */
  padding-right: 0.5rem; /* уменьшил */
}

.tab_header_item.active {
  background: linear-gradient(180deg,rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  color: var(--light-color);
}

.tab_header_item {
  line-height: 100%;
}

.tab_item {
  display: none;
  padding-left: 0;
  padding-right: 0;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  min-height: 20vw;
  max-height: 20vw; 
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .tab_item {
    min-height: auto;
    max-height: none;
    overflow: visible;
    flex: 1 0 100%;
    margin-bottom: 0rem;
  }
}

.tab_item.active {
  display: flex;
  align-items: flex-start;
}

.tab_item_img {
  flex: 1 1 48%;
  position: relative;
}

.tab_item_img_img {
  position: relative;
  max-width: 100%;
  height: auto;
  /*border-radius: 1rem;*/
}

.tab_item_text {
  flex: 1 1 48%;
  min-height: 44vh;
  max-height: 44vh;
  overflow: hidden;
  overflow-y: auto;
}

@media (max-width: 1024px) {
  .tab_item_text {
    min-height: auto;
    max-height: none;
    overflow: visible;
    padding-top: 1rem;
    flex: 1 0 100%;
  }
}

.tab_item_text h2 {
  margin-top: 0;
}

.footer {
  color: var(--light-color);
  font-family: 'r', sans-serif;
  line-height: 140%;
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 100%;
  background: linear-gradient(180deg,rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  font-size: 0.8rem;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 75%;
  margin: 0 auto;
}

.footer_age {
  margin-top: 0.5rem
}

/* Разделительная линия */
.footer__line {
  border-top: 0.06rem solid var(--light-color);
  max-width: 75%;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.line {
  border-top: 0.06rem solid var(--darkgray-color);
  max-width: 100%;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.line0 {
  border-top: 0.12rem solid var(--accent2-color);
  max-width: 100%;
  margin: 0 auto;
}

/* CSS для скрытия горизонтального скролла */

#slider {
  overflow-x: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

#slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Нижняя часть */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--light-color);
  max-width: 75%;
  margin: 0 auto;
}

.footer__site a {
  color: var(--light-color);
  text-decoration: none;
}

.footer__site p {
  color: var(--light-color);
  text-decoration: none;
}



/*::::::::::::::::::::::::::::::::::::::::::::::::::*/
/* Скроллбар                                        */
/*::::::::::::::::::::::::::::::::::::::::::::::::::*/


::-webkit-scrollbar {
  width: 0.6rem; /* Ширина скроллбара */
  height: 0.6rem;
  background-color: var(--accent2-color); 
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent1-color-transparent);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent1-color);
}


@media (max-width: 1400px) {

  .micro-slider {
    height: 43vw;
    position: relative;
    width: 100%;
  }

    .slider-item {
    background: #E6E6E6;
    color: #FFF;
    display: none;
    height: 30vw;
    line-height: 140%;
    left: 0;
    position: absolute;
    text-align: center;
    width: 49vw;
    cursor: grab;
    border-radius: 2vw;
  }  
  
  .s1, .s2, .s3, .s4, .s5, .s6, .s7, .s8, .s9, .s10, .s11, .s12, .s13, .s14, .s15, .s16, .s17
  {background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)); background-attachment: fixed; background-size: cover; -webkit-background-size: cover; background-repeat: no-repeat; background-position: center center;} 


  .indicator_container {
    max-width: 70%;
  }

  .indicator_container_one {
    max-width: 70%;
  }

  html {
    font-size: 1rem;
    
  }
 
  .container_start {
    width: 70%;
  }

  .quiz-container{
    width: 70%;
  }

  .content {
    width: 70%;
  }  

  .container_mini {
    width: 100%;
    max-width: 100%;

  }

  .container {
    width: 100%;
  } 
  
  .tab_container {
    width: 70%;
  }
  
  .dksjeowi {
    width: 70%;
  }
  
  .kjdhxowq {
    width: 70%;
  }

  .links {
    display: none;
  }
  
  .burger {
    display: flex;
  }
}

@media (max-width: 1024px) {

  .indicator_container {
  max-width: 86%;
}

.indicator_container_one {
  max-width: 86%;
}

.container_start {
  width: 86%;
}

.arrow {
  opacity: 1;
}

.content {
  width: 86%;
}

.container_mini {
  width: 100%;
  max-width: 100%;

}

.container {
  width: 100%;
}  

header{
  height: 100vh; 
}

.links {
  display: none;
}

.burger {
  display: flex;
}   

.tab_container {
  width: 86%;
  margin-bottom: 0;
}

.dksjeowi {
  width: 86%;
}

.kjdhxowq {
  width: 86%;
}

.grid-text img {
  display: none;
}
}

@media (max-width: 1024px) {

  .micro-slider {
  height: 85vw;
  user-select: none;
}

.slider-item {
  height: 60vw;
  line-height: 140%;
  width: 60vw;
  display: none;
}

.bxmzvnty {
  gap:0rem;
  line-height: 110%;
  margin: 0 auto;
  line-height: 110%;
  max-width: 86%;
  padding-top: 1rem;
}

.dash{
  display: none;
}

.tab_header_item {
padding-left: 1.5rem;
padding-right: 1.5rem;
justify-content: flex-start;
text-align: left;
}

.tab_header {
  flex-direction: column;
}

.footer{
  display: none;
}

.mobile {
  display: block;
}

.desktop {
  display: none;
}

.indicator_container{
  grid-template-columns: repeat(1, 1fr);
  max-width: 86%;
}

.indicator_container_one{
  grid-template-columns: repeat(1, 1fr);
  max-width: 86%;
}

.grid-text {
display: flex;
justify-content: center;
gap: 1rem;
flex-direction: column;
}

.tab_item.active {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.background-content {
  top: 40%;               /* смещаем на 50% сверху */
  left: 50%;              /* смещаем на 50% слева */
  width: 86%;
  text-align: left;
  position: absolute;
  flex-direction: column;
  justify-content: center;
}

h1 {
  margin: 0;
  font-family: 'b', sans-serif;
  font-size: 3.5rem;
  line-height: 120%;
  background: var(--light-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
  
h5 {
  margin: 0;
  font-family: 'b', sans-serif;
  font-size: 2rem;
  line-height: 120%;
  background: var(--light-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'b', sans-serif;
  font-size: 1.1rem;
  line-height: 100%;
  color: var(--accent1-color);
}

.offer p {
  font-family: 'l', sans-serif;
  font-size: 1.3rem;
  line-height: 120%;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  background-clip: text;
  margin-left: 0.1rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__container {
  max-width: 86%;
}

/* Разделительная линия */
.footer__line {
  max-width: 86%;
}

/* Нижняя часть */
.footer__bottom {
  max-width: 86%;
}

.indicator_item_number {
  font-size: 3rem;
}

.indicator_item_number_mini {
  font-size: 1.5rem;
  font-family: "b";
  line-height: 3.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}  
}

.benefit_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 100%;
  margin: 2rem auto;
}

.benefit_column {
  background: linear-gradient(180deg, rgba(0, 128, 201, 1) 0%, rgba(83, 1, 224, 1) 100%);
  color: var(--light-color);
  padding-top: 1.7rem;
  padding-bottom: 1.1rem;
  padding-left: 1.7rem;
  padding-right: 1.7rem;
  text-align: center;  
}

.benefit_column img {
  padding-bottom: 0.5rem;
  width: 80%;
}

.line-icons img {
  padding-bottom: 1.5rem;
  width: 40%;
}

@media (max-width: 599px) {
  .benefit_container {
    grid-template-columns: 1fr;
  }
}

.future_slider_container {
  margin: 0rem auto;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.future_slider {
  display: flex;
  width: 100%;
  min-width: 100%;
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  box-sizing: border-box;
}

.future_slider_item {
  min-width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: none;  
  margin-bottom: 1rem;
  overflow-y: auto;
  align-items: flex-start; /* Выравнивание по верхнему краю */
  padding: 0;
  box-sizing: border-box;
}

.future_slider_item.active {
  display: grid;
  grid-template-columns: 1fr;
  align-content: flex-start; /* Выравнивание содержимого по верху */
  padding: 0;
  box-sizing: border-box;
}

.future_slider_item_img {
  width: 100%;
  min-width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start; /* Выравнивание изображения по верху */
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.future_slider_item_img img {
  width: 100%;
  min-width: 100%;
  height: auto;
  object-fit: contain;
  align-self: flex-start; /* Выравнивание изображения по верху */  
  padding: 0;
  box-sizing: border-box;
  padding-bottom: 2rem;
}

.future_slider_item_text {
  height: auto;
  overflow-y: auto;
  align-self: flex-start; /* Выравнивание текста по верху */
  
  padding: 0;
  box-sizing: border-box;
  padding-bottom: 2rem;
}

.future_slider_item_text ul {
  padding-left: 20px; /* Отступ для маркеров */
  margin: 0.5rem 0; /* Отступы сверху и снизу */
  list-style-type: disc; /* Тип маркера */
}

.future_slider_item_text li {
  margin-bottom: 0.3rem; /* Отступ между пунктами */
  line-height: 1.4; /* Межстрочный интервал */
}

/* Для адаптивных версий */
@media (min-width: 768px) {
  .future_slider_item_text ul {
    padding-left: 25px;
  }
}

/* Адаптивные стили для планшетов */
@media (min-width: 768px) {
  .future_slider_item.active {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start; /* Выравнивание по верху в горизонтальном режиме */
  }
  
  .future_slider_item_img,
  .future_slider_item_text {
    align-self: flex-start; /* Выравнивание колонок по верху */
  }
}

/* Адаптивные стили для десктопов */
@media (min-width: 1024px) {
  .future_slider_item.active {
    gap: 2rem;
  }
}

.navigation_manual {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

.manual_btn {
  width: 12px;
  height: 12px;
  background: rgba(197, 198, 198, 0.6);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  margin: 0 8px;
}

.manual_btn:hover,
.manual_btn.active {
  background: linear-gradient(180deg, rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
}

.future_slider::-webkit-scrollbar {
  display: none;
}

.slider-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.after-img {
  width: 100%;
  display: block;
  user-select: none;
}

.before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.before-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: initial;
  min-width: 100%;
  user-select: none;
}

.slider-handle {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 4px;
  background: white;
  cursor: ew-resize;
  z-index: 2;
  transform: translateX(-50%);
}

.slider-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.blockquote_main {
  margin: 3rem auto;
  background: var(--accent2-color);
  color: var(--dark-color);
  padding: 30px 30px 30px 90px;
  position: relative;
  font-family: 'r', sans-serif;
  font-size: 1.2rem;
}

.blockquote_main:before {
  content: "\201C";
  font-family: 'r', sans-serif;
  position: absolute;
  left: 20px;
  top: 20px;
  color: white;
  background: linear-gradient(180deg, rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 3.5rem;
  line-height: 1.35;
  text-align: center;
}

/* Анимация активируется при наличии класса 'animate' */
.blockquote_main.animate_spin:before {
  animation: spinPauseReturn 3s ease-in-out forwards; /* forwards чтобы сохранить финальное состояние */
}

@keyframes spinPauseReturn {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(180deg);
  }
  60% {
    transform: rotate(360deg);
  }
}

.blockquote_main p {
  margin: 0 0 16px;
  font-size: 1.2rem;
  line-height: 1.8rem;
}
.blockquote_main cite {
  font-style: 'li', sans-serif;
  font-size: 1rem;
}

.blockquote_mini {
  margin-top: 1rem;
  margin-bottom: 1rem;
  background: var(--accent2-color);
  color: var(--dark-color);
  padding: 20px 20px 20px 50px;
  position: relative;
  font-family: 'r', sans-serif;
  font-size: 1rem;
}

.blockquote_mini:before {
  content: "\201C";
  font-family: 'r', sans-serif;
  position: absolute;
  left: 10px;
  top: 10px;
  color: white;
  background: linear-gradient(180deg, rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 2.5rem;
  line-height: 1.2;
  text-align: center;
}
.blockquote_mini p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.2rem;
}
.blockquote_mini cite {
  font-style: 'li', sans-serif;
  font-size: 0.9rem;
}

.twocol_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 100%;
  margin: 3rem auto;
  justify-content: center;
  align-items: center;
}

@media (max-width: 599px) {
  .twocol_container {
    grid-template-columns: 1fr;
  }
}

.twocol_column {
  color: var(--light-color);
  justify-content: center;
  position: relative;
}

.twocol_column img {
  width: 100%;
  display: block;
}

.image-container {
  position: relative;
  display: inline-block;
}

.circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #00ffbe 0%, #0080c9 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
}

/* Позиционирование первого кружка */
.circle-1 {
  top: 32%;
  left: 35%;
}

/* Позиционирование второго кружка */
.circle-2 {
  top: 50%;
  left: 60%;
}

.circle-3 {
  top: 10%;
  left: 35%;
}

.circle-4 {
  top: 40%;
  left: 60%;
}

.circle-5 {
  top: 70%;
  left: 45%;
}

.circle-6 {
  top: 50%;
  left: 35%;
}

.circle-7 {
  top: 60%;
  left: 55%;
}

/* Стили для кастомной подсказки */
.circle:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  background: linear-gradient(180deg, #0080c9 0%, #5301e0 100%);
  color: white;
  padding: 12px;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: auto;
  width: 300px; /* Фиксированная ширина */
  white-space: normal; /* Перенос текста */
  word-wrap: break-word; /* Перенос длинных слов */
  z-index: 5;
  font-family: 'l', sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  pointer-events: none;
  display: block;
}

@media (max-width: 599px) {
  .circle:hover::after {
    font-size: 0.7rem;
    max-width: 250px;
  }
}

/* Треугольный уголок подсказки */
.circle:hover::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 10px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 128, 201, 1) transparent;
  z-index: 5;
  pointer-events: none;
}

.histogram {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 300px;
  max-height: 300px;
  margin: 3rem auto;
}

.bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.histogram-bar {
  width: 5vw;
  background: linear-gradient(180deg, #0080c9 0%, #00ffbe 100%);
  position: relative;
  transition: height 0.5s ease;
  height: 0;
}

@media (max-width: 599px) {
  .histogram-bar {
    width: 15vw;
  }
}

.bar-value {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: bold;
}

.category {
  font-weight: 500;
  color: #333;
  text-align: center;
  font-size: 14px;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  max-width: 100%;
  margin: 0;
}

.button {
  border: none;
  background: linear-gradient(180deg, rgba(197, 198, 198, 0.6) 0%, rgba(197, 198, 198, 0) 100%);
  color: var(--dark-color);
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 300%;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.button.active {
  background: linear-gradient(180deg, rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  transform: translateX(+10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--light-color);
}

.button:hover {
  background: linear-gradient(180deg, rgba(83, 1, 224, 0.8) 0%, rgba(0, 128, 201, 0.8) 100%);
  transform: translateX(+10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--light-color);
}

.button-map {
  border: none;
  background: linear-gradient(180deg, rgba(197, 198, 198, 0.6) 0%, rgba(197, 198, 198, 0) 100%);
  color: var(--dark-color);
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 600%;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.button-map.active {
  background: linear-gradient(180deg, rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  transform: translateX(+10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--light-color);
}

.button-map:hover {
  background: linear-gradient(180deg, rgba(83, 1, 224, 0.8) 0%, rgba(0, 128, 201, 0.8) 100%);
  transform: translateX(+10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--light-color);
}

.map-container {
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0; /* Добавлено для центрирования самого контейнера */
  object-fit: cover;
  box-sizing: border-box;
}

.map-container-img {
  overflow: hidden;
}

.map-container img {
  margin: 0;
  transition: opacity 0.5s ease-in-out;
  position: relative;
  box-sizing: border-box;
  transition: transform 0.5s ease; /* плавный переход */
}

.points-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}


/* Стили для кастомной подсказки */
.point-map:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  background: linear-gradient(180deg, rgba(0, 128, 201, 1) 0%, rgba(83, 1, 224, 1) 100%);
  color: white;
  padding: 12px;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap; /* Перенос текста */
  word-wrap: normal; /* Перенос длинных слов */
  z-index: 5;
  font-family: 'l', sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  pointer-events: none; 
}

@media (max-width: 599px) {
  .point-map:hover::after {
    font-size: 0.7rem;
  }
}

/* Треугольный уголок подсказки */
.point-map:hover::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 10px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 128, 201, 1) transparent;
  z-index: 5;
  pointer-events: none;
}

.circle-map {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
}

.circle-map-2 {
  top: 40%;
  left: 52%;
}

.circle-map-3 {
  top: 30%;
  left: 75%;
}

.circle-map-4 {
  top: 22%;
  left: 68%;
}

.circle-map-5 {
  top: 60%;
  left: 47%;
}

.circle-map-6 {
  top: 67%;
  left: 50%;
}

.circle-map-7 {
  top: 67%;
  left: 60%;
}

.circle-map-8 {
  top: 92%;
  left: 70%;
}

.circle-map-9 {
  top: 70%;
  left: 17%;
}

.triangle-map {
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0 L20 20 L0 20 Z' fill='url(%23grad)'/%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%235301e0'/%3E%3Cstop offset='100%25' stop-color='%230080c9'/%3E%3C/linearGradient%3E%3C/svg%3E");
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  background-size: contain;
  background-repeat: no-repeat;
}

.triangle-map-1 {
  top: 65%;
  left: 60%;
}

.triangle-map-2 {
  top: 40%;
  left: 60%;
}

.triangle-map-3 {
  top: 40%;
  left: 15%;
}

.triangle-map-4 {
  top: 25%;
  left: 60%;
}

.triangle-map-5 {
  top: 34%;
  left: 76%;
}

.triangle-map-6 {
  top: 30%;
  left: 65%;
}

.triangle-map-7 {
  top: 20%;
  left: 15%;
}

.triangle-map-8 {
  top: 20%;
  left: 65%;
}

.triangle-map-9 {
  top: 28%;
  left: 73%;
}

/* Скрываем вторую картинку изначально */
.map-img[src="map_zoom.svg"] {
  display: none;
  opacity: 0;
}

.map-container {
  position: relative;
  width: 100%;
}

.map-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backface-visibility: hidden;
}

@media (max-width: 599px) {
  .map-img {
    width: 80%;
    height: auto;
  }
}

.map-img.default-map {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  z-index: 2;
}

.map-img.zoom-map {
  opacity: 0;
  transform: scale(1.1) rotateY(10deg);
  z-index: 1;
}

.map-img.default-map.hiding {
  opacity: 0;
  transform: scale(0.9) rotateY(-10deg);
}

.map-img.zoom-map.showing {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.map-img.hidden {
  display: none;
}

.map-img.visible {
  display: block;
}

/* Анимация для маркеров */
.point-map {
  transition: all 0.6s ease;
  transform-origin: center;
}

.point-map.fade-in {
  opacity: 1;
  transform: scale(1);
}

.point-map.fade-out {
  opacity: 0;
  transform: scale(0.8);
}

/* Плитки для комфортной среды */
.comfort_container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 100%;
  margin: 2rem auto;
}

.has-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 100%;
  margin: 3rem auto;
  padding: 2rem;
  padding-top: 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 599px) {
  .comfort_container {
    grid-template-columns: 1fr;
  }
}

.comfort_container.has-active .comfort_column:not(.active) {
  display: none;
}

.comfort_column.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 1rem auto;
  justify-content: center;
  align-items: center;
}

.comfort_column_img {
  width: 100%;
  min-width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start; /* Выравнивание изображения по верху */
  justify-content: center;
  padding: 0;
  box-sizing: border-box;

}

.comfort_column:not(.active) .comfort_column_img {
  cursor: pointer;
}

.comfort_column_img img {
  width: 100%;
  min-width: 100%;
  height: auto;
  object-fit: block;
  align-self: flex-start; /* Выравнивание изображения по верху */  
  padding: 0;
  box-sizing: border-box;
}

.comfort_column_text {
  position: relative;
  display: none;
}

.comfort_column.active .comfort_column_text {
  height: auto;
  overflow-y: auto;
  align-self: flex-start; /* Выравнивание текста по верху */  
  padding: 0;
  box-sizing: border-box;
  display: grid;
}

@media (max-width: 599px) {
  .comfort_column.active {
    grid-template-columns: 1fr;
  }
}
  
  .comfort_column_img,
  .comfort_column_text {
    align-self: flex-start; /* Выравнивание колонок по верху */
}


/* Стили для контейнера изображения */
.comfort_column_img {
  position: relative;
  overflow: hidden;
  display: inline-block;
  line-height: 0; /* Убираем лишнюю высоту от inline-block */
}

.comfort_column_img img {
  display: block;
  width: 100%;
  height: auto;
}

/* Элемент overlay (градиентная плашка) */
.comfort_column_img .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 128, 201, 1) 0%, rgba(83, 1, 224, 1) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Текст при наведении */
.comfort_column_img .hover-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 1.5rem;
  font-family: 'r', sans-serif;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 80%;
  line-height: 1.4; /* Восстанавливаем line-height для текста */
  margin: 0;
  padding: 0;
}

/* Эффект при наведении - ТОЛЬКО для неактивных элементов */
.comfort_column:not(.active) .comfort_column_img:hover .overlay {
  opacity: 0.8;
}

.comfort_column:not(.active) .comfort_column_img:hover .hover-text {
  opacity: 1;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, rgba(83, 1, 224, 1) 0%, rgba(0, 128, 201, 1) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 40px;
  cursor: pointer;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
}

@media (max-width: 599px) {
  .close-btn {
    top: 0.5rem;
    right: 0.5rem;
  }
}

.comfort_column.active .close-btn {
  display: flex;
}

/* Анимации */
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.colorize-animation {
  filter: grayscale(100%);
  /* Изначально без анимации, чтобы она запускалась только при появлении */
}

/* Можно оставить анимацию для запуска по классу, например, добавляя класс active */
.colorize-active {
  animation: colorize 3s ease-in-out forwards;
}

@keyframes colorize {
  0% {
    filter: grayscale(100%);
  }
  100% {
    filter: grayscale(0%);
  }
}

.background-content h1 {
  background: linear-gradient(to bottom, 
    #000276 0%,
    #0080c9 25%,
    #ffffff 50%,
    #5301e0 75%,
    #00ffbe 100%
  );
  background-size: 100% 500%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: auroraGradient 8s ease-in-out infinite;
}

@keyframes auroraGradient {
  0% {
    background-position: 0% 0%;
  }
  20% {
    background-position: 0% 25%;
  }
  40% {
    background-position: 0% 50%;
  }
  60% {
    background-position: 0% 75%;
  }
  80% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Анимация появления блока слева направо */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(10000px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.incut_container_text ul {
  padding-left: 20px; /* Отступ для маркеров */
  margin: 0.5rem 0; /* Отступы сверху и снизу */
  list-style-type: disc; /* Тип маркера */
  margin-top: -0.5rem;
}

/* Для адаптивных версий */
@media (min-width: 768px) {
  .incut_container_text ul {
    padding-left: 25px;
  }
}

.incut_container {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
  padding-right: 0;
  gap: 1.5rem;
  flex-wrap: wrap; 
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .incut_container {
    min-height: auto;
    max-height: none;
    overflow: visible;
    flex: 1 0 100%;
    margin-bottom: 0rem;
  }
}

.incut_container_img {
  flex: 1 1 48%;
  position: relative;
}

.incut_container_text {
  flex: 1 1 48%;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .incut_container_text {
    overflow: visible;
    padding-top: 1rem;
    flex: 1 0 100%;
  }
}