/* =========================================================
   Testimonials Page Scoped Styling
   صفحة آراء الأمهات
========================================================= */

body.reham-testimonials-page .reham-testimonials-main {
  background:
    radial-gradient(circle at 15% 12%, rgba(226, 223, 215, .28), transparent 34%),
    linear-gradient(180deg, #FBF9F6 0%, #F8F5F0 46%, #fff 100%);
}

/* ===== Hero ===== */

body.reham-testimonials-page .testimonials-page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 150px 0 82px !important;
  background:
    radial-gradient(circle at 16% 24%, rgba(232, 224, 212, .14), transparent 24%),
    radial-gradient(circle at 86% 70%, rgba(232, 224, 212, .10), transparent 24%),
    linear-gradient(135deg, #6B2138 0%, #5A1B30 48%, #4A1426 100%) !important;
}

body.reham-testimonials-page .testimonials-page-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(232, 224, 212, .10);
  border-radius: 34px;
  pointer-events: none;
  z-index: 0;
}

body.reham-testimonials-page .testimonials-page-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  left: -150px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(232, 224, 212, .10), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

body.reham-testimonials-page .testimonials-page-hero .container {
  position: relative;
  z-index: 2;
}

body.reham-testimonials-page .testimonials-page-hero .section-head {
  max-width: 860px;
  margin-bottom: 0 !important;
}

body.reham-testimonials-page .testimonials-page-hero .section-label,
body.reham-testimonials-page .testimonials-page-hero .section-title,
body.reham-testimonials-page .testimonials-page-hero .section-sub {
  color: var(--identity-beige, #E2DFD7) !important;
}

body.reham-testimonials-page .testimonials-page-hero .section-label::before,
body.reham-testimonials-page .testimonials-page-hero .section-label::after {
  background: rgba(226, 223, 215, .60) !important;
}

body.reham-testimonials-page .testimonials-page-hero .section-title {
  font-size: clamp(38px, 4.2vw, 64px) !important;
  line-height: 1.22 !important;
  margin-bottom: 18px !important;
}

body.reham-testimonials-page .testimonials-page-hero .section-sub {
  max-width: 780px;
  margin-inline: auto;
  color: rgba(232, 224, 212, .90) !important;
  line-height: 2 !important;
}

/* ===== Testimonials Luxury Slider ===== */

body.reham-testimonials-page .testimonials-page-list {
  padding-top: 78px !important;
  padding-bottom: 94px !important;
  background:
    radial-gradient(circle at 14% 20%, rgba(107, 33, 56, .04), transparent 18%),
    radial-gradient(circle at 88% 82%, rgba(107, 33, 56, .035), transparent 16%),
    linear-gradient(180deg, #FBF9F6 0%, #F8F5F0 100%) !important;
  position: relative;
  overflow: hidden;
}

body.reham-testimonials-page .testimonials-page-luxury-slider {
  position: relative;
  width: 100%;
  margin-top: 12px;
}

body.reham-testimonials-page .testimonials-page-viewport {
  width: 100%;
  overflow: hidden;
  padding: 10px 6px 18px;
}

body.reham-testimonials-page .testimonials-page-track {
  display: flex !important;
  gap: 24px !important;
  align-items: stretch;
  direction: ltr;
  transition: transform .55s cubic-bezier(.2, .75, .25, 1);
  will-change: transform;
}

body.reham-testimonials-page .testimonials-page-track .quote-premium {
  flex: 0 0 calc((100% - 72px) / 4) !important;
  max-width: calc((100% - 72px) / 4) !important;
  direction: rtl;
  display: flex !important;
  flex-direction: column !important;
  min-height: 455px;
  position: relative;
  isolation: isolate;
  transform: translateY(0) scale(.985);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease,
    opacity .35s ease;
}

body.reham-testimonials-page .testimonials-page-track .quote-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(107, 33, 56, .055), transparent 26%),
    radial-gradient(circle at 88% 88%, rgba(226, 223, 215, .42), transparent 32%);
}

body.reham-testimonials-page .testimonials-page-track .quote-premium > * {
  position: relative;
  z-index: 1;
}

body.reham-testimonials-page .testimonials-page-track .quote-premium.is-active {
  transform: translateY(-8px) scale(1);
  border-color: rgba(107, 33, 56, .22) !important;
  box-shadow:
    0 26px 70px rgba(107, 33, 56, .115),
    0 0 0 1px rgba(107, 33, 56, .05) !important;
}

body.reham-testimonials-page .testimonials-page-track .quote-text {
  flex: 1 1 auto;
}

