/* ==========================================================================
   TechBuzzon — Design System
   Palette: deep petrol (brand) + signal amber (accent, used sparingly)
   Type: Poppins throughout for a consistent brand presentation
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #f2f4f2;
  --surface: #ffffff;
  --surface-2: #e9eee9;
  --ink: #0d1b13;          /* dark section background */
  --ink-2: #14261b;

  /* Text */
  --text: #16231b;
  --muted: #566459;
  --on-ink: #eaf1ec;
  --on-ink-muted: #a4b8aa;

  /* Lines */
  --border: #dae0da;
  --border-strong: #c0cac2;
  --border-ink: rgba(255, 255, 255, .14);

  /* Brand */
  /* Brand green exactly as supplied — fills, marks, borders, icons.
     These are graphics, which need 3:1, and it passes at 3.5:1. */
  --accent: #009241;
  /* Text-safe green for links, labels and button fills. #009241 measures
     4.05:1 on white, under the 4.5:1 WCAG AA floor for normal text.
     This is 5.47:1 and reads as the same colour. */
  --accent-text: #007a36;
  --accent-hover: #00612b;
  --accent-soft: #e2f3e9;
  --accent-light: #6fd39a;  /* accent for use on dark sections */
  --signal: #d99413;        /* amber: status and focus only, never decoration */
  --signal-soft: #fbf1dd;

  /* Shape */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --container: 1160px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(13, 27, 19, .06);
  --shadow: 0 10px 30px -18px rgba(13, 27, 19, .45);
  --shadow-lg: 0 24px 60px -30px rgba(13, 27, 19, .5);

  /* Type */
  --font-sans: "Poppins", Arial, sans-serif;
  --font-mono: "Poppins", Arial, sans-serif;

  /* Rhythm */
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --gutter: clamp(1.15rem, 4vw, 2rem);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { max-width: 100%; }

img {
  height: auto;
  display: block;
}

a { color: var(--accent-text); }

a:hover { color: var(--accent-hover); }

p { margin: 0 0 1rem; }

ul,
ol { margin: 0 0 1rem; padding-left: 1.15rem; }

li { margin-bottom: .4rem; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

strong { font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Typography scale
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.05rem); font-weight: 800; letter-spacing: -.032em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); }
h4 { font-size: 1.05rem; }

.lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 .9rem;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}

.on-ink .eyebrow { color: var(--on-ink-muted); }

.on-ink .eyebrow::before { background: var(--accent-light); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.section--alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow { justify-content: center; }

.section-head p { color: var(--muted); margin-bottom: 0; }

.grid { display: grid; gap: 1.25rem; }

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.prose { max-width: 72ch; }

.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }

.on-ink {
  background: var(--ink);
  color: var(--on-ink);
}

.on-ink h1,
.on-ink h2,
.on-ink h3,
.on-ink h4 { color: #fff; }

.on-ink p { color: var(--on-ink-muted); }

.on-ink .lede { color: var(--on-ink-muted); }

/* --------------------------------------------------------------------------
   5. Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top .15s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   6. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 244, 242, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  background: rgba(242, 244, 242, .96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  transition: min-height .2s ease;
}

.site-header.is-stuck .header-inner { min-height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 750;
  font-size: 1.12rem;
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand:hover { color: var(--ink); }

.brand--artwork {
  gap: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(178px, 19vw, 224px);
  height: auto;
  flex: none;
}

.footer-logo-card {
  width: fit-content;
  max-width: 100%;
  padding: .3rem .45rem;
  background: #fff;
  border-radius: 10px;
}

.footer-logo-card .brand-logo {
  width: min(224px, 100%);
}


.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: .5rem .7rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 17px;
  height: 11px;
  flex: none;
}

.nav-toggle-bars span,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 4.5px; }
.nav-toggle-bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-4.5px) rotate(-45deg); }

.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: .75rem var(--gutter) 1.25rem;
}

.primary-nav.is-open { display: block; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.nav-list li { margin: 0; }

.nav-list a {
  display: block;
  padding: .7rem .2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 550;
  border-bottom: 1px solid var(--border);
}

.nav-list a:hover { color: var(--accent-text); }

.nav-list a[aria-current="page"] { color: var(--accent-text); font-weight: 650; }

/* Specificity note: .btn sets display later in this file, so the header CTA
   needs a stronger selector to stay hidden on small screens. */
.site-header .header-cta { display: none; }

.primary-nav .btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn svg { flex: none; }

.btn--primary {
  background: var(--accent-text);
  color: #fff;
  border-color: var(--accent-text);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn--ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }

.on-ink .btn--secondary,
.btn--on-ink {
  background: transparent;
  color: #fff;
  border-color: var(--border-ink);
}

.on-ink .btn--secondary:hover,
.btn--on-ink:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.btn--sm { padding: .55rem .9rem; font-size: .88rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.btn-note {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.on-ink .btn-note { color: var(--on-ink-muted); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(900px 420px at 78% 6%, rgba(0, 146, 65, .08), transparent 62%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
}

.hero h1 { margin-bottom: .7rem; }

.hero h1 em {
  font-style: normal;
  color: var(--accent-text);
  /* Highlight that wraps cleanly on narrow screens. */
  background-image: linear-gradient(to top, rgba(0, 146, 65, .22) .13em, transparent .13em);
}

.hero .lede { margin-bottom: 0; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  font-size: .92rem;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
}

.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* Signature element: crawl map */
.crawlmap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem .9rem;
  box-shadow: var(--shadow);
}

.crawlmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .55rem;
}

.crawlmap-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: .4rem;
  vertical-align: middle;
}

.crawlmap svg { display: block; width: 100%; height: auto; }

.crawl-edge {
  stroke: var(--border-strong);
  stroke-width: 1.5;
  fill: none;
}

.crawl-node {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 1.5;
}

.crawl-node--root { fill: var(--accent-soft); }

.crawl-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  fill: var(--ink);
}

