/* ============================================================
   NUTSHELL — LANDING PAGE FURNITURE
   The care and county pages use the site's own components for
   everything (.section, .s-head, .svc, .faq, .btn). This file
   adds only the four pieces a subpage needs that the homepage
   has no equivalent for: a shorter hero, a breadcrumb, a step
   number on a card, and the closing CTA row.
   Every value below comes from the tokens in nutshell.css.
   ============================================================ */

/* ---------- subpage hero ----------
   Same photographic treatment and scrim as .hero, but roughly half
   the height: a subpage should show its first section above the fold,
   where the homepage is entitled to a full viewport. */
.pagehero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  padding: calc(var(--nav-h) + 72px) 0 clamp(48px, 7vw, 84px);
  overflow: hidden;
  background: var(--charcoal);
}
.pagehero__bg { position: absolute; inset: 0; z-index: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.pagehero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(13,22,24,.92) 0%, rgba(13,22,24,.74) 42%, rgba(13,22,24,.38) 72%, rgba(13,22,24,.16) 100%),
    linear-gradient(180deg, rgba(13,22,24,.50) 0%, transparent 30%, rgba(13,22,24,.58) 100%);
}
.pagehero__inner { position: relative; z-index: 2; max-width: 780px; }

.pagehero .eyebrow { color: var(--copper-soft); }
.pagehero .eyebrow::before, .pagehero .eyebrow::after { background: var(--copper-soft); }

.pagehero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  color: #fff;
  margin: 14px 0 20px;
  text-wrap: balance;
}
.pagehero__title em { font-style: italic; color: var(--copper-soft); }

.pagehero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 1.62;
  color: rgba(255,255,255,.86);
  max-width: 62ch;
  margin: 0 0 30px;
}

.pagehero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.pagehero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pagehero__chip {
  display: inline-flex; align-items: center;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.90);
  font-size: .82rem; font-weight: 500;
  backdrop-filter: blur(6px);
}

/* ---------- breadcrumb ----------
   list-style is reset explicitly: this is an ol laid out as a flex row,
   and without it the browser paints its decimal markers over the links. */
.crumb { margin: 0 0 6px; }
.crumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
  font-size: .82rem; color: rgba(255,255,255,.62);
}
.crumb li + li::before { content: '/'; margin-right: 8px; color: rgba(255,255,255,.34); }
.crumb a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .3s var(--ease); }
.crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumb [aria-current="page"] { color: rgba(255,255,255,.95); }

/* ---------- step number on a service card ----------
   Sits where .svc__ico sits on the homepage, so a process card and a
   service card share the same rhythm. */
.svc__step {
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 600; font-style: italic;
  line-height: 1;
  color: var(--copper-soft);
  margin-bottom: 16px;
}
.section--dark .svc__step { color: var(--moss); }

/* ---------- bulleted list inside a service card ---------- */
.svc__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.svc__list li { display: flex; gap: 11px; font-size: .94rem; color: var(--ink-55); line-height: 1.55; }
.svc__list li::before {
  content: ''; flex: 0 0 auto; width: 6px; height: 6px; margin-top: .55em;
  border-radius: 50%; background: var(--copper-soft);
}
.section--dark .svc__list li { color: rgba(234,240,234,.76); }

/* ---------- closing call to action ---------- */
.pagecta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* Cards keep their light surface on the dark band, matching the homepage,
   so only the section heading inverts. */
.section--dark .svc { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--dark .svc__title { color: #fff; }
.section--dark .svc__desc { color: rgba(234,240,234,.74); }
.section--dark .svc:hover { border-color: rgba(255,255,255,.22); }

@media (max-width: 700px) {
  .pagehero { min-height: 54vh; padding-top: calc(var(--nav-h) + 52px); }
  .pagehero__actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pagehero__bg img { transform: none !important; }
}
