/* ==============================================================================
   HERO GOOGLE REVIEWS & TEAM TRUST BADGE REDESIGN
   ============================================================================== */
.tr-hero-trust-section {
  position: relative !important;
  z-index: 4 !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  width: 100% !important;
}

/* Glassmorphism Frosted Card */
.tr-hero-google-trust-badge {
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease !important;
  cursor: pointer !important;
  width: fit-content !important;
  background: rgba(15, 23, 42, 0.44) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 18px !important;
  padding: 16px 22px 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  animation: trBadgeEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Diagonal Glass Sheen Light Sweep */
.tr-hero-google-trust-badge::before {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  left: -80% !important;
  width: 50% !important;
  height: 200% !important;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.04) 70%,
    transparent 100%
  ) !important;
  transform: rotate(25deg) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  animation: trSheenSweep 6s ease-in-out infinite !important;
}

.tr-hero-google-trust-badge:hover {
  transform: translateY(-4px) !important;
  background: rgba(15, 23, 42, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* Badge Title */
.tr-hero-trust-title {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 0 10px 0 !important;
  font-family: var(--heading-font, "Mulish", "Montserrat", sans-serif) !important;
  font-size: clamp(20px, 2vw, 27px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.25s ease !important;
}

.tr-hero-google-trust-badge:hover .tr-hero-trust-title {
  transform: translateX(2px) !important;
}

/* Flex Row: Avatars & Rating */
.tr-hero-trust-row {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

/* Avatar Group / Stack */
.tr-hero-avatar-stack {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.tr-hero-avatar-img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  border: 2.5px solid #ffffff !important;
  object-fit: cover !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  background-color: #cbd5e1 !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, margin 0.3s ease !important;
}

.tr-hero-avatar-stack .tr-hero-avatar-img:not(:first-child) {
  margin-left: -13px !important;
}

.tr-hero-avatar-img:hover {
  transform: scale(1.18) translateY(-4px) !important;
  z-index: 10 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
  border-color: #ffffff !important;
}

.tr-hero-google-trust-badge:hover .tr-hero-avatar-stack .tr-hero-avatar-img:not(:first-child) {
  margin-left: -9px !important;
}

.tr-hero-google-trust-badge:hover .tr-hero-avatar-plus {
  margin-left: -9px !important;
}

/* Red Plus Circle Button */
.tr-hero-avatar-plus {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  border: 2.5px solid #ffffff !important;
  background: #dc2626 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin-left: -13px !important;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.45) !important;
  position: relative !important;
  user-select: none !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, margin 0.3s ease !important;
  animation: trPulsePlus 2.6s ease-in-out infinite !important;
}

.tr-hero-avatar-plus:hover {
  transform: scale(1.2) rotate(90deg) !important;
  z-index: 10 !important;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.7) !important;
}

/* Rating Column */
.tr-hero-trust-rating {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
  transition: transform 0.25s ease !important;
}

.tr-hero-google-trust-badge:hover .tr-hero-trust-rating {
  transform: translateX(3px) !important;
}

.tr-hero-rating-stars-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* 5 Golden Stars */
.tr-hero-stars-icons {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #f59e0b !important;
  font-size: 20px !important;
}

.tr-hero-stars-icons svg,
.tr-hero-stars-icons i {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  color: #f59e0b !important;
  fill: #f59e0b !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease, filter 0.25s ease !important;
}

.tr-hero-stars-icons svg:nth-child(1),
.tr-hero-stars-icons i:nth-child(1) { animation: trStarTwinkle 3.2s ease-in-out 0.1s infinite !important; }
.tr-hero-stars-icons svg:nth-child(2),
.tr-hero-stars-icons i:nth-child(2) { animation: trStarTwinkle 3.2s ease-in-out 0.3s infinite !important; }
.tr-hero-stars-icons svg:nth-child(3),
.tr-hero-stars-icons i:nth-child(3) { animation: trStarTwinkle 3.2s ease-in-out 0.5s infinite !important; }
.tr-hero-stars-icons svg:nth-child(4),
.tr-hero-stars-icons i:nth-child(4) { animation: trStarTwinkle 3.2s ease-in-out 0.7s infinite !important; }
.tr-hero-stars-icons svg:nth-child(5),
.tr-hero-stars-icons i:nth-child(5) { animation: trStarTwinkle 3.2s ease-in-out 0.9s infinite !important; }

.tr-hero-google-trust-badge:hover .tr-hero-stars-icons svg,
.tr-hero-google-trust-badge:hover .tr-hero-stars-icons i {
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.85)) !important;
}

/* 4.5 Rating Score */
.tr-hero-rating-score {
  font-family: var(--heading-font, "Mulish", "Montserrat", sans-serif) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
  transition: color 0.25s ease !important;
}

.tr-hero-google-trust-badge:hover .tr-hero-rating-score {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important;
}

/* 800+ Google Reviews Text */
.tr-hero-rating-count {
  font-family: var(--heading-font, "Mulish", "Montserrat", sans-serif) !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
  line-height: 1.2 !important;
  margin-top: 5px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
  transition: color 0.25s ease !important;
}

.tr-hero-google-trust-badge:hover .tr-hero-rating-count {
  color: #ffffff !important;
}

/* Animations */
@keyframes trBadgeEntrance {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes trSheenSweep {
  0%, 70% {
    left: -80%;
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

@keyframes trPulsePlus {
  0%, 100% {
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.85);
    transform: scale(1.06);
  }
}

@keyframes trStarTwinkle {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 1px rgba(245, 158, 11, 0.3));
  }
  50% {
    transform: scale(1.2);
    filter: drop-shadow(0 0 7px rgba(245, 158, 11, 0.95));
  }
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .tr-hero-trust-section {
    padding: 0 24px !important;
  }
  .tr-hero-google-trust-badge {
    padding: 14px 18px 16px !important;
    border-radius: 16px !important;
  }
  .tr-hero-trust-title {
    font-size: 21px !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
  }
  .tr-hero-trust-row {
    gap: 16px !important;
  }
  .tr-hero-avatar-img,
  .tr-hero-avatar-plus {
    width: 44px !important;
    height: 44px !important;
  }
  .tr-hero-avatar-stack .tr-hero-avatar-img:not(:first-child),
  .tr-hero-avatar-plus {
    margin-left: -11px !important;
  }
  .tr-hero-avatar-plus {
    font-size: 24px !important;
  }
  .tr-hero-stars-icons {
    font-size: 17px !important;
    color: #f59e0b !important;
  }
  .tr-hero-stars-icons svg,
  .tr-hero-stars-icons i {
    color: #f59e0b !important;
  }
  .tr-hero-rating-score {
    font-size: 18px !important;
    color: #ffffff !important;
  }
  .tr-hero-rating-count {
    font-size: 14.5px !important;
    color: #cbd5e1 !important;
  }
}

@media (max-width: 575px) {
  .tr-hero-trust-section {
    padding: 0 14px !important;
    margin-top: 8px !important;
  }
  .tr-hero-google-trust-badge {
    padding: 10px 14px 12px !important;
    border-radius: 14px !important;
    width: fit-content !important;
    max-width: 100% !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  }
  .tr-hero-trust-title {
    font-size: clamp(14.5px, 4.2vw, 17px) !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
    letter-spacing: -0.01em !important;
    color: #ffffff !important;
  }
  .tr-hero-trust-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .tr-hero-avatar-stack {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .tr-hero-avatar-img {
    width: 32px !important;
    height: 32px !important;
    border-width: 1.5px !important;
  }
  .tr-hero-avatar-stack .tr-hero-avatar-img:not(:first-child) {
    margin-left: -8px !important;
  }
  .tr-hero-avatar-plus {
    width: 32px !important;
    height: 32px !important;
    border-width: 1.5px !important;
    font-size: 18px !important;
    margin-left: -8px !important;
  }
  .tr-hero-google-trust-badge:hover .tr-hero-avatar-stack .tr-hero-avatar-img:not(:first-child),
  .tr-hero-google-trust-badge:hover .tr-hero-avatar-plus {
    margin-left: -6px !important;
  }
  .tr-hero-trust-rating {
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }
  .tr-hero-rating-stars-row {
    gap: 4px !important;
  }
  .tr-hero-stars-icons {
    font-size: 12.5px !important;
    gap: 1.5px !important;
    color: #f59e0b !important;
  }
  .tr-hero-stars-icons svg,
  .tr-hero-stars-icons i {
    color: #f59e0b !important;
  }
  .tr-hero-rating-score {
    font-size: 13.5px !important;
    color: #ffffff !important;
  }
  .tr-hero-rating-count {
    font-size: 11px !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    color: #cbd5e1 !important;
  }
}

@media (max-width: 375px) {
  .tr-hero-trust-section {
    padding: 0 10px !important;
  }
  .tr-hero-google-trust-badge {
    padding: 9px 11px 11px !important;
    border-radius: 12px !important;
  }
  .tr-hero-trust-title {
    font-size: 13.5px !important;
    margin-bottom: 6px !important;
    color: #ffffff !important;
  }
  .tr-hero-trust-row {
    gap: 8px !important;
  }
  .tr-hero-avatar-img,
  .tr-hero-avatar-plus {
    width: 28px !important;
    height: 28px !important;
  }
  .tr-hero-avatar-stack .tr-hero-avatar-img:not(:first-child),
  .tr-hero-avatar-plus {
    margin-left: -7px !important;
  }
  .tr-hero-avatar-plus {
    font-size: 16px !important;
  }
  .tr-hero-stars-icons {
    font-size: 11px !important;
    gap: 1px !important;
    color: #f59e0b !important;
  }
  .tr-hero-stars-icons svg,
  .tr-hero-stars-icons i {
    color: #f59e0b !important;
  }
  .tr-hero-rating-score {
    font-size: 12px !important;
    color: #ffffff !important;
  }
  .tr-hero-rating-count {
    font-size: 10px !important;
    color: #cbd5e1 !important;
  }
}
