/* content */
.about-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* main */
.about-main {
  min-height: calc(100vh - 74px);
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* justify-content: center; */
}
.about-main__text {
  text-align: left;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 124px 16px 100px;
}
.about-main__image img {
  width: 100%;
}
.about-main__text h1,
.about-main__text h2 {
  text-align: left;
}
.about-main__text p{
  font-weight: bold;
  max-width: 560px;
}
.about-main__buttons {
  display: flex;
  gap: 8px;
}
.about-main__buttons .button {
  min-width: 185px;
}

@media (max-width: 419px) {
  .about-main__buttons {
    flex-direction: column;
    align-self: flex-start;
  }
}
@media (min-width: 1080px) {
  .about-main {
    min-height: calc(100vh - 94px);
    width: 100%;
    margin-top: 94px;
    background-color: var(--bg-black);
    background-image: url('../images/about/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
  }
  .about-main__text {
    color: white;
    gap: 50px;
    max-width: 1760px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    justify-content: center;
  }
  .about-main__image {
    display: none;
  }
}
@media (min-width: 1920px) {
  .about-main {
    min-height: calc(100vh - 104px);
    margin-top: 104px;
  }
  .about-main__text {
    padding: 0;
  }
}

@media (min-width: 2560px) {
  .about-main {
    min-height: calc(100vh - 115px);
    margin-top: 115px;
  }
  .about-main__text {
    max-width: 2240px;
  }
}


/* about-us */
.about-us {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-us h2,
.about-us h3 {
  text-align: left;
}
.about-us__items {
  display: flex;
  flex-direction: column;
}
.about-us__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  border-bottom: 2px solid #0C171F1A;
  padding: 24px 0;
}
.about-us__item h3,
.about-us__item h4 {
  text-align: left;
}
.about-us__item + p {
  padding-top: 40px;
  color: var(--text-black-secondary);
}

.about-us__item p {
  color: var(--text-black-secondary);
}

@media (min-width: 1080px) {
  .about-us {
    max-width: 1760px;
    margin: 100px auto;
    padding: 0 40px;
    flex-direction: row;
  }
  .about-us h3{
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
  .about-us__item {
    padding: 0 0 48px;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    /* align-items: center; */
  }
  .about-us__item--title {
    width: 180px;
  }
  .about-us__item h3.text-gradient,
  .about-us__item h4.text-gradient {
    text-align: right;
    width: 98px;
  }
  .about-us__item:not(:first-of-type) {
    padding: 48px 0;
  }
  .about-us__item p {
    width: 300px;
  }
}
@media (min-width: 1920px) {
  .about-us {
    margin: 140px auto;
    padding: 0;
  }
  .about-us__item p {
    width: 396px;
  }
}
@media (min-width: 2560px) {
  .about-us {
    margin: 180px auto;
    max-width: 2240px;
  }
  .about-us h3{
    position: sticky;
    top: 110px;
    align-self: flex-start;
  }
}
/* about-benefit */
.about-benefit {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  color: white;
}
.about-benefit h3{
  text-align: left;
}
.about-benefit__items {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.about-benefit__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* align-items: center; */
}
.about-benefit__item--image {
  border-radius: 10px;
  border: 1px solid #FFFFFF1A;
  align-self: baseline;
}
.about-benefit__item img {
  width: 64px;
  height: 64px;
  padding: 16px;
}
.about-benefit__item h3,
.about-benefit__item h4 {
  text-align: left;
}
.about-benefit__item p {
  color: var(--text-white-secondary);
}
@media (min-width: 1080px) {
  .about-benefit {
    margin: 100px auto;
    max-width: 1760px;
    padding: 0 40px;
    gap: 80px;
  }
  .about-benefit h3 {
    text-align: center;
  }
  .about-benefit__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    text-align: left;
    gap: 40px;
    justify-content: center;
  }
  .about-benefit__item {
    width: 100%; /* или можно вообще убрать width */
    align-items: flex-start;
    gap: 24px;
  }
  .about-benefit__item h6 {
    font-size: 32px;
  }
  .about-benefit__item p {
    font-size: 20px;
  }
}

@media (min-width: 1920px) {
  .about-benefit {
    margin: 140px auto;
    padding: 0;
  }
}
@media (min-width: 2560px) {
  .about-benefit {
    margin: 140px auto;
    max-width: 2240px;
  }
}

/* about-reviews */
.about-reviews {
  display: none;
  padding: 100px 20px;
  background-color: var(--bg-gray);
  /* display: flex; */
  flex-direction: column;
  gap: 30px;
}

.about-reviews h3{
  text-align: left;
}

.about-reviews .swiper {
  /* width: 340px; */
}
.about-reviews__swiper {
  position: relative;
}
.about-reviews__text--organization.text-L {
  font-weight: bold;
}
.about-reviews__swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 64px;
}
.about-reviews__swiper .about-reviews__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about-reviews__swiper h3,
.about-reviews__swiper h4 {
  text-align: left;
}

