/* =========================================================
   PermitPro Canada — Site styles
   Cross-browser tested: Chrome, Edge, Firefox, Safari, Brave
   WCAG 2.1 AA compliant focus, contrast, and motion
   ========================================================= */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1B3151; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #C4922A; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.25; color: #1a1a2e; }
p { margin: 0 0 1em; }

/* ---------- Design tokens ---------- */
:root {
  --navy: #1B3151;
  --navy-dark: #142540;
  --gold: #C4922A;
  --gold-dark: #a37a1f;
  --ink: #1a1a2e;
  --muted: #5a6a7e;
  --border: #e5e7eb;
  --off: #f7f8fa;
  --light-gold: #FDF6EC;
  --footer-bg: #1a1a1a;
  --footer-ink: #d1d5db;
  --footer-link: #e5e7eb;
  --success-bg: #e8f5e9;
  --success-ink: #1b5e20;
  --focus: #C4922A;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.10);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.10), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1180px;
  --pad-x: clamp(20px, 5vw, 64px);
}

/* ---------- Skip link (ADA) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { left: 0; outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Focus styles (ADA) ----------
   Visible outline on keyboard focus. Color contrast ≥ 3:1 against navy and white. */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}
.btn:focus-visible { outline-offset: 3px; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand span { color: var(--gold); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--navy);
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle svg { display: block; }
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.nav-menu a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav-menu a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: #ffffff !important;
  padding: 11px 20px !important;
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--navy-dark); color: #ffffff !important; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dropdown-toggle:hover { color: var(--navy); }
.dropdown-toggle[aria-expanded="true"] + .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-top: 6px;
  list-style: none;
  z-index: 50;
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  border-bottom: none;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--off); color: var(--navy); }
.has-dropdown:hover .dropdown { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #ffffff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 37, 64, 0.45) 0%, rgba(20, 37, 64, 0.85) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 12vw, 120px) 0;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(28px, 5vw, 52px);
  margin: 0 auto 18px;
  max-width: 820px;
  letter-spacing: -0.02em;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.7vw, 18px);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
  line-height: 1.2;
}
.btn-primary { background: var(--gold); color: #ffffff; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #ffffff; }
.btn-secondary { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; border-color: #ffffff; }
.btn-navy { background: var(--navy); color: #ffffff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #ffffff; }

/* ---------- Section primitives ---------- */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-alt { background: var(--off); }
.section-dark { background: var(--navy); color: #ffffff; }
.section-dark h2, .section-dark h3 { color: #ffffff; }
.section-dark p { color: rgba(255, 255, 255, 0.78); }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.section h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 720px;
}
.section-dark h2 { color: #ffffff; }
.lead {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--muted);
  max-width: 720px;
  line-height: 1.75;
}
.section-dark .lead { color: rgba(255, 255, 255, 0.78); }
.text-center { text-align: center; }
.text-center h2, .text-center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.stat-lbl {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 46px;
  height: 46px;
  background: var(--navy);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; color: var(--gold); }
.card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.card.featured {
  border: 2px solid var(--gold);
  background: var(--light-gold);
}

/* ---------- Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step-num {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- Why cards (dark) ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.why-item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.why-n {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.why-item h3 { color: #ffffff; font-size: 17px; margin-bottom: 10px; }
.why-item p { color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.65; margin: 0; }

/* ---------- Cities grid ---------- */
.cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.city {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: block;
}
.city:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--navy); }
.city strong { display: block; font-size: 16px; color: var(--navy); }
.city span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.gal {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.gal img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gal figcaption {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Two-column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 8px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { color: var(--gold); width: 20px; height: 20px; }
.contact-row strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.contact-row span { font-size: 14px; color: var(--muted); }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field .req { color: #c0392b; margin-left: 2px; }
.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #ffffff;
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.field-help { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  min-height: 48px;
}
.form-submit:hover { background: var(--navy-dark); }
.success-msg {
  display: none;
  background: var(--success-bg);
  border: 1px solid #a5d6a7;
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--success-ink);
  font-size: 14px;
  margin-top: 12px;
}

/* ---------- Page title block (used on Cities/Gallery/Contact) ---------- */
.page-title {
  background: var(--off);
  padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-title h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-title p { color: var(--muted); font-size: 17px; max-width: 720px; line-height: 1.7; margin: 0; }

/* ---------- Service list (city pages) ---------- */
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.svc-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gold);
  color: #ffffff;
  padding: clamp(48px, 7vw, 72px) 0;
  text-align: center;
}
.cta-band h2 { color: #ffffff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 640px; margin: 0 auto 22px; }
.cta-phone {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
  text-decoration: none;
}
.cta-phone:hover { color: #ffffff; opacity: 0.92; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 40px 0 28px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}
.site-footer .container > p { margin: 0 0 6px; }
.site-footer .brand-foot { color: #ffffff; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.site-footer .brand-foot span { color: var(--gold); }
.site-footer a { color: var(--footer-link); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold); }
.foot-meta { color: #9ca3af; font-size: 13px; }
.foot-meta a { color: #9ca3af; }

/* ---------- Visually hidden but readable by screen readers ---------- */
.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;
}

/* =========================================================
   MARKETING HOME COMPONENTS
   ========================================================= */

/* ---------- Marketing hero variant (taller, bigger type, badge row) ---------- */
.hero-mkt .hero-inner { padding: clamp(80px, 14vw, 160px) 0 clamp(72px, 12vw, 130px); }
.hero-mkt h1 {
  font-size: clamp(34px, 6.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 900px;
}
.hero-mkt h1 em {
  font-style: normal;
  color: var(--gold);
  display: inline;
}
.hero-mkt .hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-badge svg { color: var(--gold); width: 14px; height: 14px; }

/* ---------- Sector tiles (the showcase) ---------- */
.sectors {
  position: relative;
  margin-top: clamp(-72px, -6vw, -56px);
  z-index: 3;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  isolation: isolate;
}
.sector-tile::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(196, 146, 42, 0.10), rgba(196, 146, 42, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}
.sector-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  color: var(--navy);
}
.sector-tile-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 14px;
  margin-bottom: 18px;
  color: var(--gold);
  flex-shrink: 0;
}
.sector-tile-icon svg { width: 30px; height: 30px; }
.sector-tile h3 {
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.sector-tile p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}
.sector-tile .tile-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.sector-tile .tile-list li {
  font-size: 13px;
  color: var(--ink);
  padding: 4px 0 4px 18px;
  position: relative;
}
.sector-tile .tile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.sector-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.sector-tile-link svg { transition: transform 0.2s ease; }
.sector-tile:hover .sector-tile-link svg { transform: translateX(3px); }

/* ---------- Icon stats row ---------- */
.istats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.istat {
  text-align: center;
  padding: 20px 12px;
}
.istat-ico {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  background: var(--light-gold);
  color: var(--gold);
  border-radius: 14px;
  margin-bottom: 14px;
}
.istat-ico svg { width: 24px; height: 24px; }
.istat-num {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.istat-lbl {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ---------- Icon process strip ---------- */
.iprocess {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
  position: relative;
}
.iprocess::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 12px);
  opacity: 0.6;
  z-index: 0;
}
.istep {
  position: relative;
  text-align: center;
  background: #ffffff;
  padding: 0 8px;
  z-index: 1;
}
.istep-ico {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  margin-bottom: 16px;
  border: 4px solid var(--off);
  box-shadow: var(--shadow-sm);
}
.istep-ico svg { width: 30px; height: 30px; }
.istep h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}
.istep p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Connect / request placeholder ---------- */
.connect {
  background: linear-gradient(135deg, var(--navy) 0%, #243c63 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.connect::before {
  content: "";
  position: absolute;
  inset: auto -100px -100px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(196, 146, 42, 0.25), rgba(196, 146, 42, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.connect h2 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.connect p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  max-width: 540px;
}
.connect-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.connect-actions .btn { min-width: 180px; }
.connect-quick {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.connect-quick strong {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.connect-quick .quick-phone {
  display: block;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.connect-quick .quick-phone:hover { color: var(--gold); }
.connect-quick .quick-hours {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 18px;
}
.connect-quick a.quick-email {
  color: #ffffff;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.connect-quick a.quick-email:hover { color: var(--gold); }

/* ---------- Ontario cities cloud ---------- */
.ontario {
  text-align: center;
  margin-top: 36px;
}
.ontario-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 0;
  max-width: 940px;
  padding: 0;
  list-style: none;
}
.ontario-list li {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.ontario-list li:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: var(--light-gold);
}
.ontario-list li.featured {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}
.ontario-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.ontario-note strong { color: var(--navy); }

/* ---------- Value cards (icon-led, used as compact why-us) ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.value {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.value-ico {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--light-gold);
  color: var(--gold);
  border-radius: 10px;
  margin-bottom: 14px;
}
.value-ico svg { width: 22px; height: 22px; }
.value h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 6px;
}
.value p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Quick benefit row (under hero) ---------- */
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}
.benefit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.benefit svg { color: var(--gold); width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Responsive overrides for marketing components ---------- */
@media (max-width: 980px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .sectors { margin-top: clamp(-48px, -4vw, -32px); }
  .istats { grid-template-columns: repeat(2, 1fr); }
  .iprocess { grid-template-columns: repeat(2, 1fr); }
  .iprocess::before { display: none; }
  .connect { grid-template-columns: 1fr; padding: 32px; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .istats { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .iprocess { grid-template-columns: 1fr; }
  .ontario-list li { font-size: 13px; padding: 8px 14px; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 880px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a, .dropdown-toggle {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    text-align: left;
  }
  .nav-menu li:last-child a { border-bottom: none; }
  .nav-cta {
    margin: 8px 24px;
    text-align: center;
    border-radius: var(--radius-sm) !important;
    width: auto;
  }
  .has-dropdown { position: static; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    margin: 0;
    padding: 0;
    background: var(--off);
  }
  .dropdown a { padding-left: 40px; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .step::after { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-cta { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
