.header {
  margin: 0 auto;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.03em;
  /* line-height: 1.5; */
  background-color: #161717;
  height: 195px;
}
.header__wrapper {
  padding: 0 28px;
  /* min-width: 1500px; */
  margin: 0 auto;
}

section {
  color: #fff;
}

.header-top {
  position: relative;
  min-height: 128px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

/* .header-top__link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
} */

.language-selector {
  position: relative;
  display: inline-block;
}

.header-top__link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

#current-lang {
  text-transform: uppercase;
  transition: color 0.3s ease;
}
#current-lang:hover {
  color: #FDA215;
}



.lang-dropdown {
  text-transform: uppercase;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  background-color: #333;
  border: none;
  list-style: none;
  padding: 5px 0;
  display: none;
  z-index: 1000;
  min-width: 140px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-image: url('../assets/img/mob/mob-menu-bg.jpg');
  background-size: cover;
  background-position: center;
}

.lang-dropdown li {
  padding: 8px 12px;
  cursor: pointer;
}

.lang-dropdown li:hover {
  color: #FDA215;
}

.language-selector.open .lang-dropdown {
  display: block;
}


.header-top__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 77px; /* Задайте нужную высоту */
}

.header-bottom {
  background-color: #3c3c3c;
  min-height: 67px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 28px;
  
}
.header-bottom__list {
  display: flex;
  gap: 28px;
}

.header-bottom__link {
  text-transform: uppercase;
  text-decoration: none;
  /* font-size: 1.5rem; */
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);

  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}
.header-bottom__link:hover {
  color: #FDA215;
}
@media (max-width: 1200px) {
  .header-bottom__link {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
  }
  
}
@media (max-width: 1042px) {
  .header-bottom__link {
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  }
  
}
@media (max-width: 970px) {
  .header-bottom__link {
    font-size: clamp(0.8rem, 1vw, 1rem);
  }
  
}
@media (max-width: 890px) {
  .header-bottom__link {
    font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  }
  
.header-mob__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-mob__add img {
  width: 40px; /* или любое нужное значение */
  height: 40px;
}


}


.header-mob__burger {
  border: none;
  background-color: transparent;
  height: 50px;
  padding: 0;
}
/* .header-mob__burger img {
  transform: scale(1.1);
  transform-origin: center; 
} */


 .mobile-menu__nav {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: start;
  align-items: end;
  position: relative;
  z-index: 50;
  margin-top: 4rem;
}





.begin {
  position: relative;
  min-height: 1090px;
  padding-top: 46px;
  /* position: relative;
  min-height: 1090px;
  background-image: url("../assets/img/begin-bg-left.jpg");
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center; 
  overflow: hidden; 
  padding-top: 46px; */
  background-color: #000;
}




.begin__bg-r {
  position: absolute;
  top: 0;
  right: 0;
  width: 747px; /* ширина картинки */
  height: 100%;
  background-image: url("../assets/img/begin-bg-r.jpg");
  background-repeat: no-repeat;
  background-size: cover; /* или contain, в зависимости от задачи */
  background-position: center; /* или left / top */
  z-index: 0;
}

.begin__logo-conteiner {
  width: 355px;             /* нужная ширина */
  height: 186px;            /* нужная высота */
  overflow: hidden;         /* обрезаем всё, что выходит за границы */
  position: relative;
  margin: 0 auto;          /* центрируем контейнер */
  /* margin-top: 46px; */
  z-index: 15;
}

.begin__logo-conteiner img {
  width: 100%;
  height: auto;             /* сохраняем пропорции */
  position: absolute;
  top: 0;                   /* привязка к верху */
  left: 0;
}

.begin-btn {
  position: absolute;
  top: 68.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  color: #000;
  background-color: #FDA215; 
  text-transform: uppercase;
  border-radius: 8px;
  font-weight: 700;
  font-size: 51px;
  padding: 20px 40px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 85% 100%, 0 100%);
  padding: 1.5rem 8rem;
}

#current-lang-mobile {
  font-size: 1.2rem;
  font-family: 'Book Antiqua';
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1rem;
}
.lang-marker {
  width: 14px;
  height: 14px;
}
.lang-marker {
  transition: transform 0.3s ease;
}

.lang-marker.rotate {
  transform: rotate(90deg);
}


.system-section {
  min-width: 100%;
  min-height: 727px;
  position: relative;
  
  
}
.system-section__wrapper {
  width: 100%;
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translate( -50%, -15%);
  
}

.system-section__bg-img {
  min-width: 100%;
  min-height: 727px;
  background-image: url("../assets/img/system-section-bg.png");
  
  opacity: 0.22;
  position: absolute;
  top: 0;
  left: 0; 
  z-index: -1;
}

.system-section__card {
  position: relative;
  display: flex;
  /* align-items: center; */
  max-width: 1336px;
  margin: 0 auto;
  /* justify-content: center; */
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  bottom: 0;
  transition: bottom 0.4s ease; /* <== ПЛАВНОСТЬ */
  
}
.system-section__card:hover {
  bottom: 1rem;
}

.system-card--left {
  text-align: center;
  background-image: url("../assets/img/system-card-left.png");
  min-width: 770px;
  min-height: 612px;
  background-size: 101%; /* увеличено на 10% */
  background-position: center;
  background-repeat: no-repeat;
  
}
.system-card--right {
  max-width: 565px;

}
.system-card--right > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-card__icon-conteiner {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 80px;
  padding-top: 58px;
}

