/* ===== REVIEWS SECTION ===== */
.reviews {
  background: #0d0d0d;
}

.reviews-desc {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.93rem;
  line-height: 1.8;
  text-align: center;
}

.reviews-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ===== REVIEWS GRID ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* ===== REVIEW CARD ===== */
.rv-card {
  background: linear-gradient(160deg, #1a1a1a 0%, #141414 100%);
  border: 1px solid rgba(201, 168, 76, 0.14);
  border-radius: 18px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.03) inset;
  transition:
    transform    0.5s cubic-bezier(0.22, 0.68, 0, 1.05),
    border-color 0.5s ease,
    box-shadow   0.5s ease;
  /* scroll-reveal initial state */
  opacity: 0;
  transform: translateY(44px) scale(0.97);
  will-change: opacity, transform;
}

.rv-card.rv-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Ambient corner glow */
.rv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at top left, rgba(201, 168, 76, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Gold bottom sweep on hover */
.rv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c, #ddb96a, transparent);
  transition: width 0.45s ease, left 0.45s ease;
  pointer-events: none;
}

.rv-card.rv-visible:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(201, 168, 76, 0.18),
    0 0 40px rgba(201, 168, 76, 0.12);
}

.rv-card.rv-visible:hover::after {
  width: 100%;
  left: 0;
}

/* ===== CARD TOP ROW ===== */
.rv-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* Avatar */
.rv-card__avatar-wrap {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.4);
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.rv-card.rv-visible:hover .rv-card__avatar-wrap {
  border-color: rgba(201, 168, 76, 0.75);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.14);
}
.rv-card__avatar {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a84c 0%, #8a6a1f 100%);
  color: #111;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
  user-select: none;
}

/* Name + stars */
.rv-card__meta {
  flex: 1;
  min-width: 0;
}
.rv-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f4f4f0;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-card__stars {
  font-size: 0.85rem;
  color: #f5c518;
  letter-spacing: 1px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(245, 197, 24, 0.5));
}

/* Google Verified badge */
.rv-card__badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4px 10px 4px 7px;
  flex-shrink: 0;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.rv-card.rv-visible:hover .rv-card__badge {
  border-color: rgba(66, 133, 244, 0.4);
  background: rgba(66, 133, 244, 0.06);
}
.rv-card__badge-icon {
  width: 14px; height: 14px;
  display: block;
  flex-shrink: 0;
}
.rv-card__badge-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(244, 244, 240, 0.65);
  white-space: nowrap;
}

/* ===== SERVICE TAG ===== */
.rv-card__service {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 14px;
  padding: 5px 12px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.rv-card.rv-visible:hover .rv-card__service {
  background: rgba(201, 168, 76, 0.14);
  border-color: rgba(201, 168, 76, 0.4);
}

/* ===== REVIEW TEXT ===== */
.rv-card__text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(244, 244, 240, 0.72);
  line-height: 1.8;
  font-style: italic;
  margin: 0 0 10px;
  flex: 1;
  position: relative;
  padding-left: 18px;
  border-left: 2px solid rgba(201, 168, 76, 0.25);
  transition: border-color 0.4s ease, color 0.4s ease;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-card--expanded .rv-card__text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.rv-card.rv-visible:hover .rv-card__text {
  border-left-color: rgba(201, 168, 76, 0.6);
  color: rgba(244, 244, 240, 0.85);
}

/* ===== SEE MORE BUTTON ===== */
.rv-card__toggle {
  background: none;
  border: none;
  padding: 0 0 10px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #c9a84c;
  cursor: pointer;
  display: none;
  transition: color 0.25s ease;
}
.rv-card__toggle.rv-toggle--visible {
  display: block;
}
.rv-card__toggle:hover {
  color: #ddb96a;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .rv-card { padding: 22px 18px 18px; border-radius: 14px; }
  .rv-card.rv-visible:hover { transform: translateY(-4px) scale(1.01); }
  .rv-card__name { font-size: 0.88rem; }
  .rv-card__text { font-size: 0.84rem; }
}

@media (max-width: 375px) {
  .rv-card { padding: 18px 14px 16px; }
  .rv-card__badge-text { display: none; }
  .rv-card__badge { padding: 4px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-card { transition: none; opacity: 1; transform: none; }
  .rv-card::after { transition: none; }
}
