/* ============================================
   REKA — FlowArt Story Scroll
   Hospitals → Doctors → Patient Reviews
   Edit colors and typography below.
   ============================================ */

.flow-art-wrap {
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.flow-art {
  width: 100%;
  overflow-x: clip;
}

/* Each full-screen panel */
.flow-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
}

.flow-art-container {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(2rem, 8vw, 4vw) 4vw 4vw;
  transform-origin: bottom left;
  will-change: transform;
}

/* Panel themes — customize REKA brand colors here */
.flow-section--green {
  background-color: #05b772;
  color: #fff;
}

.flow-section--green .flow-rule {
  border-top-color: rgba(0, 0, 0, 0.35);
}

.flow-section--dark {
  background-color: #0f1419;
  color: #fff;
}

.flow-section--dark .flow-rule {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.flow-section--light {
  background-color: #f5f0e8;
  color: #0f1419;
}

.flow-section--light .flow-rule {
  border-top-color: rgba(0, 0, 0, 0.2);
}

/* Typography */
.flow-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.flow-rule {
  width: 100%;
  border: none;
  border-top: 1px solid currentColor;
  opacity: 1;
  margin: 0;
}

.flow-display {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.flow-lead {
  max-width: 50ch;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
}

.flow-lead--end {
  margin-top: auto;
  margin-left: auto;
  text-align: right;
}

.flow-lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Column grids (demo-style feature blocks) */
.flow-columns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.flow-col {
  flex: 1 1 180px;
  min-width: 180px;
}

.flow-col__title {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-col__text {
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.78;
  margin: 0;
}

.flow-col__tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
}

.flow-section--light .flow-col__tag {
  background: rgba(5, 183, 114, 0.12);
  color: #049e65;
}

/* Review cards inside flow */
.flow-reviews {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.flow-review {
  flex: 1 1 260px;
  min-width: 240px;
}

.flow-review__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.flow-review__stars .icon {
  width: 16px;
  height: 16px;
  color: #05b772;
  fill: #05b772;
}

.flow-section--dark .flow-review__stars .icon {
  color: #05b772;
  fill: #05b772;
}

.flow-review__quote {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  font-style: italic;
  opacity: 0.9;
  margin: 0 0 0.75rem;
}

.flow-review__author {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0;
}

/* Reduced motion / no GSAP fallback */
.flow-art--static .flow-section {
  min-height: auto;
}

.flow-art--static .flow-art-container {
  min-height: auto;
  transform: none !important;
}

@media (max-width: 640px) {
  .flow-display {
    font-size: clamp(2.25rem, 14vw, 3.5rem);
  }

  .flow-lead--end {
    text-align: left;
    margin-left: 0;
  }
}
