/* ==========================================================================
   Cardinal Plumbing — design system
   Mobile-first. Two families: Barlow Condensed (display), Inter (everything).
   ========================================================================== */

:root {
  /* brand */
  --red:        #C8102E;   /* brand red — CTAs, emergency, accents */
  --red-deep:   #9E0C24;
  --red-tint:   #FCEDEF;
  --ink:        #111111;   /* brand black — headers, hero, footer */
  --ink-soft:   #3A3A3A;
  --ink-mute:   #6E6E73;
  --paper:      #FFFFFF;
  --paper-warm: #F5F6F7;   /* light gray base */
  --line:       #E3E5E8;
  --gold:       #F5A81C;   /* beak gold from the logo */
  --gray:       #808285;   /* SOLUTIONS gray from the logo */

  /* type */
  --f-display: 'Montserrat', 'Inter', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* rhythm */
  --wrap: 1140px;
  --gut: 20px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 8px 24px -12px rgba(20,22,26,.18);
  --shadow-lg: 0 2px 4px rgba(20,22,26,.06), 0 24px 48px -20px rgba(20,22,26,.28);
  --callbar-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--callbar-h);
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 5.2vw, 3.375rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
img, svg { max-width: 100%; }
ul { padding-left: 1.15em; }

.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 {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-body); font-weight: 600; font-size: .975rem; line-height: 1;
  padding: 14px 22px; border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #DE9613; color: var(--ink); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-mute); }
.btn--lg { padding: 17px 30px; font-size: 1.0625rem; }

.btn--call {
  background: var(--red); color: #fff;
  flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 18px; line-height: 1.15;
}
.btn--call:hover { background: var(--red-deep); color: #fff; }
.btn__label { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.btn__num { font-family: var(--f-display); font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }

/* ---------- header ---------- */

.hdr { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.hdr.is-stuck { box-shadow: var(--shadow); }
.hdr__inner { display: flex; align-items: center; gap: 14px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 34px; height: 34px; color: var(--red); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__sub {
  font-family: var(--f-body); font-size: .625rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px;
}
.brand--ftr .brand__sub { color: rgba(255,255,255,.5); }
.brand__name {
  font-family: var(--f-display); font-size: 1.375rem; font-weight: 800;
  letter-spacing: -.02em; white-space: nowrap;
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.1875rem; }
  .brand__sub { font-size: .5625rem; letter-spacing: .12em; }
  .brand__mark { width: 28px; height: 28px; }
}

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--paper); color: var(--ink); cursor: pointer;
}
.nav__toggle-box { display: block; width: 18px; }
.nav__toggle-box span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle-box span + span { margin-top: 4px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-box span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__menu {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); display: none;
}
.nav__menu.is-open { display: block; }
.nav__menu > li { border-top: 1px solid var(--line); }
.nav__menu a {
  display: block; padding: 15px var(--gut); font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.nav__menu a:hover { color: var(--red); background: var(--paper-warm); }
.nav__sub { list-style: none; margin: 0; padding: 0 0 6px; background: var(--paper-warm); }
.nav__sub a { padding: 10px var(--gut) 10px calc(var(--gut) + 16px); font-weight: 500; font-size: .95rem; color: var(--ink-soft); }

.hdr__call { display: none; }

@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; display: flex; gap: 4px; background: none;
    border: 0; box-shadow: none;
  }
  .nav__menu > li { border: 0; position: relative; }
  .nav__menu > li > a { padding: 10px 11px; border-radius: 8px; font-size: .9375rem; white-space: nowrap; }
  .nav__has-sub > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
    border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 280px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden;
    transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .nav__has-sub:hover .nav__sub,
  .nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sub a { padding: 10px 14px; border-radius: 8px; }
  .hdr__call { display: inline-flex; }
}

/* ---------- sticky mobile call bar ---------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.callbar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 10px; font-weight: 700; font-size: .9375rem;
  text-decoration: none; padding-inline: 10px;
  white-space: nowrap; letter-spacing: -.01em;
}
@media (max-width: 400px) { .callbar__btn { font-size: .875rem; gap: 6px; } }
.callbar__btn svg { width: 18px; height: 18px; flex: none; }
.callbar__btn--primary { background: var(--red); color: #fff; }
.callbar__btn--ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
@media (min-width: 1024px) { .callbar { display: none; } }

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--paper-warm); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.75); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__title { max-width: 22ch; }
.section__lead { font-size: 1.125rem; max-width: 62ch; color: var(--ink-soft); }
.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin: 0 0 .75em;
}
.section--ink .eyebrow { color: var(--gold); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: rgba(255,255,255,.82);
  padding: clamp(30px, 6vw, 84px) 0 clamp(44px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(95% 70% at 76% 44%, rgba(200,16,46,.34), transparent 64%),
    linear-gradient(155deg, #1B1B1B 0%, #0D0D0D 58%, #151515 100%);
}
/* Fine diagonal weave — texture so the black is not a flat slab. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: repeating-linear-gradient(
    128deg, rgba(255,255,255,.028) 0 1px, transparent 1px 9px
  );
}

.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(22px, 5vw, 56px); }
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px; }
}

/* --- the logo, as a real element rather than a watermark --- */

