/* ==========================================================================
   SECTIONS: shared primitives used by every section variant.
   Variant-specific CSS lives next to its markup in sections/<variant>.css.
   A page links only the variant stylesheets it uses.
   ========================================================================== */

.section {
  padding-block: var(--section-pad-y);
}

.section--surface {
  background: var(--color-surface);
}

/* Dark band. Remaps the colour roles so every component inside adapts. */
.section--inverse {
  --color-bg: var(--color-inverse-bg);
  --color-text: var(--color-inverse-text);
  --color-text-muted: var(--color-inverse-muted);
  --color-line: var(--color-inverse-muted);
  background: var(--color-inverse-bg);
  color: var(--color-inverse-text);
}

.section--inverse a:hover {
  color: var(--color-inverse-text);
}

.section--flush-top {
  padding-top: 0;
}

/* Section heading block: eyebrow, h2, optional lead */
.section-head {
  display: grid;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  max-width: 40rem;
}

/* Heading left, intro right on wide screens */
.section-head--split {
  max-width: none;
}

@media (min-width: 56em) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-2xl);
    align-items: end;
  }

  .section-head--split .eyebrow {
    grid-column: 1 / -1;
  }
}

.section-head h2 {
  max-width: 18ch;
}

/* Small "from" price / duration meta line used by services variants */
.meta {
  font-size: var(--step--1);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* Checklist used inside services/about variants. Marker colour = accent. */
.checklist {
  display: grid;
  gap: var(--space-2xs);
  padding-left: 1.2em;
}

.checklist li::marker {
  content: "\2014\00a0"; /* em dash */
  color: var(--color-accent);
}

/* Placeholder flag: wrap any placeholder copy in <mark class="todo"> so it is
   easy to find and impossible to miss in screenshots. Remove before handoff. */
mark.todo {
  background: var(--color-accent-soft);
  color: inherit;
  padding-inline: 0.15em;
}