.crawl-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--muted);
}

.crawl-edge--broken {
  stroke-dasharray: 5 4;
  stroke: var(--border-strong);
}

.crawl-node--issue {
  fill: var(--signal-soft);
  stroke: var(--signal);
  stroke-dasharray: 4 3;
}

.crawl-pulse { fill: var(--signal); }

.crawlmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .95rem;
  margin: .7rem 0 0;
  padding: .65rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

.crawlmap-legend li { margin: 0; }

/* --------------------------------------------------------------------------
   9. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 1.4rem 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.trust-list li {
  margin: 0;
  padding-left: 1.9rem;
  position: relative;
  font-size: .95rem;
}

.trust-list strong { display: block; color: var(--ink); }

.trust-list span { color: var(--muted); font-size: .88rem; }

.trust-list li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .62rem;
  width: .72rem;
  height: .4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.card h3 { margin-bottom: .5rem; }

.card p { color: var(--muted); margin-bottom: 0; }

.card--link { position: relative; }

.card--link h3 a {
  color: var(--ink);
  text-decoration: none;
}

/* Stretched link: the whole card is clickable, one link in the tab order. */
.card--link h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card--link:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card--link:hover h3 a { color: var(--accent-text); }

.card--link:focus-within {
  border-color: var(--accent);
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.card--link h3 a:focus-visible { outline: none; }

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-text);
  margin-bottom: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transition: transform .18s ease;
}

.card--link:hover .card-link::after { transform: translateX(3px); }

/* Feature list (Why TechBuzzon) */
.feature {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}

.feature h3 { margin-bottom: .45rem; }

.feature p { color: var(--muted); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Process steps
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
}

.steps li {
  margin: 0;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  background: var(--ink-2);
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--accent-light);
  margin-bottom: .6rem;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: .35rem;
  color: #fff;
}

.steps p {
  margin: 0;
  font-size: .92rem;
  color: var(--on-ink-muted);
}

/* --------------------------------------------------------------------------
   12. Expertise chips
   -------------------------------------------------------------------------- */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.chips li {
  margin: 0;
  padding: .5rem .85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
}

/* Definition-style lists used on service pages */
.deflist {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.deflist li {
  margin: 0;
  padding: 1.05rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.deflist strong { display: block; color: var(--ink); margin-bottom: .2rem; }

.deflist span { color: var(--muted); font-size: .93rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .72rem;
  height: .4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.on-ink .checklist li::before {
  border-color: var(--accent-light);
}

/* Two-column split layout */
.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

/* Callout */
.callout {
  background: var(--accent-soft);
  border: 1px solid #bfe3cd;
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.callout p:last-child { margin-bottom: 0; }

.callout strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   13. Portfolio
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font: inherit;
  font-size: .88rem;
  font-weight: 550;
  color: var(--text);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.filter-btn:hover { border-color: var(--accent-text); color: var(--accent-text); }

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.project {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .9rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .5rem;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--muted);
}

.tag--accent { background: var(--accent-soft); color: var(--accent-text); }

.project h3 { margin-bottom: .75rem; }

.project dl { margin: 0; }

.project dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-top: .85rem;
}

.project dd {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .93rem;
}

.project-result {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--border-strong);
  font-size: .87rem;
  color: var(--muted);
}

.is-hidden { display: none !important; }

.sr-status {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 1.25rem;
  min-height: 1.2em;
}

/* --------------------------------------------------------------------------
   13b. Service detail blocks (services overview page)
   -------------------------------------------------------------------------- */
.svc-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.svc-block:last-of-type { margin-bottom: 0; }

.svc-block-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .85rem;
}

.svc-block-head h2 { margin: 0; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }

.svc-block-head .card-icon { margin-bottom: 0; flex: none; }

.svc-block .lede { margin-bottom: 1.5rem; font-size: 1.02rem; }

.svc-cols h3 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: .55rem;
}

.svc-cols ul {
  padding-left: 1.05rem;
  margin: 0;
  font-size: .93rem;
  color: var(--muted);
}

.svc-cols li { margin-bottom: .35rem; }

.svc-outcome {
  border-top: 1px solid var(--border);
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  font-size: .94rem;
  color: var(--muted);
}

