/* ── Services hero (photo + card) ────────────────────────────────────── */
.svc-hero {
  position: relative;
  min-height: 100svh;
  background-image: var(--hero-img);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  /* flex-start rather than center: the card is now tall enough to overflow
     the viewport on small screens, and centring would clip its top. */
  align-items: flex-start;
  padding: calc(var(--nav-h) + 2rem) 2rem 3rem;
}

.svc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, rgba(15, 17, 21, 0.55) 0%, rgba(15, 17, 21, 0.25) 60%, rgba(15, 17, 21, 0.10) 100%);
}

.svc-hero-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin-left: clamp(0rem, 8vw, 10%);
  background-color: var(--c-paper);
  border-left: 4px solid var(--c-accent2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2.5rem 2.25rem;
  color: var(--t-ink-lo);
}

.svc-hero-card .eyebrow { color: var(--c-accent2); }
.svc-hero-card .eyebrow::before { background-color: var(--c-accent2); }

/* The h1 names the page; the h2 under it names the first of the three
   services, and matches the h2 the other two sections use. */
.svc-hero-card h1 {
  color: var(--t-ink);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-line-dark);
}

.svc-hero-card h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.svc-hero-card p:not(.eyebrow) {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* The hero card sits on paper, so its headings need ink, not the
   white that main.css sets globally for h1/h2/h3. */
.svc-hero-card h2, .svc-hero-card h3 { color: var(--t-ink); }

/* ── Sub-headings and lists (both hero card and sections) ────────────── */
.svc-subhead {
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent2) !important;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.section-dark .svc-subhead { color: var(--c-accent) !important; }

.svc-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.svc-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background-color: var(--c-accent2);
  flex-shrink: 0;
}

.section-dark .svc-list li::before { background-color: var(--c-accent); }

.svc-cta-line {
  margin-top: 1.75rem;
  font-weight: 600;
}

.svc-cta-line a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(210, 162, 76, 0.4);
  transition: border-color var(--transition);
}

.svc-cta-line a:hover { border-bottom-color: var(--c-accent); }

.section-paper .svc-cta-line a {
  color: var(--c-accent2);
  border-bottom-color: rgba(184, 134, 47, 0.4);
}

.section-paper .svc-cta-line a:hover { border-bottom-color: var(--c-accent2); }

/* ── Solid sections ──────────────────────────────────────────────────── */
.svc-section .svc-body {
  max-width: 720px;
  margin: 0 auto;
}

.svc-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.svc-section p:not(.eyebrow) {
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

/* Anchored sections should not hide their heading under the fixed nav */
.svc-section {
  scroll-margin-top: var(--nav-h);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 900px) {
  .svc-hero { padding: calc(var(--nav-h) + 2rem) 1.25rem 2.5rem; }
  .svc-hero-card { margin-left: 0; }
}

@media (max-width: 768px) {
  .svc-hero { background-image: var(--hero-img-sm); }
}