body.reham-testimonials-page .testimonials-page-track .quote-footer {
  margin-top: auto !important;
}

body.reham-testimonials-page .testimonials-page-controls {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

body.reham-testimonials-page .testimonials-page-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(107, 33, 56, .15);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(248, 245, 240, .92));
  color: var(--primary, #6B2138);
  display: grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(107, 33, 56, .07);
  transition: .25s ease;
}

body.reham-testimonials-page .testimonials-page-btn:hover {
  background: var(--primary, #6B2138);
  color: var(--identity-beige, #E2DFD7);
  transform: translateY(-2px);
}

body.reham-testimonials-page .testimonials-page-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
  background: #fff;
  color: var(--primary, #6B2138);
}

body.reham-testimonials-page .testimonials-page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.reham-testimonials-page .testimonials-page-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(107, 33, 56, .22);
  cursor: pointer;
  transition: .25s ease;
}

body.reham-testimonials-page .testimonials-page-dot.active {
  width: 26px;
  background: var(--primary, #6B2138);
}

/* نفس تصميم تشطيب الخصوصية عند الحاجة داخل النص */
/* Strong simple privacy strike - fixed spacing */
.privacy-strike {
  position: relative;
  display: inline-block;
  color: rgba(107, 33, 56, .45) !important;
  font-weight: 900;
  padding-inline: 5px;
  margin-inline: 4px;
  white-space: nowrap;
}

.privacy-strike::before,
.privacy-strike::after {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-inline-end: 2px;
  height: 3px;
  background: rgba(107, 33, 56, .95);
  border-radius: 999px;
  pointer-events: none;
}

.privacy-strike::before {
  top: calc(50% - 1.5px);
  transform: rotate(-3deg);
}

.privacy-strike::after {
  top: calc(50% + 1.5px);
  transform: rotate(-3deg);
}

/* ===== Intro Note ===== */

.testimonials-note {
  margin: 46px auto 0;
  max-width: 920px;
  border-radius: 30px;
  padding: 28px 32px;
  background:
    radial-gradient(circle at 14% 20%, rgba(226, 223, 215, .09), transparent 28%),
    linear-gradient(135deg, #6B2138 0%, #5A1B30 48%, #4A1426 100%) !important;
  border: 1px solid rgba(226, 223, 215, .14);
  color: rgba(226, 223, 215, .92);
  line-height: 2;
  text-align: center;
  box-shadow: 0 20px 54px rgba(107, 33, 56, .14);
}

.testimonials-note strong {
  display: block;
  color: var(--identity-beige, #E2DFD7);
  font-family: 'Zain', sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  margin-bottom: 8px;
}

/* ===== CTA ===== */

body.reham-testimonials-page .testimonials-page-cta {
  padding-top: 0 !important;
  padding-bottom: 98px !important;
}

/* Footer:
   لا يوجد Override للفوتر هنا حتى يأخذ نفس تصميم الجوال من الصفحة الرئيسية
   عبر get_footer() وملف style.css الأساسي.
*/

/* ===== Responsive ===== */

@media (max-width: 1180px) {
  body.reham-testimonials-page .testimonials-page-track .quote-premium {
    flex-basis: calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
    min-height: 410px;
  }
}

@media (max-width: 980px) {
  body.reham-testimonials-page .testimonials-page-hero {
    padding: 136px 0 72px !important;
  }

  body.reham-testimonials-page .testimonials-page-list {
    padding-top: 66px !important;
    padding-bottom: 78px !important;
  }
}

@media (max-width: 640px) {
  body.reham-testimonials-page .testimonials-page-hero {
    padding: 122px 0 62px !important;
  }

  body.reham-testimonials-page .testimonials-page-hero::before {
    inset: 12px;
    border-radius: 26px;
  }

  body.reham-testimonials-page .testimonials-page-hero .section-title {
    font-size: clamp(34px, 9vw, 44px) !important;
  }

  body.reham-testimonials-page .testimonials-page-hero .section-sub {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  body.reham-testimonials-page .testimonials-page-track {
    gap: 16px !important;
  }

  body.reham-testimonials-page .testimonials-page-track .quote-premium {
    flex-basis: 100% !important;
    max-width: 100% !important;
    min-height: 390px;
  }

  body.reham-testimonials-page .testimonials-page-controls {
    margin-top: 18px;
  }

  .testimonials-note {
    margin-top: 34px;
    padding: 22px 18px;
    font-size: 13px;
    border-radius: 24px;
  }

  body.reham-testimonials-page .testimonials-page-cta .cta-luxury {
    padding: 34px 22px !important;
  }
}