.system-card__title {
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;

}

.system-card__title--medium {
  font-size: 2rem;

}

.system-card__title--bold {
  font-size: 6rem;
  line-height: 1;
}

.system-card__title--regular {
  font-size: 1.5rem;
}

.system-card__btn {
  color: #000;
  background-color: #FDA215; 
  text-transform: uppercase;
  border-radius: 3px;
  font-weight: 700;
  font-size: 2rem;
  padding: 20px 40px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 85% 100%, 0 100%);
  padding: 0;
  width: 301px;
  height: 70px;
  /* border: 10px solid red; */
}

.system-card__btn--nofill {
  color: #FDA215;
  background-color: transparent;
  background-image: url("../assets/img/nofill-btn.svg");
}

.system-card__btn-container {
  display: flex;
  gap: 58px;
}

.events {
  width: 100%;
  height: 821px;
  background-image: url("../assets/img/events-bg.png");
}



.section-title {
  font-size: clamp(2rem, 6vw, 5.5rem);
  text-transform: uppercase;
  text-align: center;
}

.events__title {
  padding-top: 66px;

}

.news__title {
  padding-top: 66px;
  padding-bottom: 35px;
}


.news-card__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.news-card {
  position: relative;
  max-width: 599px;
  z-index: 10;
  background-image: url("../assets/img/system-card-left.png");
  transition: bottom 0.3s ease; /* Плавность при изменении bottom */
  bottom: 0; /* нужно задать начальное значение */
}

@media (min-width: 768px) {
  .news-card:hover {
    bottom: 1.5rem;
  }
  .news-card:hover .news-card__content {
    top: calc(335px + 1.5rem);
  }
  
  .news-card:hover .news-card__img-comteiner {
    /* height: calc(295px - 30px); уменьшение высоты */
  }
  
  .news-card:hover .news-card__img {
    transform: scale(1.1); 
  }
  .news-card:hover .overlay {
    background-color: rgba(0, 0, 0, 0);
  }

  .begin__bg-left {
    background-image: url();
  }


}

/* НАДО ДОДЕЛАТЬ АНИМАЦИЮ!!!!!!!!!!!!! */

.news-card__img-comteiner {
  position: relative;
  width: 100%;
  height: 295px;
  overflow: hidden;
  transition: height 0.4s ease;
}

.news-card__img {
  width: 595px;
  height: 100%;
  object-fit: cover; /* обрезает изображение по контейнеру, не искажая его */
  display: block;
  transition: transform 0.4s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* степень затемнения */
  pointer-events: none; /* чтобы не мешал кликам */
  transition: background-color 0.4s ease; /* <== ПЛАВНОСТЬ */
}

.news-card__bottom {
  min-height: 309px;
}

.news-card__content {
  width: 90%;
  height: 220px;
  position: absolute;
  left: 50%;
  top: 335px;
  transform: translate( -50%, 0%);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: top 0.3s ease; /* плавность смещения вверх */
  
}

.news-card__title {
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  padding-bottom: 1.5rem;
}

.news-card__text, .news-card__date {
  font-size: 1rem;
  letter-spacing: 0.02rem;
  font-weight: 500;

}

.news-card__date {
  color: #FDA215;
}

.news {
  
}

.community {
  min-height: 900px;
  position: relative;
  z-index: 0;
  /* убрать background-image, если он переехал в __bg */
}

.community__bg {
  position: absolute;
  top: -45%;
  left: 0;
  width: 100%;
  height: 100%; /* или можно 150% */
  background-image: url('../assets/img/gif.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  
}


.community__title {
  margin: 75px 0 55px 0;
}

.community__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
}

.community__card-wrapper {
  position: relative;
  width: 362px;
  height: 569px;
  overflow: hidden;
  bottom: 0;
  transition: bottom 0.4s ease;
  z-index: 10; /* чтобы карточки были поверх фона */
}

.community__card-wrapper > img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* обрезает изображение по контейнеру, не искажая его */
  /* transform: scale(1.01);  */
}

.community__card-wrapper:hover {
  bottom: 1rem;
}
.overlay-orange {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
  background: linear-gradient(to top, rgba(255, 166, 0, 0.384), transparent); /* градиент от оранжевого вверх */
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* чтобы не мешал клику по ссылке */
  z-index: 11;
}

.community__card-wrapper:hover .overlay-orange {
  opacity: 1;
}



.footer {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.6);
  padding-bottom: 3rem;
  position: relative;
}


.swiper {
  width: 100%; /* или фиксированная ширина, если нужно */
  height: 420px; /* например, фиксированная высота */
  position: relative; /* чтобы слайдеры были позиционированы относительно контейнера */
}

.swiper-slide {
  transform: scale(0.8);
  transition: transform 0.3s ease;
  opacity: 0.6;
  z-index: 1;
}

.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 3;
}

.swiper-slide-next,
.swiper-slide-prev {
  transform: scale(0.9);
  opacity: 0.8;
  z-index: 2;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* или contain / fill, смотри ниже */
  display: block;
}


.footer__icon-img-conteiner {
  display: inline-block;
  width: 90px;   /* Задай нужный размер */
  height: 90px;
  margin-right: 10px; /* отступ между иконками */
}

