/* Shared, dependency-free styles. Trade colours live on the body. */
:root {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c1915;
  background: #f6f3ec;
  font-synthesis: none;
  line-height: 1.6;
  --ink: #1c1915;
  --paper: #f6f3ec;
  --accent: #ffe14a;
  --button-text: #1c1915;
  --muted: #5c574f;
  --line: #d6d0c4;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body[data-trade="plumber"] {
  --ink: #0b3d6e;
  --paper: #f4f7fb;
  --accent: #0b3d6e;
  --button-text: #fff;
  --muted: #44556a;
  --line: #ccd6e2;
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, label { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #9a3412; outline-offset: 5px; }
svg { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 14ch; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.35rem; }
p { max-width: 65ch; }
.wrap { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -8rem; padding: .8rem 1.2rem; background: #fff; z-index: 10; }
.skip-link:focus { top: 1rem; }
.demo-bar { background: var(--ink); color: var(--paper); padding: .65rem 0; font-size: .85rem; }
.demo-bar p { margin: 0; max-width: none; }
.demo-bar a { display: inline-flex; min-height: 44px; align-items: center; margin-left: .6rem; }
.demo-back { background: var(--paper); color: var(--ink); }
.demo-back a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; font-weight: 650; }
.button:disabled { cursor: not-allowed; opacity: .65; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; min-height: 44px; font-weight: 850; font-size: 1.1rem; text-decoration: none; line-height: 1.2; }
.brand svg { width: 40px; flex: 0 0 40px; }
.credentials { margin: .6rem 0 0; font-size: .78rem; color: var(--muted); max-width: 48ch; }
.vic { display: block; margin-top: .3rem; }
.header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.35rem; border: 2px solid transparent; background: var(--accent); color: var(--button-text); font-weight: 750; text-decoration: none; border-radius: 4px; cursor: pointer; text-align: center; }
.button:hover { filter: brightness(.95); }
.button.secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.6rem; padding-bottom: .75rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 650; text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; }
.nav-check, .menu-toggle { display: none; }
.emergency { background: #0b3d6e; color: #fff; padding-block: .8rem; }
.emergency .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.emergency p { margin: 0; }
.emergency a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.hero { padding-block: 4.5rem 5rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; margin-bottom: 1rem; }
body[data-trade="plumber"] .eyebrow { color: #c2410c; }
.lead { font-size: 1.15rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1.7rem; }
.trust-row { font-weight: 700; font-size: .9rem; }
.fine { font-size: .85rem; color: var(--muted); }
.hero-art { background: #e8e2d5; border: 1px solid var(--line); border-radius: 45% 45% 8px 8px; padding: 1.5rem; }
body[data-trade="plumber"] .hero-art { background: #e2ecf7; }
.hero-art svg { display: block; width: 100%; }
.art-caption { text-align: center; margin: 1rem 0 0; font-size: .78rem; color: var(--muted); }
.section { padding-block: 4.5rem; border-top: 1px solid var(--line); }
.section-intro { margin-bottom: 2rem; }
.section-number { font-size: .75rem; font-weight: 750; letter-spacing: .15em; color: var(--muted); margin-bottom: 1rem; }
.grid { display: grid; gap: 1.2rem; }
.services { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.7rem; }
.card p:last-child { margin-bottom: 0; }
.card svg { width: 32px; display: block; margin-bottom: 1.5rem; }
.card p { color: var(--muted); }
.steps { grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; counter-reset: steps; }
.steps li { counter-increment: steps; padding: 1rem 1.5rem 1rem 0; }
.steps li::before { content: "0" counter(steps); display: inline-block; font-size: .9rem; font-weight: 800; padding: .4rem .7rem; background: var(--accent); color: var(--button-text); margin-bottom: 1.5rem; }
.reviews { grid-template-columns: repeat(2, 1fr); }
blockquote { margin: 0; }
blockquote p { font-size: 1.3rem; }
blockquote footer { font-size: .8rem; color: var(--muted); }
.towns { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .7rem; }
.towns li { border: 1px solid var(--line); padding: .65rem 1rem; border-radius: 3px; }
.quote-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.full { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid #7a7a7a; border-radius: 3px; padding: .65rem .8rem; color: #1c1915; background: #fff; }
textarea { resize: vertical; min-height: 130px; }
.form-notice { margin-block: 1rem; }
.form-notice a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer p { font-size: .85rem; }
.site-footer h2 { font-size: 1.15rem; }
.footer-links { display: flex; flex-direction: column; align-items: start; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; color: var(--muted); }
.document { max-width: 780px; margin-inline: auto; padding-block: 4rem; }
.document h1 { font-size: clamp(2.5rem, 6vw, 4rem); max-width: none; }
.document h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.document a { display: inline-flex; align-items: center; min-height: 44px; }
.document .actions { margin-top: 3rem; }
.faq-item { padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.faq-item h2 { margin-top: 0; }
.faq-item p { margin-bottom: 0; }
.picker { padding-block: 5rem; }
.picker h1 { max-width: 16ch; }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-block: 3rem; }
.picker-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; padding: 2.5rem; border-radius: 8px; text-decoration: none; border: 2px solid #1c1915; background: #ffe14a; color: #1c1915; }
.picker-card.blue { background: #0b3d6e; color: #fff; border-color: #0b3d6e; }
.picker-card svg { width: 60px; margin-bottom: 2rem; }
.picker-card h2 { font-size: 2rem; }
.picker-card p { margin-bottom: 0; }
@media (max-width: 850px) {
  .header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .header-actions { width: 100%; justify-content: space-between; }
  .hero { gap: 2rem; padding-block: 3rem; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .quote-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .header-actions .button { padding-inline: 1rem; }
  .nav-check { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; padding: 0; min-height: 0; }
  .menu-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding-block: .7rem; cursor: pointer; border-top: 1px solid var(--line); }
  .nav-check:focus-visible + .menu-toggle { outline: 3px solid #9a3412; outline-offset: 3px; }
  .menu-toggle::after { content: "+"; font-size: 1.6rem; line-height: 1; }
  .nav-check:checked + .menu-toggle::after { content: "−"; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-check:checked ~ .site-nav { display: flex; }
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: 2.75rem; }
  .hero-art { max-width: 400px; margin-inline: auto; width: 100%; }
  .services, .steps, .reviews, .footer-grid, .picker-grid, .form-grid { grid-template-columns: 1fr; }
  .section { padding-block: 3rem; }
  .card { padding: 1.4rem; }
  .picker { padding-block: 3rem; }
  .picker-card { padding: 2rem; min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