.svc-outcome strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   13c. Utilities
   -------------------------------------------------------------------------- */
.u-mt { margin-top: 1.25rem; }
.u-mt-lg { margin-top: 2rem; }
.btn-row--center { justify-content: center; }
.error-links { text-align: left; }

.error-links-title {
  margin: 3rem 0 1.25rem;
  font-size: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.error-page .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   14. FAQ accordion
   -------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--border);
  max-width: 76ch;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-q:hover { color: var(--accent-text); }

.faq-icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: .22rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.faq-icon::before { top: 9px; left: 2px; right: 2px; height: 2px; }
.faq-icon::after { left: 9px; top: 2px; bottom: 2px; width: 2px; }

.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  padding: 0 0 1.25rem;
  max-width: 68ch;
}

.faq-a p:last-child { margin-bottom: 0; }

.faq-a[hidden] { display: none; }

/* --------------------------------------------------------------------------
   15. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-top: 1.1rem;
  font-size: .84rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.breadcrumbs li { margin: 0; display: flex; gap: .4rem; align-items: center; color: var(--muted); }

.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }

.breadcrumbs a { color: var(--muted); text-decoration: none; }

.breadcrumbs a:hover { color: var(--accent-text); text-decoration: underline; }

.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* Page header for interior pages */
.page-head {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-head h1 { margin-top: .9rem; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--ink); color: var(--on-ink); }

.cta-band h2 { color: #fff; max-width: 20ch; }

.cta-band .lede { color: var(--on-ink-muted); }

.cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   17. Forms (frontend only)
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 1.05rem; }

.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .35rem;
  color: var(--ink);
}

.field .hint {
  display: block;
  font-weight: 400;
  font-size: .82rem;
  color: var(--muted);
  margin-top: .15rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font: inherit;
  font-size: .95rem;
  color: var(--text);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field-error {
  display: block;
  color: #a5321d;
  font-size: .85rem;
  margin-top: .3rem;
  min-height: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #a5321d; }

.form-status {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--muted);
}

.privacy-note {
  font-size: .85rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: .85rem;
  margin-top: 1.25rem;
}

/* Contact method list */
.contact-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

.contact-methods li { margin: 0; }

.contact-card {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s ease, transform .18s ease;
}

.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }

.contact-card .card-icon { margin-bottom: 0; width: 38px; height: 38px; }

.contact-card strong { display: block; color: var(--ink); }

.contact-card span { color: var(--muted); font-size: .92rem; word-break: break-word; }

/* --------------------------------------------------------------------------
   18. 404
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 9vw, 6rem);
}

.error-code {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: -.05em;
  color: var(--accent-text);
  line-height: 1;
  margin-bottom: .5rem;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding-top: clamp(2.75rem, 6vw, 4rem);
  font-size: .93rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.25rem;
}

.footer-brand .brand { color: #fff; }

.brand-tagline {
  margin: .5rem 0 0;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.footer-brand p {
  color: var(--on-ink-muted);
  max-width: 34ch;
  margin: 1rem 0 0;
  font-size: .92rem;
}

.site-footer h2 {
  font-size: .76rem;
  font-family: var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .9rem;
}

.footer-list { list-style: none; margin: 0; padding: 0; }

.footer-list li { margin-bottom: .5rem; }

.footer-list a,
.site-footer a {
  color: var(--on-ink-muted);
  text-decoration: none;
}

.footer-list a:hover,
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--border-ink);
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: space-between;
  font-size: .85rem;
}

.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   20. Scroll-to-top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.to-top:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .trust-list { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .contact-methods { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .trust-list { grid-template-columns: repeat(4, 1fr); }

  .steps { grid-template-columns: repeat(3, 1fr); }

  .hero-grid { grid-template-columns: 1.12fr .88fr; }

  .split { grid-template-columns: 1.15fr .85fr; }

  .split--even { grid-template-columns: 1fr 1fr; }

  .cta-inner { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }

  .footer-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-brand { grid-column: 1 / -1; }

  /* Desktop navigation */
  .nav-toggle { display: none; }

  .primary-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: .35rem;
  }

  .nav-list a {
    padding: .45rem .7rem;
    border: 0;
    border-radius: 8px;
    font-size: .95rem;
  }

  .nav-list a:hover { background: var(--surface-2); }

  .nav-list a[aria-current="page"] { background: var(--accent-soft); }

  .primary-nav .btn { display: none; }

  .site-header .header-cta { display: inline-flex; }

  .to-top { right: 1.5rem; bottom: 1.5rem; }
}

@media (min-width: 1100px) {
  .grid--services { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.5rem 1.75rem; }

  .footer-brand { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   23. Motion + print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .crawl-pulse { display: none; }
}


@media (max-width: 520px) {
  .brand-logo { width: 168px; }
  .footer-logo-card .brand-logo { width: min(205px, 100%); }
}

@media print {
  .site-header,
  .to-top,
  .cta-band,
  .site-footer { display: none; }

  body { background: #fff; }
}


