/* Avorino — Client Reviews (scroll-locked single-review layout) */

/* ── Section Container ── */
.rv-wall {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background: #111111;
  color: #f0ede8;
}

/* ── Three.js Canvas (right half, desktop only) ── */
.rv-canvas-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.rv-canvas-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to right, #111111, transparent);
  z-index: 2;
  pointer-events: none;
}
.rv-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Content Grid ── */
.rv-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: center;
}

/* ── Left Column: Header ── */
.rv-header {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rv-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #f0ede8;
  opacity: 0.4;
}

.rv-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f0ede8;
}

.rv-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  color: #f0ede8;
  opacity: 0.55;
}

.rv-stats-stars {
  color: #c9a96e;
  font-size: 18px;
  letter-spacing: 2px;
}

.rv-counter {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 96px;
  font-weight: 400;
  line-height: 1;
  color: #f0ede8;
  opacity: 0.12;
  margin-top: 16px;
}

/* ── Right Column: Review Area ── */
.rv-review-area {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rv-review {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.rv-review.is-active {
  opacity: 1;
  pointer-events: auto;
}

.rv-stars {
  color: #c9a96e;
  font-size: 18px;
  letter-spacing: 3px;
  font-family: system-ui, sans-serif;
  margin-bottom: 32px;
}

.rv-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: #f0ede8;
  opacity: 0.8;
  margin: 0 0 40px 0;
}

.rv-sep {
  width: 60px;
  height: 1px;
  background: rgba(201, 169, 110, 0.3);
  margin-bottom: 24px;
}

.rv-author {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #f0ede8;
  margin-bottom: 4px;
}

.rv-location {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  color: #f0ede8;
  opacity: 0.4;
}

/* ── Progress Bar (bottom) ── */
.rv-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  z-index: 10;
  pointer-events: none;
}

.rv-bar-track {
  position: absolute;
  top: 50%;
  left: 80px;
  right: 80px;
  height: 1px;
  background: rgba(240, 237, 232, 0.06);
  transform: translateY(-50%);
}

.rv-bar-fill {
  position: absolute;
  top: 50%;
  left: 80px;
  right: 80px;
  height: 1px;
  background: rgba(201, 169, 110, 0.5);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.rv-bar-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 237, 232, 0.15);
  background: transparent;
  z-index: 1;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.rv-bar-dot.is-active {
  background: #c9a96e;
  border-color: #c9a96e;
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.12);
}

/* ── Navigation Arrows ── */
.rv-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.rv-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(240, 237, 232, 0.15);
  background: transparent;
  color: #f0ede8;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  padding: 0;
  line-height: 1;
}

.rv-arrow:hover {
  border-color: #c9a96e;
  color: #c9a96e;
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 991px) {
  .rv-canvas-wrap {
    display: none !important;
  }
  .rv-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 40px;
    height: 100vh;
    align-content: center;
  }
  .rv-counter {
    font-size: 64px;
  }
  .rv-progress-bar {
    padding: 0 40px;
  }
  .rv-bar-track,
  .rv-bar-fill {
    left: 40px;
    right: 40px;
  }
}

@media (max-width: 767px) {
  .rv-content {
    padding: 0 24px;
    gap: 32px;
  }
  .rv-heading {
    font-size: clamp(32px, 8vw, 48px);
  }
  .rv-counter {
    font-size: 48px;
    margin-top: 8px;
  }
  .rv-review-area {
    min-height: 320px;
  }
  .rv-quote {
    font-size: clamp(18px, 4vw, 24px);
  }
  .rv-progress-bar {
    padding: 0 24px;
  }
  .rv-bar-track,
  .rv-bar-fill {
    left: 24px;
    right: 24px;
  }
  .rv-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .rv-content {
    padding: 0 16px;
  }
  .rv-heading {
    font-size: clamp(28px, 9vw, 36px);
  }
  .rv-counter {
    font-size: 40px;
  }
  .rv-review-area {
    min-height: 280px;
  }
  .rv-progress-bar {
    padding: 0 16px;
  }
  .rv-bar-track,
  .rv-bar-fill {
    left: 16px;
    right: 16px;
  }
}
