/* Подключение шрифтов TildaSans */
@font-face {
  font-family: 'TildaSans';
  src: url('https://static.tildacdn.com/fonts/tildasans/TildaSans-Regular.woff2') format('woff2'),
       url('https://static.tildacdn.com/fonts/tildasans/TildaSans-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'TildaSans';
  src: url('https://static.tildacdn.com/fonts/tildasans/TildaSans-Bold.woff2') format('woff2'),
       url('https://static.tildacdn.com/fonts/tildasans/TildaSans-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* Основные стили блока отзывов */
.reviews-section {
  font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 60px 0;
  background: linear-gradient(180deg, #ffffff, #f2edfc);
  width: 100%;
}

.reviews-section .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Стили заголовков */
.reviews-section .section-header {
  text-align: left;
  margin-bottom: 50px;
}

.reviews-section .section-header .subtitle {
  font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(90deg, #FB8C8C, #F56191);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  display: inline-block;
}

.reviews-section .section-header .title {
  font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 33px;
  color: #000;
  margin: 0;
  line-height: 1;
}

/* Стили карусели отзывов */
.reviews-section .reviews-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.reviews-section .review-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.reviews-section .review-slide.active {
  display: block;
  opacity: 1;
}

.reviews-section .review-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.reviews-section .review-card:hover {
  transform: scale(1.02);
}

.reviews-section .review-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.reviews-section .review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #F56191;
  flex-shrink: 0;
}

.reviews-section .review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews-section .review-author {
  display: flex;
  flex-direction: column;
}

.reviews-section .author-name {
  font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #000;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.reviews-section .author-title {
  font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.reviews-section .review-text {
  font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  position: relative;
  padding-left: 20px;
}

.reviews-section .review-text::before {
  content: '"';
  font-size: 50px;
  color: rgba(245, 97, 145, 0.2);
  position: absolute;
  left: -10px;
  top: -20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.reviews-section .carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.reviews-section .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reviews-section .dot.active {
  background-color: #F56191;
  transform: scale(1.2);
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .reviews-section {
    padding: 40px 0;
  }
  
  .reviews-section .review-card {
    padding: 20px;
  }
  
  .reviews-section .review-avatar {
    width: 60px;
    height: 60px;
  }
  
  .reviews-section .section-header .title {
    font-size: 28px;
  }
  
  .reviews-section .review-text {
    padding-left: 0;
  }
  
  .reviews-section .review-text::before {
    left: 0;
    top: -25px;
  }
}

@media (max-width: 480px) {
  .reviews-section .section-header .subtitle {
    font-size: 16px;
  }
  
  .reviews-section .section-header .title {
    font-size: 24px;
  }
  
  .reviews-section .review-avatar {
    width: 50px;
    height: 50px;
  }
  
  .reviews-section .author-name {
    font-size: 16px;
  }
  
  .reviews-section .author-title {
    font-size: 12px;
  }
  
  .reviews-section .review-text {
    font-size: 14px;
  }
}