/* Toowoomba Plumbing Group, Consulting AGI design concept.
   Tokens first, then base, layout, components, pages. Source: build/static/site.css. */

:root {
  --navy: #001c32;
  --navy-soft: #0b2f4b;
  --ink: #16283a;
  --muted: #465a6d;
  --steel: #3a6a94;
  --steel-dark: #2b5176;
  --red: #d01820;
  --red-dark: #a8131a;
  --surface: #f4f7fa;
  --pale: #e4edf5;
  --line: #d3dee8;
  --field: #6f879d;
  --white: #fff;
  --on-dark: #d5e2ee;
  --on-dark-dim: #a9c3da;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(0, 28, 50, 0.08), 0 4px 14px rgba(0, 28, 50, 0.06);
  --shadow-2: 0 2px 4px rgba(0, 28, 50, 0.1), 0 14px 34px rgba(0, 28, 50, 0.14);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 7vw, 96px);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--steel-dark); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

h1, h2, h3 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.3rem); }
h3, .h3 { font-size: 1.2rem; }
.h3 { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--white); }
.on-dark .btn-light { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.skip-link:focus { top: 0; color: var(--white); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.narrow { max-width: 900px; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- concept notice ---------- */
.proposal-notice {
  background: #fff3c4;
  color: #3b2f00;
  border-bottom: 1px solid #e6d58a;
  font-size: 0.82rem;
  line-height: 1.35;
}
.proposal-notice p {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin: 0 auto;
  padding: 7px 0;
  text-align: center;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 28, 50, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding-block: 8px;
}
.brand { display: block; flex: none; line-height: 0; }
.brand-logo { height: 34px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 14px;
  background: var(--pale);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 10px;
  font: 600 0.95rem/1 var(--font-head);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle.is-open .nav-toggle-close { display: inline-flex; }
.nav-toggle.is-open .nav-toggle-open { display: none; }
html:not(.js) .nav-toggle { display: none; }

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 24px rgba(0, 28, 50, 0.12);
  padding: 8px var(--gutter) 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.primary-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font: 600 1.05rem/1.2 var(--font-head);
  text-decoration: none;
}
.primary-nav li:last-child a { border-bottom: 0; }
.primary-nav a[aria-current="page"] { color: var(--red-dark); }
.primary-nav a:hover { color: var(--red-dark); }
.nav-call .icon { margin-right: 8px; }

@media (max-width: 1099px) {
  html:not(.js) .site-header { position: static; }
  html:not(.js) .header-inner { flex-wrap: wrap; gap: 8px; }
  html:not(.js) .primary-nav { position: static; flex-basis: 100%; padding: 0; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; }
  html:not(.js) .primary-nav ul { display: flex; flex-wrap: wrap; gap: 0 12px; }
  html:not(.js) .primary-nav a { min-height: 44px; border: 0; }
}

.header-actions { display: none; align-items: center; gap: 12px; margin-left: auto; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 18px 6px 14px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.header-call:hover { background: var(--red-dark); color: var(--white); }
.header-call .icon { width: 22px; height: 22px; }
.header-call-text small { display: block; font-size: 0.8rem; line-height: 1.1; opacity: 0.95; }
.header-call-text strong { display: block; font: 700 1.05rem/1.15 var(--font-head); white-space: nowrap; }

@media (min-width: 761px) {
  .brand-logo { height: 38px; }
  .header-actions { display: flex; }
  .header-actions .btn-quote { display: none; }
  .nav-toggle { margin-left: 0; }
}

@media (min-width: 1100px) {
  .brand-logo { height: 40px; }
  .nav-toggle, .nav-call { display: none; }
  .header-inner { min-height: var(--header-h); gap: 20px; }
  .primary-nav {
    position: static;
    margin-left: auto;
    padding: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .primary-nav ul { display: flex; gap: 2px; }
  .primary-nav a {
    min-height: 44px;
    padding: 0 11px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-size: 0.95rem;
  }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--navy); }
  .header-actions { margin-left: 0; }
  .header-actions .btn-quote { display: inline-flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 600 1rem/1.2 var(--font-head);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn .icon { width: 22px; height: 22px; }
.btn-call { background: var(--red); color: var(--white); }
.btn-call:hover { background: var(--red-dark); color: var(--white); }
.btn-navy, .btn-quote { background: var(--navy); color: var(--white); }
.btn-navy:hover, .btn-quote:hover { background: var(--navy-soft); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--pale); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-xl { min-height: 68px; padding: 12px 28px; gap: 14px; text-align: left; }
.btn-xl .icon { width: 30px; height: 30px; }
.btn-xl--text { font-size: 1.15rem; text-align: center; }
.btn-text small { display: block; font: 500 0.82rem/1.2 var(--font-body); }
.btn-text strong { display: block; font: 700 1.45rem/1.15 var(--font-head); letter-spacing: 0.01em; white-space: nowrap; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--steel-dark);
  font: 600 0.98rem/1.2 var(--font-head);
  text-decoration: none;
}
.link-arrow .icon { width: 20px; height: 20px; transition: transform 0.15s ease; }
.link-arrow:hover { color: var(--red-dark); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light, .link-arrow--light:hover { color: var(--white); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-top: 14px; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--field); }
.breadcrumbs a { color: var(--steel-dark); }

/* ---------- hero ---------- */
.hero { padding: clamp(14px, 2.4vw, 28px) 0 clamp(28px, 3.4vw, 48px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 36px);
  align-items: stretch;
}
.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.6vw, 48px);
  background: var(--navy);
  border-radius: var(--r-lg);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--on-dark-dim);
  font: 600 0.8rem/1.3 var(--font-head);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero-panel h1 { margin-bottom: 0.45em; }
.hero-sub { max-width: 54ch; margin-bottom: 1.4em; color: var(--on-dark); font-size: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { min-height: 68px; }
.cta-row .btn-outline-light { padding-inline: 26px; }
.chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.chips li { display: flex; align-items: flex-start; gap: 10px; color: var(--on-dark); font-size: 0.95rem; line-height: 1.4; }
.chips .icon { margin-top: 1px; color: #8fc0ec; }
.hero--home .chips { grid-template-columns: 1fr; }
.hero-note { margin: 18px 0 0; color: var(--on-dark); font-size: 0.98rem; }
.hero-note a { font-weight: 700; }

.frame {
  margin: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}
.frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--pale);
}
.frame figcaption { padding: 10px 4px 2px; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.split .frame img { aspect-ratio: auto; }
.frame--hero { display: flex; flex-direction: column; }
.frame--hero img { flex: 1 1 0; min-height: 280px; aspect-ratio: auto; }
.hero--home .frame--hero { max-width: 563px; width: 100%; }

/* emergency hero */
.attend-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--pale);
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: var(--r-lg);
}
.attend-card h2 { font-size: 1.3rem; margin-bottom: 18px; }
.attend-list { display: grid; gap: 20px; }
.attend-list li { display: flex; align-items: center; gap: 14px; font: 600 1.1rem/1.3 var(--font-head); color: var(--navy); }
.attend-van { margin-top: auto !important; display: flex; gap: 12px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #c3d3e2; color: var(--muted); font-size: 0.98rem; }
.attend-van .icon { margin-top: 2px; color: var(--steel); width: 24px; height: 24px; }
.cta-row--single .btn { min-height: 72px; }

/* contact hero */
.hero--contact { padding-bottom: clamp(32px, 4vw, 56px); }
.hero-heading { margin-bottom: 24px; }
.hero-heading h1 { margin-bottom: 0.25em; }
.hero-sub-dark { color: var(--muted); font-size: 1.1rem; margin: 0; }
.journeys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.journey { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); }
.journey h2 { font-size: 1.4rem; margin-bottom: 0.2em; }
.journey p { margin-bottom: 1.2em; }
.journey .btn { margin-top: auto; }
.journey--urgent { background: var(--navy); color: var(--on-dark); }
.journey--planned { background: var(--pale); border: 1px solid var(--line); }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--surface); }
.section--pale { background: var(--pale); }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section-head { max-width: 66ch; margin-bottom: clamp(28px, 3.4vw, 44px); }
.section-head h2 { margin-bottom: 0.35em; }
.lede { color: var(--muted); font-size: 1.1rem; margin-bottom: 0.9em; }
.section-head .lede { margin-bottom: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature { padding: 28px; }
.feature h3 { margin-top: 18px; }
.feature p { color: var(--muted); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex: none;
  background: var(--pale);
  color: var(--steel-dark);
  border-radius: 50%;
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--navy { background: var(--navy); color: var(--white); }
.icon-badge--light { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.icon-badge--red { background: #fde6e7; color: var(--red-dark); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li { padding: 4px 12px; background: var(--pale); color: var(--steel-dark); border-radius: 999px; font-size: 0.85rem; font-weight: 500; line-height: 1.5; }
.tags--light li { background: rgba(255, 255, 255, 0.14); color: var(--white); }

.checks { display: grid; gap: 10px; margin: 0 0 1.2em; }
.checks li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.checks .icon { margin-top: 2px; width: 20px; height: 20px; color: var(--red); }

/* route cards */
.route { display: flex; flex-direction: column; overflow: hidden; border-top: 5px solid var(--steel); }
.route--urgent { border-top-color: var(--red); }
.route-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.route-body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.route-body .icon-badge { margin-bottom: 14px; }
.route-body p { color: var(--muted); }
.route-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: auto; padding-top: 6px; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.why-item { display: flex; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.why-item h3 { margin-bottom: 0.3em; font-size: 1.08rem; }
.why-item p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 56px 14px 20px;
  font: 600 1.02rem/1.35 var(--font-head);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--steel);
  border-bottom: 2.5px solid var(--steel);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 0 20px 6px; }
.faq-body p { max-width: 66ch; color: var(--muted); }
.faq-more { margin: 14px 0 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; }
.privacy-text { max-width: 70ch; margin: 0; color: var(--muted); }

/* split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-text h2 { margin-bottom: 0.4em; }
.split-text .lede { color: var(--ink); font-weight: 500; }
.split-text p { max-width: 60ch; }
.split--reverse .split-text { order: 2; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* panels */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(20px, 2.6vw, 32px); }
.panel { padding: clamp(24px, 3vw, 34px); border-radius: var(--r); }
.panel h3, .panel h2 { margin-top: 16px; }
.panel--navy { background: var(--navy); color: var(--on-dark); }
.panel--navy p { color: var(--on-dark); }
.panel--pale { background: var(--pale); }
.panel--alert { background: var(--white); border: 2px solid var(--red); }
.alert-text { font-weight: 600; }
.panel--wide { padding: clamp(28px, 4vw, 48px); }
.panel--wide p { max-width: 62ch; }

/* cta band */
.cta-band { padding: clamp(40px, 5vw, 64px) 0; background: var(--pale); border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-copy { flex: 1 1 420px; max-width: 60ch; }
.cta-copy h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); margin-bottom: 0.3em; }
.cta-copy p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn { min-height: 68px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.form-card, .details-card { padding: clamp(22px, 3vw, 36px); }
.form-card h2, .details-card h2 { font-size: 1.6rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 8px; }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font: 600 0.95rem/1.3 var(--font-head); color: var(--navy); }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--field);
  border-radius: 10px;
  font: 400 1rem/1.4 var(--font-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--steel); outline: 3px solid rgba(58, 106, 148, 0.35); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b3141b; }
