/* reviews.html */

.rv-hero {
  padding: 40px 0 36px;
}

.rv-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.75fr;
  gap: 1.75rem 2rem;
  align-items: center;
}

.rv-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.12;
}

.rv-hero__lead {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.rv-hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.rv-hero__stats li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--green-dark);
  font-size: 0.92rem;
  line-height: 1.35;
}

.rv-hero__stats b {
  display: block;
  font-size: 0.98rem;
}

.rv-hero__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: var(--green-wash);
  color: var(--green);
}

.rv-hero__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.rv-hero__media {
  margin: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f0f2ee;
}

.rv-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.rv-hero__quote {
  padding: 0.5rem 0.25rem;
}

.rv-hero__mark {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.7;
  color: var(--green);
  opacity: 0.75;
  margin-bottom: 0.55rem;
}

.rv-hero__quote .hand {
  margin: 0 0 1rem;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  color: var(--green-dark);
  line-height: 1.2;
}

.rv-hero__brand {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.rv-gallery {
  padding: 8px 0 48px;
}

.rv-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.rv-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}

.rv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24, 61, 42, 0.12);
}

.rv-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f3f1e8;
}

.rv-card--plain {
  border: none;
  box-shadow: none;
  background: transparent;
}

.rv-card--plain:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(24, 61, 42, 0.1);
}

.rv-card--chat {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 1.1rem 1rem;
  border: none;
  background: #b7bf95;
  box-shadow: none;
}

.rv-phone {
  width: min(58%, 220px);
  height: 100%;
  max-height: 100%;
  background: #fff;
  border: 3px solid #e8ebe4;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(24, 61, 42, 0.18);
  padding: 0.85rem 0.7rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}

.rv-phone__title {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-dark);
}

.rv-phone__chat {
  flex: 1;
  min-height: 0;
  background: #f4f1e6;
  border-radius: 16px;
  padding: 0.65rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: auto;
}

.rv-bubble {
  margin: 0;
  max-width: 92%;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: #fff;
  color: #1f2a22;
  font-size: 0.68rem;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(24, 61, 42, 0.08);
}

.rv-bubble--in {
  align-self: flex-start;
}

.rv-bubble--out {
  align-self: flex-end;
}

.rv-cta {
  padding: 0 0 64px;
}

.rv-cta__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding: 2.4rem 2.2rem 2.5rem;
  background: var(--green);
  border-radius: var(--radius);
  color: #f4f7f1;
  overflow: hidden;
}

.rv-cta__center {
  text-align: center;
  justify-self: center;
  max-width: 34rem;
}

.rv-cta__center h2 {
  margin: 0 0 0.55rem;
  color: #f4f7f1;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.rv-cta__center p {
  margin: 0 0 1.25rem;
  color: rgba(244, 247, 241, 0.88);
  line-height: 1.5;
}

.rv-cta__btn {
  background: #f3f7ea;
  color: var(--green-dark);
  border-color: transparent;
}

.rv-cta__btn:hover {
  background: #ffffff;
  color: var(--green-dark);
}

.rv-cta__hand {
  margin: 0;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  color: #f4f7f1;
  transform: rotate(6deg);
  position: relative;
  padding-bottom: 0.35rem;
}

.rv-cta__hand::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  right: 18%;
  bottom: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
  border-radius: 2px;
  transform: rotate(-2deg);
}

@media (max-width: 1100px) {
  .rv-hero__grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .rv-hero__quote {
    grid-column: 1 / -1;
    max-width: 28rem;
  }
}

@media (max-width: 980px) {
  .rv-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-cta__box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.4rem 2.2rem;
  }

  .rv-cta__hand {
    justify-self: center;
    transform: rotate(3deg);
  }
}

@media (max-width: 720px) {
  .rv-hero__grid {
    grid-template-columns: 1fr;
  }

  .rv-hero__media {
    max-width: 380px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .rv-hero {
    padding-top: 24px;
  }

  .rv-gallery__grid {
    grid-template-columns: 1fr;
  }

  .rv-cta__box {
    padding: 1.6rem 1.15rem 1.8rem;
  }

  .rv-cta__btn {
    width: 100%;
    justify-content: center;
  }

  .rv-hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .rv-gallery__item img {
    width: 100%;
    height: auto;
  }
}
