/* Homepage-only styles. Linked only from index.html (body.home). */
body.home main > section.home-screen{
  min-height:85vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:104px 0;
}
body.home main > section.home-band{
  min-height:0;
  padding:64px 0;
}
body.home main > section.home-tips{
  min-height:0;
  padding:88px 0;
}
body.home main > section.hero{
  min-height:calc(100vh - 68px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:88px 0;
}
body.home .home-cream{background:var(--cream)}
body.home .home-white{background:#fff}
body.home .home-navy{background:var(--navy);color:#fff}
body.home .home-navy .intro h2,
body.home .home-navy h2{color:#fff}
body.home .home-navy .card{background:#fff;color:var(--ink);border:1px solid transparent}
body.home .home-navy .card h3{color:var(--orange)}
body.home .home-navy .card p{color:var(--muted)}

/* Services cards */
body.home #services .intro{margin-bottom:8px}
body.home #services .grid{
  gap:28px;
  margin-top:40px;
  grid-template-columns:repeat(6,1fr);
}
body.home #services .svc-card{grid-column:span 2}
/* Five cards: center the last row of two on desktop */
@media(min-width:861px){
  body.home #services .svc-card:nth-child(4){grid-column:2 / span 2}
  body.home #services .svc-card:nth-child(5){grid-column:4 / span 2}
}
body.home #services .svc-card{
  background:#fff;
  border:1px solid var(--line);
  border-top:4px solid var(--orange);
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,19,80,.08);
  padding:32px 28px 28px;
  transition:transform .25s ease, box-shadow .25s ease;
}
body.home #services .svc-card:hover,
body.home #services .svc-card:focus-within{
  transform:translateY(-6px);
  box-shadow:0 16px 32px rgba(0,19,80,.14);
}
body.home #services .svc-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  margin-bottom:16px;
  color:var(--orange);
}
body.home #services .svc-icon svg{width:28px;height:28px;display:block}
body.home #services .svc-card .h3{margin:0 0 .45em}
body.home #services .svc-card p{margin:0 0 .8em}
body.home #services .svc-card a{color:var(--navy);font-weight:600;text-decoration:none}
body.home #services .svc-card a:hover{color:var(--orange)}
body.home #services .svc-card a.svc-more{display:inline-block}

/* Areas one-liner */
body.home .home-areas{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
body.home .areas-line{
  margin:0;
  font-size:1.12rem;
  line-height:1.6;
  color:var(--navy);
  text-align:center;
  max-width:760px;
  margin-inline:auto;
}
body.home .areas-line a{color:var(--orange);font-weight:700;text-decoration:none;white-space:nowrap}
body.home .areas-line a:hover{text-decoration:underline}

/* Intro video */
body.home .hero-video-block{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  width:100%;
}

/* Struggles — light navy tint, card treatment, inline icons */
body.home #struggles.home-struggle{
  background:#eef1f7;
}
body.home #struggles .struggle-card{
  background:#fff;
  border:1px solid rgba(0,19,80,.12);
  border-top:4px solid var(--orange);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(0,19,80,.08);
  padding:36px 32px;
  gap:48px;
}
body.home #struggles .struggle-icons{
  display:flex;
  gap:10px;
  margin:0 0 18px;
}
body.home #struggles .struggle-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  background:rgba(0,19,80,.06);
  color:var(--orange);
}
body.home #struggles .struggle-icon svg{width:24px;height:24px;display:block}
body.home #struggles .intro{margin:0}
body.home #struggles .intro h2{margin-bottom:.45em}
body.home #struggles .intro p{margin:0;color:var(--muted)}
body.home #struggles .split-img{margin:0}

/* Options — outline around the block and each card */
body.home #options .options-panel{
  border:1px solid rgba(0,19,80,.28);
  border-radius:20px;
  padding:40px 36px 36px;
  background:#fff;
}
body.home #options .intro,
body.home #options h2{margin-bottom:0}
body.home #options .grid{margin-top:36px;gap:24px;grid-template-columns:repeat(3,1fr)}
body.home #options .card{
  border:1px solid rgba(0,19,80,.28);
  border-top:3px solid var(--orange);
  box-shadow:none;
  padding:28px 26px;
  background:rgba(0,19,80,.045);
}
body.home #options .card h3{color:var(--orange)}
body.home #why .card{
  border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(0,19,80,.06);
  padding:28px 26px;
}
body.home #why .grid{gap:24px;margin-top:36px;grid-template-columns:repeat(3,1fr)}

/* Tips CTA spacing */
body.home .home-tips p{margin:0 auto 28px;max-width:560px;font-size:1.15rem}

@media(max-width:860px){
  body.home main > section.home-screen{
    min-height:90vh;
    padding:80px 0;
  }
  body.home main > section.hero{
    min-height:0; /* video already fills a screen; don't add empty space below it */
    padding:56px 0 64px;
  }
  body.home main > section.home-band{padding:48px 0}
  body.home main > section.home-tips{padding:72px 0}
  body.home .areas-line{font-size:1.05rem;padding:0 4px}
  body.home .areas-line a{white-space:normal}
  body.home #services .grid{
    gap:22px;
    margin-top:32px;
    grid-template-columns:1fr;
  }
  body.home #services .svc-card,
  body.home #services .svc-card:nth-child(4),
  body.home #services .svc-card:nth-child(5){grid-column:auto}
  body.home .hero-video-block{
    max-width:320px;
    margin:8px auto 0;
  }
  body.home .hero-video-block .hero-video{margin:0;max-width:none}
  body.home #struggles .struggle-card{padding:28px 22px;gap:28px}
  body.home #options .options-panel{padding:28px 20px 22px}
  body.home #options .grid,
  body.home #why .grid{grid-template-columns:1fr}
}
@media(min-width:600px) and (max-width:860px){
  body.home #services .grid{grid-template-columns:repeat(2,1fr)}
  body.home #services .svc-card:last-child{
    grid-column:1 / -1;
    max-width:calc(50% - 11px);
    width:100%;
    justify-self:center;
  }
}
@media(max-width:420px){
  body.home #services .svc-card{padding:26px 20px 22px}
  body.home main > section.home-screen{padding:72px 0}
  body.home #struggles .struggle-card{padding:24px 18px}
  body.home #options .options-panel{padding:24px 16px 20px}
}

@media(prefers-reduced-motion:reduce){
  body.home #services .svc-card,
  body.home #services .svc-card:hover,
  body.home #services .svc-card:focus-within{
    transition:none;
    transform:none;
  }
}
