/* ==========================================================================
   Demo Plumbing — site.css
   Palette: navy + copper-red + brass. Type: Archivo (display) + Inter (body).
   Mobile-first. Breakpoints: 640 / 960 / 1200.
   ========================================================================== */

:root {
  --navy-950: #0A1830;
  --navy-900: #0F2340;
  --navy-800: #16305A;
  --navy-700: #1F3F6E;
  --navy-500: #4B6A97;
  --red: #C8452B;          /* primary CTA — white text 4.8:1 */
  --red-700: #A8361F;      /* hover / text on light */
  --brass: #D4A55A;        /* stars, rules, accents on dark */
  --grey: #F4F6F9;
  --line: #DDE3EB;
  --ink: #0B1626;
  --muted: #4A5568;
  --on-dark: #C9D4E3;
  --wa: #25D366;           /* WhatsApp — use ink text, not white */
  --wa-700: #1DB954;

  --font-d: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --r: 10px;
  --angle: clamp(24px, 5vw, 72px);
  --sh: 0 18px 40px -18px rgba(10, 24, 48, .45);
  --sh-sm: 0 6px 18px -8px rgba(10, 24, 48, .3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--font-b);
  color: var(--ink);
  background: #fff;
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-700); text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; line-height: 1.2; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
h1 em, h2 em, .em { font-style: italic; color: var(--red); }
.dark h1 em, .dark h2 em, .hero h1 em, .page-hero h1 em, .cta-band em { color: var(--brass); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.bg-grey { background: var(--grey); }
.dark { background: var(--navy-900); color: var(--on-dark); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark a:not(.btn) { color: #fff; }
.angle-top { clip-path: polygon(0 var(--angle), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--angle) + clamp(48px, 7vw, 96px)); }
.angle-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--angle)), 0 100%); padding-bottom: calc(var(--angle) + clamp(48px, 7vw, 96px)); }
.angle-both { clip-path: polygon(0 var(--angle), 100% 0, 100% calc(100% - var(--angle)), 0 100%); padding-block: calc(var(--angle) + clamp(48px, 7vw, 96px)); }

.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 640px) { .g2, .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-l { grid-template-columns: 1.15fr .85fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1.35 var(--font-b); letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; background: currentColor; transform: skewX(-24deg); }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brass); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.dark .lead { color: var(--on-dark); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head-row .sec-head { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: .7em; }
.check-list li { position: relative; padding-left: 2em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.dark .check-list li::before { background-color: var(--brass); }
.cols-2 { columns: 2; column-gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .75em 1.35em; border-radius: 6px; border: 2px solid transparent;
  font: 700 .98rem/1.1 var(--font-b); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, transform .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-sm); }
.btn:active { transform: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-700); }
.btn-wa { background: var(--wa); color: var(--ink); }
.btn-wa:hover { background: var(--wa-700); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: currentColor; }
.dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .cta-band .btn-ghost { color: #fff; }
.btn-lg { min-height: 58px; font-size: 1.05rem; padding: .9em 1.6em; }
.btn-sm { min-height: 42px; padding: .5em .95em; font-size: .9rem; }
.cta-trio { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .cta-trio > .btn { flex: 1 1 100%; } }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--red-700); text-decoration: none; }
.link-more .i { transition: transform .2s; width: 1.1em; }
a:hover > .link-more .i, .link-more:hover .i { transform: translateX(4px); }

/* ---------- Image placeholders (removed automatically once the real photo loads) ---------- */
.ph { position: relative; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); overflow: hidden; margin: 0; }
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255, 255, 255, .04) 22px 44px);
}
.ph::after {
  content: "PHOTO · " attr(data-shot); position: absolute; left: 12px; right: 12px; top: 12px;
  font: 600 .7rem/1.4 var(--font-b); letter-spacing: .02em; color: rgba(255, 255, 255, .78);
  padding: 8px 10px; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 6px;
}
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.r43 { aspect-ratio: 4 / 3; } .r32 { aspect-ratio: 3 / 2; } .r169 { aspect-ratio: 16 / 9; }
.r45 { aspect-ratio: 4 / 5; } .r11 { aspect-ratio: 1; } .r219 { aspect-ratio: 21 / 9; }

