.team-section {
  padding: 60px 0;
  text-align: center;
}
.team-section__more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.button-pink-team-hp {
  padding: 14px 100px;
}

/* Карточка */
.team-card {
  background: #e0f2ff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
  color: #000 !important;
}
.team-card__image {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
}
.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  position: absolute;
  top: 0;
  left: 0;
}
.team-card__info {
  padding: 30px;
  text-align: left;
}
.team-card__name {
  margin: 0 0 8px;
  line-height: 1.2;
}
.team-card__spec {
  padding-top: 12px;
}
.team-card__arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  transition: rotate 0.3s ease;
}
.team-card:hover .team-card__arrow {
  rotate: 45deg;
}
/* === DESKTOP === */
.carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  overflow: visible;
}
.carousel__dots {
  display: none;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .carousel__track {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .team-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .team-card__info {
    padding: 20px;
  }

  .team-card__arrow {
    bottom: 15px;
    right: 20px;
  }

  .carousel__dots {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    gap: 10px;
  }

  .carousel__dots button {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: 0.3px solid #fcfcfc;
    background: transparent;
    opacity: 1; /* убираем полупрозрачность */
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
  }

  /* Активная точка: белый фон, без рамки */
  .carousel__dots button.active {
    background: #D6EDFF;
    border-color: transparent;
  }

  .button-pink-team-hp {
    font-size: 14px;
    padding: 14px 86px;
  }
  .carousel__track {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  .carousel__track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

}