.hero__brand {
  position: relative; display: flex; justify-content: center; align-items: center;
  order: -1;
}
@media (min-width: 940px) { .hero__brand { order: 0; } }
/* Warm halo so the mark sits on the dark rather than floating on it. */
.hero__brand::before {
  content: ""; position: absolute; z-index: -1;
  width: 105%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,.3) 0%, rgba(200,16,46,.09) 42%, transparent 68%);
}
.hero__logo {
  width: min(60vw, 238px); height: auto; display: block;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,.6));
}
@media (min-width: 940px) { .hero__logo { width: min(38vw, 420px); } }
@media (min-width: 1240px) { .hero__logo { width: 470px; } }

/* --- copy --- */

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(200,16,46,.16); border: 1px solid rgba(200,16,46,.5);
  color: #fff; border-radius: 100px; padding: 7px 16px 7px 13px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 22px;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(200,16,46,.8); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}
@media (prefers-reduced-motion: reduce) { .hero__badge-dot { animation: none; } }

.hero h1 {
  color: #fff; margin-bottom: .32em; max-width: 13ch;
  font-size: clamp(2.5rem, 5.6vw, 4.25rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1;
}
.hero__sub { font-size: 1.0625rem; color: rgba(255,255,255,.7); max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 30px 0 0; padding: 0; list-style: none;
  font-size: .8125rem; color: rgba(255,255,255,.55); max-width: 34rem;
}
.hero__meta li { display: flex; align-items: center; gap: 7px; }
.hero__meta li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none;
}

/* ---------- emergency band ---------- */

.emerg { background: var(--red); color: #fff; }
.emerg__inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; justify-content: center; text-align: center;
}
@media (min-width: 900px) { .emerg__inner { justify-content: flex-start; text-align: left; } }
.emerg__pulse {
  width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse-w 2.2s infinite;
}
@keyframes pulse-w {
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) { .emerg__pulse { animation: none; } }
.emerg__text { margin: 0; font-size: .9375rem; color: rgba(255,255,255,.9); }
.emerg__text strong { color: #fff; font-weight: 700; }
.emerg .btn--emerg {
  background: #fff; color: var(--red);
  font-family: var(--f-display); font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em;
  padding: 11px 20px; margin-left: auto;
}
.emerg .btn--emerg:hover { background: var(--ink); color: #fff; }
@media (max-width: 899px) { .emerg .btn--emerg { margin-left: 0; width: 100%; } }

/* ---------- trust strip ---------- */
/* ---------- trust strip ---------- */

.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust__item { border-top: 3px solid var(--red); padding-top: 16px; }
.trust__label { font-size: 1.0625rem; margin-bottom: .4em; }
.trust__detail { font-size: .9375rem; margin: 0; color: var(--ink-soft); }

/* ---------- cards ---------- */

.cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 24px 24px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  text-decoration: none; color: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.card--service:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--red-tint); color: var(--red); margin-bottom: 12px;
}
.icon { width: 24px; height: 24px; }
.card__title { margin: 0 0 .35em; font-size: 1.125rem; }
.card__body { margin: 0; font-size: .9375rem; color: var(--ink-soft); flex: 1; }
.card__link { margin-top: 16px; font-size: .875rem; font-weight: 700; color: var(--red); }

/* ---------- steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; } }
.steps__item { display: flex; gap: 16px; align-items: flex-start; }
.steps__item p { margin: 0; }
.steps__n {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--f-display); font-size: .9375rem; font-weight: 800;
}

/* ---------- checklist ---------- */

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .checks { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; } }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 11px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

/* ---------- faq ---------- */

.faqs { max-width: 46rem; margin-top: 32px; }
.faq { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--f-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; position: absolute; right: 6px; top: 26px;
  width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq[open] .faq__q::after { transform: rotate(-135deg); top: 31px; }
.faq__a { padding-bottom: 20px; max-width: 62ch; }
.faq__a p { margin: 0; }

/* ---------- reviews ---------- */

.reviews { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 26px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.review__quote { margin: 0 0 16px; font-size: 1.0625rem; color: var(--ink); }
.review__by { font-weight: 700; color: var(--ink); font-size: .9375rem; }
.review__meta { display: block; font-weight: 500; color: var(--ink-mute); font-size: .875rem; }

/* ---------- CTA band ---------- */

.cta { background: var(--red); color: rgba(255,255,255,.9); }
.cta__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.25fr auto; gap: 48px; } }
.cta__title { color: #fff; margin-bottom: .25em; }
.cta__sub { margin: 0; max-width: 46ch; color: rgba(255,255,255,.88); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- forms ---------- */

.form { display: grid; gap: 18px; max-width: 40rem; }
.field { display: grid; gap: 7px; }
.field--row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field--row { grid-template-columns: 1fr 1fr; } }
.label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.label span { font-weight: 500; color: var(--ink-mute); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint);
}
.textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: .875rem; color: var(--ink-mute); margin: 0; }