.frame-offset { position: relative; isolation: isolate; margin: 0 14px 14px 0; }
.frame-offset::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--red); z-index: -1;
}
.dark .frame-offset::before { border-color: var(--brass); }
.slant-img { clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark); font-size: .84rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar .live { display: inline-flex; align-items: center; gap: .5em; }
.topbar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.topbar .areas, .topbar .rate { display: none; }
@media (min-width: 760px) { .topbar .rate { display: inline-flex; gap: .4em; align-items: center; } }
@media (min-width: 1100px) { .topbar .areas { display: block; } }
.stars { color: var(--brass); letter-spacing: 1px; display: inline-flex; }
.stars .i { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy-900); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.header-in { display: flex; align-items: center; gap: 12px; min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font: 800 1.08rem/1.05 var(--font-d); letter-spacing: -.01em; }
.logo-txt small { font: 700 .62rem/1.2 var(--font-b); letter-spacing: .26em; color: var(--brass); text-transform: uppercase; margin-top: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 8px;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer;
}
.icon-btn.red { background: var(--red); border-color: var(--red); }
.header-cta { display: none; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header.nav-open .nav {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1);
  max-height: calc(100vh - 70px); overflow-y: auto; padding: 8px var(--gut) 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav > ul > li > a { display: block; padding: 14px 0; font: 700 1.15rem/1.2 var(--font-d); }
.nav .sub { padding: 0 0 12px 12px; display: grid; gap: 2px; }
.nav .sub a { display: block; padding: 7px 0; color: var(--on-dark); font-weight: 500; }
.nav .nav-emerg > a { color: #FF9C84; }
.nav-cta { display: grid; gap: 10px; margin-top: 20px; }

@media (min-width: 960px) {
  .menu-btn, .call-mobile, .nav-cta { display: none; }
  .nav { display: block; }
  .nav > ul { display: flex; gap: 2px; }
  .nav > ul > li { border: 0; position: relative; }
  .nav > ul > li > a {
    padding: 25px 11px; font: 600 .95rem/1 var(--font-b); position: relative;
  }
  .nav > ul > li > a::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 16px; height: 3px;
    background: var(--red); transform: scaleX(0) skewX(-20deg); transform-origin: left; transition: transform .25s;
  }
  .nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current]::after { transform: scaleX(1) skewX(-20deg); }
  .has-sub > a { padding-right: 24px !important; }
  .has-sub > a::before {
    content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
    border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: .7;
  }
  .nav .sub {
    position: absolute; top: calc(100% - 6px); left: 0; min-width: 250px; padding: 8px;
    background: #fff; border-radius: 10px; box-shadow: var(--sh); border-top: 3px solid var(--red);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .nav .sub a { color: var(--navy-900); padding: 9px 12px; border-radius: 6px; font-size: .93rem; }
  .nav .sub a:hover { background: var(--grey); color: var(--red-700); }
  .header-cta { display: flex; gap: 8px; margin-left: 12px; }
  .header-cta .btn { min-height: 44px; padding: .55em 1em; font-size: .92rem; }
  .header-cta .btn-wa .lbl, .header-cta .btn-red .num { display: none; }
}
@media (min-width: 1200px) {
  .header-cta .btn-wa .lbl, .header-cta .btn-red .num { display: inline; }
  .header-cta .btn-red .call-lbl { display: none; }
  .nav > ul > li > a { padding-inline: 13px; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--navy-900); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--angle)), 0 100%);
  padding: clamp(44px, 8vw, 110px) 0 calc(var(--angle) + clamp(48px, 9vw, 140px));
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media::after { right: 16px; left: auto; max-width: 320px; }
@media (min-width: 960px) { .hero-media::after { top: auto; bottom: calc(var(--angle) + 120px); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10, 24, 48, .97) 0%, rgba(15, 35, 64, .88) 42%, rgba(15, 35, 64, .3) 100%);
}
.hero > .wrap { position: relative; z-index: 2; display: grid; gap: 36px; }
@media (min-width: 960px) { .hero > .wrap { grid-template-columns: 1.3fr .7fr; align-items: center; } }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #DCE4EF; max-width: 40ch; margin-bottom: 1.6em; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.g-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink);
  padding: 8px 14px 8px 10px; border-radius: 8px; box-shadow: var(--sh-sm); text-decoration: none;
}
.g-badge .g { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem/1 var(--font-d); color: #fff; background: conic-gradient(#4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0); }
.g-badge b { font: 800 1.2rem/1 var(--font-d); }
.g-badge small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.yr-badge {
  display: inline-flex; align-items: center; gap: 10px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 8px;
  padding: 8px 14px; font-size: .78rem; line-height: 1.2; color: #DCE4EF;
}
.yr-badge b { font: 800 italic 1.6rem/1 var(--font-d); color: var(--brass); }

.badge-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge-stack li {
  background: var(--red); color: #fff; padding: .5em 1em; transform: skewX(-14deg);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
}
.badge-stack li span { display: inline-flex; align-items: center; gap: .5em; transform: skewX(14deg); font: 800 italic .85rem/1.2 var(--font-d); }
.badge-stack li .i { width: 1em; height: 1em; }
@media (min-width: 960px) {
  .badge-stack { flex-direction: column; align-items: flex-end; gap: 10px; }
  .badge-stack li { padding: .7em 1.5em; min-width: 270px; }
  .badge-stack li span { font-size: 1.05rem; }
  .badge-stack li:nth-child(even) { margin-right: 26px; }
  .badge-stack li:last-child { background: var(--navy-700); }
}

/* Quick callback bar overlapping hero edge (desktop) */
.callback { position: relative; z-index: 5; margin-top: calc(-1 * clamp(70px, 8vw, 110px)); display: none; }
@media (min-width: 960px) { .callback { display: block; } }
.callback-card {
  background: #fff; border-radius: 12px; box-shadow: var(--sh); border-top: 4px solid var(--red);
  padding: 22px 26px; display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: center;
}
.callback-card h2 { font-size: 1.35rem; margin: 0 0 4px; }
.callback-card p { margin: 0; font-size: .85rem; color: var(--muted); }
.callback form { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.callback .consent { grid-column: 1 / -1; margin: 0; }
.form-ok { display: none; grid-column: 1 / -1; background: #E9F9EF; border: 1px solid #A6E4BC; color: #0E5A2B; padding: 12px 14px; border-radius: 8px; font-size: .92rem; }
.form-ok.show { display: block; }
.form-ok a { color: #0E5A2B; font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--navy-900); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--angle)), 0 100%);
  padding: clamp(36px, 6vw, 80px) 0 calc(var(--angle) + clamp(40px, 6vw, 80px));
}
.page-hero .hero-media::after { top: auto; bottom: calc(var(--angle) + 12px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10, 24, 48, .97) 0%, rgba(15, 35, 64, .9) 50%, rgba(15, 35, 64, .45) 100%);
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2rem, 5vw, 3.4rem); }
.page-hero .sub { color: #DCE4EF; max-width: 58ch; font-size: clamp(1.02rem, 1.5vw, 1.18rem); margin-bottom: 1.5em; }
.page-hero.emergency::before { background: linear-gradient(100deg, rgba(10, 24, 48, .97) 0%, rgba(80, 24, 14, .9) 60%, rgba(200, 69, 43, .55) 100%); }
.crumbs { font-size: .82rem; margin-bottom: 18px; color: var(--on-dark); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: .45em; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; }
.hero-chips .i { color: var(--brass); width: 1em; height: 1em; }


/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-weight: 600; font-size: .84rem; color: var(--navy-900); }
.dark .field label { color: #fff; }
input, select, textarea {
  font: inherit; font-size: 1rem; width: 100%; min-height: 50px; padding: .65em .85em;
  border: 1.5px solid #C9D2DE; border-radius: 6px; background: #fff; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2340' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8em center / 1.1em no-repeat; padding-right: 2.4em; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(212, 165, 90, .45); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--red); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-card { background: #fff; color: var(--ink); border-radius: 12px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh); border-top: 4px solid var(--red); }
.form-card h3, .dark .form-card h3 { margin-bottom: .3em; color: var(--navy-900); }
.dark .form-card a:not(.btn) { color: var(--red-700); }
.dark .form-card .field label { color: var(--navy-900); }
.form-card .note { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Triage ---------- */
.triage { display: grid; gap: 24px; }
@media (min-width: 960px) { .triage { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 36px; } }
.triage fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.triage legend { display: flex; align-items: center; gap: 10px; font: 800 1.2rem/1.2 var(--font-d); color: var(--navy-900); margin-bottom: 14px; padding: 0; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; background: var(--red); color: #fff; font: 800 italic 1rem/1 var(--font-d); transform: skewX(-12deg); }
.issue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .issue-grid { grid-template-columns: repeat(3, 1fr); } }
.issue input { position: absolute; opacity: 0; pointer-events: none; }
.issue-card {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: 10px; cursor: pointer;
  background: #fff; border: 2px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.issue-card .i { width: 30px; height: 30px; color: var(--red); margin-bottom: 6px; }
.issue-card b { font: 700 1rem/1.2 var(--font-d); color: var(--navy-900); }
.issue-card small { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.issue-card:hover { border-color: var(--navy-500); transform: translateY(-2px); }
.issue input:checked + .issue-card { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 69, 43, .18), var(--sh-sm); }
.issue input:focus-visible + .issue-card { outline: 3px solid var(--brass); outline-offset: 2px; }
.triage-result {
  background: var(--navy-900); color: var(--on-dark); border-radius: 12px; padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--sh); position: relative; overflow: hidden;
}
@media (min-width: 960px) { .triage-result { position: sticky; top: 96px; } }
.triage-result::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: var(--red); transform: rotate(35deg); opacity: .14; }
.triage-result h3 { color: #fff; font-size: 1.5rem; }
.triage-result h4 { color: var(--brass); text-transform: uppercase; letter-spacing: .12em; font: 700 .76rem/1 var(--font-b); margin: 18px 0 10px; }
.triage-result .empty { text-align: center; padding: 20px 0; }
.triage-result .empty > .i { width: 44px; height: 44px; color: var(--brass); margin: 0 auto 12px; }
.tr-level { display: inline-flex; align-items: center; gap: .5em; font: 800 italic .8rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .06em; padding: 8px 14px; transform: skewX(-12deg); margin-bottom: 16px; }
.tr-level span { transform: skewX(12deg); display: inline-block; }
.tr-emergency { background: var(--red); color: #fff; }
.tr-urgent { background: var(--brass); color: var(--ink); }
.tr-planned { background: #fff; color: var(--navy-900); }
.tr-steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.tr-steps li { counter-increment: s; position: relative; padding-left: 38px; color: #E6ECF4; font-size: .95rem; }
.tr-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--brass); font: 800 .85rem/26px var(--font-d); text-align: center; }
.triage-result .cta-trio .btn { flex: 1 1 auto; }
.tr-note { font-size: .82rem; margin: 16px 0 0; color: var(--on-dark); }
.tr-steps.light li { color: #2D3748; }
.tr-steps.light li::before { background: var(--grey); color: var(--red-700); }
.tr-steps.light { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.rating-box { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.rating-box b { font: 800 2.4rem/1 var(--font-d); color: var(--navy-900); }
.rating-box small { display: block; color: var(--muted); font-size: .8rem; }
.carousel { position: relative; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); padding: 6px 2px 20px;
  scrollbar-width: thin; scrollbar-color: var(--navy-500) transparent; overscroll-behavior-x: contain;
}
.track > * { scroll-snap-align: start; }
.car-ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.car-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy-900); background: #fff; color: var(--navy-900); display: grid; place-items: center; cursor: pointer; }
.car-btn:hover:not(:disabled) { background: var(--navy-900); color: #fff; }
.car-btn:disabled { opacity: .3; cursor: default; }
.car-btn.prev .i { transform: rotate(180deg); }
.dark .car-btn { background: transparent; color: #fff; border-color: #fff; }
.review {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 2px 0 rgba(15, 35, 64, .04);
}
.review blockquote { margin: 0; color: var(--ink); font-size: .96rem; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font: 800 1rem/1 var(--font-d); flex: none; }
.review footer b { display: block; color: var(--navy-900); }
.review footer span { color: var(--muted); }
.review .src { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--muted); }
/* Remove this rule once real reviews are in place */
[data-sample]::before {
  content: "SAMPLE"; position: absolute; top: 12px; right: 12px; z-index: 3;
  font: 700 .62rem/1 var(--font-b); letter-spacing: .12em; padding: 4px 7px; border-radius: 4px;
  background: #FFF4E0; color: #7A4B00; border: 1px solid #F0D29A;
}
.reviews-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; background: var(--red); color: #fff; overflow: hidden;
  clip-path: polygon(0 18px, 100% 0, 100% calc(100% - 18px), 0 100%);
  padding: clamp(40px, 5vw, 56px) 0;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 40px, rgba(255, 255, 255, .05) 40px 80px); }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.cta-band-t { font: 800 clamp(1.45rem, 3.2vw, 2.2rem)/1.1 var(--font-d); margin: 0; }
.cta-band-t em { color: #FFE2B8 !important; }
.cta-band-a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cta-band-tel { color: #fff; font: 800 italic clamp(1.2rem, 2.4vw, 1.6rem)/1 var(--font-d); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }

/* ---------- Team & fleet proof ---------- */
.proof-photo { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .proof-photo { aspect-ratio: 21 / 9; } }
.proof-band { background: var(--navy-900); color: var(--on-dark); padding: 0 0 clamp(48px, 6vw, 80px); }
.proof-grid { display: grid; gap: 24px; align-items: center; }
.proof-card {
  order: -1; position: relative; z-index: 2; margin-top: -60px; background: #fff; color: var(--ink); text-align: center;
  border-radius: 16px; padding: 36px 26px; box-shadow: var(--sh);
}
.proof-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.proof-card .logo-mark { width: 56px; height: 56px; margin: 0 auto 14px; }
.proof-card .check-list { text-align: left; max-width: 380px; margin-inline: auto; font-size: .93rem; }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; }
.stat b { display: block; font: 800 italic clamp(2rem, 4vw, 3rem)/1 var(--font-d); color: #fff; }
.stat b span { color: var(--brass); }
.stat small { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark); }
@media (min-width: 960px) {
  .proof-grid { grid-template-columns: 1fr 620px 1fr; }
  .proof-card { order: 0; border-radius: 50%; width: 620px; height: 620px; margin-top: -220px; padding: 56px 84px; display: flex; flex-direction: column; justify-content: center; border: 10px solid var(--grey); }
  .proof-stats { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Tabs ---------- */
.tabs-list { display: inline-flex; gap: 6px; padding: 6px; background: var(--grey); border-radius: 10px; margin-bottom: 28px; }
.dark .tabs-list { background: rgba(255, 255, 255, .08); }
.tab { border: 0; background: transparent; padding: 12px 22px; border-radius: 7px; font: 700 .98rem/1 var(--font-b); color: var(--navy-900); cursor: pointer; display: inline-flex; align-items: center; gap: .5em; }
.tab[aria-selected="true"] { background: var(--navy-900); color: #fff; box-shadow: var(--sh-sm); }
.tab-panel[hidden] { display: none; }

/* ---------- Service cards ---------- */
.svc-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.svc-card .ph { aspect-ratio: 16 / 10; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
.svc-body { padding: 0 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-ic { width: 54px; height: 54px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; margin: -30px 0 14px; position: relative; z-index: 2; box-shadow: var(--sh-sm); transform: skewX(-8deg); }
.svc-ic .i { width: 26px; height: 26px; transform: skewX(8deg); }
.svc-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.icon-card { background: #fff; border-radius: 12px; padding: 26px; border: 1px solid var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.icon-card .svc-ic { margin: 0 0 16px; }
.icon-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.dark .icon-card { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); }
.dark .icon-card p { color: var(--on-dark); }

/* ---------- Accordions (<details>) ---------- */
.acc { display: grid; gap: 10px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font: 700 1.02rem/1.35 var(--font-d); color: var(--navy-900); display: flex; align-items: center; gap: 12px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--grey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8452B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform .25s;
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details[open] { border-color: var(--navy-500); box-shadow: var(--sh-sm); }
.acc summary .i { color: var(--red); width: 24px; height: 24px; }
.acc .acc-body { padding: 0 20px 20px; color: var(--muted); }
.acc .acc-body p:last-child { margin-bottom: 0; }
.dark .acc details { background: var(--navy-800); border-color: rgba(255, 255, 255, .1); }
.dark .acc summary { color: #fff; }
.dark .acc .acc-body { color: var(--on-dark); }
.acc-2col { display: grid; gap: 10px; }
@media (min-width: 800px) { .acc-2col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- How it works ---------- */
.steps-grid { counter-reset: st; }
.step-card { position: relative; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.step-card .ph { aspect-ratio: 16 / 10; }
.step-card .body { padding: 38px 22px 22px; position: relative; }
.step-num { position: absolute; top: -34px; left: 22px; z-index: 2; font: 800 italic 3.4rem/1 var(--font-d); color: #fff; background: var(--red); padding: 6px 16px; transform: skewX(-12deg); }
.step-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Guarantees ---------- */
.pillars { display: grid; gap: 18px; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(5, 1fr); } }
.pillar { border-top: 3px solid var(--brass); padding-top: 20px; }
.pillar .i { width: 38px; height: 38px; color: var(--brass); margin-bottom: 14px; }
.pillar h3 { font-size: 1.12rem; }
.pillar p { font-size: .92rem; margin: 0; }

/* ---------- Who we serve ---------- */
.aud-media { position: relative; }
.aud-media .ph { aspect-ratio: 4 / 3; display: none; }
.aud-media .ph.is-active { display: block; }
@media (min-width: 960px) { .aud-media .ph { aspect-ratio: 5 / 6; } }

/* ---------- Coverage map ---------- */
.map-wrap { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .map-wrap { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.region-map { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(10, 24, 48, .25)); }
.region-map .rg path { fill: var(--navy-700); stroke: #fff; stroke-width: 3; stroke-linejoin: round; transition: fill .2s; cursor: pointer; }
.region-map .rg:hover path, .region-map .rg:focus path { fill: var(--navy-500); }
.region-map .rg.is-active path { fill: var(--red); }
.region-map .rg:focus { outline: none; }
.region-map .rg:focus-visible path { stroke: var(--brass); stroke-width: 5; }
.region-map text { fill: #fff; font: 800 13px var(--font-d); letter-spacing: .04em; text-transform: uppercase; pointer-events: none; text-anchor: middle; }
.region-map .pin { fill: var(--brass); pointer-events: none; }
.region-panel { background: #fff; border-radius: 12px; padding: 22px; border: 1px solid var(--line); margin-top: 18px; }
.region-panel[hidden] { display: none; }
.region-panel h3 { display: flex; align-items: center; gap: .4em; }
.region-panel h3 .i { color: var(--red); }
.suburbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.suburbs li { font-size: .84rem; padding: 5px 11px; border-radius: 999px; background: var(--grey); color: var(--navy-900); font-weight: 600; }
.matrix { display: grid; gap: 18px; }
@media (min-width: 640px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .matrix { grid-template-columns: repeat(3, 1fr); } }
.matrix-col { background: #fff; border-radius: 12px; padding: 24px; border-top: 4px solid var(--red); box-shadow: 0 0 0 1px var(--line); }
.matrix-col h3 a { color: var(--navy-900); text-decoration: none; }
.matrix-col h3 a:hover { color: var(--red-700); }

/* ---------- Team ---------- */
.team-card { position: relative; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); text-align: center; }
.team-card .ph { aspect-ratio: 4 / 5; }
.team-card .body { padding: 20px 20px 24px; }
.team-card .role { color: var(--red-700); font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.team-card .pirb { display: inline-flex; gap: .4em; align-items: center; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--grey); color: var(--navy-900); margin-bottom: 10px; }
.team-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Timeline ---------- */
.tl .track { grid-auto-columns: min(78%, 300px); gap: 0; padding-top: 0; }
.tl-item { position: relative; padding: 46px 22px 0 0; }
.tl-item::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 3px; background: rgba(255, 255, 255, .18); }
.tl-item::after { content: ""; position: absolute; left: 0; top: 8px; width: 21px; height: 21px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 6px rgba(212, 165, 90, .2); }
.tl-year { font: 800 italic 2rem/1 var(--font-d); color: var(--brass); margin-bottom: 12px; }
.tl-item .ph { aspect-ratio: 4 / 3; border-radius: 8px; margin-bottom: 14px; }
.tl-item h3 { font-size: 1.1rem; }
.tl-item p { font-size: .9rem; margin: 0; }

/* ---------- Content blocks (service/area pages) ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #2D3748; }
.callout { border-left: 5px solid var(--red); background: var(--grey); padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.callout b { color: var(--navy-900); }
.side-card { background: var(--navy-900); color: var(--on-dark); border-radius: 12px; padding: 26px; position: sticky; top: 96px; }
.side-card h3 { color: #fff; }
.side-card .btn { width: 100%; margin-top: 10px; }
.side-card .btn-ghost { color: #fff; }
.layout-side { display: grid; gap: 40px; }
@media (min-width: 960px) { .layout-side { grid-template-columns: 1fr 340px; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 46px; height: 46px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--brass); display: grid; place-items: center; }
.contact-list b { display: block; color: #fff; }
.contact-list a { font: 800 1.15rem/1.3 var(--font-d); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark); font-size: .92rem; padding: clamp(56px, 7vw, 84px) 0 0; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: .82rem; font-family: var(--font-b); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-tel { font: 800 italic 1.6rem/1 var(--font-d); color: #fff !important; display: inline-block; margin: 6px 0 4px; }
.accred { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); align-items: center; }
.accred-logo { min-width: 110px; height: 52px; padding: 0 14px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 8px; display: grid; place-items: center; font: 800 .8rem/1.1 var(--font-d); color: #fff; text-align: center; letter-spacing: .04em; }
.accred-logo small { display: block; font: 500 .62rem var(--font-b); color: var(--on-dark); letter-spacing: 0; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font: 800 .8rem var(--font-d); }
.socials a:hover { background: var(--red); text-decoration: none; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.legal ul { display: flex; gap: 16px; }

/* ---------- Mobile sticky action bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(10, 24, 48, .97);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); backdrop-filter: blur(8px);
}
.sticky-bar .btn { min-height: 52px; padding: .6em .5em; font-size: .95rem; }
@media (min-width: 960px) { .sticky-bar { display: none; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 28px; }
.muted { color: var(--muted); }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--grey); color: var(--navy-900); }
.note-404 { font: 800 italic clamp(5rem, 20vw, 10rem)/1 var(--font-d); color: var(--red); }
@media (max-width: 959px) { .page-hero .hero-media::after { display: none; } }


/* ==========================================================================
   Logisyn fixes, added to the end of site.css by scripts/build.js.
   template/ is never edited, so template corrections live here.
   ========================================================================== */

/* 1. Phones: the hidden tick-boxes behind the "What's the problem?" cards were
      full screen width and sat off to the right, making the page wider than
      the screen (sideways scrolling and a white strip). Shrink them to 1px
      and keep them inside their card. */
.issue { position: relative; }
.issue input {
  top: 0; left: 0; width: 1px; height: 1px; min-height: 0;
  margin: 0; padding: 0; border: 0;
}

/* 2. Safety net: nothing may make the page wider than the screen. */
html, body { max-width: 100%; }
body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }

/* 3. Long business names and buttons wrap on small phones instead of
      pushing past the edge. */
.logo-txt b, h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 419px) {
  .btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* 4. Empty photo slots: keep the navy panel, hide the photographer's brief
      ("PHOTO · hero.jpg — ...") so visitors never see it. */
.ph::after { content: none; }

/* 5. Very small phones (320px): the Residential/Commercial tabs share the
      width instead of overflowing. */
@media (max-width: 419px) {
  .tabs-list { display: flex; max-width: 100%; }
  .tab { flex: 1 1 0; justify-content: center; padding: 12px 10px; font-size: .92rem; }
}
