/* ===== HOLZCOM REVIEWS SECTION (hzRev) ===== */

.hzRev {
  background: linear-gradient(180deg, #f5f7fb 0%, #eef1f8 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hzRev::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 18, 32, 0.08), transparent);
}

/* Header */
.hzRevHead {
  text-align: center;
  margin-bottom: 48px;
}

.hzRevTitle {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0b1220;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hzRevSub {
  font-size: 1rem;
  color: #5a6a85;
  margin: 0;
}

/* Stats row */
.hzRevStats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hzRevStat {
  text-align: center;
}

.hzRevStatVal {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0b1220;
  line-height: 1;
}

.hzRevStatVal span {
  color: #f59e0b;
}

.hzRevStatLbl {
  font-size: 0.8rem;
  color: #5a6a85;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* Filters */
.hzRevFilters {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(11, 18, 32, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hzRevFilterGroup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hzRevFilterLbl {
  font-size: 0.8rem;
  color: #5a6a85;
  white-space: nowrap;
}

.hzRevFilterBtns {
  display: flex;
  gap: 4px;
}

.hzRevFilterBtn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #5a6a85;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hzRevFilterBtn:hover {
  border-color: #0b1220;
  color: #0b1220;
}

.hzRevFilterBtn.is-active {
  background: #0b1220;
  border-color: #0b1220;
  color: #fff;
}

.hzRevFilterInput {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #0b1220;
  background: #fff;
  min-width: 140px;
}

.hzRevFilterInput:focus {
  outline: none;
  border-color: #0b1220;
}

.hzRevFilterToggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.hzRevFilterToggle input {
  display: none;
}

.hzRevToggleSwitch {
  width: 40px;
  height: 22px;
  background: #e2e8f0;
  border-radius: 11px;
  position: relative;
  transition: background 0.2s ease;
}

.hzRevToggleSwitch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hzRevFilterToggle input:checked + .hzRevToggleSwitch {
  background: #0b1220;
}

.hzRevFilterToggle input:checked + .hzRevToggleSwitch::after {
  transform: translateX(18px);
}

.hzRevFilterCount {
  margin-left: auto;
  font-size: 0.85rem;
  color: #5a6a85;
}

.hzRevFilterCount strong {
  color: #0b1220;
}

/* Reviews Grid */
.hzRevGrid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .hzRevGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .hzRevGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Review Card */
.hzRevCard {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(11, 18, 32, 0.06);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hzRevCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 18, 32, 0.12);
}

.hzRevCardHead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hzRevAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b1220 0%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.hzRevAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hzRevMeta {
  flex: 1;
  min-width: 0;
}

.hzRevAuthor {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1220;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hzRevDate {
  font-size: 0.75rem;
  color: #8896ab;
}

.hzRevStars {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.hzRevStar {
  width: 16px;
  height: 16px;
}

.hzRevStar--filled {
  fill: #f59e0b;
}

.hzRevStar--empty {
  fill: #e2e8f0;
}

.hzRevText {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3d4f66;
  margin-bottom: 16px;
  flex: 1;
}

/* Photos */
.hzRevPhotos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hzRevPhoto {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.hzRevPhoto:hover {
  transform: scale(1.05);
  border-color: #0b1220;
}

.hzRevPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Company Response */
.hzRevResponse {
  background: #f8fafc;
  border-left: 3px solid #0b1220;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-top: auto;
}

.hzRevResponseHead {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #0b1220;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 6px;
}

.hzRevResponseHead svg {
  width: 14px;
  height: 14px;
}

.hzRevResponseText {
  font-size: 0.8rem;
  color: #5a6a85;
  line-height: 1.5;
}

/* Rating Badge */
.hzRevBadge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.hzRevBadge--5 {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.hzRevBadge--4 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.hzRevBadge--3 {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

.hzRevBadge--2,
.hzRevBadge--1 {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

/* Empty state */
.hzRevEmpty {
  text-align: center;
  padding: 60px 20px;
  color: #5a6a85;
}

.hzRevEmpty svg {
  width: 64px;
  height: 64px;
  stroke: #c8d3e3;
  margin-bottom: 16px;
}

.hzRevEmpty h3 {
  font-size: 1.2rem;
  color: #0b1220;
  margin: 0 0 8px;
}

/* Lightbox */
.hzRevLightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 18, 32, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.hzRevLightbox.is-open {
  display: flex;
}

.hzRevLightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.hzRevLightboxClose {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.hzRevLightboxClose:hover {
  background: rgba(255,255,255,0.2);
}

/* CTA */
.hzRevCta {
  text-align: center;
  margin-top: 40px;
}

.hzRevCtaBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #0b1220;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.hzRevCtaBtn:hover {
  background: #1e3a5f;
  transform: translateY(-2px);
}

.hzRevCtaBtn svg {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .hzRev {
    padding: 60px 0;
  }
  
  .hzRevStats {
    gap: 24px;
  }
  
  .hzRevStatVal {
    font-size: 2rem;
  }
  
  .hzRevFilters {
    padding: 16px;
  }
  
  .hzRevFilterGroup {
    width: 100%;
  }
  
  .hzRevFilterCount {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
  
  .hzRevCard {
    padding: 20px;
  }
  
  .hzRevBadge {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}