.about-reviews__swiper .about-reviews__text p{
  max-width: 350px;
  color: var(--text-black-secondary);
}

.about-reviews__swiper .button {
  align-self: baseline;
  margin-bottom: 20px;
}

.about-reviews__swiper .swiper-scrollbar.divider{
  height: 2px;
  width: calc(100% - 142px);
  background-color: #0000001A;
  position: absolute;
  bottom: 28px;
  left: 0;
  border-radius: 10px;
}
.about-reviews__swiper .about-reviews__image {
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0000000F;
  border-radius: 16px;
}
.about-reviews__swiper .swiper-scrollbar-drag {
  background: #02A750;
}

.about-reviews__swiper .swiper-button-next.about-reviews__swiper-button-next,
.about-reviews__swiper .swiper-button-prev.about-reviews__swiper-button-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: auto;
  bottom: 0px;
}
.about-reviews__swiper .swiper-button-next.about-reviews__swiper-button-next {
  right: 0px;
}
.about-reviews__swiper .swiper-button-prev.about-reviews__swiper-button-prev {
  right: 72px;
  left: auto;
}
.about-reviews__swiper [class^="swiper-button-"]::after{
  content: "";
}
@media (min-width: 1080px) {
  .about-reviews{
    gap: 80px;
    margin: 100px 0;
    padding: 0 40px;
  }
  .about-reviews h3{
    text-align: center;
  }
  .about-reviews .swiper {
    width: 100%;
    max-width: 1760px;
  }
  .about-reviews__swiper .about-reviews__text {
    gap: 32px;
    align-self: center;
  }
  .about-reviews__swiper .swiper-slide {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 76px;
  }
  .about-reviews__swiper .button {
    margin-top: 16px;
  }
  .about-reviews__swiper .about-reviews__text p {
    max-width: 577px;
  }
  .about-reviews__swiper .about-reviews__text .about-reviews__text-organization {
    font-size: 32px;
  }
  .about-reviews__swiper .about-reviews__image {
    width: 626px;
    height: 626px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0000000F;
    border-radius: 16px;
  }

  .about-reviews__swiper .about-reviews__image img {
    height: 557px;
    border-radius: 8px;
    box-shadow: 5px 4px 12.5px rgba(0, 0, 0, 0.12);
  }
}
@media (min-width: 1920px) {
  .about-reviews {
    padding: 0;
    margin: 140px 0;
  }
}
@media (min-width: 2560px) {
  .about-reviews {
    margin: 180px 0;
  }
  .about-reviews .swiper {
    max-width: 2240px;
  }
}
/* about-concept */
.about-concept {
  color: white;
  margin: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 42px;
}
.about-concept h3,
.about-concept h4 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}
.about-concept__items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-self: center;
}

