/* /css/home.css — homepage-only sections */

.hero {
  padding: 46px 0 40px;
  background:
    radial-gradient(circle at 16% 0%, rgba(241, 182, 70, 0.22), transparent 34%),
    radial-gradient(circle at 92% 30%, rgba(94, 148, 99, 0.13), transparent 30%),
    var(--paper);
  text-align: center;
}

.hero-inner { max-width: 960px; }
.hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); }

.hero-subtitle {
  max-width: 660px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Guided route */

.guided-route {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guided-route-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 760px;
}

.guided-route-visual {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 760px;
  overflow: hidden;
  background: var(--cream);
}

.guided-route-photo {
  position: absolute;
  inset: 0;
  opacity: 0.88;
  background-image: url("/assets/guided-route-remote-consult.png");
  background-color: var(--sage);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.guided-route-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.98) 0%, rgba(255, 248, 236, 0.94) 36%, rgba(255, 248, 236, 0.48) 62%, rgba(255, 248, 236, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.08) 0%, rgba(255, 248, 236, 0.86) 100%);
  z-index: 1;
}

.guided-route-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 0 42px clamp(24px, 5vw, 68px);
  padding: 30px 34px 34px;
  border-left: 6px solid var(--orange);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.guided-route-copy h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
}

.guided-route-copy p:not(.tiny-label) {
  max-width: 540px;
  color: var(--text);
  font-size: 1.08rem;
  margin-top: 18px;
}

.guided-route-steps {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 34px clamp(28px, 4vw, 54px);
  background: linear-gradient(180deg, #fffdf7, #fffaf1);
}

.route-line {
  position: absolute;
  left: clamp(58px, 4.6vw, 82px);
  top: 82px;
  bottom: 82px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--gold), var(--ink-2), var(--green));
  opacity: 0.85;
}

.route-step {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 62px 120px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  min-height: 150px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(24, 56, 74, 0.07);
}

.route-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 950;
  font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(24, 56, 74, 0.14);
}

.route-number.green { background: var(--green); }
.route-number.gold { background: var(--gold); color: var(--ink); }
.route-number.blue { background: var(--ink-2); }

.route-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-size: 2.1rem;
}

.route-step:nth-child(3) .route-icon { background: #fff1c2; }
.route-step:nth-child(4) .route-icon { background: var(--sky); }
.route-step:nth-child(5) .route-icon { background: #eef5df; }

.route-step h3 {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 1.45rem;
}

.route-step:nth-child(3) h3 { color: #c58808; }
.route-step:nth-child(4) h3 { color: var(--ink-2); }
.route-step p { color: var(--text); font-size: 1rem; margin: 0; }

.guided-banner-section {
  padding: 34px 0;
  background: linear-gradient(135deg, rgba(20, 63, 88, 0.96), rgba(45, 115, 93, 0.94));
}

.guided-banner-image {
  width: min(1180px, calc(100% - 44px));
  min-height: 420px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-image:
    linear-gradient(90deg, rgba(24, 56, 74, 0.22), rgba(24, 56, 74, 0.06)),
    url("/assets/guided-route-section.png");
  background-color: var(--sage);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Program intro */

.program-section { padding: 44px 0; background: var(--cream); }

.program-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 38px;
  align-items: center;
}

.program-intro p:not(.tiny-label) {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 13px;
}

.support-panel { display: grid; gap: 14px; }

.support-panel article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 6px solid var(--green);
  box-shadow: 0 12px 28px rgba(24, 56, 74, 0.07);
}

.support-panel article:nth-child(2) { border-left-color: var(--gold); }
.support-panel article:nth-child(3) { border-left-color: var(--orange); }

.support-panel span {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1;
}

.support-panel h3 { margin-bottom: 6px; }
.support-panel p { color: var(--muted); }

/* Life section */

.life-section { padding: 46px 0; background: var(--paper); }

.life-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.life-photo {
  min-height: 360px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.life-copy p:not(.tiny-label) {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Programs overview on homepage */

.programs-overview { padding: 46px 0; background: var(--paper); }
.org-overview { padding: 46px 0; background: var(--cream); }

/* Sarah teaser */

.sarah-teaser { padding: 40px 0; background: #4d8658; color: #fff; }

.sarah-teaser-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.sarah-teaser h2,
.sarah-teaser p { color: #fff; }

.sarah-teaser p { color: rgba(255, 255, 255, 0.85); max-width: 640px; }

@media (max-width: 1040px) {
  .guided-route-grid { grid-template-columns: 1fr; min-height: auto; }
  .guided-route-visual { min-height: 520px; }
  .guided-route-copy { margin: 0 20px 32px; padding: 24px; }
  .guided-route-steps { padding: 28px; }
}

@media (max-width: 980px) {
  .program-layout,
  .life-grid,
  .sarah-teaser-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .route-step {
    grid-template-columns: 54px 88px 1fr;
    padding: 20px;
  }
  .route-number { width: 50px; height: 50px; }
  .route-icon { width: 82px; height: 82px; }
}

@media (max-width: 680px) {
  .hero { padding: 38px 0 34px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.75rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .guided-route-visual { min-height: 460px; }
  .guided-route-copy h2 { font-size: 3rem; }
  .guided-route-steps { padding: 20px 14px; }
  .route-line { left: 41px; }
  .route-step { grid-template-columns: 54px 1fr; gap: 14px; padding: 18px; }
  .route-icon { display: none; }
  .route-step > div:last-child { grid-column: 2; }
  .guided-banner-section { padding: 24px 0; }
  .guided-banner-image { width: min(100% - 28px, 1180px); min-height: 280px; }
  .support-panel article { grid-template-columns: 1fr; gap: 8px; }
  .life-photo { min-height: 280px; }
}