.footer__icon-img-conteiner img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* или cover, если хочешь, чтобы иконка полностью заполняла контейнер */
  display: block;
}

.footer__title {
  padding-top: 235px;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.footer__text {
  font-size: 1.2rem;
  padding-top: 20px;
  padding-bottom: 20px;
}



.time-container {
  border: 1px solid #cccccc85;
  padding: 10px 20px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: white;
  border-radius: 5px;
  width: fit-content;
  margin: 0 auto;
  margin-top: 59px;
  margin-bottom: 59px;
}

.time-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.label {
  font-weight: bold;
  font-size: 18px;
}

.time {
  font-size: 19.5px;
  font-weight: bold;

}





.clock-icon {
  width: 24px;
  height: 24px;
}

.footer__old {
  background-color: #FDA215;
  border-radius: 3px;
  width: 7rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer__old {
    width: 3.7rem;
    height: 4rem;
    font-size: 2rem;
  }
  .time-container {
    padding: 5px 10px;
    gap: 20px;
    margin-top: 28px; 
    margin-bottom: 28px; 
  }
}



/* @keyframes rippleJump {
  0% {
    background-position: 50% 50%;
  }
  25% {
    background-position: 48% 52%;
  }
  50% {
    background-position: 52% 49%;
  }
  75% {
    background-position: 49% 51%;
  }
  100% {
    background-position: 50% 50%;
  }
}

.footer__bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 150%;
  background-image: url("../assets/img/footer/bg.png");
  background-size: cover;
  background-position: 50% 50%;
  animation: rippleJump 0.8s steps(4, end) infinite;
  z-index: 0;
} */


/* @keyframes rippleBackground {
  0% {
    background-position: 50% 50%;
  }
  10% {
    background-position: 52% 48%;
  }
  20% {
    background-position: 49% 53%;
  }
  30% {
    background-position: 51% 49%;
  }
  40% {
    background-position: 50% 52%;
  }
  50% {
    background-position: 48% 50%;
  }
  60% {
    background-position: 51% 48%;
  }
  70% {
    background-position: 50% 51%;
  }
  80% {
    background-position: 49% 49%;
  }
  90% {
    background-position: 52% 50%;
  }
  100% {
    background-position: 50% 50%;
  }
}

.footer__bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 150%;
  overflow: hidden;
  background-image: url("../assets/img/footer/bg.png");
  background-size: cover;
  background-position: 50% 50%;
  animation: rippleBackground 1.5s linear infinite;
  opacity: 1;
  z-index: 0;
} */


/* @keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  25% {
    background-position: 20% 10%;
  }
  50% {
    background-position: 40% 0%;
  }
  75% {
    background-position: 20% -10%;
  }
  100% {
    background-position: 0 0;
  }
}

.footer__bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 150%;
  overflow: hidden;
  background-image: url("../assets/img/footer/bg.png");
  background-size: cover;
  background-position: center;
  animation: moveBackground 1s ease-in-out infinite;
  opacity: 1;
  z-index: 0;
} */

.footer__bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 150%;
  overflow: hidden;
  background-image: url("../assets/img/gif3.gif");
  background-size: cover;
  background-position: center;
  opacity: .02; 
  z-index: -1000;
  pointer-events: none;
}

.footer {
  position: relative;
  z-index: 2;
  /* overflow: hidden; */
}









/* Основное меню */




.header-bottom__item {
  position: relative;
}



/* Стрелка (по умолчанию) */
.header-bottom__link img {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Поворот стрелки при открытии */
.header-bottom__link[aria-expanded="true"] img {
  transform: rotate(0deg);
}

/* Подменю */
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  background: #2c2c2c;
  
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 160px;
  z-index: 100;
  background-image: url('../assets/img/mob/bg-mob-menu.jpg');
}


/* Элементы подменю */
.dropdown-list li a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease;
}

.dropdown-list li a:hover {
  color: #FDA215;
  background-color: transparent;
}



.has-submenu > button {
  background-color: transparent;
  border: none;
}

.header-mob {
  display: none;
}

.mob {
  display: none;
}


@media (max-width: 768px) {
  .mob {
  display: block;
}
  .header-mob {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    position: relative;
  }

  .header-bottom, .header__wrapper {
    display: none;
  }
  .header {
    height: 100px;
    padding-top: 58px;
  }
  .header-mob > a{
    display: block;
  }
  .header-bottom__nav {
    display: none;
    position: absolute;
  }
  
  .begin-btn {
    display: none;
    display: none;
  }
  .begin, .begin__bg-left {
    max-width: 100%;
    max-height: 455px;
    min-height: 455px;
  }
  .begin__bg-r {
    display: none;
  }

  .begin {
    padding-top: 23px;
  }

  .begin__logo-conteiner  img{
     width: 181px;
  height: 99px;
  object-fit: contain;
  right: 0;
  left: auto;
  }

  
  .system-mob {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 412px;
    min-width: 100%;
    background-color: #797979;
    background-image: url("../assets/img/mob/7410bbc3-66ac-4702-b373-6c290771223a\ \(1\)\ 1.png");
    background-size: cover;
  }

  .header-mob {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  height: 0px;
  position: relative;
}

/* Центрируем логотип */
.header-mob > img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 40px; /* настрой по нужному размеру */
  z-index: 1;
}

