/* =============================================
   Mitgabrim — Recommendations Page Responsive Styles
   Font: Heebo | Direction: RTL
   ============================================= */

.recs {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--color-white);
  overflow-x: hidden;
}

.recs .header__nav-link--active::after {
  width: 70px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.recs__hero {
  position: relative;
  width: 100%;
  padding: 160px 24px 140px;
  text-align: center;
  overflow: hidden;
  background: url('../assets/method/hero-bg-clean.png') no-repeat bottom center;
  background-size: cover;
}

.recs__tagline {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.recs__tagline-text {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

.recs__pencil {
  width: 26px;
  height: 36px;
  flex-shrink: 0;
}

.recs__pencil--right {
  transform: scaleX(-1);
}

.recs__hero-title {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto 16px;
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 1.2;
}

.recs__hero-title-navy {
  color: var(--color-primary);
}

.recs__hero-title-teal {
  color: var(--color-secondary);
}

.recs__hero-subtitle {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
}

.recs__hero-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 220px;
  background: var(--color-white);
  border: 1.5px solid #bddbe9;
  border-radius: 9999px;
  padding: 10px 32px;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.recs__hero-btn:hover {
  transform: translateY(-2px);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 14px rgba(0, 143, 155, 0.15);
}

/* =============================================
   STATS SECTION
   ============================================= */
.recs__stats-section {
  position: relative;
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 70px 24px 60px;
  text-align: center;
}

.recs__divider {
  width: 100%;
  max-width: 356px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
}

.recs__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.recs__stat {
  width: 100%;
}

.recs__stat-box {
  background: var(--color-white);
  border-radius: 20px;
  padding: 32px 18px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recs__stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.recs__stat-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Stat card themes */
.recs__stat--sun .recs__stat-box {
  border: 1.5px solid rgba(229, 169, 60, 0.35);
}

.recs__stat--sun .recs__stat-icon-wrap {
  background: #e5a93c;
}

.recs__stat--blue .recs__stat-box {
  border: 1.5px solid rgba(0, 119, 204, 0.35);
}

.recs__stat--blue .recs__stat-icon-wrap {
  background: #0077cc;
}

.recs__stat--coral .recs__stat-box {
  border: 1.5px solid rgba(226, 91, 56, 0.35);
}

.recs__stat--coral .recs__stat-icon-wrap {
  background: #e25b38;
}

.recs__stat--purple .recs__stat-box {
  border: 1.5px solid rgba(148, 68, 220, 0.35);
}

.recs__stat--purple .recs__stat-icon-wrap {
  background: #9444dc;
}

.recs__stat-icon {
  width: 34px;
  height: 34px;
}

.recs__stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.recs__stat-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}

.recs__section-line {
  width: 100%;
  max-width: var(--max-content-width);
  height: 1px;
  background: rgba(8, 43, 91, 0.1);
  margin: 60px auto 40px;
}

/* =============================================
   TESTIMONIALS & MESSAGES CAROUSELS
   ============================================= */
.recs__section-title {
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 40px;
  text-align: center;
}

.recs__carousel--parents {
  position: relative;
  max-width: 1320px;
  margin: 0 auto 70px;
  padding: 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.recs__carousel--parents .recs__carousel-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 36px;
  margin-bottom: 24px;
  position: relative;
}

.recs__carousel--parents .recs__testimonial {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 16px;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.recs__carousel--parents .recs__testimonial--center {
  max-width: 640px;
  width: 100%;
  flex-shrink: 0;
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.recs__carousel--parents .recs__testimonial--side {
  max-width: 320px;
  width: 100%;
  flex-shrink: 1;
  opacity: 0.18;
  filter: blur(0.4px);
  pointer-events: none;
  user-select: none;
  transform: scale(0.92);
}

.recs__carousel--parents .recs__testimonial--side .recs__testimonial-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recs__carousel--parents .recs__quote-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  opacity: 0.9;
}

.recs__carousel--parents .recs__testimonial-text {
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.recs__carousel--parents .recs__testimonial-author {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.recs__carousel--parents .recs__signature-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.recs__carousel--parents .recs__carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.recs__carousel--parents .recs__carousel-arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.recs__carousel--parents .recs__carousel-arrow--prev {
  right: calc(50% - 390px);
  left: auto;
}

.recs__carousel--parents .recs__carousel-arrow--next {
  left: calc(50% - 390px);
  right: auto;
}

@media (max-width: 1100px) {
  .recs__carousel--parents .recs__carousel-arrow--prev {
    right: 15px;
  }

  .recs__carousel--parents .recs__carousel-arrow--next {
    left: 15px;
  }
}

/* Messages Carousel */
.recs__carousel--messages {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recs__carousel--messages .recs__carousel-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-bottom: 30px;
}

.recs__message {
  background: #f7fcfa;
  border: 1px solid #d0e7ea;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  text-align: right;
  position: relative;
  flex: 1;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.recs__message--center {
  background: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 12px 32px rgba(0, 143, 155, 0.12);
  transform: scale(1.04);
  z-index: 2;
}

.recs__message--side {
  opacity: 0.6;
}

.recs__message-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 24px;
  flex-grow: 1;
}

.recs__message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #777;
}

.recs__message-emoji {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
}

.recs__carousel--messages .recs__carousel-arrow {
  position: absolute;
  top: 40%;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s ease;
}

.recs__carousel--messages .recs__carousel-arrow:hover {
  transform: scale(1.1);
}

.recs__carousel--messages .recs__carousel-arrow--prev {
  right: 0;
}

.recs__carousel--messages .recs__carousel-arrow--next {
  left: 0;
}

.recs__carousel-arrow img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(8, 43, 91, 0.12);
  transition: box-shadow 0.2s ease;
}

.recs__carousel-arrow:hover img {
  box-shadow: 0 8px 24px rgba(8, 43, 91, 0.2);
}

.recs__carousel-arrow--next img {
  transform: rotate(180deg);
}

.recs__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.recs__pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #cce8e8;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.recs__pagination-dot--active {
  background: var(--color-teal);
  width: 24px;
  border-radius: 10px;
}

/* =============================================
   SUCCESS STORIES SECTION
   ============================================= */
.recs__success {
  position: relative;
  width: 100%;
  padding: 85px 24px 180px;
  text-align: center;
  overflow: hidden;
  margin-top: 20px;
}

.recs__success-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 0;
}

.recs__cloud--success-1 {
  position: absolute;
  top: 40px;
  right: 6%;
  width: 140px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.recs__cloud--success-2 {
  position: absolute;
  top: 70px;
  left: 8%;
  width: 160px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.recs__pencil-white {
  filter: brightness(0) invert(1);
}

.recs__success-title {
  position: relative;
  z-index: 2;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 60px;
}

.recs__stories-grid {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.recs__story {
  background: url('../assets/recommendations/card-shape.svg') no-repeat center / 100% 100%;
  border-radius: 0;
  padding: 56px 24px 32px;
  box-shadow: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.recs__story:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.18));
}

.recs__story-icon-wrap {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.recs__story--1 .recs__story-icon-wrap {
  background: #008f9b;
}

.recs__story--2 .recs__story-icon-wrap {
  background: #e5a93c;
}

.recs__story--3 .recs__story-icon-wrap {
  background: #9444dc;
}

.recs__story-icon {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.recs__story-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.recs__story-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 24px;
  flex-grow: 1;
}

.recs__story-grades {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  padding: 0 4px;
  direction: ltr;
  position: relative;
}

.recs__grade {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.recs__grade-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.recs__grade-badge--teal {
  background: #008f9b;
}

.recs__grade-badge--gold {
  background: #e5a93c;
}

.recs__grade-badge--purple {
  background: #9444dc;
}

.recs__grade-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.recs__grade-connector {
  flex: 1;
  height: 0;
  border-top: 2px dashed #008f9b;
  margin: 24px 8px 0;
  position: relative;
  z-index: 1;
}

.recs__grade-connector::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -5px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #008f9b;
}

.recs__grade-connector--gold {
  border-top-color: #e5a93c;
}

.recs__grade-connector--gold::after {
  border-left-color: #e5a93c;
}

.recs__grade-connector--purple {
  border-top-color: #9444dc;
}

.recs__grade-connector--purple::after {
  border-left-color: #9444dc;
}

/* =============================================
   CTA + FOOTER SECTION
   ============================================= */
.recs__cta {
  position: relative;
  width: 100%;
  padding: 80px 24px 45px;
  text-align: center;
  overflow: hidden;
}

.recs__cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  z-index: 0;
}

.recs__cta-title {
  position: relative;
  z-index: 2;
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.recs__cta-signature {
  position: relative;
  z-index: 2;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.recs__cta-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  min-width: 220px;
  background: var(--color-teal);
  border-radius: 9999px;
  padding: 12px 36px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 143, 155, 0.3);
  transition: transform 0.2s ease;
}

.recs__cta-btn:hover {
  transform: translateY(-2px);
}

.recs__footer-cols {
  position: relative;
  z-index: 2;
  max-width: var(--max-content-width);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 143, 155, 0.25);
  padding-top: 28px;
  padding-bottom: 12px;
}

.recs__footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 16px;
}

.recs__footer-col:not(:last-child) {
  border-left: 1px solid rgba(0, 143, 155, 0.25);
}

.recs__footer-col img {
  width: 44px;
  height: 44px;
}

.recs__footer-col p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-primary);
}