/* ---------- page header ---------- */

.phead {
  position: relative;
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}
.phead::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(110% 90% at 82% 0%, rgba(200,16,46,.34), transparent 60%),
    linear-gradient(160deg, #191919, #0F0F0F);
}
/* The emblem, cropped to its right edge — presence without a second focal point. */
.phead::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -6%; top: 50%; transform: translateY(-50%);
  width: min(34vw, 380px); aspect-ratio: 900 / 694;
  background: url(../img/emblem.png) right center / contain no-repeat;
  opacity: .13;
}
@media (min-width: 900px) { .phead::after { opacity: .5; right: -2%; } }
@media (min-width: 1280px) { .phead::after { width: 420px; right: 2%; } }

.phead__inner { position: relative; z-index: 1; }
.phead h1 { color: #fff; margin-bottom: .3em; letter-spacing: -.03em; max-width: 16ch; }
.phead__sub { font-size: 1.125rem; margin: 0; color: rgba(255,255,255,.72); max-width: 46ch; }
.phead .eyebrow { color: var(--gold); }
.phead .hero__actions { margin-top: 28px; }
.phead .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.phead .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.phead__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--red); color: #fff; margin-bottom: 20px;
  box-shadow: 0 10px 28px -12px rgba(200,16,46,.9);
}
.phead__icon .icon { width: 26px; height: 26px; }

/* ---------- prose / split ---------- */

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }

.aside {
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; align-self: start;
}
.aside h2 { font-size: 1.1875rem; }
.aside .btn { width: 100%; margin-top: 8px; }

.note {
  border-left: 3px solid var(--gold); background: #FFF9EC;
  padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; font-size: .9375rem;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.ftr { background: var(--ink); color: rgba(255,255,255,.62); padding: 64px 0 0; font-size: .9375rem; }
.ftr a { color: rgba(255,255,255,.78); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (min-width: 1000px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.brand--ftr { color: #fff; margin-bottom: 14px; }
.ftr__blurb { max-width: 34ch; margin-bottom: .8em; }
.ftr__lic { font-size: .8125rem; color: rgba(255,255,255,.45); margin: 0; }
.ftr__h { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1.2em; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__hours { color: rgba(255,255,255,.5); font-size: .875rem; }
.ftr__base {
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
  margin-top: 56px; padding-top: 24px; padding-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8125rem; color: rgba(255,255,255,.45);
}
.ftr__base p { margin: 0; }

@media (min-width: 900px) {
  .hero h1 { max-width: 14ch; }
}

/* ---------- header utility strip ---------- */

.hdr__strip { background: var(--ink); color: rgba(255,255,255,.7); font-size: .75rem; }
.hdr__strip-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 34px; letter-spacing: .02em;
}
.hdr__strip-item--hours { color: var(--gold); font-weight: 600; }
@media (max-width: 560px) {
  .hdr__strip-inner { justify-content: center; }
  .hdr__strip-item--hours { display: none; }
}

.nav__sub-head {
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); padding: 14px 20px 6px;
}
@media (min-width: 860px) {
  .nav__sub { min-width: 300px; }
  .nav__sub-head { padding: 12px 14px 4px; }
  .nav__sub-head:first-child { padding-top: 8px; }
}

/* ---------- hero eyebrow ---------- */

.hero__eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.2em;
}

/* ---------- service groups ---------- */

.groups { display: grid; gap: clamp(48px, 6vw, 72px); }
.group__head { max-width: 60ch; }
.group__title {
  font-size: clamp(1.375rem, 2.6vw, 1.75rem); margin-bottom: .3em;
  padding-bottom: .4em; border-bottom: 3px solid var(--red); display: inline-block;
}
.group__blurb { margin: .6em 0 0; color: var(--ink-soft); }
.group .cards { margin-top: 24px; }

/* ---------- service area cards ---------- */

.areas { display: grid; gap: 10px; margin-top: 36px; }
@media (min-width: 520px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .areas { grid-template-columns: repeat(4, 1fr); } }
.area {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.area:hover { border-color: var(--red); box-shadow: var(--shadow); }
.area__name { font-weight: 700; color: var(--ink); font-size: .9375rem; }
.area__county { font-size: .75rem; color: var(--ink-mute); }

.arealinks { max-width: 74ch; line-height: 2; font-size: .9375rem; color: var(--ink-mute); }
.arealinks a { color: var(--ink-soft); text-decoration: none; }
.arealinks a:hover { color: var(--red); text-decoration: underline; }

.section__more { margin: 28px 0 0; font-weight: 700; font-size: .9375rem; }

/* ---------- gallery ---------- */

.gallery { display: grid; gap: 16px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line); display: block;
}
.shot figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-mute); }

