.reviews {
  padding-top: 150px;
}

.reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.reviews__title {
  font-size: 48px;
  line-height: 100%;
  width: 690px;
}

.reviews__arrows {
  display: flex;
  gap: 8px;
}

.reviews__arrow {
  width: 48px;
  height: 48px;
  border-radius: 100px;
  background: #2d2d2d;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews__viewport { overflow: hidden; }

.reviews__container {
  display: flex;
  gap: 24px;
}

.reviews__slide {
  flex: 0 0 384px;
  height: 514px;
}

.reviews__card {
  background: #2d2d2d;
  border-radius: 30px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviews__top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.reviews__top--absolute {
  position: absolute;
  top: 32px;
  left: 32px;
}

.reviews__avatar {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  object-fit: cover;
}

.reviews__name { font-size: 24px; }
.reviews__role { font-size: 14px; opacity: .5; }

.reviews__heading {
  font-size: 32px;
  line-height: 100%;
}

.reviews__link {
  font-size: 16px;
  color: var(--lime);
}

.reviews__link-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.reviews__slide--video {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.reviews__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews__play {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== MODAL (overlay + blur) ===== */
.reviews-modal[hidden] { display: none; }

.reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.reviews-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
}

.reviews-modal__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.reviews-modal__inner {
  background: #2d2d2d;
  border-radius: 30px;
  padding: 32px;
  width: min(840px, 100%);
  max-height: min(80vh, 900px);
  overflow: auto;
}

.reviews-modal__top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  height: 60px;
  margin-bottom: 40px;
}

.reviews-modal__personwrap {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
}

.reviews-modal__avatar {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  object-fit: cover;
  flex-shrink: 0;
}

.reviews-modal__name {
  
  
  font-size: 24px;
  line-height: 100%;
  
  font-weight: 500;
}

.reviews-modal__role {
  color: rgba(255,255,255,.5);
  
  font-size: 14px;
  line-height: 130%;
  
  font-weight: 400;
}

.reviews-modal__close {
  border: none;
  background: transparent;
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 0;
  flex-shrink: 0;
}

.reviews-modal__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews-modal__heading {
  
  
  font-size: 32px;
  line-height: 100%;
  
  font-weight: 500;
}

.reviews-modal__text {
  
  
  font-size: 16px;
  line-height: 130%;
  
  font-weight: 400;
}

/* Mobile: bottom sheet */
@media (max-width: 767px) {
  .reviews-modal__panel {
    align-items: flex-end;
    padding: 0;
  }

  .reviews-modal__inner {
    border-radius: 30px 30px 0 0;
    width: 100%;
    max-height: 85vh;
    padding: 32px;
  }

  .reviews-modal__name { font-size: 16px; }
  .reviews-modal__role { font-size: 12px; }
  .reviews-modal__heading { font-size: 24px; }
  .reviews-modal__text { font-size: 14px; }
}

/* Scroll lock */
body.reviews-modal-lock {
  overflow: hidden;
}
