/* ═══════════════════════════════════════════════════════
   SUCCESS STORIES PAGE
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.stories-hero {
  background: #751e19;
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 50vh;
}

.stories-hero-mandala {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url('/static/website/images/mandala.png');
  background-size: 300px;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.stories-hero-blob {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 150px;
  height: 150px;
  border-radius: 9999px;
  background: rgba(212,175,55,0.10);
  filter: blur(55px);
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
  display: none;
}

.stories-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
}

.stories-hero-content {
  max-width: 42rem;
  margin: 0 auto;
}

.stories-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}
.stories-hero-badge i { color: var(--gold); }

.stories-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.stories-hero-title span { color: var(--gold-shine); }

.stories-hero-sub {
  color: rgba(255,255,255,0.70);
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════
   METRICS
   ═══════════════════════════════════════════════════════ */
.stories-metrics {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.stories-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}

.stories-metric-item { padding: 0.5rem; }

.stories-metric-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stories-metrics .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}

.stories-metrics .stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.15rem;
}


/* ═══════════════════════════════════════════════════════
   CAROUSEL SECTION
   ═══════════════════════════════════════════════════════ */
.stories-carousel-section {
  background: var(--cream);
  padding: 2.5rem 0;
}

.stories-carousel-head {
  text-align: center;
  margin-bottom: 2rem;
}
.stories-carousel-head .section-subheading {
  margin: 0 auto;
  max-width: 600px;
}

.stories-carousel {
  padding: 0.5rem 0.25rem;
}

.stories-carousel .swiper-wrapper {
  padding: 0.5rem 0;
}

/* ── Slide ── */
.stories-carousel .swiper-slide {
  height: auto;
  padding: 0.25rem;
}

/* ── Story card ── */
.story-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.story-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.story-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.story-header-info {
  min-width: 0;
  flex: 1;
}

.story-names {
  font-weight: 600;
  color: var(--dark);
  font-size: clamp(0.9rem, 1vw, 1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-date {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.story-date i { color: var(--red); }

.story-location {
  font-size: 0.7rem;
  color: var(--muted);
}

.story-text {
  font-size: clamp(0.85rem, 0.9vw, 0.9375rem);
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0.75rem;
}

.story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.story-footer .stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.story-plan-badge {
  background: linear-gradient(135deg, #D4AF37, #b8932a);
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.65rem;
  font-weight: 600;
}

/* ── Pagination ── */
.stories-pagination {
  position: static;
  margin-top: 1rem;
  text-align: center;
}

.stories-carousel .swiper-pagination-bullet {
  background: var(--border);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all 0.3s;
}

.stories-carousel .swiper-pagination-bullet-active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}


/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.stories-cta {
  background: var(--gradient);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stories-cta-mandala {
  opacity: 0.05;
  background-size: 200px;
}

.stories-cta-inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.stories-cta-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════════
   REVEAL + DELAYS (shared)
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 640px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .stories-hero {
    min-height: 40vh;
    padding: 2rem 0;
  }

  .stories-hero-title { font-size: 1.5rem; }
  .stories-hero-sub { font-size: 0.9rem; }

  .stories-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stories-metric-item { padding: 0.5rem; }
  .stories-metric-icon { font-size: 1.5rem; }
  .stories-metrics .stat-number { font-size: 1.25rem; }
  .stories-metrics .stat-label { font-size: 0.6rem; }

  .stories-carousel { padding: 0; }
  .stories-carousel .swiper-slide { padding: 0.15rem; }

  .story-card { padding: 1rem; }
  .story-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }
  .story-names { font-size: 0.85rem; }
  .story-text { font-size: 0.8rem; }
  .story-footer .stars { font-size: 0.75rem; }
  .story-plan-badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.4rem;
  }

  .stories-cta { padding: 2rem 0; }
  .stories-cta .cta-banner-title { font-size: 1.25rem; }
  .stories-cta .cta-banner-sub { font-size: 0.85rem; }
  .stories-cta .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .stories-carousel-section .section-tag { font-size: 0.7rem; }
  .stories-carousel-section .section-heading { font-size: 1.25rem; }
  .stories-carousel-section .section-subheading { font-size: 0.85rem; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE ≤ 480px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .stories-metrics-grid { gap: 0.5rem; }
  .stories-metric-icon { font-size: 1.25rem; }
  .stories-metrics .stat-number { font-size: 1rem; }

  .story-card { padding: 0.75rem; }
  .story-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.65rem;
  }
  .story-names { font-size: 0.8rem; }
  .story-text { font-size: 0.75rem; }

  .stories-cta .cta-banner-title { font-size: 1.1rem; }
  .stories-cta .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET 641px – 991px
   ═══════════════════════════════════════════════════════ */
@media (min-width: 641px) and (max-width: 991px) {
  .stories-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stories-carousel .swiper-slide {
    padding: 0.25rem;
  }
}