/* Левая кнопка */
.header-mob .burger {
  z-index: 2; /* чтобы не перекрывалась логотипом */
}

/* Правая кнопка */
.header-mob a:last-of-type {
  z-index: 2;
}

  
}


.system-mob__card {
  background-color: #fff;
  text-align: center;
  border-radius: 10px;
  

}

@media (max-width: 1379px) {
  .begin__bg-r {
    display: none;
  }
  
}

@media (max-width: 768px) {
  .system-card__title--medium {
    color: #000;
    font-size: 0.7rem;
  }
  .system-card__title--bold {
    color: #000;
    font-size: 1.5rem;

  }
  .system-card__title--regular {
    color: #000;
    font-size: 0.7rem;
    letter-spacing: .01rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 16px;
    
  }

  .system-card__btn-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .system-card__icon-conteiner {
    padding: 23px;
  }

  .system-card__btn {
    font-size: 1.2rem;
    width: 161px;
    height: 37px;
  }
  .system-card__btn--nofill {
    background-image: url("../assets/img/mob/btn.svg");
  }
  .system-mob__card {
    width: 80%;
    
  }


  .events {
    height: auto;
  }

  .section-title {
    font-size: 2rem;
  }

  
  
  .news-card__img-comteiner {
    height: 167px;
  }
  .news-card__img-comteiner  img{
    transform: scale(1.2);
    transition: transform 0.4s ease;
    
  }
  .news-card__content {
    top: 187px;
  }

  .news-card__title {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
  }
  .news-card__content {
    height: 190px;
  }
  .news-card__text, .news-card__date {
    font-size: 0.8rem;
    letter-spacing: 0.01rem;
  }
  /* .news-card:hover .news-card__content {
  top: calc(187px + 1.5rem);
  } */
  .news-card__bottom {
    min-height: 250px;
  }
  /* .news-card__bottom:hover {
    height: 50px;

  } */

  .community__card-wrapper {
    height: auto;
    width: auto;
  }


  .community {
    min-height: auto;
    padding-bottom: 55px;
  }

  
  .footer__title {
    padding-top: 31px;
    font-size: 1.2rem;

  }
  .footer__text {
    font-size: .8rem;
    padding-top: 10px;
    padding-bottom: 14px;
  }
  .footer__icon-img-conteiner {
    width: 60px;   /* Задай нужный размер */
    height: 60px;
    margin-right: 5px; /* отступ между иконками */
  }

  
  .time {
    font-size: 0.6rem;
    
  }
  
  .label {
    font-size: 0.6rem;
  }
  
  .time-container {
    padding: 5px 10px;
    gap: 5px;
    margin-top: 28px; 
    margin-bottom: 28px; 
  }
  .time-block {
    gap: 5px;
  }
  .clock-icon {
    width: 1rem;
    margin-left: 1rem;
  }


}



.blade {
        width: 100%;
        height: 100%; /* или задать конкретную высоту, например: height: 400px; */
        position: relative;
        overflow: hidden;
    }

    .blade__img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* сохраняет пропорции, обрезая изображение при необходимости */
        display: block;
    }

.video video {
  width: 100%;      /* ширина видео 100% от родителя */
  height: auto;     /* высота подстраивается по ширине, сохраняет пропорции */
  display: block;   /* чтобы убрать отступы под видео */
  background-color: #000;
}




.about-description {
    padding: 20px;
    background-color: #f9f9f9; /* светлый фон для контента */
    color: #000; /* черный текст */
    
    background-image: url('../assets/img/about/description-bg.png'); /* фоновое изображение */

}

.about-description__wrapper {
    margin: 0 auto; /* центрирование */
    padding: 3% 0; /* отступы внутри контейнера */
    max-width: 1275px; /* максимальная ширина для больших экранов */
    display: flex;
    flex-direction: column; /* вертикальное расположение элементов */
    gap: 20px; /* отступы между элементами */
}

.about-description__text {
    font-size: 1.5rem; /* размер шрифта */
    line-height: 1.6; /* межстрочный интервал */
    
}

@media (max-width: 768px) {
    .about-description__text {
        font-size: .8rem; /* уменьшение размера шрифта на мобильных устройствах */
    }
    .about-description {
      background-size: contain;
    }
  
}


.about-presentation {
    min-height: 889px;
    display: flex;
    flex-direction: column; /* вертикальное расположение элементов */
    justify-content: center; /* выравнивание по центру */
    align-items: center; /* выравнивание по центру */
    text-transform: uppercase;
    text-align: center;
    
}

.big-card {
    width: 1335px; /* максимальная ширина для больших экранов */
    color: #000;
    height: 613px; /* высота карточки */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    
}


.big-card__img {
    width: 43%;
    height: 100%;
    background-image: url('../assets/img/about/bigcardimg.jpg'); /* фоновое изображение */
    background-size: 110% 110%;
    background-position: center;
    background-repeat: no-repeat;
}

.big-card__content {
    width: 57%;
    display: flex;
    flex-direction: column; /* вертикальное расположение элементов */
    justify-content: space-around; /* выравнивание по центру */
    align-items: center; /* выравнивание по центру */
    background-image: url("../assets/img/about/big-card-white-bg.jpg");
    height: 100%;
    padding: 2rem 0;

}

