/* ==========================================================================
   Houzie: everything for the home
   Brand colours come from the logo: forest green #132b09 and lime #e1f340
   ========================================================================== */

/* Archivo (SIL Open Font License), self-hosted so no visitor data goes to Google */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2");
}

:root {
  --green-950: #0c1d05;
  --green-900: #132b09;
  --green-800: #1d3b11;
  --green-700: #2b5219;
  --green-600: #3c6b25;
  --green-100: #e8eedc;
  --green-50:  #f2f5ea;
  --lime:      #e1f340;
  --lime-600:  #cfe22b;
  --lime-100:  #f7fbcf;

  --ink:    #14200d;
  --text:   #2c3825;
  --muted:  #5e6a55;
  --line:   #dfe4d6;
  --line-2: #eceee6;
  --bg:     #f7f8f3;
  --white:  #ffffff;
  --link:   #2f5f12;
  --red:    #b42318;
  --red-bg: #fdecea;
  --amber-bg: #fff6d6;
  --amber:  #7a5b00;
  --star:   #f2b01e;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 43, 9, .06);
  --shadow:    0 1px 2px rgba(19, 43, 9, .05), 0 6px 20px -8px rgba(19, 43, 9, .16);
  --shadow-lg: 0 2px 4px rgba(19, 43, 9, .05), 0 22px 48px -18px rgba(19, 43, 9, .32);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1180px;
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime-600); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; }
code { font-size: .9em; background: var(--green-50); padding: 1px 5px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-xs { width: 15px; height: 15px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-lime { background: var(--lime); color: var(--green-900); }
.btn-lime:hover { background: var(--lime-600); color: var(--green-900); }
.btn-dark { background: var(--green-900); color: #fff; }
.btn-dark:hover { background: var(--green-700); color: #fff; }
.btn-outline { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--green-900); color: var(--green-900); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--green-50); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #8f1c12; color: #fff; }
.btn-danger-ghost { background: transparent; color: var(--red); }
.btn-danger-ghost:hover { background: var(--red-bg); color: var(--red); }
.link-btn { background: none; border: 0; padding: 0; color: var(--link); cursor: pointer; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- header */
.site-header { background: var(--green-900); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.active { color: var(--lime); }
.site-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 8px; }
.nav-toggle .shut { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .shut { display: block; }
.nav-toggle .icon { width: 26px; height: 26px; }

/* --------------------------------------------------------------- flash / notices */
.flash-wrap { padding-top: 16px; }
.flash { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 10px; font-weight: 500; border: 1px solid; }
.flash-success { background: var(--green-50); border-color: #cddcb6; color: var(--green-800); }
.flash-error { background: var(--red-bg); border-color: #f4c6c1; color: var(--red); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); margin-bottom: 18px; font-size: 15px; }
.notice-warn { background: var(--amber-bg); border-color: #f0dd9a; color: #4d3a00; }
.notice-error { background: var(--red-bg); border-color: #f4c6c1; color: #7a1a12; }

/* --------------------------------------------------------------- hero */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(225,243,64,.13), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(225,243,64,.07), transparent 60%),
    var(--green-900);
  color: #fff;
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* subtle roofline motif echoing the logo */
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 420px; height: 300px;
  background: linear-gradient(135deg, transparent 49.5%, rgba(225,243,64,.06) 50%, transparent 50.5%),
              linear-gradient(225deg, transparent 49.5%, rgba(225,243,64,.06) 50%, transparent 50.5%);
  background-size: 60px 60px; pointer-events: none;
}
.hero-sm { padding: 56px 0 60px; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: 13px; font-weight: 700; color: var(--green-600); margin: 0 0 10px; }
.eyebrow-lime { color: var(--lime); }
.hero-title { color: #fff; font-size: clamp(36px, 5.6vw, 64px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; max-width: 800px; margin-bottom: 18px; }
.hero-title .hl { color: var(--lime); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 30px; }
.hero .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- search bar */
.searchbar {
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 0; align-items: stretch;
  background: var(--white); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); max-width: 880px;
}
.sb-field { display: flex; flex-direction: column; padding: 8px 16px 6px; border-right: 1px solid var(--line-2); min-width: 0; }
.sb-field:nth-of-type(2) { border-right: 0; }
.sb-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.sb-input { display: flex; align-items: center; gap: 8px; color: var(--green-600); }
.searchbar .sb-input input { border: 0; box-shadow: none; border-radius: 0; outline: 0; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); padding: 4px 0; width: 100%; background: transparent; min-width: 0; }
.sb-input input::placeholder { color: #9aa391; font-weight: 400; }
.sb-field:focus-within .sb-label { color: var(--green-800); }
.sb-btn { border-radius: 12px; padding: 0 28px; font-size: 16px; }
.searchbar-compact { margin-top: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: none; padding: 6px; border-radius: 14px; }
.searchbar-compact .sb-field { padding: 6px 14px 4px; }
.searchbar-compact .sb-input input { font-size: 16px; }
.searchbar .sb-input input:focus { box-shadow: none; }
.searchbar-compact .sb-btn { border-radius: 10px; }

.quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; }
.quick-links span { color: rgba(255,255,255,.6); margin-right: 2px; }
.quick-links a { color: #fff; text-decoration: none; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-weight: 500; }
.quick-links a:hover { border-color: var(--lime); color: var(--lime); }

/* --------------------------------------------------------------- homepage finder (trade OR project, then where) */
.finder { max-width: 1060px; }
.finder-fields {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, .8fr) auto; align-items: stretch;
  background: var(--white); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg);
}
.finder-field { display: flex; flex-direction: column; justify-content: center; padding: 8px 16px 6px; border-radius: 12px; min-width: 0; position: relative; cursor: pointer; transition: background-color .15s; }
.finder-field:hover { background: var(--green-50); }
.finder-field:focus-within { background: var(--green-50); box-shadow: inset 0 0 0 2px var(--green-700); }
.finder-where { border-left: 1px solid var(--line-2); border-radius: 0 12px 12px 0; }
.finder-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.finder-num { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green-900); color: var(--lime); font-size: 10.5px; letter-spacing: 0; }
.finder-control { display: flex; align-items: center; gap: 8px; color: var(--green-600); }
.finder .finder-control select, .finder .finder-control input {
  border: 0; box-shadow: none; background-color: transparent; padding: 4px 26px 4px 0; border-radius: 0;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); width: 100%; min-width: 0; cursor: pointer;
  background-position: right 0 center; text-overflow: ellipsis;
}
.finder .finder-control input { cursor: text; padding-right: 0; }
.finder .finder-control select:focus, .finder .finder-control input:focus { box-shadow: none; outline: none; }
.finder .finder-control select.is-empty { color: #8b9482; font-weight: 500; }
.finder .finder-control input::placeholder { color: #8b9482; font-weight: 500; }
.finder-control select option, .finder-control select optgroup { color: var(--ink); font-weight: 400; }
.finder-control select optgroup { font-weight: 700; }
.finder-or {
  align-self: center; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 2px; border-radius: 50%;
  background: var(--lime); color: var(--green-900); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.finder-field.is-muted .finder-control select { opacity: .45; }
.finder-btn { border-radius: 12px; padding: 0 28px; font-size: 16px; margin-left: 6px; }

/* --------------------------------------------------------------- projects */
.section-dark { background: var(--green-900); color: rgba(255,255,255,.8); background-image: radial-gradient(700px 320px at 100% 0, rgba(225,243,64,.10), transparent 70%); }
.section-dark .section-title { color: #fff; }
.section-sub { margin: 10px 0 0; font-size: 17px; max-width: 560px; }
.section-dark .section-sub { color: rgba(255,255,255,.75); }
.link-arrow-light { color: var(--lime); }
.link-arrow-light:hover { color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.project-card {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.project-card:hover { background: rgba(225,243,64,.08); border-color: var(--lime); color: #fff; transform: translateY(-2px); }
.project-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--lime); color: var(--green-900); margin-bottom: 8px; }
.project-icon .icon { width: 24px; height: 24px; }
.project-name { font-weight: 800; font-size: 18px; line-height: 1.25; }
.project-desc { font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.5; flex: 1; }
.project-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--lime); }
.cat-icon.cat-icon-lime { background: var(--lime); color: var(--green-900); }

/* --------------------------------------------------------------- trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--green-50); color: var(--green-700); }
.trust-item strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; }
.trust-item span { font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section-tight { padding: 36px 0 72px; }
.section-tint { background: var(--green-50); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head.center { justify-content: center; text-align: center; }
.section-title { font-size: clamp(26px, 3.3vw, 36px); font-weight: 800; letter-spacing: -0.025em; margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* --------------------------------------------------------------- category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat-tile {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--green-600); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-900); color: var(--lime); margin-bottom: 10px; flex: none; }
.cat-icon .icon { width: 24px; height: 24px; }
.cat-icon-sm { width: 34px; height: 34px; border-radius: 9px; margin: 0; }
.cat-icon-sm .icon { width: 18px; height: 18px; }
.cat-name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.cat-count { font-size: 13px; color: var(--muted); }

.service-group { margin-bottom: 40px; }
.group-title { font-size: 22px; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--green-900); display: inline-block; margin-bottom: 18px; }
.cat-grid-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.cat-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.cat-row:hover { border-color: var(--green-600); box-shadow: var(--shadow); color: var(--ink); }
.cat-row .cat-icon { margin: 0; }
.cat-row-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cat-desc { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.cat-row .cat-count { background: var(--green-50); color: var(--green-700); font-weight: 700; border-radius: 999px; padding: 2px 10px; font-size: 13px; }

/* --------------------------------------------------------------- business cards */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.biz-grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.biz-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.biz-card:hover { border-color: var(--green-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.biz-card.is-featured { border-color: #d4e36a; box-shadow: inset 0 3px 0 var(--lime); }
.biz-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.biz-card-top { display: flex; gap: 14px; align-items: flex-start; }
.biz-logo {
  width: 56px; height: 56px; border-radius: 12px; flex: none; display: grid; place-items: center; overflow: hidden;
  background: var(--green-100); color: var(--green-800); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; border: 1px solid var(--line-2);
}
.biz-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.biz-logo.is-dark { background: var(--green-900); border-color: var(--green-900); }
.biz-logo.is-dark img { background: transparent; padding: 5px; }
.biz-logo.is-wide { width: 112px; }
.biz-logo-lg.is-wide { width: 220px; }
.biz-logo.is-wide img { padding: 6px 8px; }
.biz-logo-lg { width: 96px; height: 96px; border-radius: 18px; font-size: 32px; }
.biz-card-head { min-width: 0; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.biz-tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--line-2); color: var(--muted); letter-spacing: .01em; }
.tag-featured { background: var(--lime); color: var(--green-900); }
.tag-verified { background: var(--green-50); color: var(--green-700); border: 1px solid #cddcb6; }
.biz-name { font-size: 18px; font-weight: 800; margin: 0 0 3px; line-height: 1.25; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 14px; color: var(--muted); }
.biz-meta span { display: inline-flex; align-items: center; gap: 4px; }
.biz-excerpt { font-size: 15px; color: var(--text); margin: 0; flex: 1; line-height: 1.55; }
.biz-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 14px; }
.biz-cta { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--green-700); }
.biz-card:hover .biz-cta { color: var(--green-900); }

/* --------------------------------------------------------------- stars */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.star { width: 15px; height: 15px; }
.stars-lg .star { width: 20px; height: 20px; }
.star.on { fill: var(--star); }
.star.half { fill: var(--star); opacity: .5; }
.star.off { fill: #d9ddd2; }
.rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }

/* --------------------------------------------------------------- steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--green-900); font-weight: 900; font-size: 18px; margin-bottom: 16px; }
.step h3 { font-size: 21px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------- boroughs */
.borough-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 24px; }
.borough h2, .borough h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.borough ul { list-style: none; margin: 0; padding: 0; }
.borough li { padding: 3px 0; font-size: 15px; }
.borough a { text-decoration: none; color: var(--text); }
.borough a:hover { color: var(--link); text-decoration: underline; }
.borough-grid-full { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.borough-grid-full .borough { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; scroll-margin-top: 100px; }
.borough-grid-full .borough h2 { font-size: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }
.borough-grid-full li { display: flex; justify-content: space-between; gap: 10px; }
.pc { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* --------------------------------------------------------------- CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: 44px 48px;
  background-image: radial-gradient(500px 240px at 100% 0, rgba(225,243,64,.16), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -0.025em; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 520px; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------- page head */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0 32px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #a5ad9c; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
.page-head-row { display: flex; align-items: flex-start; gap: 18px; }
.page-head-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--green-900); color: var(--lime); flex: none; }
.page-head-icon .icon { width: 30px; height: 30px; }
.page-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.03em; margin: 0 0 6px; }
.page-intro { font-size: 17px; color: var(--muted); margin: 0; max-width: 720px; }

/* --------------------------------------------------------------- listing layout */
.listing-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.filter-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filter-label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px; }
.filter-box select { width: 100%; }
.filter-clear { display: inline-block; margin-top: 10px; font-size: 14px; }
.filter-cta { background: var(--lime-100); border-color: #e6ef9c; }
.filter-cta p { margin: 0 0 6px; }
.filter-cta .btn { margin-top: 8px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
.chip:hover { border-color: var(--green-600); color: var(--green-900); }
.chip.active { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.chip-icon .icon { color: var(--green-600); }
.mini-links { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.mini-links li { padding: 4px 0; }
.mini-links a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.mini-links a .icon { color: var(--green-600); }
.mini-links a:hover { color: var(--link); }
.results-count { font-weight: 700; color: var(--muted); font-size: 14px; margin: 0 0 14px; min-height: 1em; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.page { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 600; }
.page:hover { border-color: var(--green-600); }
.page.current { background: var(--green-900); border-color: var(--green-900); color: #fff; }

.empty { text-align: center; background: var(--white); border: 1px dashed #c9d0bf; border-radius: var(--radius-lg); padding: 48px 24px; }
.empty-icon, .message-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green-700); margin-bottom: 14px; }
.empty-icon .icon, .message-icon .icon { width: 30px; height: 30px; }
.empty h2 { font-size: 24px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.message-box { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 52px 28px; }
.message-box .page-intro { margin: 0 auto 10px; }
.message-box .searchbar { text-align: left; }

/* --------------------------------------------------------------- profile */
.page-head-profile { padding-bottom: 30px; }
.profile-head { display: flex; gap: 22px; align-items: center; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; font-size: 15px; }
.profile-meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.profile-meta a:hover { color: var(--link); }
.profile-meta .rating { color: var(--ink); }
.profile-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; scroll-margin-top: 96px; }
.panel-title { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.panel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-title-row .panel-title { margin: 0; }
.prose { font-size: 16.5px; line-height: 1.7; }
.accred { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--green-50); border-radius: var(--radius-sm); }
.accred .icon { color: var(--green-700); margin-top: 2px; }
.accred strong { display: block; color: var(--ink); font-size: 14px; }
.accred span { font-size: 15px; }
.areas-covered { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 24px; }
.areas-covered h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.areas-covered p { margin: 0; font-size: 15px; }
.review-list { list-style: none; padding: 0; margin: 0 0 20px; }
.review { padding: 18px 0; border-top: 1px solid var(--line-2); }
.review:first-child { border-top: 0; padding-top: 4px; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.review-head strong { color: var(--ink); }
.review p { margin: 0 0 6px; }
.review-by { font-size: 14px; color: var(--muted); }
.review-form-wrap { margin-top: 10px; }
.review-form-wrap > summary { list-style: none; cursor: pointer; }
.review-form-wrap > summary::-webkit-details-marker { display: none; }
.review-form-wrap[open] > summary { display: none; }
.review-form { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-2); }

.profile-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.contact-title { color: #fff; font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.contact-card .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.contact-card .btn-outline:hover { border-color: #fff; }
.contact-card .btn-dark { background: var(--green-700); }
.contact-card .btn-dark:hover { background: var(--green-600); }
.contact-card .btn { white-space: normal; text-align: center; }
.contact-address { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.8); margin: 6px 0 0; }
.contact-address .icon { margin-top: 3px; }
.contact-tip { font-size: 13.5px; color: rgba(255,255,255,.65); margin: 6px 0 0; }
.contact-tip strong { color: var(--lime); }
.side-note { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.side-note h3 { font-size: 16px; font-weight: 800; }
.side-note ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--muted); }
.side-note li { margin: 4px 0; }

/* --------------------------------------------------------------- forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.form-section { border: 0; padding: 0 0 26px; margin: 0 0 6px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form-section legend { font-size: 20px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0; }
.form-section .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-900); color: var(--lime); font-size: 15px; font-weight: 800; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span:first-child, .field legend { font-weight: 600; font-size: 15px; color: var(--ink); padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
.req { color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field-sm { max-width: none; }
.field-row:has(.field-sm) { grid-template-columns: 1fr 180px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], input[type="date"], input[type="datetime-local"], select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid #cfd6c4;
  border-radius: 10px; padding: 11px 13px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.55; }
select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6a55' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(225,243,64,.55); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
input[type="file"] { font-size: 14px; padding: 8px 0; }
.hint { font-size: 13.5px; color: var(--muted); margin: 0; }
.field-error { color: var(--red); font-size: 14px; font-weight: 600; margin: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-900); flex: none; }
.check-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 24px; }
.check-group { display: flex; flex-direction: column; gap: 7px; }
.check-group .check { font-size: 14.5px; }
.check-group-title { font-weight: 800; color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 2px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.check-groups.at-limit input:not(:checked) + * { opacity: .5; }
.form-submit { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 10px; }

.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: #d0d5c8; }
.star-input label .icon { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
.star-input input:focus-visible + label { outline: 3px solid var(--lime-600); border-radius: 6px; }

/* --------------------------------------------------------------- plans, faq, prose pages */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 22px; justify-content: center; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--green-900); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--lime); color: var(--green-900); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; padding: 4px 12px; border-radius: 999px; margin: 0; }
.plan-name { font-weight: 800; font-size: 19px; color: var(--ink); margin: 0; }
.plan-price { font-size: 44px; font-weight: 900; color: var(--ink); letter-spacing: -0.03em; margin: 2px 0 14px; }
.plan .ticks { flex: 1; margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 5px 0 5px 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 19px; height: 19px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132b09' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 17px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--green-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--text); }
.prose-page { font-size: 17px; line-height: 1.75; }
.prose-page h2 { font-size: 24px; font-weight: 800; margin-top: 1.6em; }
.prose-page ul { padding-left: 22px; }
.prose-page .ticks { padding-left: 0; }
.prose-page li { margin: 6px 0; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.75); padding: 60px 0 0; margin-top: 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { width: 200px; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.footer-h { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.footer-base p { margin: 0; }
.muted-light { color: rgba(255,255,255,.5); max-width: 640px; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .borough-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--green-900); padding: 8px 16px 20px; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 30px rgba(0,0,0,.25);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px; font-size: 17px; border-radius: 10px; }
  .site-nav .btn { margin: 10px 0 0; padding: 14px; }
  .header-inner { min-height: 64px; }
  .brand img { width: 128px; }

  .searchbar { grid-template-columns: 1fr; padding: 6px; }
  .sb-field { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 10px 12px 8px; }
  .sb-field:nth-of-type(2) { border-bottom: 0; }
  .sb-btn { padding: 14px; margin-top: 4px; }

  .trust-inner { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; order: 2; }
  .results { order: 1; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-side { position: static; order: -1; }
  .side-note { display: none; }
  .plans { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 26px; }
}

@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 44px 0 52px; }
  .section { padding: 52px 0; }
  .section-tight { padding: 24px 0 52px; }
  .section-tint + .section.more-listings { padding-top: 52px; }
  .section.more-listings:has(+ .section-tint) { padding-bottom: 52px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { padding: 16px 14px; }
  .cat-grid-list { grid-template-columns: 1fr; }
  .biz-grid, .biz-grid-2 { grid-template-columns: 1fr; }
  .borough-grid { grid-template-columns: 1fr 1fr; }
  .borough-grid-full { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 14px; }
  .field-row, .field-row:has(.field-sm) { grid-template-columns: 1fr; }
  .form-panel { padding: 22px 18px; }
  .panel { padding: 22px 18px; }
  .page-head-icon { width: 48px; height: 48px; border-radius: 13px; }
  .page-head-icon .icon { width: 24px; height: 24px; }
  .profile-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .biz-logo-lg { width: 76px; height: 76px; font-size: 26px; }
  .biz-logo-lg.is-wide { width: 170px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions .btn { flex: 1; }
}

@media (max-width: 1024px) {
  .finder-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 6px; }
  .finder-where { grid-column: 1 / 3; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 12px; }
  .finder-btn { grid-column: 3; margin: 0; padding: 14px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .finder-fields { grid-template-columns: 1fr; padding: 6px; row-gap: 0; }
  .finder-field { padding: 12px 12px 10px; }
  .finder-or { justify-self: center; margin: -10px 0; position: relative; z-index: 1; width: 30px; height: 30px; box-shadow: 0 0 0 4px #fff; }
  .finder-field:first-child { border-bottom: 1px solid var(--line-2); border-radius: 12px 12px 0 0; }
  .finder-where { grid-column: auto; }
  .finder-btn { grid-column: auto; margin-top: 6px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 16px; }
  .project-card .project-icon { margin: 0; }
  .project-card .project-name { flex: 1; }
  .project-card .project-desc, .project-card .project-go { flex-basis: 100%; }
  .project-card .project-go { margin-top: 2px; }
}

/* --------------------------------------------------------------- trade landing pages (/electricians) */
.trade-hero {
  background: radial-gradient(900px 380px at 90% -20%, rgba(225,243,64,.13), transparent 60%), var(--green-900);
  color: #fff; padding: 26px 0 56px;
}
.trade-hero .crumbs ol { color: rgba(255,255,255,.55); margin-bottom: 26px; }
.trade-hero .crumbs a { color: rgba(255,255,255,.7); }
.trade-hero .crumbs a:hover { color: var(--lime); }
.trade-hero .crumbs li + li::before { color: rgba(255,255,255,.35); }
.trade-hero .crumbs [aria-current] { color: #fff; }
.trade-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: end; }
.trade-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.trade-title { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 16px; }
.trade-title .hl { color: var(--lime); }
.trade-lead { font-size: clamp(16.5px, 1.8vw, 19px); color: rgba(255,255,255,.8); max-width: 640px; margin-bottom: 26px; }
.area-finder {
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto minmax(0, .8fr) auto; align-items: stretch;
  background: #fff; border-radius: 16px; padding: 7px; box-shadow: var(--shadow-lg); max-width: 760px;
}
.area-finder-field { display: flex; flex-direction: column; justify-content: center; padding: 7px 14px 5px; border-radius: 10px; min-width: 0; cursor: pointer; }
.area-finder-field:hover { background: var(--green-50); }
.area-finder-field:focus-within { background: var(--green-50); box-shadow: inset 0 0 0 2px var(--green-700); }
.area-finder .finder-control select, .area-finder .finder-control input {
  border: 0; box-shadow: none; background-color: transparent; padding: 4px 26px 4px 0; border-radius: 0;
  font: inherit; font-size: 16.5px; font-weight: 600; color: var(--ink); width: 100%; min-width: 0; background-position: right 0 center;
}
.area-finder .finder-control input { padding-right: 0; }
.area-finder .finder-control input::placeholder { color: #8b9482; font-weight: 500; }
.area-finder .finder-control select:focus, .area-finder .finder-control input:focus { box-shadow: none; outline: none; }
.area-finder .btn { border-radius: 11px; padding: 0 22px; margin-left: 6px; }
.job-tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: rgba(255,255,255,.82); }
.job-tags li { display: inline-flex; align-items: center; gap: 6px; }
.job-tags .icon { color: var(--lime); }
.trade-stats { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 8px 22px; }
.trade-stat { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.trade-stat strong { font-size: 36px; font-weight: 900; color: var(--lime); letter-spacing: -0.03em; line-height: 1; min-width: 64px; }
.trade-stat strong small { font-size: 16px; color: rgba(255,255,255,.5); font-weight: 700; letter-spacing: 0; }
.trade-stat span { font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.35; }
.trade-stat-cta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 16px 0 12px; color: rgba(255,255,255,.75); text-decoration: none; font-size: 14.5px; }
.trade-stat-cta strong { color: var(--lime); }
.trade-stat-cta:hover { color: #fff; }
.trade-stat-cta .icon { color: var(--lime); }

.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.results-head p { margin: 4px 0 0; }
.section-title-sm { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.results-head .section-title-sm { margin: 0; }
.chip-row { margin-bottom: 22px; }
.chip-lg { padding: 9px 15px; font-size: 15px; }
.trade-results { scroll-margin-top: 80px; }
/* Second listings section: sits on the same background as its neighbours, so it
   borrows their spacing instead of adding its own (no doubled gaps). */
.section.more-listings { padding-top: 0; padding-bottom: 0; }
.section-tint + .section.more-listings { padding-top: 72px; }
.section.more-listings:has(+ .section-tint) { padding-bottom: 72px; }

.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.job-card h3 { font-size: 18px; font-weight: 800; margin: 2px 0 8px; }
.job-card p { color: var(--muted); font-size: 15px; margin: 0 0 12px; flex: 1; }
.job-card .link-arrow { font-size: 14px; white-space: normal; }

.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 4px; }
.checklist li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist-num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-900); color: var(--lime); font-weight: 900; }
.checklist h3 { font-size: 18px; font-weight: 800; margin: 5px 0 4px; }
.checklist p { margin: 0; color: var(--text); }
.callout { background: var(--lime-100); border: 1px solid #e3ec9a; border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 100px; }
.callout-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-900); color: var(--lime); margin-bottom: 14px; }
.callout h3 { font-size: 21px; font-weight: 800; }
.callout .ticks { margin: 4px 0 14px; }
.callout .ticks li { font-weight: 600; color: var(--ink); }
.callout-source { font-size: 13px; color: var(--muted); margin: 0; }

.trade-areas li { display: flex; align-items: center; gap: 6px; }
.trade-areas li.is-empty a { color: var(--muted); }
.count-pill { font-size: 11.5px; font-weight: 800; background: var(--lime); color: var(--green-900); border-radius: 999px; padding: 0 7px; line-height: 18px; }

.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

@media (max-width: 1024px) {
  .trade-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .trade-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; padding: 4px 20px; }
  .trade-stat { flex-direction: column; gap: 6px; border-bottom: 0; }
  .trade-stat-cta { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); }
  .job-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr; gap: 28px; }
  .callout { position: static; }
}
@media (max-width: 680px) {
  .trade-hero { padding-bottom: 40px; }
  .area-finder { grid-template-columns: 1fr; padding: 6px; }
  .area-finder .finder-or { justify-self: center; margin: -10px 0; position: relative; z-index: 1; width: 30px; height: 30px; box-shadow: 0 0 0 4px #fff; }
  .area-finder-field { padding: 12px 12px 10px; }
  .area-finder-field:first-child { border-bottom: 1px solid var(--line-2); border-radius: 10px 10px 0 0; }
  .area-finder .btn { margin: 6px 0 0; padding: 14px; }
  .trade-stats { grid-template-columns: repeat(3, 1fr); padding: 2px 14px; }
  .trade-stat strong { font-size: 28px; min-width: 0; }
  .trade-stat span { font-size: 12.5px; }
  .job-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; gap: 28px; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip-row .chip { flex: none; }
}

/* --------------------------------------------------------------- richer business cards */
.biz-card { gap: 12px; }
.biz-rating-line { margin: 0; font-size: 14px; }
.biz-card .biz-meta { font-size: 13.5px; margin-top: -2px; }
.spec-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spec-tags li { font-size: 12.5px; font-weight: 600; color: var(--green-800); background: var(--green-50); border: 1px solid #d9e4c8; border-radius: 6px; padding: 2px 8px; }
.spec-tags li.more { background: transparent; border-style: dashed; color: var(--muted); }
.spec-tags-lg { margin-bottom: 14px; gap: 8px 16px; }
.spec-tags-lg li { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 15px; color: var(--ink); }
.spec-tags-lg .icon { color: var(--green-600); }
.biz-review { margin: 0; padding: 10px 12px; background: #fafbf7; border-left: 3px solid var(--lime-600); border-radius: 0 8px 8px 0; flex: 1; }
.biz-review p { margin: 0 0 4px; font-size: 14.5px; font-style: italic; color: var(--text); line-height: 1.5; }
.biz-review footer { font-size: 12.5px; color: var(--muted); }
.biz-card-foot { justify-content: flex-start; gap: 8px; }
.biz-card-foot .btn { position: relative; z-index: 2; }
.biz-card-foot .biz-view { margin-left: auto; }

/* --------------------------------------------------------------- trade page: extras */
.sort-form { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort-form select { width: auto; padding: 8px 34px 8px 12px; font-size: 14px; }
.page-nav { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.page-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.page-nav a { display: block; padding: 14px 12px; font-size: 14.5px; font-weight: 700; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.page-nav a:hover, .page-nav a.active { color: var(--ink); border-bottom-color: var(--lime-600); }
[id].anchor { scroll-margin-top: 140px; }

.local-intro { font-size: 16.5px; max-width: 820px; margin: 0 0 18px; }
.nearby { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }

.how-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.how-strip div { padding: 18px 22px; display: flex; gap: 12px; align-items: flex-start; }
.how-strip div + div { border-left: 1px solid var(--line-2); }
.how-strip b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--green-900); font-size: 13px; }
.how-strip strong { display: block; color: var(--ink); font-size: 15px; }
.how-strip span { font-size: 14px; color: var(--muted); }

.rating-summary { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.rating-big { background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: 26px; }
.rating-big strong { display: block; font-size: 54px; font-weight: 900; color: var(--lime); line-height: 1; letter-spacing: -0.03em; }
.rating-big p { margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: 14.5px; }
.review-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.review-card p { margin: 8px 0; font-size: 15px; }
.review-card footer { font-size: 13px; color: var(--muted); }
.review-card footer a { font-weight: 700; }

.price-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.price-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: #fafbf7; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.price-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 700; color: var(--ink); }
.price-table .price { font-weight: 800; color: var(--green-800); white-space: nowrap; }
.price-table sup a { text-decoration: none; font-weight: 700; font-size: 11px; margin-left: 2px; }
.price-notes { font-size: 14px; color: var(--muted); }
.price-notes h3 { font-size: 17px; color: var(--ink); }
.price-notes ol { padding-left: 18px; margin: 8px 0 0; }
.price-notes li { margin: 4px 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.info-card h3 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.info-card h3 .cat-icon { margin: 0; width: 38px; height: 38px; border-radius: 10px; }
.info-card h3 .cat-icon .icon { width: 20px; height: 20px; }
.info-card ul { margin: 0; padding-left: 20px; }
.info-card li { margin: 7px 0; }
.info-card li strong { color: var(--ink); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience-grid .info-card p { margin: 0 0 10px; }
.audience-grid .info-card ul { font-size: 15px; }

.emergency { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; background: #fff4f2; border: 1px solid #f3cdc6; border-radius: var(--radius-lg); padding: 28px; }
.emergency-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--red); color: #fff; }
.emergency-icon .icon { width: 28px; height: 28px; }
.emergency h2 { font-size: 24px; font-weight: 800; }
.emergency ul { margin: 0 0 10px; padding-left: 20px; }
.emergency li { margin: 5px 0; }
.emergency .callouts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.emergency .callouts span { background: #fff; border: 1px solid #f3cdc6; border-radius: 10px; padding: 8px 12px; font-size: 14.5px; }
.emergency .callouts strong { color: var(--red); }

.small-jobs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.small-jobs li { list-style: none; }
.small-jobs-wrap h3 { font-size: 18px; font-weight: 800; margin-top: 30px; }

@media (max-width: 1024px) {
  .price-wrap, .rating-summary { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .page-nav { top: 64px; }
  .two-col { grid-template-columns: 1fr; }
  .how-strip { grid-template-columns: 1fr; }
  .how-strip div + div { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 600px) {
  .price-table { font-size: 14px; }
  .price-table th, .price-table td { padding: 10px 10px; }
  .price-table .col-time { display: none; }
  .emergency { grid-template-columns: 1fr; padding: 22px; }
  .info-card { padding: 20px; }
}
.qual-row { margin-top: 40px; }
.how-strip p { margin: 0; }
.review-card strong { display: block; color: var(--ink); margin-top: 6px; }
.small-jobs { padding: 0; }
.fallback-title { margin-top: 34px; }
.faq-links { margin: -6px 0 18px; }
.faq-links .chip { font-size: 13.5px; padding: 5px 11px; }
.section-sub-wide { max-width: 760px; }
.place-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 36px; }
.place-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.place-card:hover { border-color: var(--green-600); box-shadow: var(--shadow); color: var(--ink); }
.place-name { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; line-height: 1.3; }
.place-name .icon { color: var(--green-600); flex: none; }
.place-meta { font-size: 13px; color: var(--muted); padding-left: 21px; }
.all-areas-title { font-size: 18px; font-weight: 800; margin: 0 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 1024px) { .place-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .place-grid { grid-template-columns: 1fr 1fr; } .place-name { font-size: 14px; } }

/* --------------------------------------------------------------- bylines and authors */
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-900); color: var(--lime); font-weight: 800; font-size: 14px; object-fit: cover; flex: none; }
.avatar-check { background: var(--lime); color: var(--green-900); }
.avatar-lg { width: 64px; height: 64px; font-size: 20px; }
.avatar-xl { width: 96px; height: 96px; font-size: 30px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 14px 18px; margin-bottom: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14.5px; }
.byline-person { display: flex; align-items: center; gap: 10px; }
.byline-person a { font-weight: 800; color: var(--ink); }
.byline-label { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.byline-role { display: block; font-size: 13px; color: var(--muted); }
.byline-meta { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13.5px; }
.about-guide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.about-guide h2 { font-size: 22px; font-weight: 800; }
.about-guide-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 16px 0 18px; }
.about-person { display: flex; gap: 14px; align-items: flex-start; }
.about-person p { margin: 0; }
.about-name { font-weight: 800; font-size: 17px; }
.about-name a { color: var(--ink); }
.about-role { color: var(--muted); font-size: 14.5px; }
.about-cred { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; margin-top: 6px !important; color: var(--green-800); }
.about-cred .icon { margin-top: 2px; }
.about-how { font-size: 14.5px; color: var(--muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--line-2); }
.about-guide-wrap { padding-top: 0; }
.author-head { display: flex; gap: 20px; align-items: center; }
.author-links { display: flex; gap: 8px; margin: 18px 0 0; }
@media (max-width: 680px) { .byline-meta { margin-left: 0; } }
.about-person-page { margin: 10px 0 8px; }
.about-person-page p { margin: 0 0 4px; }
.company-details { display: grid; grid-template-columns: 180px 1fr; gap: 6px 18px; margin: 0; }
.company-details dt { font-weight: 700; color: var(--ink); }
.company-details dd { margin: 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-social a { color: var(--lime); text-decoration: none; font-weight: 600; }
@media (max-width: 600px) { .company-details { grid-template-columns: 1fr; } .company-details dd { margin-bottom: 8px; } }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; }
.cred-list li > .icon { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--green-50); color: var(--green-700); }
.cred-list strong { display: block; color: var(--ink); }
.cred-list span { font-size: 14.5px; color: var(--muted); }
.cred-list a { display: inline-flex; align-items: center; gap: 4px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery a { display: block; position: relative; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.review-checked { display: inline-flex; align-items: center; gap: 3px; color: var(--green-700); font-weight: 600; text-decoration: none; }
.review-reply { margin: 10px 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--green-600); background: var(--green-50); border-radius: 0 8px 8px 0; font-size: 14.5px; }
.review-reply p { margin: 4px 0 0; }
a.tag-verified { text-decoration: none; }

/* --------------------------------------------------------------- town map + landscape stats strip */
.trade-map { margin: 0; align-self: center; }
.trade-map img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); background: #0f2307; }
.trade-map figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 768px) { .trade-map { display: none; } }
.trade-hero-grid:has(.trade-map) { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; }
.area-map .lbl { fill: rgba(255,255,255,.78); font: 600 13px var(--font); }
.area-map .lbl-main { fill: var(--green-900); font: 900 20px var(--font); }
.area-map .lbl-sub { fill: var(--green-900); font: 700 12px var(--font); }
.area-map .lbl-boro { fill: rgba(255,255,255,.35); font: 800 11px var(--font); letter-spacing: .12em; }
.area-map .lbl-inset { fill: rgba(255,255,255,.7); font: 700 10.5px var(--font); }
.area-map .lbl-credit { fill: rgba(255,255,255,.5); font: 400 9.5px var(--font); }
.stats-strip { background: var(--green-800); border-top: 1px solid rgba(255,255,255,.08); color: #fff; }
.stats-strip-inner { display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: center; gap: 0; }
.stats-strip-item { display: flex; align-items: center; gap: 14px; padding: 20px 32px 20px 0; margin-right: 32px; border-right: 1px solid rgba(255,255,255,.12); }
.stats-strip-item strong { font-size: 34px; font-weight: 900; color: var(--lime); letter-spacing: -0.03em; line-height: 1; }
.stats-strip-item strong small { font-size: 15px; color: rgba(255,255,255,.5); font-weight: 700; letter-spacing: 0; }
.stats-strip-item span { font-size: 14.5px; color: rgba(255,255,255,.8); line-height: 1.3; max-width: 170px; }
.stats-strip-cta { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); text-decoration: none; font-size: 14.5px; }
.stats-strip-cta strong { color: var(--lime); }
.stats-strip-cta:hover { color: #fff; }
.stats-strip-cta .icon { color: var(--lime); }
@media (max-width: 1024px) {
  .trade-hero-grid:has(.trade-map) { grid-template-columns: 1fr; }
  .trade-map { max-width: 560px; }
  .stats-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .stats-strip-item { margin-right: 0; padding: 18px 16px 18px 0; }
  .stats-strip-item:nth-child(3) { border-right: 0; }
  .stats-strip-cta { grid-column: 1 / -1; justify-self: start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); width: 100%; }
}
@media (max-width: 600px) {
  .stats-strip-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 10px 16px 0; }
  .stats-strip-item strong { font-size: 28px; }
  .stats-strip-item span { font-size: 12.5px; }
}
@media (max-width: 600px) { .stats-strip-inner { align-items: start; } }

/* footer: NAP and legal bar */
.footer-nap { font-style: normal; display: flex; flex-direction: column; gap: 3px; margin: 0 0 14px; font-size: 14.5px; }
.footer-nap strong { color: #fff; }
.footer-nap a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-nap a:hover { color: var(--lime); }
.footer-base { align-items: flex-start; }
.footer-base > div p + p { margin-top: 4px; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-legal a:hover { color: var(--lime); }
.table-wrap { overflow-x: auto; }
.simple-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.simple-table th, .simple-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.simple-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fafbf7; }

/* ------------------------------------------------------------------ accounts and reviews */
.nav-account { display: inline-flex; align-items: center; gap: 6px; }
.container.narrow-sm { max-width: 520px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); }
.auth-card .page-title { font-size: clamp(26px, 4vw, 32px); margin: 14px 0 8px; }
.auth-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--lime); color: var(--green-900); }
.auth-icon .icon { width: 26px; height: 26px; }
.auth-intro { color: var(--muted); margin: 0 0 22px; }
.auth-notes { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 15px; }
.auth-notes p { margin: 0 0 8px; }
.auth-steps { margin: 0; padding-left: 20px; }
.auth-steps li { margin-bottom: 6px; }
.btn-block { width: 100%; justify-content: center; }
.debug-mail { margin-top: 20px; font-size: 13px; text-align: left; }
.debug-mail pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; font-size: 12.5px; }

.score-summary { display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: start; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.score-total strong { display: block; font-size: 60px; line-height: 1; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); }
.score-total strong.score-none { font-size: 24px; letter-spacing: 0; }
.score-outof { display: block; color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
.score-count { display: block; margin-top: 4px; font-weight: 600; font-size: 14.5px; color: var(--green-700); }
.score-actions { display: grid; gap: 8px; margin-top: 16px; }
.score-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4px 28px; margin: 0; }
.score-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.score-item dt { font-size: 15px; color: var(--text); white-space: nowrap; }
.score-item dd { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.score-num { font-weight: 700; font-size: 14px; min-width: 32px; text-align: right; }
.score-empty p { margin: 4px 0 8px; color: var(--muted); }
.score-empty ul { columns: 2; margin: 0; padding-left: 18px; font-size: 15px; }
.review-avg { font-weight: 700; font-size: 14px; }
.review-job { font-size: 14px; color: var(--muted); }
.review-scores { margin: 4px 0 8px; font-size: 14px; }
.review-scores summary { cursor: pointer; color: var(--green-700); font-weight: 600; }
.review-scores dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 18px; margin: 10px 0 0; padding: 12px 14px; background: var(--green-50); border-radius: 10px; }
.review-scores dl div { display: flex; flex-direction: column; gap: 2px; }
.review-scores dt { color: var(--muted); font-size: 13px; }
.review-scores dd { margin: 0; }
.review-invited { font-style: italic; }

.review-form-head { display: flex; gap: 18px; align-items: center; }
.review-form-head .page-title { margin: 0 0 4px; }
.score-set { border: 0; padding: 0; margin: 0 0 8px; }
.score-set legend { font-weight: 800; font-size: 19px; color: var(--ink); padding: 0; }
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.score-label { display: flex; flex-direction: column; }
.score-label span { font-size: 14px; color: var(--muted); }
.score-row .star-input label .icon { width: 30px; height: 30px; }

.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.account-head .page-title { margin: 4px 0; }
.account-head-actions { display: flex; gap: 10px; align-items: center; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.account-main { display: grid; gap: 24px; }
.account-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.reply-box { margin: 8px 0; }
.reply-box > summary { list-style: none; display: inline-flex; }
.reply-box > summary::-webkit-details-marker { display: none; }
.reply-box form { margin-top: 10px; }
.share-link { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.share-link input { width: 100%; font-size: 13px; }
.side-sub { font-size: 15px; margin: 18px 0 8px; }
.invite-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.invite-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.invite-list .ok { color: var(--green-700); font-weight: 600; }
.my-reviews { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.my-reviews li { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.my-reviews p { margin: 4px 0 0; }
.status-pill { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--line-2); }
.status-approved { background: var(--green-50); color: var(--green-700); }
.status-pending { background: #fff6d6; color: #7a5b00; }

@media (max-width: 860px) {
  .score-summary { grid-template-columns: 1fr; gap: 18px; }
  .score-grid { grid-template-columns: 1fr; }
  .review-scores dl { grid-template-columns: 1fr 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .account-side { position: static; }
  .score-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .auth-card { padding: 28px 20px; }
}

.panel > .score-summary:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

/* ------------------------------------------------------------------ 24-hour call-outs */
.tag-emergency { background: #fde8e4; color: #9a2412; display: inline-flex; align-items: center; gap: 4px; }
.tag-emergency .icon { stroke: currentColor; }
.biz-card.is-emergency { border-color: #f1a596; box-shadow: inset 0 3px 0 #d8452b; }
.emergency-toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; cursor: pointer; font-size: 14.5px; }
.emergency-toggle input { width: 18px; height: 18px; accent-color: #d8452b; margin: 0; }
.emergency-toggle .et-box { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.emergency-toggle .et-hint { opacity: .75; font-size: 13.5px; }
.finder .emergency-toggle, .searchbar-hero .emergency-toggle { color: #fff; }
.searchbar .emergency-toggle { grid-column: 1 / -1; }
.emergency-banner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px 28px; background: #fff6f3; border: 1px solid #f3c2b6; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.eb-safety strong { display: inline-flex; align-items: center; gap: 6px; color: #9a2412; }
.eb-safety ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14.5px; display: grid; gap: 4px; }
.eb-safety b { display: inline-block; min-width: 112px; color: var(--ink); }
.eb-traders p { margin: 0 0 8px; }
.emergency-cta { margin-top: 14px; }
.contact-emergency { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); display: grid; gap: 8px; font-size: 13.5px; }
.contact-emergency strong { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-size: 14.5px; }
.contact-emergency span { opacity: .85; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.emergency-opt { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; display: grid; gap: 10px; }
@media (max-width: 860px) {
  .emergency-banner { grid-template-columns: 1fr; }
}
.finder .emergency-toggle { padding: 0 8px; }
.contact-emergency .btn { white-space: nowrap; font-size: 14.5px; padding-left: 12px; padding-right: 12px; }
.area-finder .emergency-toggle { grid-column: 1 / -1; margin: 6px 0 0; padding: 8px 12px 4px; border-top: 1px solid var(--line-2); color: var(--ink); }
.area-finder .emergency-toggle .et-hint { color: var(--muted); opacity: 1; }

/* ------------------------------------------------------------------ work photo gallery */
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery img { height: auto; }
.gallery-item { background: var(--green-50); }
.gallery-item:focus-visible { outline: 3px solid var(--lime-600); outline-offset: 2px; }
.js .gallery-item[data-extra] { display: none; }
.gallery.is-open .gallery-item[data-extra] { display: block; }
.gallery-more { margin-top: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 16, 4, .92); display: grid; grid-template-rows: auto 1fr auto; padding: 14px; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 14px; }
.lb-stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 10px; }
.lb-caption { color: #fff; text-align: center; padding: 10px 50px 4px; font-size: 15px; }
.lb-btn { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; font-size: 24px; line-height: 1; }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--lime); color: var(--green-900); outline: none; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 4px; } .lb-next { right: 4px; }
body.lb-open { overflow: hidden; }
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery span { display: none; }
}
.gallery span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 14px 8px 6px; }
.lightbox { background: rgba(8, 16, 4, .97); }

/* Byline at the top of guide pages (on the dark hero) */
.byline-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: -12px 0 22px; font-size: 14px; color: rgba(255,255,255,.75); }
.byline-compact span { display: inline-flex; align-items: center; gap: 6px; }
.byline-compact a { color: #fff; font-weight: 600; }
.byline-compact > a { color: var(--lime); font-weight: 500; }
.byline-compact .avatar { width: 28px; height: 28px; font-size: 11px; margin-right: -2px; }
.byline-compact > span + span::before, .byline-compact > span + a::before { content: ""; }
.byline-compact .avatar { display: inline-grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-900); font-weight: 800; flex: none; object-fit: cover; }
.byline-compact time { margin-left: 4px; }

/* ------------------------------------------------------------------ enquiry form */
.container.narrow.enquiry-layout { max-width: 1060px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.enquiry-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.enquiry-side .btn { margin: 6px 0; }
.enquiry-form textarea { font-family: inherit; line-height: 1.55; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice-pills label { cursor: pointer; }
.choice-pills input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pills span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; }
.choice-pills input:checked + span { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.choice-pills input:focus-visible + span { outline: 3px solid var(--lime-600); outline-offset: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
fieldset.field legend { font-weight: 700; font-size: 15px; padding: 0; color: var(--ink); }
@media (max-width: 860px) {
  .container.narrow.enquiry-layout { grid-template-columns: 1fr; }
  .enquiry-side { position: static; }
}

.enquiry-list { list-style: none; margin: 0; padding: 0; }
.enquiry-list li { border-top: 1px solid var(--line-2); padding: 10px 0; }
.enquiry-list summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.enquiry-msg { background: var(--green-50); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; }

/* WhatsApp buttons */
.btn-whatsapp { background: #1f7a45; color: #fff; border-color: #1f7a45; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #17633a; border-color: #17633a; color: #fff; }

.profile-tagline { margin: 2px 0 8px; font-size: clamp(16px, 1.6vw, 18px); font-weight: 600; color: var(--green-700); }
.profile-meta .rating-empty { color: var(--muted); }
.profile-meta .rating-empty span { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* Rating summary in the profile sidebar */
.side-rating h3 { margin-bottom: 10px; }
.side-rating-total { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.side-rating-total strong { font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.side-rating-total div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.side-rating-none { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; }
.side-rating-list { margin: 0 0 14px; display: grid; gap: 2px; }
.side-rating-list div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.side-rating-list dt { color: var(--text); }
.side-rating-list dd { margin: 0; }

/* ------------------------------------------------------------------ blog */
.blog-strip { border-top: 1px solid var(--line-2); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-link { position: absolute; inset: 0; z-index: 1; }
.post-card-img { aspect-ratio: 16 / 9; background: var(--green-50); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-img.is-plain { display: grid; place-items: center; background: var(--green-900); background-image: radial-gradient(circle at 80% 20%, rgba(225,243,64,.18), transparent 55%); }
.post-card-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--lime); color: var(--green-900); }
.post-card-icon .icon { width: 32px; height: 32px; }
.post-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card-tags { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-700); }
.post-card-title { margin: 0; font-size: 19px; line-height: 1.25; color: var(--ink); }
.post-card-summary { margin: 0; font-size: 15px; color: var(--text); flex: 1; }
.post-card-meta { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

.post-head .container { max-width: 820px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 6px 0 10px; font-size: 14px; font-weight: 700; }
.post-tags a { display: inline-flex; align-items: center; gap: 5px; color: var(--green-700); text-decoration: none; }
.post-title { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; }
.post-summary { font-size: clamp(17px, 1.8vw, 20px); }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.post-byline span { display: inline; }
.page-head .chip-list { margin-top: 14px; }
.post-byline a { font-weight: 700; }
.post-byline .avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-900); color: var(--lime); font-weight: 800; font-size: 13px; object-fit: cover; margin-right: -8px; }
.post-cover { margin: 0 0 26px; border-radius: var(--radius-lg); overflow: hidden; }
.post-cover img { width: 100%; height: auto; }
.post-toc { background: var(--green-50); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 26px; }
.post-toc strong { display: block; margin-bottom: 6px; color: var(--ink); }
.post-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; }
.post-toc li { margin-bottom: 4px; break-inside: avoid; }
.post-body { font-size: 17.5px; line-height: 1.7; }
.post-body h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 34px 0 10px; scroll-margin-top: 90px; }
.post-body h3 { font-size: 20px; margin: 24px 0 8px; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-callout { margin: 22px 0; padding: 14px 18px; border-left: 4px solid var(--lime-600); background: var(--lime-100); border-radius: 0 12px 12px 0; font-size: 16.5px; }
.post-cta { display: grid; gap: 12px; margin: 34px 0 18px; }
.post-cta-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--green-900); color: #fff; border-radius: var(--radius); text-decoration: none; }
.post-cta-item strong { display: block; color: var(--lime); font-size: 17px; }
.post-cta-item small { color: rgba(255,255,255,.75); font-size: 14px; }
.post-cta-item > span:nth-child(2) { flex: 1; }
.post-cta-item:hover { background: var(--green-800); }
.post-disclaimer { border-top: 1px solid var(--line-2); padding-top: 14px; }
@media (max-width: 600px) {
  .post-toc ol { columns: 1; }
  .post-body { font-size: 17px; }
}

/* ------------------------------------------------------------------ Services dropdown (main menu)
   Opens on hover with CSS alone; app.js adds tap/click and keyboard support. */
.nav-drop { position: relative; }
.site-nav a.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop .chev { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s; }
.nav-drop.is-open .chev { transform: rotate(180deg); }
.nav-drop.is-open .nav-drop-btn { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.nav-drop-btn.active { color: var(--lime); }
.nav-panel { display: none; position: absolute; top: calc(100% + 12px); left: -12px; min-width: 240px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.45); padding: 8px; z-index: 60; }
.nav-panel::before { content: ""; position: absolute; top: -7px; left: 40px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.nav-panel::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* keeps hover alive across the gap */
.nav-drop.is-open .nav-panel { display: block; }
.np-list { list-style: none; margin: 0; padding: 0; }
.np-list > li { position: relative; }
.np-list > li + li { margin-top: 2px; }
.np-row { display: flex; align-items: stretch; border-radius: 12px; }
.site-nav .nav-panel a.np-link { flex: 1; display: block; padding: 11px 12px; border-radius: 12px; color: var(--ink); background: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.site-nav .nav-panel a.np-link:hover { background: var(--green-50); }
.np-fly-btn { display: grid; place-items: center; width: 40px; flex: none; background: none; border: 0; border-radius: 10px; color: var(--muted); cursor: pointer; }
.np-fly-btn .icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s; }
.has-fly:hover > .np-row, .has-fly.is-open > .np-row { background: var(--green-50); }
.has-fly:hover .np-fly-btn, .has-fly.is-open .np-fly-btn { color: var(--green-900); }
.np-fly { display: none; position: absolute; top: -8px; left: calc(100% + 18px); min-width: 220px; width: max-content; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.45); padding: 8px; }
.np-fly::before { content: ""; position: absolute; left: -18px; top: 0; bottom: 0; width: 18px; } /* hover bridge */
.has-fly.is-open > .np-fly { display: block; }
.site-nav .nav-panel a.np-area { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); background: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.site-nav .nav-panel a.np-area + a.np-area { margin-top: 2px; }
.site-nav .nav-panel a.np-area:hover { background: var(--green-50); }
.site-nav .nav-panel a.is-current { background: var(--green-50); box-shadow: inset 3px 0 0 var(--lime-600); }
@media (hover: hover) and (min-width: 861px) {
  .nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { display: block; }
  .nav-drop:hover .chev { transform: rotate(180deg); }
  .nav-drop:hover .nav-drop-btn { color: #fff; background: rgba(255,255,255,.08); }
  .has-fly:hover > .np-fly, .has-fly:focus-within > .np-fly { display: block; }
}
@media (max-width: 860px) {
  .site-nav a.nav-drop-btn { width: 100%; justify-content: space-between; }
  .nav-panel { position: static; min-width: 0; box-shadow: none; margin: 4px 0 8px; }
  .nav-panel::before, .nav-panel::after { display: none; }
  .np-fly { position: static; width: auto; min-width: 0; box-shadow: none; padding: 4px 0 4px 14px; margin: 4px 0 4px 12px; border-left: 2px solid var(--lime-600); border-radius: 0; }
  .np-fly::before { display: none; }
  .has-fly.is-open .np-fly-btn .icon { transform: rotate(90deg); }
}
.np-fly-btn, .nav-drop-btn { -webkit-tap-highlight-color: transparent; }
.np-fly-btn:focus { outline: none; }
.np-fly-btn:focus-visible { outline: 2px solid var(--lime-600); outline-offset: -2px; }
/* 24-hour call-outs box on the profile: red so it stands out (light red keeps it readable on the dark green) */
.contact-emergency { border-color: rgba(255,123,107,.45); background: rgba(255,123,107,.08); }
.contact-emergency strong { color: #ff7b6b; }
.biz-logo img { box-sizing: border-box; }
.biz-logo { grid-template-columns: 100%; grid-template-rows: 100%; }
.biz-logo img { min-height: 0; min-width: 0; }

/* ------------------------------------------------------------------ trade hub (/electricians) */
.hub-hero .hub-hero-inner { max-width: 760px; padding-bottom: 8px; }
.hub-search { display: flex; gap: 8px; background: #fff; border-radius: 16px; padding: 7px; box-shadow: var(--shadow-lg); max-width: 640px; }
.hub-search .finder-control { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); }
.hub-search input { border: 0; padding: 12px 0; font-size: 16px; box-shadow: none !important; }
.hub-search .btn { white-space: nowrap; }
.hub-missed { color: #ffd2c9; margin: 12px 0 0; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 18px; }
.city-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.city-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.city-card-top { display: flex; gap: 14px; align-items: center; }
.city-card-top strong { display: block; font-size: 20px; }
.city-card-top small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.city-card-count { font-weight: 800; color: var(--green-700); }
.city-card-towns { font-size: 14.5px; color: var(--text); }
.city-card-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--link); }
.hub-more { margin-top: 16px; }
.hub-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.hub-tip { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.hub-tip b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--green-900); }
.hub-tip h3 { margin: 2px 0 6px; font-size: 17px; }
.hub-tip p { margin: 0; font-size: 15px; }
@media (max-width: 600px) {
  .hub-search { flex-direction: column; }
}
/* third menu level (Electricians › Manchester › Chorlton) */
.np-fly .np-list > li { position: relative; }
.np-fly .np-fly { top: -8px; }
@media (max-width: 860px) {
  .np-fly .np-fly { margin-left: 8px; }
}

/* Signup: where the business is based */
.location-box { background: var(--green-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 4px; display: flex; flex-direction: column; gap: 12px; }
.location-title { margin: 0; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.location-box .js-district { text-transform: uppercase; max-width: 160px; font-weight: 700; letter-spacing: .04em; }
.district-msg { margin: -4px 0 0; font-size: 14.5px; min-height: 0; }
.district-msg:empty { display: none; }
.district-msg.is-ok { color: var(--green-700); font-weight: 600; }
.district-msg.is-warn { color: var(--amber); font-weight: 600; }
.district-msg.is-error { color: var(--red); font-weight: 600; }
.check-city-title { grid-column: 1 / -1; margin: 0; font-weight: 800; font-size: 17px; color: var(--ink); }
/* Trade page H1: the place always sits on its own line ("Electricians in" / "Salford") */
.trade-title .hl { display: block; }
