/* =========================
   REVIEWS PAGE
   ========================= */

.reviews-panel {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background leaves */
.reviews-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("/assets/images/leaves-background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.38;
  pointer-events: none;
}

.reviews-card {
  position: relative;
  z-index: 2;

  width: min(100%, 920px);
  padding: 60px 70px;

  text-align: center;

  border-radius: 34px;
  border: 1px solid rgba(216, 183, 122, 0.55);

  background: rgba(246, 239, 227, 0.72);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.reviews-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;

  border-radius: 26px;
  border: 1px solid rgba(216, 183, 122, 0.55);

  pointer-events: none;
}

.reviews-content {
  position: relative;
  z-index: 1;

  max-width: 760px;
  margin: 0 auto;

  text-align: center;
}

.reviews-title {
  margin: 14px 0 18px;
}

.reviews-lead {
  margin: 0 auto;

  font-size: 20px;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.68);
}

.reviews-text {
  max-width: 62ch;
  margin: 0 auto;

  font-size: 18px;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.66);
}

.reviews-text p + p {
  margin-top: 18px;
}

.reviews-final {
  margin-top: 34px;

  font-family: "Merriweather", serif;
  font-size: 38px;
  font-style: italic;

  color: #9b7443;
}

.reviews-btn {
  margin-top: 16px;
}

/* Divider */
.reviews-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  margin: 18px auto;
}

.reviews-divider::before,
.reviews-divider::after {
  content: "";

  width: 122px;
  height: 1px;

  background: rgba(216, 183, 122, 0.65);
}

.reviews-divider span {
  font-size: 11px;
  line-height: 1;
  color: #d8b77a;
}

.short-divider::before,
.short-divider::after {
  width: 69px;
}

/* =========================
   REVIEWS RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .reviews-panel {
    min-height: 480px;
  }

  .reviews-card {
    width: min(100%, 820px);
    padding: 52px 54px;
  }

  .reviews .section-panel {
    padding: 20px 0;
}

  .reviews .section-kicker {
    margin-top: 28px;
  }

  .reviews-content {
    max-width: 680px;
  }

  .reviews-lead {
    font-size: 18px;
  }

  .reviews-btn {
    margin-top: 0;
    margin-bottom: 28px;
  }
}

/* REVIEWS. RESPONSIVE 600px */
@media (max-width: 600px) {
    .reviews .section-kicker {
    margin-top: 16px;
}

  .reviews-panel {
    min-height: 440px;
  }

  .reviews-card {
    padding: 44px 34px;
    border-radius: 28px;
  }

  .reviews-card::before {
    inset: 15px;
    border-radius: 22px;
  }

  .reviews-title {
    margin-bottom: 14px;
  }

  .reviews-lead {
    font-size: 16px;
  }

  .reviews-text {
    max-width: 48ch;
    font-size: 15px;
  }

  .reviews-btn {
    width: fit-content;
    min-width: 240px;
    justify-content: center;
    padding: 14px 30px;
    margin: 10px 0 20px;
  }
}

@media (max-width: 480px) {
    .reviews .section-title {
        font-size: 26px;
        max-width: 16ch;
        margin: 0 auto 16px;
    }

    .reviews .section-text {
        max-width: 30ch;
    }

    .reviews .section-text {
        max-width: 34ch;
}
}

/* REVIEWS. RESPONSIVE 400px */
@media (max-width: 400px) {
  .reviews-panel {
    min-height: 420px;
  }

  .reviews .section-panel {
    padding: 30px 14px;
  }

  .reviews .section-kicker {
    margin-top: 10px;
}

  .reviews-card {
    padding: 38px 18px;
    border-radius: 24px;
  }

  .reviews-card::before {
    inset: 12px 8px;
    border-radius: 20px;
  }

  .reviews-content {
    max-width: 300px;
    margin: 0 auto;
  }

  .reviews-divider::before,
  .reviews-divider::after {
    width: 82px;
  }

  .short-divider::before,
  .short-divider::after {
    width: 54px;
  }

  .reviews-text {
    font-size: 14px;
  }

  .reviews-btn {
    margin: 10px 0;
  }
}

@media (max-width: 380px) {
  .reviews-card {
    padding: 36px 14px;
  }

  .reviews-card::before {
    inset: 10px 7px;
  }

  .reviews-btn {
    min-width: 220px;
    padding: 13px 24px;
  }
}
