.reviews-section {
  width: 100%;
  padding: 80px 20px;
  background-color: #ffffff;
}

.reviews-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  overflow: hidden;
}

.reviews-header {
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.reviews-header::before,
.reviews-header::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: #666666;
}

.reviews-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #333333;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.reviews-description {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #666666;
  margin: 0;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-swiper {
  width: 100%;
  position: relative;
  margin-bottom: 50px;
  overflow: hidden;
  box-sizing: border-box;
}

.reviews-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.reviews-swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
  flex-shrink: 0;
}

.review-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
}

.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 30px 25px;
  min-height: 400px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.review-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-bottom: 25px;
  flex: 1;
}

.review-text {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #333333;
  line-height: 1.9;
  margin: 0;
  position: relative;
  padding-left: 40px;
  min-width: 0;
  width: 100%;
}

.review-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-family: 'Georgia', serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
}

.review-text p {
  margin: 0;
  position: relative;
  z-index: 1;
}

.review-company-logo {
  flex-shrink: 0;
  height: 100px;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
}

.review-company-logo img {
  max-width: 200px;
  max-height: 100px;
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}

.review-author {
  padding-top: 20px;
  border-top: 2px solid var(--accent-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.review-author-name {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  min-height: 80px;
  display: block;
  text-align: center;
}

.reviews-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 40px;
}

.reviews-nav-prev {
  margin-right: 12px;
}

.reviews-nav-next + .reviews-pagination {
  margin-left: 16px;
}

.reviews-nav-button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.reviews-nav-button:hover:not(:disabled) {
  opacity: 0.7;
}

.reviews-nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.reviews-nav-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(0.4);
}

.reviews-pagination {
  display: flex !important;
  align-items: center;
  gap: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  position: static !important;
  width: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  transform: none !important;
}

.reviews-pagination-current {
  font-weight: 400;
  color: #666666;
  min-width: 1.2em;
  text-align: center;
  display: inline-block;
}

.reviews-pagination-total {
  min-width: 1.2em;
  text-align: center;
  display: inline-block;
}

.reviews-pagination-separator {
  margin: 0 2px;
  color: #666666;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .reviews-header {
    margin-bottom: 50px;
  }

  .reviews-section-title {
    font-size: 36px;
  }

  .reviews-description {
    font-size: 18px;
  }

  .reviews-swiper {
    margin-bottom: 40px;
  }

  .review-content {
    padding: 40px 35px;
    min-height: 380px;
  }

  .review-main {
    gap: 25px;
    margin-bottom: 20px;
    align-items: center;
  }

  .review-text {
    font-size: 18px;
    padding-left: 35px;
  }

  .review-text::before {
    font-size: 64px;
    top: -4px;
  }

  .review-company-logo {
    height: 85px;
  }

  .review-author {
    padding-top: 25px;
  }

  .review-author-name {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 20px;
  }

  .reviews-header {
    margin-bottom: 40px;
  }

  .reviews-section-title {
    font-size: 32px;
  }

  .reviews-description {
    font-size: 17px;
  }

  .reviews-swiper {
    margin-bottom: 35px;
  }

  .review-content {
    padding: 35px 25px;
    min-height: 350px;
    border-radius: 12px;
  }

  .review-main {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }

  .review-text {
    font-size: 17px;
    line-height: 1.8;
    padding-left: 30px;
  }

  .review-text::before {
    font-size: 56px;
    top: -3px;
  }

  .review-company-logo {
    height: 75px;
    justify-content: center;
  }

  .review-author {
    padding-top: 25px;
  }

  .review-author-name {
    font-size: 16px;
  }

  .reviews-navigation {
    gap: 3px;
    margin-top: 30px;
  }

  .reviews-nav-prev {
    margin-right: 10px;
  }

  .reviews-nav-next + .reviews-pagination {
    margin-left: 12px;
  }

  .reviews-nav-button {
    width: 20px;
    height: 20px;
  }

  .reviews-pagination {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    padding: 40px 15px;
  }

  .reviews-header {
    margin-bottom: 30px;
  }

  .reviews-section-title {
    font-size: 28px;
  }

  .reviews-description {
    font-size: 16px;
  }

  .review-content {
    padding: 30px 20px;
    min-height: 320px;
    border-radius: 10px;
  }

  .review-main {
    gap: 18px;
    margin-bottom: 18px;
  }

  .review-text {
    font-size: 16px;
    line-height: 1.7;
    padding-left: 28px;
  }

  .review-text::before {
    font-size: 48px;
    top: -2px;
  }

  .review-company-logo {
    height: 65px;
  }

  .review-author {
    padding-top: 20px;
  }

  .review-author-name {
    font-size: 15px;
  }

  .reviews-navigation {
    gap: 2px;
    margin-top: 25px;
  }

  .reviews-nav-prev {
    margin-right: 8px;
  }

  .reviews-nav-next + .reviews-pagination {
    margin-left: 10px;
  }

  .reviews-nav-button {
    width: 18px;
    height: 18px;
  }

  .reviews-pagination {
    font-size: 14px;
  }
}
