/* ==========================================================================
   SteriPro — steriprocanada.com
   Brand system extracted from DMS-0017591 SteriPro e-brochure.
   Navy #182048 · Orange #F09000 · Light blue #7FB3D5 · Off-white #F8F8F8
   ========================================================================== */

:root {
  --navy: #182048;
  --navy-2: #232c5c;          /* lighter navy for panels on navy */
  --navy-3: #0f1533;          /* darker navy for footer base */
  --orange: #F09000;
  --orange-dark: #cf7c00;
  --blue: #7FB3D5;
  --blue-soft: #e6f0f7;
  --bg: #F8F8F8;
  --white: #ffffff;
  --ink: #1d2433;
  --muted: #57607a;
  --line: #e3e6ee;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(24, 32, 72, 0.10);
  --shadow-sm: 0 3px 12px rgba(24, 32, 72, 0.08);
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--orange-dark); }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--muted); line-height: 1.6; max-width: 46em; }
.accent { color: var(--orange); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: var(--white); }
.on-dark .lead { color: #dfe6f6; }

/* Eyebrow — orange uppercase section label */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .9rem;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg); }
.section.navy { background: var(--navy); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); 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-lg { padding: 18px 36px; font-size: 1.1rem; }

/* Text link with arrow */
.link-more { font-weight: 700; text-decoration: none; color: var(--navy); white-space: nowrap; }
.link-more::after { content: " \2192"; color: var(--orange); }
.link-more:hover { color: var(--orange-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(24,32,72,.04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: .98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--orange-dark); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.header-ctas { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.btn-emergency {
  background: var(--orange);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(240,144,0,.45);
}
.btn-emergency:hover { background: #ffa321; color: var(--navy); }
.btn-emergency .pin { color: #b02a2a; }
.btn-emergency .pin { display: inline-block; margin-right: 6px; }
.btn-book {
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn-book:hover { background: var(--navy-2); color: var(--white); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .header-ctas { margin-left: 0; }
  .btn-book { display: none; }           /* keep emergency visible; Book lives in nav on mobile */
  .site-nav .nav-book { display: block; background: var(--navy); color: #fff; text-align: center; border-radius: 6px; margin-top: 14px; border-bottom: none; }
}
@media (min-width: 1021px) { .site-nav .nav-book { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(rgba(24,32,72,.88), rgba(24,32,72,.88)),
              linear-gradient(135deg, #1c2554 0%, #0f1533 60%, #24406b 100%);
  color: var(--white);
  padding: 96px 0 88px;
}
.hero h1 { color: var(--white); max-width: 17em; }
.hero .lead { color: #dfe6f6; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 2rem; }
.hero-kickers { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 3rem; }
.hero-kickers .kick { border-left: 3px solid var(--orange); padding-left: 14px; font-size: .95rem; color: #d9e0f2; }
.hero-kickers .kick strong { display: block; color: var(--white); font-size: 1.15rem; }
.page-hero { background: var(--navy); color: var(--white); padding: 72px 0 60px; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #dfe6f6; }

/* Breadcrumb back-link on service subpages */
.crumb { margin-bottom: 1rem; font-size: .88rem; }
.crumb a { color: #aeb8d4; text-decoration: none; }
.crumb a:hover { color: var(--white); }

/* Pull-stat panel — the designed element inside articles */
.pull-stat {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 2.2em 0;
}
.pull-stat .ps-num {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  white-space: nowrap;
}
.pull-stat .ps-label { color: #dfe6f6; font-size: .98rem; line-height: 1.45; }
@media (max-width: 560px) { .pull-stat { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- Stat band — big orange numerals ---------- */
.stat-band { background: var(--navy); color: var(--white); padding: 64px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat .num {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .label { margin-top: .55rem; font-size: .95rem; color: #d9e0f2; }
.stat-band.light { background: var(--bg); color: var(--ink); }
.stat-band.light .stat .label { color: var(--muted); }

/* ---------- Orange left-bar list ---------- */
.bar-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.bar-list li {
  border-left: 4px solid var(--orange);
  background: var(--white);
  padding: 14px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.bar-list li strong { color: var(--navy); }
.on-dark .bar-list li { background: var(--navy-2); color: #dde3f2; }
.on-dark .bar-list li strong { color: var(--white); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-top: .4rem; }
.card .link-more { margin-top: auto; padding-top: 1rem; }
.card-top { height: 6px; border-radius: 6px 6px 0 0; background: var(--orange); margin: -32px -28px 24px; }
.card.navy-card { background: var(--navy); border-color: var(--navy); color: #dde3f2; }
.card.navy-card h3 { color: var(--white); }

/* Service model tag */
.model-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  padding: 4px 10px;
}

/* ---------- Certification circle badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.badge-circle {
  width: 148px;
  text-align: center;
}
.badge-circle .ring {
  width: 108px; height: 108px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 4px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  padding: 10px;
}
.badge-circle .cap { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.on-dark .badge-circle .ring { background: var(--navy-2); color: var(--white); }
.on-dark .badge-circle .cap { color: #d9e0f2; }

/* ---------- Numbered process steps (orange arc rings) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.step { text-align: center; }
.step .disc {
  position: relative;
  width: 128px; height: 128px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.step .disc::before {            /* orange arc ring */
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--orange);
  border-right-color: var(--orange);
  transform: rotate(-40deg);
}
.step .disc svg { width: 52px; height: 52px; }
.step .n {
  position: absolute; top: -6px; left: -6px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  z-index: 1;
}
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Five-across variant for value-driver bands */
.steps.five { grid-template-columns: repeat(5, 1fr); gap: 28px 18px; }
@media (max-width: 1020px) { .steps.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps.five { grid-template-columns: 1fr; } }

/* ---------- KPI table ---------- */
.kpi-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; font-size: .98rem; }
.kpi-table th, .kpi-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.kpi-table thead th { background: var(--navy); color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.kpi-table tbody tr:last-child td { border-bottom: none; }
.kpi-table .val { font-weight: 800; color: var(--orange-dark); font-size: 1.1rem; white-space: nowrap; }
.kpi-table .target { color: var(--muted); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow-sm); font-size: .95rem; }
.compare-table th, .compare-table td { padding: 13px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--navy); color: var(--white); }
.compare-table tbody th { background: var(--bg); font-weight: 700; color: var(--navy); width: 22%; }
.compare-table .yes { color: var(--orange-dark); font-weight: 700; }

/* ---------- Photography ---------- */
.photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.photo.r16x9 { aspect-ratio: 16 / 9; }
.photo.r4x3 { aspect-ratio: 4 / 3; }
.photo.r1x1 { aspect-ratio: 1 / 1; }

/* ---------- Photo placeholders (until shot list is photographed) ---------- */
.ph {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #223065 0%, var(--navy) 55%, #2c4a75 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(127,179,213,.25), transparent 55%);
}
.ph svg { width: 64px; height: 64px; opacity: .9; z-index: 1; }
.ph .ph-label {
  position: absolute; bottom: 12px; left: 14px;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); z-index: 1;
}
.ph.r16x9 { aspect-ratio: 16 / 9; }
.ph.r4x3 { aspect-ratio: 4 / 3; }
.ph.r1x1 { aspect-ratio: 1 / 1; }

/* Accreditation Canada seal — official artwork, never restyled */
.ac-seal { width: 150px; height: auto; display: block; }

/* Partners & affiliations strip — typographic lockups until official logos are cleared */
.affil-row { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; }
.affil { text-align: center; }
.affil .name { font-weight: 800; color: var(--navy); letter-spacing: .08em; font-size: 1.2rem; text-transform: uppercase; }
.affil .role { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 74px; top: 6px; bottom: 6px; width: 3px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 30px 110px; }
.timeline .year {
  position: absolute; left: 0; top: 0;
  width: 60px;
  text-align: right;
  font-weight: 800;
  color: var(--orange);
  font-size: 1.05rem;
}
.timeline li::before {
  content: "";
  position: absolute; left: 68px; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--orange);
}
.timeline h4 { margin-bottom: .2rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 40em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); padding: 72px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dfe6f6; max-width: 44em; }
.cta-band .btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid #c7ccd9;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(240,144,0,.35); border-color: var(--orange); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote, blockquote.prose {
  border-left: 4px solid var(--orange);
  margin: 1.8em 0;
  padding: .6em 0 .6em 1.4em;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
}
.prose blockquote cite, blockquote.prose cite { display: block; margin-top: .6em; font-size: .9rem; color: var(--muted); font-weight: 400; font-style: normal; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.draft-banner {
  background: #fff4e0;
  border: 1px dashed var(--orange);
  border-radius: 6px;
  color: #8a5a00;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 16px;
  margin-bottom: 2rem;
}

/* Author byline block — reusable for any contributor */
.byline {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 2.5rem 0 0;
}
.byline .avatar {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem;
  border: 3px solid var(--orange);
}
.byline .who { font-size: .95rem; color: var(--muted); }
.byline .who strong { display: block; color: var(--navy); font-size: 1.05rem; }

/* Post cards on index pages */
.post-card { text-decoration: none; color: inherit; }
.post-card:hover h3 { color: var(--orange-dark); }
.post-card .tag {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: .5rem;
}
.post-card .date { color: var(--muted); font-size: .88rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #aeb8d4; font-size: .95rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 40px; }
.site-footer img { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: #aeb8d4; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-certs { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .85rem; color: #8a95b8; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; font-size: .85rem; color: #8a95b8; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-emergency {
  background: var(--orange);
  color: var(--navy);
  display: block;
  text-align: center;
  padding: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}
.footer-emergency:hover { background: #ffa321; color: var(--navy); }
/* Beat .site-footer a specificity — this band must never inherit muted link grey */
.site-footer .footer-emergency { color: var(--navy); }
.site-footer .footer-emergency:hover { color: var(--navy); background: #ffa321; }

/* ---------- Sample report excerpt (document look) ---------- */
.report-doc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.report-doc .rd-head {
  background: var(--navy);
  color: var(--white);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.report-doc .rd-head strong { font-size: 1rem; }
.report-doc .rd-body { padding: 28px; }
.rd-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.rd-chip {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.rd-chip.area { background: var(--blue-soft); color: var(--navy); }
.rd-chip.clause { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.rd-chip.high { background: #fdeaea; color: #b02a2a; }
.rd-chip.medium { background: #fff4e0; color: #8a5a00; }
.rd-row { display: grid; grid-template-columns: 160px 1fr; gap: 8px 20px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .97rem; }
.rd-row dt { font-weight: 800; color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.rd-row dd { margin: 0; }
.rd-cost { display: flex; gap: 28px; flex-wrap: wrap; }
.rd-cost .c { border-left: 4px solid var(--orange); padding-left: 12px; }
.rd-cost .c strong { display: block; color: var(--navy); font-size: 1.15rem; }
.rd-cost .c span { font-size: .8rem; color: var(--muted); }
.rd-note { background: var(--bg); border-top: 1px solid var(--line); padding: 12px 24px; font-size: .8rem; color: var(--muted); font-style: italic; }
@media (max-width: 640px) { .rd-row { grid-template-columns: 1fr; gap: 2px 0; } }

/* ---------- Diagrams ---------- */
.diagram-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); overflow-x: auto; }
.diagram-wrap svg { min-width: 640px; margin: 0 auto; }
.on-dark .diagram-wrap { background: var(--navy-2); border-color: rgba(255,255,255,.12); }

/* ---------- Emergency page ---------- */
.emergency-hero { background: var(--navy); color: var(--white); padding: 64px 0; text-align: center; }
.emergency-hero h1 { color: var(--white); }
.emergency-hero .lead { color: #eef2fb; font-weight: 600; }
.phone-huge {
  display: inline-block;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 800;
  color: var(--navy);
  background: var(--orange);
  padding: .35em .7em;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: .01em;
  margin: 1.2rem 0 .8rem;
  box-shadow: var(--shadow);
}
.phone-huge:hover { background: #ffa321; color: var(--navy); }

/* ---------- Utility / responsive ---------- */
.note-todo { background: #fff4e0; border-left: 4px solid var(--orange); padding: 10px 14px; font-size: .88rem; color: #8a5a00; border-radius: 0 6px 6px 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: .7em; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 48px 0 24px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 60px; }
  .timeline::before { left: 58px; }
  .timeline li { padding-left: 92px; }
  .timeline .year { width: 46px; font-size: .95rem; }
  .timeline li::before { left: 52px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-main { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
}
