.vb-google-reviews {
  padding: 96px 20px;
  background: #f5f5f5;
}

.vb-google-reviews__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.vb-google-reviews__title {
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  color: #4b3f3b;
}

.vb-google-reviews__title-highlight {
  color: #d4ae9d;
}

.vb-google-reviews__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  border-radius: 24px;
  background: #fff;
}

.vb-google-reviews__summary-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.vb-google-reviews__summary-main {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
}

.vb-google-reviews__brand,
.vb-google-reviews__card-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.vb-google-reviews__brand {
  font-size: clamp(26px, 2.5vw, 36px);
}

.vb-google-reviews__card-brand {
  justify-content: center;
  font-size: 29px;
}

.vb-google-reviews__brand-letter--blue {
  color: #4285f4;
}

.vb-google-reviews__brand-letter--red {
  color: #ea4335;
}

.vb-google-reviews__brand-letter--yellow {
  color: #fbbc05;
}

.vb-google-reviews__brand-letter--green {
  color: #34a853;
}

.vb-google-reviews__label {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 500;
  line-height: 1.1;
  color: #1f1816;
}

.vb-google-reviews__summary-meta {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
  font-family: "Poppins", sans-serif;
  flex: 0 0 auto;
}

.vb-google-reviews__rating-value {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: #1f1816;
}

.vb-google-reviews__stars,
.vb-google-reviews__card-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vb-google-reviews__star {
  color: #ffc107;
  font-size: 24px;
  line-height: 1;
}

.vb-google-reviews__count {
  font-size: 11px;
  line-height: 1.4;
  color: #9f9894;
}

.vb-google-reviews__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.vb-google-reviews__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 18px 24px;
  border-radius: 100px;
  border: 1px solid #4b3f3b;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.vb-google-reviews__button--secondary {
  background: #fff;
  color: #4b3f3b;
}

.vb-google-reviews__button--primary {
  background: #4b3f3b;
  color: #fff;
}

.vb-google-reviews__button:hover,
.vb-google-reviews__button:focus-visible {
  text-decoration: none;
}

.vb-google-reviews__button--secondary:hover,
.vb-google-reviews__button--secondary:focus-visible {
  box-shadow: 4px 4px 15px 0 rgba(0, 0, 0, 0.1);
}

.vb-google-reviews__button--primary:hover,
.vb-google-reviews__button--primary:focus-visible {
  background: #473732;
  border-color: #473732;
  color: #fff;
}

.vb-google-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.vb-google-reviews__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 24px 24px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.vb-google-reviews__comment {
  margin-top: 16px;
  flex: 1 1 auto;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #1a1a1a;
}

.vb-google-reviews__card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 24px;
}

.vb-google-reviews__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4c423f;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.vb-google-reviews__author {
  margin: 16px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #4b3f3b;
}

.vb-google-reviews__author-meta {
  margin: 10px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #4b3f3b80;
}

.vb-google-reviews__card-brand {
  margin-top: 22px;
  padding-top: 0;
}

@media (max-width: 1024px) {
  .vb-google-reviews__inner {
    max-width: 100%;
  }

  .vb-google-reviews__summary {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .vb-google-reviews__summary-left {
    width: 100%;
  }

  .vb-google-reviews__summary-main,
  .vb-google-reviews__summary-meta,
  .vb-google-reviews__actions {
    width: 100%;
  }

  .vb-google-reviews__actions {
    justify-content: flex-start;
  }

  .vb-google-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .vb-google-reviews {
    padding: 32px 20px;
  }

  .vb-google-reviews__title {
    margin-bottom: 20px;
    flex-direction: column;
    gap: 0;
    font-size: 28px;
  }

  .vb-google-reviews__summary {
    gap: 16px;
    padding: 12px;
    border-radius: 20px;
  }

  .vb-google-reviews__summary-main {
    flex-wrap: wrap;
    gap: 8px;
  }

  .vb-google-reviews__brand {
    font-size: 28px;
  }

  .vb-google-reviews__label {
    width: 100%;
    font-size: 18px;
  }

  .vb-google-reviews__summary-meta {
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
  }

  .vb-google-reviews__actions {
    width: 100%;
    justify-content: stretch;
  }

  .vb-google-reviews__button {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
    min-height: 44px;
    padding: 12px 18px;
    font-size: 13px;
  }

  .vb-google-reviews__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .vb-google-reviews__card {
    padding: 24px 20px 22px;
    border-radius: 20px;
  }

  .vb-google-reviews__comment {
    font-size: 15px;
  }

  .vb-google-reviews__author {
    font-size: 18px;
  }
}
