/* ==========================================================================
   Flash Reviews Section - Minimal Translucent with Smooth Glide
   ========================================================================== */

.flash-reviews-section {
  position: relative;
  width: 100%;
  padding: 44px 20px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.flash-reviews-header {
  text-align: center;
  margin-bottom: 16px;
}

.flash-reviews-title {
  font-family: "Space Grotesk", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: #f4f4ef;
}

.flash-reviews-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.flash-star-icon {
  width: 22px;
  height: 22px;
  fill: #fbbf24;
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.4));
}

.flash-star-partial {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.4));
}

.flash-star-empty {
  width: 22px;
  height: 22px;
  fill: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.flash-star-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  overflow: hidden;
}

.flash-star-clip .flash-star-icon {
  filter: none;
  width: 22px;
  height: 22px;
  max-width: none;
  flex-shrink: 0;
  display: block;
}

.flash-reviews-viewport {
  width: 100%;
  max-width: 1240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 6px 52px 0;
  box-sizing: border-box;
  margin: 0 auto;
}

.flash-reviews-track {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 8px 0 16px;
  box-sizing: border-box;
  border-radius: 18px;
}

.flash-reviews-rail {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.flash-review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  min-height: 205px;
  padding: 24px 26px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.55);
  opacity: 1;
  filter: none;
  cursor: grab;
  user-select: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.flash-review-card:active {
  cursor: grabbing;
}

.flash-review-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.flash-review-quote {
  margin: 0;
  line-height: 1.52;
  font-size: 15.5px;
  font-style: italic;
  font-weight: 500;
  color: rgba(244, 244, 239, 0.95);
  letter-spacing: -0.01em;
  white-space: pre-line;
}

.flash-quote-mark {
  color: #38bdf8;
  font-size: 1.3em;
  font-weight: 800;
  font-style: normal;
  font-family: "Space Grotesk", Georgia, -apple-system, sans-serif;
  margin-right: 4px;
  display: inline-block;
  line-height: 0;
  vertical-align: -2px;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.flash-review-author {
  flex-wrap: wrap;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flash-author-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f4f4ef;
}

/* Navigation Buttons */
.flash-reviews-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 22, 26, 0.92);
  color: #f4f4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.flash-reviews-nav-btn:hover {
  background: rgba(28, 34, 40, 0.98);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.2);
}

.flash-reviews-nav-prev {
  left: 2px;
  right: auto;
}

.flash-reviews-nav-next {
  left: auto;
  right: 2px;
}

/* Pagination Dots */
.flash-reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  z-index: 10;
  flex-wrap: wrap;
  max-width: min(520px, 90vw);
}

.flash-reviews-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.flash-reviews-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.flash-reviews-dot.is-active {
  width: 22px;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

/* Tablet adjustments: 2 cards visible */
@media (max-width: 992px) {
  .flash-reviews-viewport {
    padding: 4px 48px 0;
  }
  .flash-reviews-rail {
    gap: 16px;
  }
  .flash-review-card {
    flex: 0 0 calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}

/* Mobile adjustments: 1 card visible */
@media (max-width: 680px) {
  .flash-reviews-section {
    padding: 36px 14px 44px;
  }
  .flash-reviews-viewport {
    padding: 4px 0 0;
  }
  .flash-reviews-nav-btn {
    display: none;
  }
  .flash-reviews-rail {
    gap: 12px;
  }
  .flash-review-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 20px 22px;
    min-height: 180px;
  }
  .flash-review-quote {
    font-size: 15px;
  }
}

.flash-author-socials { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.flash-author-social { font-size: 12.5px; color: rgba(244, 244, 239, .62); text-decoration: none; }
.flash-author-social b { font-weight: 650; color: rgba(244, 244, 239, .82); }
.flash-author-social:hover { color: #fff; text-decoration: underline; }