/* ---------- reviews ---------- */

.reviews--all { grid-template-columns: 1fr; margin-top: 0; }
@media (min-width: 700px) { .reviews--all { grid-template-columns: repeat(2, 1fr); } }
.review { display: flex; flex-direction: column; }
.review__quote { flex: 1; }
.review__quote::before { content: none; }
.review__by::before {
  content: ""; display: block; width: 28px; height: 2px; background: var(--red); margin-bottom: 10px;
}

/* ---------- footer additions ---------- */

.ftr__social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 18px; }
.ftr__social a { font-size: .875rem; font-weight: 600; }
.ftr__phone { font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: #fff !important; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875em; background: rgba(0,0,0,.06); padding: .1em .4em; border-radius: 4px; }

/* ---------- brand logo artwork ---------- */

/* Height-constrained so any lockup aspect ratio fits the header without
   distorting. A horizontal lockup is strongly preferred — a square/stacked
   logo scaled to header height renders its wordmark illegible. */
.brand__logo { height: 44px; width: auto; max-width: 260px; object-fit: contain; display: block; }
.brand--ftr .brand__logo { height: 52px; max-width: 280px; }
@media (max-width: 420px) { .brand__logo { height: 38px; max-width: 200px; } }

/* Type lockup fallback follows the logo's own hierarchy: CARDINAL red,
   PLUMBING SOLUTIONS gray. */
.hdr .brand__name { color: var(--red); }
.hdr .brand__sub { color: var(--gray); }

/* ---------- form error alert ---------- */

.alert {
  background: var(--red-tint); border-left: 3px solid var(--red);
  padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; margin-bottom: 24px;
  font-size: .9375rem;
}
.alert p { margin: 0; }

/* ---------- breadcrumbs ---------- */

.crumbs { background: #0A0A0A; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .8125rem; }
.crumbs ol {
  list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap;
  align-items: center; gap: 8px; color: rgba(255,255,255,.45);
}
.crumbs a { color: rgba(255,255,255,.62); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.22); }
.crumbs [aria-current="page"] { color: #fff; font-weight: 600; }
.crumbs + .phead { border-top: 0; }

/* ==========================================================================
   Interior polish — brings service, area and content pages up to the hero
   ========================================================================== */

/* Section headings get a short red rule, echoing the logo's divider dashes. */
.section__title { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; flex: none;
}

/* --- service cards --- */

.card--service { position: relative; overflow: hidden; }
.card--service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.card--service:hover::before { transform: scaleX(1); }
.card--service:hover .card__icon { background: var(--red); color: #fff; }
.card__icon { transition: background-color .22s ease, color .22s ease; }

/* --- steps --- */

.steps__item { position: relative; }
.steps__n {
  box-shadow: 0 8px 20px -10px rgba(200,16,46,.9);
}

/* --- trust strip --- */

.trust__item {
  border-top: 0; padding-top: 0; position: relative; padding-left: 20px;
}
.trust__item::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  background: var(--red); border-radius: 2px;
}

/* --- reviews --- */

.review {
  position: relative; padding-top: 34px;
}
.review::before {
  content: "\201C"; position: absolute; top: 6px; left: 22px;
  font-family: var(--f-display); font-size: 3.5rem; font-weight: 800;
  color: var(--red); opacity: .22; line-height: 1;
}

/* --- area cards --- */

.area { position: relative; padding-left: 40px; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.area::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; flex: none;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.area:hover { transform: translateY(-2px); }

/* --- checklists --- */

.checks li::before {
  left: 3px; top: .5em; width: 12px; height: 7px; border-width: 2.5px;
}

/* --- CTA band: give it the emblem too --- */

.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -4%; top: 50%; transform: translateY(-50%);
  width: min(26vw, 230px); aspect-ratio: 900 / 694;
  background: url(../img/emblem.png) right center / contain no-repeat;
  opacity: .1;
}
@media (min-width: 900px) { .cta::after { opacity: .16; } }
.cta__title { font-size: clamp(1.75rem, 3.6vw, 2.625rem); letter-spacing: -.03em; }

/* --- group headings --- */

.group__title { border-bottom-width: 4px; }

/* --- FAQ --- */

.faq__q:hover { color: var(--red); }

/* --- aside --- */

.aside { border-top: 3px solid var(--red); }
