/* --- Слайдер преподавателей --- */
.carousel-wrapper {
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.swiper-carousel {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0);
  background-color: #fff;
}

.swiper-carousel .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
}

.swiper-carousel .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.swiper-carousel .swiper-button-next,
.swiper-carousel .swiper-button-prev {
  color: #c1a64f;
}

.swiper-carousel .swiper-pagination-bullet {
  background-color: #c1a64f;
  opacity: 0.5;
}

.swiper-carousel .swiper-pagination-bullet-active {
  opacity: 1;
}

/* --- Слайдер преимуществ --- */
.benefits-slider-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.benefits-slider-wrapper h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 32px;
  color: #3b2d16;
  font-weight: 600;
}

.swiper-benefits {
  width: 100%;
}

.swiper-benefits .swiper-slide {
  background-color: #fffaf4;
  border: 1px solid #ebdec4;
  border-radius: 12px;
  padding: 24px 20px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: auto;
  min-height: 210px;
  max-width: 600px;
  margin: 0 auto;
}

.swiper-benefits .swiper-pagination {
  text-align: center;
  margin-top: 16px;
}

.swiper-benefits .swiper-pagination-bullet {
  background-color: #c1a64f;
  opacity: 0.4;
  width: 10px;
  height: 10px;
  margin: 0 4px;
}

.swiper-benefits .swiper-pagination-bullet-active {
  opacity: 1;
}

/* --- для hero блока --- */
.hero-block {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 40px 24px;
  margin-bottom: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #3b2d16;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 36px;
  }
}

.hero-text .subtitle {
  font-size: 18px;
  margin-bottom: 20px;
  color: #5e4a2f;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.hero-list li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #3b2d16;
}

.hero-button {
  display: inline-block;
  background-color: #c1a64f;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #a68a3f;
}

.hero-image {
  text-align: center;
  flex: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-caption {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}