.recs__decor--paper-plane {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: clamp(110px, 13vw, 175px);
  height: auto;
  z-index: 5;
  pointer-events: none;
}

.recs__decor--rocket {
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(190px, 20vw, 360px);
  height: auto;
  z-index: 5;
  pointer-events: none;
  opacity: 0.95;
}

.recs__bottom-bar {
  position: relative;
  width: 100%;
  height: 20px;
  background: var(--color-secondary);
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */
@media (max-width: 1024px) {
  .recs__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .recs__footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .recs__footer-col:nth-child(odd) {
    border-left: 1px solid rgba(0, 143, 155, 0.25);
  }

  .recs__footer-col:nth-child(even) {
    border-left: none;
  }

  .recs__stories-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 50px;
  }

  .recs__message--side {
    display: none;
  }

  .recs__message--center {
    max-width: 100%;
    transform: none;
  }
}

@media (max-width: 768px) {
  .recs__hero {
    background: url('../assets/inner-bg-mobile.png') no-repeat center bottom;
    padding: 130px 16px 70px;
    background-size: cover;
  }
}

@media (max-width: 600px) {
  .recs__stats-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .recs__carousel--parents {
    padding: 0 45px;
  }

  .recs__carousel--parents .recs__testimonial-text {
    font-size: 18px;
  }

  .recs__carousel--parents .recs__carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .recs__success {
    padding: 70px 16px 140px;
  }

  .recs__footer-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recs__footer-col {
    border-left: none !important;
    border-bottom: 1px solid rgba(0, 143, 155, 0.15);
    padding-bottom: 16px;
  }

  .recs__footer-col:last-child {
    border-bottom: none;
  }

  .recs__carousel--messages {
    padding: 0 10px;
  }

  .recs__carousel--messages .recs__carousel-arrow {
    display: none;
  }
}