:root {
  --red: #c8102e;
  --red-dark: #a00d25;
  --navy: #1b1b1d;
  --ink: #2a2a2a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --paper: #f4f4f4;
  --white: #fff;
  --max: 1180px;
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* header — Custom Fire style */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  height: 74px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-decoration: none;
}

.brand img.logo-lockup {
  display: block;
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: min(280px, 42vw);
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.brand img.logo-mark {
  width: 52px;
  height: auto;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 14px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 999px;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover { background: var(--red-dark); }

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-white:hover { background: #f3f3f3; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

/* hero */
.hero-banner {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(12, 12, 14, 0.48), rgba(12, 12, 14, 0.72)),
    url("../assets/hero-inspection.png") center / cover no-repeat;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: var(--red);
}

.hero-banner .wrap { position: relative; z-index: 1; padding: 80px 0 110px; }

.hero-banner h1 {
  margin: 0 auto 18px;
  max-width: 16ch;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.12;
  font-weight: 800;
}

.hero-banner p {
  margin: 0 auto 28px;
  max-width: 46em;
  color: #e8e8e8;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stamp {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  display: flex;
  justify-content: flex-end;
  margin: 0;
  transform: translateX(-50%);
}

.canada-stamp {
  width: min(240px, 72vw);
  height: auto;
}

/* motto strip */
.motto {
  background: var(--paper);
  padding: 64px 0 28px;
  text-align: center;
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.motto h2 {
  margin: 0 0 36px;
  font-size: 34px;
  font-weight: 800;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.grid-3 h3 {
  margin: 0 0 8px;
  padding-top: 42px;
  color: var(--red);
  font-size: 18px;
}

.icon-mark {
  position: relative;
  display: inline-block;
}

.approach-icon {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  display: block;
  width: 36px;
  height: 36px;
  margin: 0;
  color: var(--ink);
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
}

.grid-3 p { margin: 0; color: var(--muted); }

.grid-3 a {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

/* services */
.services {
  padding: 56px 0 72px;
  text-align: center;
}

.services h2 {
  margin: 8px auto 36px;
  max-width: 18ch;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}

.svc {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 24px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.svc h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.svc p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

/* quote band */
.quotes {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.quotes h2 {
  margin: 8px 0 28px;
  font-size: 32px;
}

.quote {
  max-width: 720px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: #d0d0d0;
}

/* cta band */
.cta-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 {
  margin: 0 auto 12px;
  max-width: 16ch;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 40em;
}

/* inner pages */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 56px;
}

.contact-hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, 0.52), rgba(12, 12, 14, 0.72)),
    url("../assets/contact-handshake.png") center 40% / cover no-repeat;
}

.contact-hero .wrap { position: relative; z-index: 1; }

.about-hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--red);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/about-hero-band.svg") left center / cover no-repeat;
}

.about-hero .wrap { position: relative; z-index: 1; }

.page-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.page-hero p {
  margin: 0;
  max-width: 42em;
  color: #d8d8d8;
}

.about-hero p { color: #111111; }

.page-body { padding: 56px 0 72px; }

.about-story { max-width: 46em; }

.about-story h2 {
  margin: 36px 0 16px;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}

.about-story ul {
  margin: 0 0 16px;
  padding: 0 0 0 1.2em;
  color: var(--muted);
}

.about-story li { margin: 0 0 12px; }

.about-story li strong { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.prose p { color: var(--muted); margin: 0 0 16px; }

/* forms */
form { display: grid; gap: 14px; }

label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input, textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid #ccc;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  border-radius: 4px;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, textarea:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}

.form-note, .status { font-size: 14px; color: var(--muted); }
.status.error { color: var(--red); }
.status.ok { color: #1b7a3a; }

footer {
  background: var(--navy);
  color: #cfcfcf;
  padding: 48px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

footer h4 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 14px;
}

footer a { color: #cfcfcf; text-decoration: none; }
footer a:hover { color: var(--white); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 8px; }

.footer-copy {
  border-top: 1px solid #333;
  padding-top: 16px;
  color: #888;
}

.menu-toggle {
  display: none;
  background: var(--red);
  border: 0;
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

@media (max-width: 860px) {
  .canada-stamp { width: min(195px, 72vw); }
  .grid-3, .grid-6, .split, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    right: 0;
    top: 74px;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    min-width: 220px;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
  }
  nav.open { display: flex; }
  .header-inner { position: relative; }
}