.big-card__btn-conteiner {
    display: flex;
    flex-direction: column;
    gap: 20px; /* отступы между кнопками */
    /* width: 100%; */
    justify-content: center; /* выравнивание по центру */
}

.big-card__btn {
  width: 301px;
  height: 70px;
  border: none;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.1rem;
}

.big-card__title {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
}


.big-card__text {
  font-size: 2rem;
  font-weight: 700;
}



.section-one {
  color : #000;
  /* background-color: #fff; */
  display: flex;
  width: 100%;
  height: 100vh;
  background-image: url('../assets/img/cup/section-one-bg.jpg');
  overflow: hidden;
}

.section-one__l {
  width: auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
}
.section-one__text {

  display: flex;
  flex-direction: column; /* вертикальное расположение элементов */
  gap: 20px; /* отступы между элементами */
  font-size: 1.5rem;
}




.section-one__r {
  
    height: 100%; /* высота секции */
    width: 500px;

}
@media (max-width: 768px) {
  .section-one {
  width: 100%;
  height: auto;
  background-image: url('../assets/img/cup/section-one-bg.jpg');
  overflow: hidden;
  padding: 15% 5%; /* отступы сверху и снизу */
}
  .section-one__text {
    font-size: .9rem;
    text-transform: none;
  }
  .section-one__r--mob {
    position: absolute;
    z-index: 15;
    bottom: 0;
    right: 0;
    background-image: url('../assets/img/mob/cup-one-bg-r.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position:  right;
    width: 100%;
    height: 100%;
  }
  
}


.section-one__r > img {
    /* width: 500px; */
    height: 100%;
    object-fit: cover; /* сохраняет пропорции, обрезая изображение при необходимости */
    display: block;
}

.big-card__text--small {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #000;
}

.big-card__content--no-img {
    width: 57%;
    display: flex;
    flex-direction: column; /* вертикальное расположение элементов */
    justify-content: space-around; /* выравнивание по центру */
    align-items: center; /* выравнивание по центру */
    background-color: #fff;
    height: 100%;
    padding: 2rem 0;

}

@media (max-width: 900px) {
  .big-card__content--no-img {
    width: 80%;
    padding: 1rem;
    
  }

  .big-card__content--no-img {
    height: 320px;
  }
  
}


.big-card__img-cup {
    width: 43%;
    height: 100%;
    background-image: url('../assets/img/cup/card-r.jpg'); /* фоновое изображение */
    background-size: 110% 110%;
    background-position: center;
    background-repeat: no-repeat;
}

.scheme-card-bg {
  background-image: url('../assets/img/cup/bg-card.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-color: #1b1b1b;
}


.section-one__l--comtacts {
  max-width: 80%;
  padding-right: 20%;
  padding-left: 15%;
}
.section-one {
  position: relative;
  overflow: hidden;
}

.contacts-description__text {
  position: relative;
  z-index: 10;
}

@media (max-width: 900px) {
  .contacts-description__text {
    font-size: 1rem; /* уменьшение размера шрифта на мобильных устройствах */
    text-align: center; /* выравнивание текста по центру */
  }
  .section-one__r--contacts {
    position: absolute;
  z-index: 0;
  bottom: 0;
  right: 0;
  background-image: url('../assets/img/contacts/one-r.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  opacity: 0.4; /* уменьшение прозрачности */
    
  }
 .section-one__l--comtacts {

   max-width: 100%; 
 padding-right: 4rem; 
 padding-left: 0; 
 margin-bottom: 3rem;
 }
  
}

.section-one__r--contacts {
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: 0;
  background-image: url('../assets/img/contacts/one-r.png');
  background-size: cover;
  background-position: center;
  width: 100%;
}


.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #292929;
  color: #fff;
  z-index: 10000;
  padding: 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  background-image: url('../assets/img/mob/bg-mob-menu.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
  text-align: end;
 
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu__summary-text-bottom a {
  font-size: 1rem !important;
  border-bottom:2px solid #FDA215;
  line-height: 1.5 !important;
}

.border-bottom {
  
}

.lang-dropdown--mobile {
  display: none;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  background: transparent;
  border: none;
}

.lang-dropdown--mobile.open {
  display: inline-block;
  text-align: center;
}

.header-top__link--mobile {
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  gap: 10px;
  color: #fff;
}

.mobile-menu__close {
  position: absolute;
  width: 2rem;
  height: auto;
  padding: 0;
  top: -4.5rem;
  right: 0rem;
  font-size: 3rem;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
  color: #FDA215;
  z-index: 100;
  
}



.mobile-menu nav ul {
  list-style: none;
  padding: 0;
  /* margin-top: 1rem; */
}

.mobile-menu nav ul li {
  margin-bottom: 1rem;
}

.mobile-menu nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
}

details summary {
  cursor: pointer;
  font-size: 1.2rem;
}


details ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
}


.location {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
  padding: 2% 0 5% 0;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .location {
    padding: 5% 0; /* увеличиваем отступы */
  }
  
}

.location__l {
  background-color: #fff;
  border-radius: 30px;
  max-width: 400px;
  max-height: 348px;
  color: #000;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  padding: 3%;
  position: relative;
  z-index: 10; /* чтобы текст был поверх фонового изображения */
}

.location__r {
  position: relative;
  width: 1018px; /* Ширина 100% родительского контейнера */
  height: auto; /* Высота автоматически подстраивается под содержимое */
  overflow: hidden; /* Скрывает содержимое, выходящее за границы контейнера */
  display: flex; /* Используем flex для центровки изображения */
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  position: relative;
}

.location__r-img {
  max-width: 100%; /* Максимальная ширина 100% */
  height: auto; /* Высота автоматически подстраивается под пропорции */
  display: block; /* Убираем обтекание текстом */
  position: relative;
  z-index: 10; /* Устанавливаем z-index, чтобы изображение было поверх фона */
}

/* Опционально: если нужно центровать изображение по вертикали */
.location__r-img {
  margin: 0 auto; /* Центрует изображение по вертикали */
}


.location__title {
  font-size: clamp(.5rem, 6vw, 2.5rem);
  
}

.location__r-point {
    background-image: url('../assets/img/contacts/point.svg');
    background-repeat: no-repeat;
    background-position: center; /* Центрируем изображение внутри кнопки */
    position: absolute; /* Позиционируем абсолютно */
    z-index: 10;
    border: none;
    background-color: transparent;
    width: 15px;
    height: 15px;
    top: 52%; /* Перемещаем элемент в центр по вертикали */
    left: 9%; /* Перемещаем элемент в центр по горизонтали */
    transform: translate(-50%, -50%); /* Применяем трансформацию для центровки */

}



.big-card__logo-conteiner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}











.location__r-point {
  background-image: url('../assets/img/contacts/point.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  z-index: 10;
  border: none;
  background-color: transparent;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
  cursor: pointer;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal__content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}


.coach-doc {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  gap: 20px;
  padding: 20px;
  min-height: 828px;
  text-transform: uppercase;
  padding: 5%;
  position: relative;
}

.coach-doc__content {
  max-width: 600px;
  /* text-align: center; */
  position: relative;
  z-index: 2; /* чтобы текст был поверх фонового изображения */
}

.coach-doc__title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.coach-doc__text {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 30px;
}

.coach-doc__img-conteiner {
  background-image: url('../assets/img/coach-council/bg-section-one.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 55%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}



.coach-description {
  background-color: #ccc;
  background-image: url('../assets/img/coach-council/bg-sectin-two.jpg');
  background-size: cover;
  background-position: center;
  /* background-repeat: no-repeat; */
  padding: 50px 0;
  color: #000;

}

.coach-description__content-text {
  max-width: 70%;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
}



.coach-description__content-text h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.coach-description__content-text p {
  margin-bottom: 15px;
}

.coach-description__content-text ul {
  list-style-type: disc;
  padding-left: 40px; /* левый отступ для точек */
  margin-bottom: 20px;
}

.coach-description__content-text li {
  margin-bottom: 10px;
}


.coach-description__btn {
  margin: 0 auto;
  display: flex;
  width: 22rem;
  margin-top: 3rem;
  align-items: center;
  justify-content: center;
}


@media (max-width: 768px) {
  .coach-description__btn {
    font-size: 1rem !important;
  }
  .coach-description__content-text {
    max-width: 90%;
    font-size: 1rem;
  }
  .coach-description__btn {
    width: 100%;
    font-size: 1.2rem;
    padding: 10px;
  }

  .coach-doc__img-conteiner {
  background-image: url('../assets/img/mob/sovet-bg-one.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.coach-doc__content {
  max-width: 600px;
  /* text-align: center; */
  position: relative;
  z-index: 2; /* чтобы текст был поверх фонового изображения */
}

.coach-doc__title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.coach-doc__text {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 30px;
}

.coach-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 20px;
  min-height: auto;
  text-transform: uppercase;
  padding: 5%;
  position: relative;
}
  
}

/* КНОПИКИ */
.small-card__btn {
  color: #000;
  background-color: #FDA215; 
  text-transform: uppercase;
  border-radius: 3px;
  font-weight: 700;
  font-size: 1rem;
  padding: 20px 40px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 85% 100%, 0 100%);
  padding: 0;
  width: 117px;
  height: 28px;
  /* border: 10px solid red; */
}

.small-card__btn--nofill {
  color: #FDA215;
  background-color: transparent;
  background-image: url("../assets/img/coach-council/Subtract.svg");
  background-position: right;
}

.small-card__btn-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.small-card {
  width: 607px;
  height: 278px;
  display: flex;
}

.small-card__content-l {
  width: 60%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: #5E5D5D;
  text-align: center;
}

.coach-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Центрируем весь блок по горизонтали */
  column-gap: 70px; /* Горизонтальный отступ между карточками */
  row-gap: 50px; /* Вертикальный отступ между строками */
  padding: 231px 0; /* при необходимости */
}

#small-card-1 {background-image: url('../assets/img/coach-council/cards/1.jpg');}
#small-card-2 {background-image: url('../assets/img/coach-council/cards/2.jpg');}
#small-card-3 {background-image: url('../assets/img/coach-council/cards/3.jpg');}
#small-card-4 {background-image: url('../assets/img/coach-council/cards/4.jpg');}

#small-card-rules-1 {background-image: url('../assets/img/doc-rules/1.png');}
#small-card-rules-2 {background-image: url('../assets/img/doc-rules/2.png');}
#small-card-rules-3 {background-image: url('../assets/img/doc-rules/3.png');}
#small-card-rules-4 {background-image: url('../assets/img/doc-rules/4.png');}
#small-card-rules-5 {background-image: url('../assets/img/doc-rules/5.png');}
#small-card-rules-6 {background-image: url('../assets/img/doc-rules/6.png');}
#small-card-rules-7 {background-image: url('../assets/img/doc-rules/7.png');}
#small-card-rules-8 {background-image: url('../assets/img/doc-rules/8.png');}
#small-card-rules-9 {background-image: url('../assets/img/doc-rules/9.png');}


.small-card__wrapper {
  background-repeat: no-repeat;
  overflow: hidden;

}

@media (max-width: 768px) {
#small-card-1 {background-image: none;}
#small-card-2 {background-image: none;}
#small-card-3 {background-image: none;}
#small-card-4 {background-image: none;}

#small-card-rules-1 {background-image: none;}
#small-card-rules-2 {background-image: none;}
#small-card-rules-3 {background-image: none;}
#small-card-rules-4 {background-image: none;}
#small-card-rules-5 {background-image: none;}
#small-card-rules-6 {background-image: none;}
#small-card-rules-7 {background-image: none;}





  .small-card__btn {
  color: #000;
  background-color: #FDA215; 
  text-transform: uppercase;
  border-radius: 3px;
  font-weight: 700;
  font-size: 1rem;
  padding: 20px 40px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 85% 100%, 0 100%);
  padding: 0;
  width: 117px;
  height: 28px;
  /* border: 10px solid red; */
}

.small-card__btn--nofill {
  color: #FDA215;
  background-color: transparent;
  background-image: url("../assets/img/coach-council/Subtract.svg");
  background-position: right;
}

.small-card__btn-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.small-card {
  width: 80vw;
  height: 278px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  
}

.small-card__content-l {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: #5E5D5D;
  text-align: center;
  border-radius: 10px;
}

#small-card-1 {background-image: none;}
#small-card-2 {background-image: none;}
#small-card-3 {background-image: none;}
#small-card-4 {background-image: none;}
.small-card__wrapper {
  background-repeat: no-repeat;
  overflow: hidden;

}

.coach-cards {

  padding: 10% 0; /* при необходимости */
}


  
}



.doc-nav {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.doc-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.doc-nav__link {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 15px 60px;
  border: 1px solid #F1BD20;
  background-color: #0000005b;
  border-bottom: none;
}

.doc-nav__link--active {
border: 1px solid #ffa200;
border-bottom: none;

background: linear-gradient(180deg, #ffa200,#ff9500);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */                                        
}


.doc-rul {
  margin-top: 95px;
  background-color: #f0f0f0;
  background-image: url('../assets/img/doc-rules/main-bg.jpg');
}

.doc-rul__cards-wrapper {
  margin: 0 auto; /* Центрируем карточки */
  max-width: 1290px; /* Максимальная ширина для больших экранов */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Центрируем весь блок по горизонтали */
  column-gap: 70px; /* Горизонтальный отступ между карточками */
  row-gap: 50px; /* Вертикальный отступ между строками */
  padding: 76px 0; /* при необходимости */
}

.photo-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.photo-row img {
  /* width: 100%; */
  max-width: 100%;
  height: auto;
  display: block;
  width: calc(100% + 1px);
  margin-left: -1px;
}

@media screen and (max-width: 1305px) {
  .doc-rul__cards-wrapper {
  margin: 0 auto; /* Центрируем карточки */
  max-width: 1290px; /* Максимальная ширина для больших экранов */
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center; /* Центрируем весь блок по горизонтали */
  align-items: center;
  column-gap: 70px; /* Горизонтальный отступ между карточками */
  row-gap: 50px; /* Вертикальный отступ между строками */
  padding: 76px 0; /* при необходимости */
}
  
}

@media screen and (max-width: 955px) {
.doc-nav {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.doc-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.doc-nav__link {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  padding: 1rem;
  border: 1px solid #F1BD20;
  background-color: #0000005b;
  border-bottom: none;
}

.doc-nav__link--active {
border: 1px solid #ffa200;
border-bottom: none;

background: linear-gradient(180deg, #ffa200,#ff9500);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */                                        
}

.location {
  flex-direction: column;
  gap: 2rem;
}

.location__r {
  
  width: 95%;
  height: auto; /* Высота автоматически подстраивается под содержимое */
  overflow: hidden; /* Скрывает содержимое, выходящее за границы контейнера */
  display: flex; /* Используем flex для центровки изображения */
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  position: relative;
  
}

.location__l {
   width: 80%;
}


}





.modal__content .btn {
  display: inline-block;
  margin: 10px 5px;
  padding: 10px 20px;
  background-color: #0077ff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}


@media (max-width: 768px) {
  .desk {
    display: none;
  }
  .about-presentation {
    min-height: 330px;
    
}

.big-card {
    width: 95%; /* максимальная ширина для больших экранов */
    color: #000;
    height: 264px; /* высота карточки */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    position: relative;
    z-index: 15;
    
}


.big-card__img {
    width: 43%;
    height: 100%;
}

.big-card__content {
    width: 57%;

    padding: 1rem 0;

}

.big-card__btn-conteiner {
    display: flex;
    flex-direction: column;
    gap: 5px; /* отступы между кнопками */
    /* width: 100%; */
    justify-content: center; /* выравнивание по центру */
    margin: 10px;
}

.big-card__btn {
      font-size: 1.2rem;
    width: 161px;
    height: 38px;
}

.big-card__title {
  font-size: 2rem;
}


.big-card__text {
  font-size: .8rem;
}

.big-card__img-cup {
  display: none;
}

.big-card-no-img {
  height: auto;
  margin: 10%;
  border-radius: 10px;
  background-color: #5D5B5B;
}

.big-card-no-img > .big-card__content--no-img {
  background-color: #5D5B5B;
  color: #fff;
}

.big-card__text-cup {
  color: #fff;
  font-weight: normal;
}


}

.modal-school {
   display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-school__content {
  background-image: url('../assets/img/mob/bg-mob-menu.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  position: relative;
  color: #fff;
  text-align: center;
  padding-bottom: 2rem;
}

.modal-school__close {
  position: absolute;
  top: 0;
  right: 1rem;
  font-size: 4rem;
  display: none;
}

.modal-school__content h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.9rem;
  text-transform: uppercase;
}


.modal-school__content input{
  width: 85%;
  margin-bottom: 1.5rem;
  padding: 15px;
  border-radius: 36.5px;
  text-transform: uppercase;
  font-size: 1.3rem;
  padding-left: 5%;
}

.modal-school__radio-group {
  margin-bottom: 2.5rem;
}

.modal-school__radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px; /* место для кастомного квадрата */
  font-size: 16px;
  text-transform: none; /* отключаем uppercase для подписей, если нужно */
  user-select: none;
  margin-bottom: 10px;
  color: #fff;
}

.modal-school__radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.modal-school__radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  gap: 10px;
  user-select: none;
  color: #fff;
  font-size: 1.25rem;
  padding-left: 12%;
}

/* Задаём размер и базовый стиль для кастомного радио */
.custom-radio {
  display: inline-block;
  width: 20px;  
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  transition: background-image 0.3s ease;
}

/* По умолчанию — radio-off */
.modal-school__radio-group input[type="radio"] + .custom-radio {
  background-image: url('../assets/img/radio-off.svg');
}

/* Если выбран — показываем radio-on */
.modal-school__radio-group input[type="radio"]:checked + .custom-radio {
  background-image: url('../assets/img/radio-on.svg');
}

.modal-school__content input {
  color: #000; /* зеленый текст */
}

  .begin__bg--1 {
    background-image: url("../assets/img/begin-bg-left.jpg");
    z-index: 2;
    width: 705px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  }


@media (max-width: 768px) {
.begin__bg-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 705px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  will-change: opacity;
}

/* Первая картинка */
.begin__bg--1 {
  background-image: url("../assets/img/one.jpg");
  z-index: 2;
  animation: fadeCycle 20s ease-in-out 0s infinite;
}

/* Вторая картинка */
.begin__bg--2 {
  background-image: url("../assets/img/two.jpg");
  z-index: 1;
  animation: fadeCycle 20s ease-in-out 10s infinite;
}

/* Ключевые кадры анимации фона */
@keyframes fadeCycle {
  0%   { opacity: 1; }
  40%  { opacity: 1; }
  50%  { opacity: 0; }
  90%  { opacity: 0; }
  100% { opacity: 1; }
}

.one__logo,
.two__logo {
  position: absolute;
  z-index: 50;
  width: 181px;
  height: 99px;
  object-fit: contain;
}

.one__logo {
  right: 1.5rem;
  top: 1.5rem;
}
.two__logo {
  left: 1.5rem;
  top: 1.5rem;
}


  /* .begin__logo-conteiner img:first-child {
    position: absolute;
    width: 181px;
    height: 99px;
    object-fit: contain;
    animation: logoFadeMove 20s infinite ease-in-out;
  }
  .begin__logo-conteiner img:last-child {
    position: absolute;
    width: 181px;
    height: 99px;
    object-fit: contain;
    opacity: 0;
    left: 0;
    right: auto;
    animation: logoFadeMoveTwo 20s infinite ease-in-out;
  }
   */

  /* Ключевые кадры логотипа с мягким появлением справа */
  /* @keyframes logoFadeMove {
    0%    { opacity: 1; }
    40%   { opacity: 1; }
    50%   { opacity: 0; }
    90%   { opacity: 0; }
    100%  { opacity: 1; }
  }
  @keyframes logoFadeMoveTwo {
    0%    { opacity: 0; }
    40%   { opacity: 0; }
    50%   { opacity: 1; }
    90%   { opacity: 1; }
    100%  { opacity: 0; }
  } */
}



@media (max-width: 768px) {
  .doc-rul {
  margin-top: 53px;
}
.doc-nav__link {
  font-size: .8rem;
}

#schoolForm > button{
  font-size: 1rem;
}
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 20px;
  max-width: 90%;
  border-radius: 10px;
  text-align: center;
}
.modal-content img {
  max-width: 100px;
}
.close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}




.mobile-menu__summary-text-bottom {
  margin-right: 1rem;
}
/* 
#mobile-menu__summary-text-bottom-link{
  font-size: 1rem !important;
} */



#photoModal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      cursor: pointer;
      z-index: 1000;
    }
    #photoModal img {
      max-width: 90vw;
      max-height: 90vh;
      cursor: default;
      border-radius: 8px;
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    }

.community__card-wrapper > img{
  transform: scale(1.05);
}