.field-error { margin: 6px 0 0; color: var(--red-dark); font-size: 0.92rem; font-weight: 500; }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.form-foot .btn { min-height: 56px; padding-inline: 30px; }
.form-demo { margin: 0; color: var(--muted); font-size: 0.92rem; }
.form-result { margin-top: 18px; padding: 16px 18px; background: var(--pale); border-left: 5px solid var(--steel); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--navy); font-weight: 500; }
.form-result:empty { display: none; }

.detail-list { display: grid; gap: 22px; margin-top: 20px; }
.detail-list li { display: flex; gap: 14px; align-items: flex-start; }
.detail-list .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--steel); }
.detail-list > li > div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.detail-label { color: var(--muted); font: 600 0.78rem/1.3 var(--font-head); letter-spacing: 0.07em; text-transform: uppercase; }
.detail-big { color: var(--red-dark); font: 700 1.6rem/1.2 var(--font-head); text-decoration: none; }
.detail-note { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
.gas-alert { display: flex; gap: 12px; align-items: flex-start; margin: clamp(20px, 2.6vw, 32px) 0 0; padding: 16px 20px; background: #fff1f1; border-left: 5px solid var(--red); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 500; }
.gas-alert .icon { margin-top: 3px; color: var(--red-dark); width: 22px; height: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9d9e8; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 0.7fr 1fr; gap: 36px 40px; padding: clamp(40px, 5vw, 64px) 0; }
.footer-brand p { margin: 16px 0; max-width: 34ch; }
.footer-logo { display: inline-block; padding: 10px 14px; background: var(--white); border-radius: 10px; line-height: 0; }
.footer-logo-img { height: 34px; width: auto; max-width: 100%; }
.site-footer a { color: var(--white); text-underline-offset: 3px; }
.site-footer a:hover { color: #ffd0d2; }
.footer-h { margin: 0 0 14px; color: var(--white); font: 700 0.85rem/1.3 var(--font-head); letter-spacing: 0.09em; text-transform: uppercase; }
.footer-list { display: grid; gap: 12px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-list .icon { margin-top: 3px; width: 20px; height: 20px; color: #8fc0ec; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.footer-base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; font-size: 0.85rem; color: var(--on-dark-dim); }
.footer-base-inner p { margin: 0; max-width: 90ch; }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- reveal (only after JS has loaded) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (hover: hover) {
  .card:hover, .js .reveal.in.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
}

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .frame--hero img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .split, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .section-head { margin-bottom: 8px; }
  .split--reverse .split-text { order: 0; }
  .contact-grid, .duo, .journeys { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  html.js { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .proposal-notice { font-size: 0.75rem; }
  .proposal-notice p { padding: 5px 0; }
  .js body { padding-bottom: 76px; }
  .chips { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; padding-top: 18px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn, .cta-actions .btn, .journey .btn { width: 100%; }
  .cta-actions { width: 100%; flex-direction: column; }
  .hero-sub { font-size: 1.02rem; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .panel-actions .btn { width: 100%; }
  .js .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(0, 28, 50, 0.14);
    transition: transform 0.25s ease, visibility 0s linear 0s;
  }
  .mobile-bar .btn { min-height: 54px; padding-inline: 12px; }
  .mobile-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
}

@media (max-width: 600px) {
  .route-body .checks { display: none; }
}

@media (max-width: 480px) {
  .hero--home .hero-panel { padding: 20px; }
  .hero--home h1 { font-size: clamp(1.85rem, 8.8vw, 2.4rem); }
  .hero--home .eyebrow, .hero--home .hero-sub { margin-bottom: 10px; }
  .hero--home .cta-row .btn { min-height: 54px; padding-block: 8px; }
  .hero--home .chips { margin-top: 12px; padding-top: 12px; }
  .hero--home .frame--hero img { aspect-ratio: 16 / 9; }
}

@media (max-width: 400px) {
  .btn-text strong { font-size: 1.3rem; }
  .btn-xl { padding-inline: 18px; }
  .detail-big { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .js .reveal.in.card:hover { transform: none; }
}

/* Per-image focal points (generated from content.py) */
img[data-pos="jetter"]{object-position:12% 50%}
img[data-pos="residential"]{object-position:50% 45%}
img[data-pos="commercial"]{object-position:60% 40%}
img[data-pos="septic"]{object-position:50% 45%}
img[data-pos="trench"]{object-position:50% 55%}
