/* ==========================================================================
   LocalOpp site styles
   Layout concept: dark "street map" bands for heroes and calls to action,
   alternating with white and mint content sections. One type family
   (Archivo), expanded width for headlines.
   ========================================================================== */

:root {
  /* Brand */
  --green: #1D9E75;
  --green-ink: #12795A;        /* green text on white (AA) */
  --green-bright: #8FE3C4;     /* green text on dark */
  --forest: #0B3B2D;           /* dark band */
  --forest-2: #10493A;         /* raised surface on dark */
  --orange: #E67E22;
  --orange-hover: #F39236;
  --ink: #111111;
  --mint: #E1F5EE;

  /* Neutrals */
  --paper: #FFFFFF;
  --muted: #45524E;
  --line: #CFE2DA;
  --on-dark: #C9E6DB;
  --on-dark-line: #2E6150;

  /* Type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-h1: clamp(2.4rem, 5vw, 4rem);
  --fs-h1-inner: clamp(2.2rem, 4.4vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 3.4vw, 2.75rem);
  --fs-h3: 1.2rem;

  /* Layout */
  --wrap: 1200px;
  --section: clamp(64px, 9vw, 108px);
  --radius: 10px;
  --radius-sm: 6px;

  --map: url("data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="360" height="360" viewBox="0 0 360 360" fill="none" stroke="#8FE3C4"%3E%3Cg stroke-opacity=".10" stroke-width="2"%3E%3Cpath d="M0 70H360M0 190H360M0 292H360M64 0V360M168 0V360M276 0V360"/%3E%3C/g%3E%3Cg stroke-opacity=".06" stroke-width="1.4"%3E%3Cpath d="M0 130H168M276 130H360M64 242H168M168 242H276M112 70V190M222 190V292M320 0V70M20 292V360M222 0V70"/%3E%3C/g%3E%3Cpath d="M0 360L360 0" stroke-opacity=".08" stroke-width="7"/%3E%3Cpath d="M168 190C210 150 250 170 276 130S330 90 360 104M0 104C24 98 44 86 64 70" stroke-opacity=".07" stroke-width="3"/%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
/* Paints the phone status-bar area above the sticky header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 70;
  height: env(safe-area-inset-top, 0px); background: var(--forest);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.0; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.22; font-weight: 750; font-stretch: 112%; }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.3rem); line-height: 1.5; font-weight: 550; max-width: 40ch; }
.muted { color: var(--muted); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
@media (min-width: 1300px) { .wrap { padding-left: 40px; padding-right: 40px; } }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--mint { background: var(--mint); }
.dark {
  background-color: var(--forest);
  background-image: var(--map);
  background-size: 360px 360px;
  color: var(--paper);
}
.dark a:not(.btn) { color: var(--green-bright); }
.dark a:not(.btn):hover { color: var(--paper); }
.dark .muted, .dark .section-head p { color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-foot { margin: 28px 0 0; font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1.0625rem; font-stretch: 108%; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange); color: var(--ink); border-color: var(--ink); }
.btn--primary:hover { background: var(--orange-hover); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.dark .btn--outline { color: var(--paper); border-color: var(--paper); }
.dark .btn--outline:hover { background: var(--paper); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--forest); color: var(--paper);
  border-bottom: 1px solid var(--on-dark-line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.wordmark {
  font-weight: 900; font-stretch: 122%; font-size: 1.6rem; letter-spacing: -0.02em;
  color: var(--paper); text-decoration: none; line-height: 1; flex: none;
}
.wordmark span { color: var(--green); }
.wordmark:hover { color: var(--paper); }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 11px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; color: var(--paper); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--forest-2); color: var(--paper); }
.nav-link[aria-current="page"], .nav-toggle.is-current { color: var(--green-bright); }
.nav-toggle svg { width: 12px; height: 12px; transition: transform .15s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 8px; list-style: none; box-shadow: 6px 6px 0 var(--green); display: none;
}
.dropdown.is-open { display: block; }
.dropdown a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .975rem;
}
.dropdown a:hover { background: var(--mint); color: var(--ink); }
.dropdown a[aria-current="page"] { background: var(--mint); }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--green-ink); }

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-phone { font-weight: 700; color: var(--paper); text-decoration: none; white-space: nowrap; font-size: .975rem; }
.header-phone small { display: block; font-weight: 500; color: var(--on-dark); font-size: .78rem; line-height: 1.1; }
.header-phone:hover { color: var(--green-bright); }
.header-actions .btn { min-height: 44px; padding: 0 18px; font-size: 1rem; }

.menu-button {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--on-dark-line); background: var(--forest-2); color: var(--paper); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-button svg { width: 22px; height: 22px; }
.nav-mobile-cta { display: none !important; }

@media (max-width: 1240px) { .header-phone { display: none; } }
@media (max-width: 1000px) {
  .menu-button { display: inline-flex; }
  .header-actions { display: none; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--forest); border-bottom: 1.5px solid var(--on-dark-line);
    max-height: calc(100vh - 74px); overflow-y: auto;
    padding: 8px max(16px, 4vw) 24px;
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--on-dark-line); }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; border-radius: 0; }
  .nav-link:hover, .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: none; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; background: transparent; }
  .dropdown a { color: var(--paper); padding: 10px 8px; }
  .dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--forest-2); color: var(--paper); }
  .dropdown .dropdown-all { color: var(--green-bright); border-top-color: var(--on-dark-line); }
  .main-nav .nav-mobile-cta { display: block !important; padding-top: 20px; border: 0 !important; }
  .nav-mobile-cta .btn { width: 100%; }
}

/* ==========================================================================
   Heroes
   ========================================================================== */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; }
.hero .lede { margin-bottom: 14px; }
.hero-sub { color: var(--on-dark); max-width: 52ch; }
.hero .btn-row { margin: 28px 0 24px; }
.check-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.check-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .975rem; }
.check-points li::before, .checklist li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}

