/* ============================================================
   Reviews & Testimonials page styles
   ============================================================ */

/* ── StickyWallHero ── */
.rev-hero {
  background: linear-gradient(180deg, #FAFAF9 0%, #F4F2EC 100%);
  border-bottom: 1px solid #EAEAE7;
  padding: 64px 0 80px;
  overflow: hidden;
}

.rev-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.rev-hero__title {
  font-size: 54px;
  font-weight: 900;
  color: #1F2A3D;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 22px;
  text-wrap: balance;
}

.rev-hero__title em {
  font-style: italic;
  font-family: var(--font-slab);
  color: var(--apoh-blue);
}

.rev-hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: #3D3F47;
  margin: 0 0 30px;
  max-width: 540px;
}

.rev-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Sticky notes art panel */
.rev-hero__stickies {
  position: relative;
  height: 510px;
  min-width: 0;
}

.rev-sticky {
  position: absolute;
  padding: 20px 18px 16px;
  box-shadow: 0 14px 28px rgba(31, 42, 61, 0.14);
}

.rev-sticky__tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 50px;
  height: 16px;
  background: rgba(244, 183, 42, 0.55);
  display: block;
}

.rev-sticky__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color: #F4B72A;
  font-size: 14px;
}

.rev-sticky__quote {
  font-size: 15px;
  line-height: 1.45;
  color: #1F2A3D;
  font-weight: 600;
}

.rev-sticky__author {
  font-size: 12px;
  color: #585961;
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .rev-hero { padding: 48px 0; }
  .rev-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rev-hero__title { font-size: 36px; }
  .rev-hero__stickies { display: none; }
  .rev-hero__trust { margin-top: 16px; }
}

/* ── Google Reviews Section ── */
.rev-google__header { margin-bottom: 28px; }

.rev-google__title {
  font-size: 36px;
  font-weight: 800;
  color: #1F2A3D;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}
.rev-google__title strong { color: var(--apoh-blue); }

/* Hide Elfsight widget's built-in title — we supply our own */
.eapps-google-reviews-title-container,
.eapps-google-reviews-header,
[class*="eapps-google-reviews-title"] { display: none !important; }

/* ── Video Intro ── */
.rev-vid-intro__heading {
  font-size: 42px;
  font-weight: 900;
  color: #1F2A3D;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 10px 0 12px;
}

.rev-vid-intro__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-1);
  max-width: 640px;
  margin: 0;
}

/* ── Video Row ── */
.rev-vid-row {
  background: #fff;
  padding: 48px 0 56px;
  border-top: 1px solid var(--border-hairline);
}

.rev-vid-row__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.rev-vid-row__heading {
  font-size: 28px;
  font-weight: 900;
  color: #1F2A3D;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Horizontally scrollable video strip — contained within apoh-container */
.rev-vid-row__scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rev-vid-row__scroll::-webkit-scrollbar { display: none; }

/* ── Video Card ── */
.rev-vid-card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.rev-vid-card:hover { text-decoration: none; }

.rev-vid-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  background: #0E1A2D;
  transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.rev-vid-card:hover .rev-vid-card__thumb {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(31, 42, 61, 0.22);
}

.rev-vid-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: linear-gradient(to top, rgba(14, 26, 61, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

.rev-vid-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.rev-vid-card__label {
  padding: 10px 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: #1F2A3D;
  line-height: 1.35;
  min-height: 36px;
  position: relative;
}

/* ── Quote Banner ── */
.rev-quote-banner {
  padding: 72px 32px;
  position: relative;
  overflow: hidden;
}

.rev-quote-banner__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.rev-quote-banner__title {
  font-family: var(--font-slab);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.rev-quote-banner__text {
  font-size: 17px;
  line-height: 1.7;
  color: #fff;
  margin: 0 0 24px;
  font-weight: 400;
}
.rev-quote-banner__text strong { font-weight: 700; color: #fff; }

.rev-quote-banner__attr {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Decorative circles */
.rev-quote-banner::before,
.rev-quote-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.rev-quote-banner::before {
  top: -30px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.06);
}
.rev-quote-banner::after {
  bottom: -40px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.04);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .rev-vid-intro__heading { font-size: 30px; }
  .rev-vid-row__heading { font-size: 22px; }
  .rev-quote-banner { padding: 48px 24px; }
  .rev-quote-banner__title { font-size: 28px; }
  .rev-google__title { font-size: 28px; }

  .rev-vid-card { flex: 0 0 calc(85vw - 48px); }
}
