/* ==========================================================================
   SuAst Global Care - How It Works Stylesheet (how-it-works.css)
   Detailed 5-Step Journey, Feature Highlights, Boundaries, FAQ Preview
   ========================================================================== */

/* Page Hero Section (Flush below header, smooth gradient, polished vertical rhythm) */
.page-hero {
  position: relative;
  background: var(--gradient-hero);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(22, 50, 110, 0.06);
  margin-top: 0;
}

.page-hero .container {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero .eyebrow {
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.page-hero p.hero-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.page-hero p.hero-subline {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Top Banner Process Flow */
.process-flow-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-top: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.flow-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.35rem;
  background-color: var(--bg-white);
  border: 1px solid rgba(41, 171, 226, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  line-height: 1.2;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.flow-step-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sky-blue);
}

.flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sky-blue);
  font-weight: 700;
  font-size: 1.15rem;
  user-select: none;
  line-height: 1;
}

/* Detailed 5 Step Blocks */
.step-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 3.5rem;
}

.step-detailed-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(22, 50, 110, 0.06);
  position: relative;
  overflow: hidden;
}
.step-detailed-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-primary);
}

.step-num-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(229, 2, 127, 0.25);
}

.step-content h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.step-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.step-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
}
.step-check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Feature Grid: Why Our Process Is Different (Card Alignment Fixes) */
.features-diff-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.features-diff-grid > * {
  grid-column: span 2;
}

.features-diff-grid > *:nth-child(4) {
  grid-column: 2 / span 2;
}

.features-diff-grid > *:nth-child(5) {
  grid-column: 4 / span 2;
}

.feature-diff-card {
  background: var(--bg-white);
  padding: 2rem 1.65rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(22, 50, 110, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-sky-blue);
}
.feature-diff-card .icon-box {
  margin: 0 auto 1.25rem auto;
  flex-shrink: 0;
}
.feature-diff-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--color-navy);
  line-height: 1.35;
  text-align: center;
}
.feature-diff-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0;
  text-align: center;
}

/* Boundary Box (What We Do Not Do) */
.boundary-box {
  background-color: #FFF5F5;
  border: 1px solid rgba(237, 28, 36, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
}
.boundary-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.boundary-header h3 {
  color: var(--color-red);
  font-size: 1.35rem;
  margin: 0;
}
.boundary-icon {
  width: 32px;
  height: 32px;
  color: var(--color-red);
}
.boundary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.boundary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #4A5568;
}
.boundary-bullet-icon {
  width: 18px;
  height: 18px;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 992px) {
  .features-diff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .features-diff-grid > * {
    grid-column: span 1 !important;
  }
  .features-diff-grid > *:nth-child(5) {
    grid-column: 1 / -1 !important;
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .step-detailed-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
  }
  .step-num-badge {
    width: 54px;
    height: 54px;
    font-size: 1.35rem;
  }
}

@media (max-width: 640px) {
  .features-diff-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .features-diff-grid > * {
    grid-column: span 1 !important;
    max-width: 100%;
  }
}

/* Footer-Adjacent Closing Block Pattern (Design System Consistency) */
.footer-adjacent-closing {
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  background-color: var(--bg-dark-footer);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-closing-title {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.text-navy-tagline {
  color: var(--color-sky-blue);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-closing-motto {
  color: var(--color-magenta);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-closing-copy {
  color: var(--text-white);
  opacity: 0.85;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