/* Inner page hero */
.page-hero { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: var(--fs-h1-inner); max-width: 18ch; margin-bottom: 20px; }
.page-hero .lede { margin-bottom: 0; max-width: 46ch; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero--narrow h1 { max-width: 22ch; }
.breadcrumb { margin-bottom: clamp(24px, 4vw, 40px); font-size: .925rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--on-dark); }
.breadcrumb li + li::before { content: "/"; color: var(--on-dark-line); }
.breadcrumb a { color: var(--on-dark) !important; text-decoration: none; }
.breadcrumb a:hover { color: var(--paper) !important; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--paper); font-weight: 600; }

/* ==========================================================================
   Mockups (illustrations built in HTML)
   ========================================================================== */
.mock {
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 14px; padding: 18px;
  box-shadow: 8px 8px 0 var(--green); max-width: 520px; margin-left: auto;
  font-size: .95rem; line-height: 1.45;
}
.dark .mock a { color: var(--green-ink); }
.mock-caption { margin: 22px 0 0; color: var(--on-dark); font-size: .9rem; max-width: 520px; margin-left: auto; }
.mock-label { font-weight: 700; font-size: .8rem; color: var(--muted); margin: 0 0 8px; }
.mock-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--paper); }
.mock-stack { display: grid; gap: 10px; }
.bar { display: block; height: 11px; border-radius: 6px; background: #E6ECEA; }
.bar--dark { background: #D6DFDB; height: 14px; }
.w40 { width: 40%; } .w55 { width: 55%; } .w70 { width: 70%; } .w85 { width: 85%; }
.pill {
  display: inline-block; font-size: .8rem; font-weight: 650; color: var(--green-ink);
  border: 1px solid #B9CCC5; border-radius: 999px; padding: 3px 10px; background: var(--paper);
}
.pill--solid { background: var(--green); color: var(--paper); border-color: var(--green); }
.pill--orange { background: var(--orange); color: var(--ink); border-color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.stars { color: #D99510; letter-spacing: 1px; }
.mock-name { font-weight: 800; font-stretch: 112%; font-size: 1.1rem; line-height: 1.2; }

/* Search demo (homepage) */
.search-bar {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid #B9CCC5; border-radius: 999px; padding: 12px 18px;
  font-size: 1.05rem; font-weight: 500; margin-bottom: 16px; min-height: 52px;
}
.search-bar svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.query { display: inline-flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 2px; height: 1.2em; margin-left: 2px; background: var(--ink); animation: caret-blink 1s steps(1) infinite; }
.search-demo.is-settled .caret { opacity: 0; animation: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { display: none; } }
.results { list-style: none; display: grid; gap: 10px; }
.result {
  position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 14px 12px; background: var(--paper);
}
.rank { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #EEF3F1; color: var(--muted); font-weight: 800; font-size: .95rem; }
.result-body { display: grid; gap: 7px; min-width: 0; }
.result--you { border: 1.5px solid #B9CCC5; transition: border-color .4s ease, background-color .4s ease; }
.result-meta { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.you-tag {
  position: absolute; top: -11px; right: 12px;
  background: var(--orange); color: var(--ink); border: 1.5px solid var(--ink);
  font-weight: 750; font-size: .78rem; padding: 2px 9px; border-radius: 999px;
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease;
}
.result--you.is-top { border-color: var(--green); background: var(--mint); }
.result--you.is-top .rank { background: var(--green); color: var(--paper); }
.result--you.is-top .you-tag { opacity: 1; transform: none; }

/* Browser frame */
.browser-top { display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; }
.dots { display: flex; gap: 5px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #D6DFDB; }
.url { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-hero-block { background: var(--forest); border-radius: 8px; padding: 16px; display: grid; gap: 8px; margin-bottom: 14px; }
.site-hero-block .bar { background: rgba(255,255,255,.28); }
.site-hero-block .bar--dark { background: rgba(255,255,255,.7); }
.site-hero-block .mini-btn { width: 84px; height: 22px; border-radius: 4px; background: var(--orange); margin-top: 4px; }

/* Checklist mock */
.check-rows { list-style: none; display: grid; gap: 8px; }
.check-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.check-rows .ok { color: var(--green-ink); font-weight: 700; font-size: .85rem; white-space: nowrap; }

/* Chat mock */
.chat { display: grid; gap: 10px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .925rem; line-height: 1.4; }
.bubble--in { background: #EEF3F1; border-bottom-left-radius: 4px; }
.bubble--out { background: var(--green); color: var(--paper); justify-self: end; border-bottom-right-radius: 4px; }
.bubble--ai { background: var(--mint); border: 1px solid #B9DCCD; border-bottom-left-radius: 4px; }
.chat-note { justify-self: center; font-size: .8rem; color: var(--muted); font-weight: 600; }
.booked { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--mint); border: 1.5px solid var(--green); font-weight: 700; font-size: .925rem; }

/* Pipeline mock */
.pipeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pipe-col { background: #F3F7F5; border-radius: var(--radius-sm); padding: 10px; display: grid; gap: 8px; align-content: start; }
.pipe-col h4 { font-size: .8rem; font-stretch: 105%; margin: 0 0 2px; font-weight: 750; letter-spacing: 0; }
.pipe-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 8px; display: grid; gap: 6px; }
.pipe-card small { font-size: .75rem; color: var(--muted); font-weight: 600; }
.pipe-col--won .pipe-card { border-color: var(--green); }

/* Timeline mock */
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { font-weight: 750; font-size: .82rem; color: var(--green-ink); }
.timeline .what { display: grid; gap: 2px; }
.timeline .what strong { font-size: .925rem; }
.timeline .what span { font-size: .85rem; color: var(--muted); }

/* Brand board mock */
.brand-board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brand-tile { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 8px; align-content: start; }
.logo-mark { width: 54px; height: 54px; border-radius: 12px; background: var(--forest); color: var(--paper); display: grid; place-items: center; font-weight: 900; font-stretch: 125%; font-size: 1.35rem; }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 30px; height: 30px; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); }
.type-sample { font-weight: 800; font-stretch: 125%; font-size: 2rem; line-height: 1; }
.brand-tile--wide { grid-column: 1 / -1; }
.truck svg { width: 100%; height: auto; }

/* ==========================================================================
   Homepage: services by stage
   ========================================================================== */
.stages { list-style: none; border-top: 1.5px solid var(--ink); }
.stage { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.stage-head { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-content: start; }
.stage-num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--paper); font-weight: 800; font-stretch: 112%; grid-row: span 2;
}
.stage-head h3 { margin: 4px 0 0; font-size: 1.35rem; }
.stage-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.service-links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-links > li:only-child { grid-column: 1 / -1; }
.service-links > li:only-child .service-link span { max-width: 60ch; }
@media (max-width: 560px) { .service-links { grid-template-columns: 1fr; } }
.service-link {
  display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .15s ease;
}
.service-link:hover { border-color: var(--ink); color: var(--ink); }
.service-link strong { display: block; font-size: 1.075rem; font-stretch: 108%; margin-bottom: 4px; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.service-link span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; }
}

/* ---------- Feature list on dark ---------- */
.feature-list { list-style: none; border-top: 1px solid var(--on-dark-line); }
.feature-list li { padding: 22px 0; border-bottom: 1px solid var(--on-dark-line); }
.feature-list h3 { margin-bottom: 6px; }
.feature-list p { margin: 0; color: var(--on-dark); max-width: 60ch; }
.feature-list a { font-weight: 650; }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { padding-top: 22px; border-top: 3px solid var(--ink); }
.step-num { display: block; font-weight: 900; font-stretch: 125%; font-size: 2.6rem; line-height: 1; color: var(--green); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .975rem; }
@media (max-width: 960px) { .steps, .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* Long-form steps (How it works page) */
.timeline-steps { list-style: none; border-top: 1.5px solid var(--ink); }
.timeline-steps li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline-steps .step-num { margin: 0; }
.timeline-steps h3 { font-size: 1.4rem; }
.timeline-steps p { color: var(--muted); max-width: 64ch; }
.timeline-steps p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .timeline-steps li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Checklist (what's included) ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; }
.checklist li::before { margin-top: 4px; }
.checklist strong { display: block; font-size: 1.075rem; margin-bottom: 2px; }
.checklist span { color: var(--muted); font-size: .975rem; }
.checklist--simple { gap: 12px 32px; }
.checklist--simple li { font-weight: 600; }
@media (max-width: 720px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Two-path compare ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); background: var(--paper); }
.path-card h3 { font-size: 1.4rem; }
.path-card p { color: var(--muted); }
.path-card ul { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
.path-card li { padding-left: 18px; position: relative; }
.path-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.path-card--accent { box-shadow: 8px 8px 0 var(--green); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Guarantee band ---------- */
.guarantee { background: var(--orange); border-block: 1.5px solid var(--ink); }
.guarantee-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 72px);
  align-items: end; padding-block: clamp(56px, 8vw, 96px);
}
.guarantee-line { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .98; margin: 0; font-stretch: 125%; max-width: 12ch; }
.guarantee-copy p { font-size: 1.15rem; font-weight: 600; }
.guarantee-copy .small { color: #2A1A0C; font-weight: 500; font-size: 1.025rem; margin: 0; }
@media (max-width: 800px) { .guarantee-inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Trades list ---------- */
.trades { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; border-top: 1.5px solid var(--ink); }
.trades li { border-bottom: 1px solid var(--line); }
.trades a { display: block; padding: 20px 0 22px; text-decoration: none; color: var(--ink); height: 100%; }
.trades a:hover .trade-name { color: var(--green-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.trade-name { display: block; font-weight: 800; font-stretch: 116%; font-size: 1.3rem; margin-bottom: 4px; }
.trade-desc { display: block; color: var(--muted); font-size: .925rem; line-height: 1.45; }
@media (max-width: 1000px) { .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trades { grid-template-columns: 1fr; } .trades a { padding: 16px 0; } }

/* ---------- Search chips (industry pages) ---------- */
.searches { list-style: none; display: grid; gap: 10px; }
.searches li {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-weight: 600;
}
.searches li svg { width: 18px; height: 18px; color: var(--muted); flex: none; }

/* ---------- Related links ---------- */
.related { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.portfolio { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.portfolio-card { display: block; text-decoration: none; color: var(--ink); }
.portfolio-frame {
  display: grid; gap: 10px; aspect-ratio: 4 / 3; max-width: 100%; padding: 18px;
  background: var(--paper); border: 1.5px dashed #8FB3A6; border-radius: var(--radius);
  align-content: start; margin-bottom: 14px;
}
.portfolio-frame span { display: block; height: 14px; border-radius: 7px; background: #E6ECEA; }
.portfolio-frame span:first-child { height: 46%; border-radius: 6px; background: #D7E9E1; }
.portfolio-frame span:nth-child(2) { width: 70%; }
.portfolio-frame span:nth-child(3) { width: 45%; }
.portfolio-frame--square { aspect-ratio: 1 / 1; place-content: center; justify-items: center; }
.portfolio-frame--square span { display: none; }
.portfolio-frame--square em { font-style: normal; font-weight: 700; color: #6E8F84; }
.portfolio-label { display: block; font-weight: 750; font-size: 1.1rem; }
.portfolio-sub { display: block; color: var(--muted); font-size: .9rem; }
.portfolio--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .portfolio, .portfolio--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .portfolio, .portfolio--4 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 22px; color: var(--muted); max-width: 64ch; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

/* ---------- Call to action band ---------- */
.cta-band .cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 64px; align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 14px; max-width: 16ch; }
.cta-band p { color: var(--on-dark); font-size: 1.125rem; margin: 0; max-width: 48ch; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-actions .btn { min-width: 260px; }
.cta-phone { color: var(--on-dark); font-size: .95rem; margin: 4px 0 0 !important; }
@media (max-width: 860px) {
  .cta-band .cta-inner { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; min-width: 0; }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.lead-form {
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 36px); box-shadow: 8px 8px 0 var(--green);
}
.dark .lead-form { box-shadow: 8px 8px 0 var(--orange); }
.dark .lead-form a { color: var(--green-ink); }
.form-title { font-size: 1.4rem; margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.field .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 1.5px solid #9DB3AB; border-radius: var(--radius-sm); background: var(--paper); font-size: 1rem;
}
.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(29,158,117,.25); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.check-grid label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; margin: 0; cursor: pointer; min-height: 32px; }
.check-grid input { width: 20px; height: 20px; min-height: 0; accent-color: var(--green); flex: none; margin: 0; }
.form-submit { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-submit .btn { min-width: 220px; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.form-consent { margin: 16px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status[data-state="error"] { color: #B3401F; }
.lead-form.is-sent .form-body { display: none; }
.form-success { display: none; }
.lead-form.is-sent .form-success { display: block; }
.form-success h3 { font-size: 1.5rem; }
@media (max-width: 560px) {
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
}

.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 28px; }
.contact-list strong { display: block; font-size: .9rem; color: var(--muted); font-weight: 650; }
.dark .contact-list strong { color: var(--on-dark); }
.contact-list a, .contact-list span { font-size: 1.2rem; font-weight: 700; }
.contact-list address { font-style: normal; line-height: 1.5; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #D9E4E0; padding-block: 72px 32px; font-size: var(--fs-small); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; gap: 36px; }
.footer-brand .wordmark { font-size: 1.9rem; }
.footer-brand p { margin-top: 16px; max-width: 30ch; color: #B9C8C2; }
.footer-col h2 { font-size: 1rem; font-stretch: 110%; color: var(--paper); margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-contact address { font-style: normal; color: #B9C8C2; margin-top: 12px; line-height: 1.5; }
.footer-phone { font-size: 1.15rem; font-weight: 700; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid #2B2F2E;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: #9AABA5;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; }
@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Sticky mobile call/text bar
   ========================================================================== */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--paper); border-top: 1.5px solid var(--ink);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: var(--radius-sm); font-weight: 700;
    text-decoration: none; border: 2px solid var(--ink); color: var(--ink);
  }
  .mobile-bar a svg { width: 18px; height: 18px; }
  .mobile-bar .bar-call { background: var(--orange); }
  .mobile-bar .bar-text { background: var(--paper); }
}

/* ---------- 404 ---------- */
.not-found { min-height: 50vh; display: grid; align-content: center; }

/* ---------- Points (three short reasons; not a sequence) ---------- */
.points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.points li { padding-top: 20px; border-top: 3px solid var(--ink); }
.points h3 { margin-bottom: 8px; }
.points p { margin: 0; color: var(--muted); font-size: .975rem; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

.related--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .related--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related--4 { grid-template-columns: 1fr; } }
.checklist--one { grid-template-columns: 1fr; margin-top: 20px; }
.split h2 + .muted { margin-top: -6px; }