.about-concept__item {
  display: flex;
  gap: 24px;
}
.about-concept__item__number {
  background: linear-gradient(130.24deg, #01BBF0 10.46%, #B3CE34 88.87%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  color: black;
  font-weight: bold;
}
.about-concept__item__card {
  width: 280px;
  border: 1px solid var(--bg-gray);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-concept__item__card h4{
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
}
.about-concept__item__card p {
  font-size: 14px;
}

@media (min-width: 1080px) {
  .about-concept {
    margin: 100px auto;
    max-width: 1760px;
    padding: 0px 40px;
    gap: 60px;
  }
  .about-concept h3,
  .about-concept h4 {
    font-size: 48px;
  }
  .about-concept__items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 40px;
  }
  .about-concept__item {
    gap: 30px;
  }
  .about-concept__item__number {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
  .about-concept__item__card {
    padding: 32px;
    width: 360px;
    gap: 32px;
    /* width: 400px; */
  }
  .about-concept__item__card h4 {
    font-size: 24px;
  }
  .about-concept__item__card p {
    font-size: 18px;
  }
}
@media (min-width: 1400px) {
  .about-concept__items {
    gap: 50px 50px;
  }
  .about-concept__item__card {
    width: 550px;
    padding: 50px;
  }
  .about-concept__item__card h4 {
    font-size: 32px;
  }
  .about-concept__item__card p {
    font-size: 20px;
  }
}
@media (min-width: 1920px) {
  .about-concept {
    margin: 140px auto;
    padding: 0px;
  }
}
@media (min-width: 2560px) {
  .about-concept {
    margin: 180px auto;
    max-width: 2240px;
  }
}

/* about-questions */
.about-questions {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-questions--text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-questions--text .button {
  min-width: 185px;
}
.about-questions--text > section {
  display: flex;
  gap: 8px;
}
@media (max-width: 419px) {
  .about-questions--text > section {
    flex-direction: column;
    align-self: flex-start;
  }
}
.about-questions--img {
  display: block;
}
.about-questions h4 {
  text-align: left;
}
.about-questions p {
  max-width: 874px;
  color: var(--text-black-secondary);
}
.about-questions .button {
  align-self: baseline;
}
@media (min-width: 1080px) {
  .about-questions {
    margin: 62px auto;
    max-width: 1760px;
    width: 100%;
    padding: 0 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }
  .about-questions--img {
    display: block;
    max-width: 442px;
    max-height: 367px;
  }
}
@media (min-width: 1920px) {
  .about-questions {
    margin: 62px auto;
    padding: 0;
  }
}
@media (min-width: 2560px) {
  .about-questions {
    margin: 62px auto;
    max-width: 2240px;
  }
}

/* timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin: 50px 32px;
}
.timeline h3 {
  text-align: left;
}
.container {
  margin: 0px;
}

.swiper {
  max-width: 100%;
}

.swiper.swiperDates {
  position: absolute;
  z-index: 10;
  top: -68px;
  left: 50%;
  transform: translateX(-50%);
}

.swiper-button-next.swiper-container-wrapper--timeline__swiper-button-next,
.swiper-button-prev.swiper-container-wrapper--timeline__swiper-button-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: auto;
  bottom: 10px;
}
.swiper-button-next.swiper-container-wrapper--timeline__swiper-button-next {
  right: 20px;
}
.swiper-button-prev.swiper-container-wrapper--timeline__swiper-button-prev {
  right: 82px;
  left: auto;
}
.swiper-container-wrapper--timeline [class^="swiper-button-"]::after{
  content: "";
}

.swiper-container-wrapper--timeline .swiper-container--timeline .swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #fff;
    min-height: 540px;
    border-radius: 10px;
    /* width: 300px; */
    padding: 50px 20px;
}
.swiper-container-wrapper--timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.swiper-container-wrapper--timeline .swiper-slide .swiper-slide__text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
  
.swiper-container-wrapper--timeline .swiper-slide .title {
  font-size: 48px;
  font-weight: bold;
  color: #02A750;
}
.swiper-container-wrapper--timeline .swiper-slide .swiper-slide__image img{
  width: 100px;
  height: 100px;
  border-radius: 100%;
}

.swiper-pagination-custom .swiper-slide {
  width: 44px;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-progressbar {
  position: relative;
  background-color: transparent;
  height: 4px;
  border-bottom: 1px solid #02A750;
  width: 100%;
  z-index: 9;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background-color: #02A750;
  height: 1px;
  top: 3px;
  display: none;;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-custom {
  list-style: none;
  margin-bottom: 30px;
  padding: 0;
  display: flex;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .switch-dates {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  user-select: none;
  margin-top: 7px;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .switch-dates .switch-circle{
  width: 20px;
  height: 20px;
  border: 5px solid white;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  user-select: none;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-custom .switch-title {
  transition: all 0.2s ease-in-out;
  transition-delay: 0s;
  margin-top: 10px;
  z-index: 1;
  color: #02A750;
  font-size: 20px;
  height: 25px;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-custom .switch-circle{
  width: 44px;
  height: 44px;
  background: #02A750;
  border-radius: 2rem;
  transition: all 0.2s ease-in-out;
  transition-delay: 0s;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid transparent;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .switch-circle.switch-dates img {
  display: none;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active .switch-title {
  transition-delay: 0.4s;
  font-weight: bold;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active .switch-circle {
  outline: 2px solid #02A750;
  border: 2px solid white;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active ~ .swiper-pagination-switch .switch-title {
  color: #888;
  font-weight: 16px;
}
  
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active ~ .swiper-pagination-switch .switch-title::after {
  background: #888;
}
.swiper-slide__text h2,
.swiper-slide__text h3{
  text-align: left;
}
@media (min-width: 1080px) {
  .timeline {
    margin: 100px 0;
  }
  .timeline h3 {
    text-align: center;
  }
  .container {
    padding: 0 40px;
  }
  .swiper-container-wrapper--timeline .swiper-container--timeline .swiper-slide {
    flex-direction: row;
    justify-content: space-between;
    padding: 100px 60px;
  }
  .swiper-container-wrapper--timeline .swiper-slide .swiper-slide__text {
    max-width: 700px;
  }
  .swiper-container-wrapper--timeline .swiper-slide .swiper-slide__image img {
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1760px;
    margin: 0 auto;
  }
  .swiper-container-wrapper--timeline .swiper-container--timeline .swiper-slide {
    padding: 100px;
  }
  .swiper-container-wrapper--timeline .swiper-slide .swiper-slide__text {
    max-width: 1000px;
  }
  .swiper-container-wrapper--timeline .swiper-slide .swiper-slide__image img {
    width: 200px;
    height: 200px;
  }
}
@media (min-width: 1920px) {
  .container {
    padding: 0;
  }
  .timeline {
    margin: 140px 0;
  }
}
@media (min-width: 2560px) {
  .container {
    max-width: 2240px;
    padding: 0;
  }
  .timeline {
    margin: 180px 0;
  }
}

/*  template-slider */

.template-slider__wrapper {
  padding: 100px 20px;
}

.template-slider__wrapper h2,
.template-slider__wrapper h3 {
  margin-bottom: 48px;
  text-align: left;
}

.template-slider {
  max-width: 1760px;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
}

.template-slider__header {
  padding: 24px 16px;
  background: white;
  position: relative;
}

.pagination-swiper {
  overflow: hidden;
}

.template-slider__header::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.template-slider__custom-pagination {
  display: flex;
  gap: 48px;
  width: auto;
  /* Убираем фиксированную ширину */
}

.template-slider__custom-pagination-item {
  max-width: 260px;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 16px;
  color: #0C171F3D;
  /* white-space: nowrap; */
  width: auto !important;
  user-select: none;
  word-break: normal;
  /* Переопределяем ширину слайда */
  flex-shrink: 0;
  /* Запрещаем уменьшение */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.template-slider__custom-pagination-item h4 {
  transition: all .3s ease;
}
.template-slider__custom-pagination-item .text-L {
  transition: all .3s ease;
}
.template-slider__custom-pagination-item .template-slider__circle{
  width: 16px;
  height: 16px;
  display: block;
  position: relative;
  background-color: #B8BABD;
  border-radius: 50%;
  z-index: 1;
  transition: .3s ease;
}
.template-slider__custom-pagination-item.swiper-slide {
  height: auto;
  max-height: 100%;
  align-items: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.black .template-slider__custom-pagination-item {
  color: var(--text-white-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.template-slider__custom-pagination-item.active {
  color: #02A750;
}

.template-slider__custom-pagination-item.active .template-slider__circle {
  background-color: #02A750;
}
.template-slider__custom-pagination-item.active h4 {
  /* font-size: 200%; */
}

.template-slider__custom-pagination--divider {
  position: absolute;
  width: 10000px;
  height: 2px;
  background-color: #0C171F1A;
  top: calc(50% + 4px);
  /* transform: translateY(50%); */
}
/* Скрываем стандартные элементы Swiper */
.pagination-swiper .swiper-scrollbar,
.pagination-swiper .swiper-button-next,
.pagination-swiper .swiper-button-prev {
  display: none !important;
}

.swiper-slide.template-slider__swiper-slide {
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.template-slider__swiper-slide .dummy {
  width: 180px;
  height: 180px;
  /* display: block; */
}

.template-slider__swiper-slide--text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 326px;
}

.swiper-slide.template-slider__swiper-slide h4 {
  text-align: left;
}

.swiper-slide.template-slider__swiper-slide img {
  width: 180px;
  height: 180px;
}

.swiper-slide.template-slider__swiper-slide .text-L {
  color: var(--text-black-secondary);
}

.template-slider__slider-footer {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 15px 20px; */
}

.template-slider__slider-footer .template-slider__swiper-button-next,
.template-slider__slider-footer .template-slider__swiper-button-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: auto;
  bottom: 16px;
}

.template-slider__slider-footer [class^="swiper-button-"]::after {
  content: "";
}

.template-slider__slider-footer .template-slider__swiper-button-next {
  /* right: 16px; */
  right: auto;
  left: 88px;
}

.template-slider__slider-footer .template-slider__swiper-button-prev {
  left: 16px;
  /* left: auto; */
}

.black .swiper-button-prev, 
.black .swiper-button-next {
  background-color: #FFFFFF0F;
}

@media (min-width: 1080px) {
  .template-slider__wrapper {
    padding: 100px 40px;
  }

  .template-slider__wrapper h2,
  .template-slider__wrapper h3 {
    text-align: center;
  }

  .template-slider__header {
    padding: 40px 40px 80px;
  }

  .template-slider__custom-pagination {
    gap: 84px;
    /* flex-direction: row-reverse; */
  }

  .template-slider__custom-pagination-item {
    max-width: 100%;
    gap: 12px;
    /* padding: 10px 24px; */
  }

  .swiper-slide.template-slider__swiper-slide {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    min-height: 250px;
  }

  .template-slider__swiper-slide .dummy {
    display: none;
  }

  .template-slider__swiper-slide--text {
    gap: 20px;
    max-width: 566px;
  }
  .swiper-slide.template-slider__swiper-slide img {
    width: 210px;
    height: 210px;
  }
  .template-slider__slider-footer {
    margin: 0 0 40px;
  }
  .template-slider__slider-footer .template-slider__swiper-button-next {
    right: 40px;
    left: auto;
    top: calc(50% + 125px - 56px);
  }

  .template-slider__slider-footer .template-slider__swiper-button-prev {
    left: 40px;
    right: auto;
    top: calc(50% + 125px - 56px);
  }
}

@media (min-width: 1920px) {
  .template-slider__wrapper {
    padding: 140px 0px;
  }
}
@media (min-width: 2560px) {
  .template-slider__wrapper {
    padding: 180px 0px;
  }
  .template-slider {
    max-width: 2240px;
  }
}