/**
 * Verified reviews block shared by the main page and ST landings.
 */

.verified-reviews {
  --vr-primary: var(--st-primary, #ff7167);
  --vr-primary-dark: var(--st-primary-dark, #d94f45);
  --vr-primary-rgb: var(--st-primary-rgb, 255, 113, 103);
  --vr-ink: var(--st-text, #211d1a);
  --vr-muted: var(--st-text-md, #5d5853);
  --vr-soft: var(--st-cream, #fff8f3);
  --vr-line: rgba(33, 29, 26, 0.11);
  --vr-blue: #2f6f8f;
  --vr-green: #3f8064;

  position: relative;
  overflow: hidden;
  padding: 96px 24px;
  color: var(--vr-ink);
  background:
    linear-gradient(90deg, rgba(47, 111, 143, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #f7fbff 0%, #fff7f2 46%, #f5fbf7 100%);
  background-size: 40px 40px, auto;
}

.verified-reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(var(--vr-primary-rgb), 0.12), transparent 36%),
    linear-gradient(300deg, rgba(47, 111, 143, 0.14), transparent 40%),
    linear-gradient(30deg, transparent 54%, rgba(63, 128, 100, 0.1));
}

.verified-reviews__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.verified-reviews__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.verified-reviews__kicker {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  margin: 0 0 -12px;
  padding: 7px 12px;
  border: 1px solid rgba(var(--vr-primary-rgb), 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--vr-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.verified-reviews h2 {
  max-width: 720px;
  margin: 0;
  color: var(--vr-ink);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.verified-reviews__header > p:not(.verified-reviews__kicker) {
  max-width: 560px;
  margin: 0;
  color: var(--vr-muted);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.72;
}

.verified-reviews__layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.verified-reviews__media {
  position: sticky;
  top: 96px;
  min-height: 560px;
  overflow: visible;
}

.verified-reviews__stack {
  position: relative;
  min-height: 560px;
}

.verified-reviews__shot {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(33, 29, 26, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--vr-ink);
  text-decoration: none;
  box-shadow: 0 18px 55px rgba(46, 35, 29, 0.12);
}

.verified-reviews__shot img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top left;
  background: #fff;
}

.verified-reviews__shot--1 {
  top: 4px;
  left: 0;
  z-index: 3;
  width: 74%;
  transform: rotate(-2.5deg);
}

.verified-reviews__shot--2 {
  top: 132px;
  right: 0;
  z-index: 2;
  width: 68%;
  transform: rotate(2deg);
}

.verified-reviews__shot--3 {
  bottom: 48px;
  left: 52px;
  z-index: 4;
  width: 74%;
  transform: rotate(-1deg);
}

.verified-reviews__note {
  position: absolute;
  right: 12px;
  bottom: 0;
  z-index: 5;
  display: block;
  width: min(300px, 66%);
  padding: 18px;
  border: 1px solid rgba(13, 133, 1, 0.16);
  border-radius: 8px;
  background: #f3fff1;
  color: var(--vr-ink);
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(13, 133, 1, 0.12);
}

.verified-reviews__note span,
.verified-reviews__note strong {
  display: block;
}

.verified-reviews__note span {
  color: var(--vr-green);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.verified-reviews__note strong {
  margin-top: 8px;
  color: var(--vr-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.verified-reviews__content {
  min-width: 0;
}

.verified-reviews__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.verified-reviews__proof div {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--vr-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 34px rgba(33, 29, 26, 0.06);
}

.verified-reviews__proof .verified-reviews__proof-card--rating {
  border-color: rgba(var(--vr-primary-rgb), 0.24);
  background:
    linear-gradient(135deg, rgba(var(--vr-primary-rgb), 0.14), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.9);
}

.verified-reviews__proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--vr-primary-dark);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.verified-reviews__proof span {
  display: block;
  color: var(--vr-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.verified-reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.verified-reviews__item {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--vr-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(33, 29, 26, 0.07);
}

.verified-reviews__item:nth-child(3n + 2) {
  border-color: rgba(47, 111, 143, 0.18);
}

.verified-reviews__item:nth-child(3n + 3) {
  border-color: rgba(63, 128, 100, 0.18);
}

.verified-reviews__item header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.verified-reviews__item header > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-blue));
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.verified-reviews__item h3 {
  margin: 0;
  color: var(--vr-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.verified-reviews__item time {
  display: block;
  margin-top: 3px;
  color: rgba(33, 29, 26, 0.52);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.verified-reviews__item p {
  margin: 0;
  color: var(--vr-muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.64;
}

.verified-reviews__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.verified-reviews__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.verified-reviews__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verified-reviews__button--primary {
  background: var(--vr-ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(33, 29, 26, 0.18);
}

.verified-reviews__button--secondary {
  border-color: rgba(var(--vr-primary-rgb), 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--vr-primary-dark);
}

.verified-reviews__button:hover {
  transform: translateY(-2px);
}

.verified-reviews__button--primary:hover {
  background: #111;
  box-shadow: 0 18px 42px rgba(33, 29, 26, 0.24);
}

.verified-reviews__button--secondary:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(var(--vr-primary-rgb), 0.12);
}

@media (max-width: 1040px) {
  .verified-reviews__header,
  .verified-reviews__layout {
    grid-template-columns: 1fr;
  }

  .verified-reviews__header {
    gap: 18px;
  }

  .verified-reviews__header > p:not(.verified-reviews__kicker) {
    max-width: 760px;
  }

  .verified-reviews__media {
    position: static;
    min-height: 500px;
  }

  .verified-reviews__stack {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .verified-reviews {
    padding: 72px 16px;
    background-size: 32px 32px, auto;
  }

  .verified-reviews h2 {
    font-size: 2.25rem;
    line-height: 1.12;
  }

  .verified-reviews__header > p:not(.verified-reviews__kicker) {
    font-size: 1rem;
  }

  .verified-reviews__proof,
  .verified-reviews__grid {
    grid-template-columns: 1fr;
  }

  .verified-reviews__media,
  .verified-reviews__stack {
    min-height: 520px;
  }

  .verified-reviews__shot img {
    height: 260px;
  }

  .verified-reviews__shot--1 {
    left: 0;
    width: 86%;
  }

  .verified-reviews__shot--2 {
    top: 142px;
    width: 76%;
  }

  .verified-reviews__shot--3 {
    bottom: 72px;
    left: 14px;
    width: 84%;
  }

  .verified-reviews__note {
    right: 0;
    width: 84%;
  }

  .verified-reviews__proof div,
  .verified-reviews__item {
    min-height: 0;
  }

  .verified-reviews__actions,
  .verified-reviews__button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .verified-reviews h2 {
    font-size: 1.95rem;
  }

  .verified-reviews__media,
  .verified-reviews__stack {
    min-height: 500px;
  }

  .verified-reviews__shot img {
    height: 240px;
  }

  .verified-reviews__note {
    width: 88%;
    padding: 16px;
  }

  .verified-reviews__item {
    padding: 18px;
  }
}
