:root {
  --ink: #13202c;
  --muted: #5d6a75;
  --blue: #1b1464;
  --blue-2: #0d5aa7;
  --teal: #087f86;
  --yellow: #f6c83f;
  --orange: #e46b35;
  --paper: #ffffff;
  --soft: #f5f7f1;
  --line: #d9e0e6;
  --shadow: 0 20px 45px rgba(10, 31, 53, 0.16);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
  --focus: #ffdd62;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  box-shadow: 0 3px 18px rgba(16, 31, 45, 0.12);
}

.top-bar {
  background: var(--blue);
  color: #fff;
  font-size: 0.92rem;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 16px;
}

.top-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--yellow);
  font-weight: 800;
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: 132px;
  height: auto;
  max-height: 52px;
  flex: 0 0 auto;
}

.brand--footer .brand__logo {
  width: 124px;
  max-height: 48px;
}

.primary-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--ink);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  background: var(--soft);
  color: var(--blue);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 250px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

@media (min-width: 1101px) {
  .has-menu:hover .mega-menu,
  .has-menu:focus-within .mega-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.mega-menu a {
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.mega-menu--wide {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 6px 14px;
  width: max-content;
  max-width: min(1080px, calc(100vw - 32px));
  padding: 18px 20px;
}

.mega-menu--wide.mega-menu--three {
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  max-width: min(820px, calc(100vw - 32px));
}

.mega-col {
  display: grid;
  align-content: start;
  gap: 1px;
  min-width: 180px;
}

.mega-col__head {
  padding: 8px 10px 6px !important;
  margin: 4px 0 4px;
  color: var(--blue) !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  border-bottom: 2px solid var(--yellow);
  text-transform: none;
}

.mega-col__head--sub {
  margin-top: 14px;
}

.mega-col__head:hover,
.mega-col__head:focus-visible {
  background: transparent !important;
  color: var(--blue) !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mega-menu--wide a:not(.mega-col__head) {
  padding: 6px 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  border-radius: 6px;
}

.mega-menu--wide a:not(.mega-col__head):hover,
.mega-menu--wide a:not(.mega-col__head):focus-visible {
  background: var(--soft);
  color: var(--blue);
}

.has-menu__row {
  display: contents;
}

.mega-col__group,
.mega-col__group-head,
.mega-col__group-items,
.mega-col__group-items-inner {
  display: contents;
}

.has-menu__toggle,
.mega-col__toggle {
  display: none;
}


.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  color: var(--line);
  font-size: 1rem;
  line-height: 1;
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.breadcrumb [aria-current] {
  color: var(--blue);
  font-weight: 800;
}

.section--breadcrumb {
  padding: 18px 0 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-card {
  padding: 22px 24px;
  border: 1px solid #cfdbe5;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 31, 53, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.related-card:hover,
.related-card:focus-within {
  transform: translateY(-2px);
  border-color: #bfd0df;
  box-shadow: 0 16px 34px rgba(10, 31, 53, 0.13);
}

.related-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.related-card h3 a {
  color: var(--blue);
}

.related-card h3 a::after {
  content: " ›";
  color: var(--orange);
}

.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-line h4 a {
  color: var(--blue);
  text-decoration: none;
}

.service-line h4 a:hover,
.service-line h4 a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.service-group > h3 a {
  color: #fff;
}

.service-group > h3 a:hover,
.service-group > h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 25px rgba(39, 58, 75, 0.17);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #ffd85f;
  border-color: #ffd85f;
  transform: translateY(-1px);
}

.button--outline {
  background: transparent;
  color: #fff;
}

.button--small {
  min-height: 42px;
  padding: 11px 16px;
  white-space: nowrap;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(6, 20, 34, 0.9), rgba(6, 20, 34, 0.62), rgba(6, 20, 34, 0.16)), var(--hero-img, linear-gradient(135deg, #1b1464 0%, #0d5aa7 100%));
  background-size: cover;
  background-position: center;
}

.hero--home,
.page-hero--brand {
  background-image: linear-gradient(90deg, rgba(6, 20, 34, 0.95), rgba(6, 20, 34, 0.82), rgba(6, 20, 34, 0.5)), var(--hero-img);
  background-position: 58% center;
}

.hero {
  min-height: clamp(500px, 60vh, 620px);
  display: grid;
  align-items: center;
  padding: 54px 0 58px;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow,
.why-band .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 5.4vw, 5rem);
}

.hero h1 {
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  font-size: 1.25rem;
}

.hero__lead,
.page-hero p {
  max-width: min(690px, 100%);
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 24px;
}

.hero__stats span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  font-weight: 800;
}

.hero__stats span::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.quick-tabs {
  background: var(--blue);
  color: #fff;
}

.quick-tabs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-tabs a {
  min-height: 112px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-tabs a:hover,
.quick-tabs a:focus-visible {
  background: var(--teal);
}

.quick-tabs span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.quick-tabs strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section--muted {
  background: var(--soft);
}

.section--cards {
  padding: clamp(52px, 7vw, 84px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading--left {
  max-width: var(--container);
}

.section-heading--left h2 {
  max-width: 720px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}

.split p,
.service-detail p,
.service-card p,
.feature-grid p {
  color: var(--muted);
}

.image-panel {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 14px;
  height: 4px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link--muted {
  color: var(--muted);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}

.card-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.feature-grid article,
.story-card,
.contact-card,
.toc,
.callout-list > div,
.faq-item,
.sitemap-grid > div,
.contact-form {
  min-width: 0;
  background: #fff;
  border: 1px solid #cfdbe5;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 31, 53, 0.1);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-height: 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--teal));
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  min-height: 30px;
  margin-bottom: 6px;
  border: 1px solid rgba(228, 107, 53, 0.22);
  border-radius: 999px;
  background: #fff5d1;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 900;
}

.service-card h3 {
  color: var(--blue);
}

.service-card p {
  margin: 0;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding-top: 4px;
  color: var(--blue);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.service-card a {
  margin-top: auto;
}

.service-card a::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.service-card a:hover::after,
.service-card a:focus-visible::after {
  transform: translateX(3px) rotate(45deg);
}

.service-card:has(a):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(10, 31, 53, 0.14);
}

.problem-board {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: stretch;
}

.problem-board__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(7, 60, 121, 0.86), rgba(7, 60, 121, 0.86)),
    url("https://images.pexels.com/photos/6419128/pexels-photo-6419128.jpeg?auto=compress&cs=tinysrgb&w=900") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.problem-board__intro .eyebrow,
.problem-board__intro h2,
.problem-board__intro p,
.problem-board__intro .text-link {
  color: #fff;
}

.problem-board__intro .eyebrow {
  color: var(--yellow);
}

.problem-board__intro p {
  max-width: 33rem;
  color: rgba(255, 255, 255, 0.86);
}

.problem-board__intro .text-link {
  margin-top: 12px;
  text-decoration-color: var(--yellow);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.problem-card {
  position: relative;
  min-width: 0;
  padding: 20px 20px 18px;
  border: 1px solid #cfdbe5;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(10, 31, 53, 0.08);
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--yellow), var(--teal));
}

.problem-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.problem-card h3 {
  margin-bottom: 6px;
  color: var(--blue);
}

.problem-card p {
  margin: 0;
  color: var(--muted);
}

.service-grid--compact .service-card {
  padding: 22px 24px;
}

.service-grid--compact .service-card span {
  margin-bottom: 4px;
}

.commercial-service-board {
  column-count: 2;
  column-gap: 18px;
}

.service-group {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  min-width: 0;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #cfdbe5;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(10, 31, 53, 0.08);
}

.service-group > h3 {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  font-size: 1rem;
}

.service-line {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-line span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(7, 60, 121, 0.16);
}

.service-line h4 {
  color: var(--blue);
  font-size: 1rem;
}

.service-line p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.audience-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 18px 38px rgba(10, 31, 53, 0.08);
}

.audience-card {
  min-width: 0;
  padding: 22px;
  background: #fff;
}

.audience-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.audience-card h3 {
  color: var(--blue);
}

.audience-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.quote-grid,
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.promise-card {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(10, 31, 53, 0.12);
}

.promise-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promise-card h3 {
  color: #fff;
}

.promise-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

blockquote {
  margin: 0;
  padding: 26px 28px 24px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}

blockquote p {
  margin-top: 0;
  font-size: 1.08rem;
}

cite {
  color: var(--yellow);
  font-style: normal;
  font-weight: 900;
}

.why-band,
.cta-band {
  background: var(--blue);
  color: #fff;
  padding: clamp(54px, 8vw, 90px) 0;
}

.why-band__inner,
.cta-band__inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.section--compact {
  padding: clamp(42px, 6vw, 72px) 0;
}

.mini-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: 8px 0;
}

.mini-cta h2 {
  max-width: 760px;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
}

.mini-cta p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.mini-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.mini-cta__phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.customer-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 31, 53, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.customer-grid a:hover,
.customer-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: #bfd0df;
  box-shadow: 0 16px 34px rgba(10, 31, 53, 0.13);
}

.customer-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.customer-grid h3,
.customer-grid p {
  margin: 18px 20px 0;
}

.customer-grid p {
  margin-bottom: 22px;
  color: var(--muted);
}

.page-hero {
  padding: clamp(78px, 12vw, 145px) 0;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(2.25rem, 4.7vw, 4.35rem);
}

.page-hero--plain {
  color: var(--ink);
  background: var(--soft);
}

.page-hero--plain .eyebrow {
  color: var(--orange);
}

.page-hero--plain p {
  color: var(--muted);
}

.services-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 136px;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.toc strong {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.1rem;
}

.toc a {
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.toc a:hover,
.toc a:focus-visible {
  background: var(--soft);
  color: var(--blue);
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-detail {
  scroll-margin-top: 140px;
  padding: clamp(28px, 4vw, 46px);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 31, 53, 0.08);
}

.service-detail h2 {
  max-width: 860px;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.service-detail p:not(.eyebrow) {
  max-width: 820px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 11px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--blue);
  font-weight: 800;
}

.callout-list {
  display: grid;
  gap: 12px;
}

.callout-list > div {
  display: grid;
  gap: 4px;
  padding: 22px;
}

.callout-list strong {
  color: var(--blue);
  font-size: 1.2rem;
}

.callout-list span {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article {
  min-height: 210px;
  padding: 26px;
  border-top: 5px solid var(--yellow);
}

.feature-grid h2 {
  font-size: 1.45rem;
  color: var(--blue);
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-panel__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(rgba(245, 247, 241, 0.9), rgba(245, 247, 241, 0.9)),
    url("https://images.pexels.com/photos/7937300/pexels-photo-7937300.jpeg?auto=compress&cs=tinysrgb&w=900") center / cover;
}

.trust-panel__lead p:not(.eyebrow) {
  color: var(--muted);
}

.trust-stack {
  display: grid;
  background: var(--line);
  gap: 1px;
}

.trust-stack article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
  padding: 24px 26px;
  background: #fff;
}

.trust-stack span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--yellow);
  font-weight: 900;
}

.trust-stack h3 {
  color: var(--blue);
}

.trust-stack p {
  margin: 4px 0 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-row div {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(10, 31, 53, 0.08);
}

.metric-row strong {
  display: block;
  color: var(--blue);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.metric-row span {
  color: var(--muted);
  font-weight: 800;
}

.story-card {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.story-card strong {
  color: var(--blue);
  font-size: 1.3rem;
}

.story-card span {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--soft);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  position: relative;
  width: 100%;
  min-height: 64px;
  padding: 22px 56px 22px 22px;
  border: 0;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-item div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-item.is-open div {
  grid-template-rows: 1fr;
}

.faq-item p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--muted);
}

.faq-item.is-open p {
  padding-bottom: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--soft);
}

.form-row {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.form-row label {
  font-weight: 900;
  color: var(--blue);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(13, 90, 167, 0.12);
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.contact-card {
  padding: 28px;
}

.contact-card h2 {
  margin-top: 20px;
  font-size: 1.35rem;
  color: var(--blue);
}

.contact-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.contact-phone,
.footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 900;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.sitemap-grid > div {
  display: grid;
  gap: 9px;
  padding: 24px;
}

.sitemap-grid h2 {
  font-size: 1.35rem;
  color: var(--blue);
}

.sitemap-grid a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-weight: 800;
}

.sitemap-grid a:hover,
.sitemap-grid a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  background: #101923;
  color: #dfe8f0;
  padding: 56px 0 24px;
}

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

.brand--footer strong,
.brand--footer em {
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.05rem;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--yellow);
}

.site-footer p {
  color: #aebdca;
}

.site-footer .footer-phone {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aebdca;
  font-size: 0.9rem;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .nav-shell > .button {
    justify-self: end;
    order: 2;
  }

  .primary-nav {
    grid-column: 1 / -1;
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: calc(100vh - 160px);
    overflow: auto;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .primary-nav {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    justify-content: stretch;
    gap: 4px;
    align-items: stretch;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    text-align: left;
  }

  /* Has-menu top-level row: parent link + chevron toggle */
  .primary-nav .has-menu {
    margin: 0;
  }

  .has-menu__row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 48px;
  }

  .has-menu__row > .has-menu__link,
  .has-menu__row > a {
    flex: 1;
    min-width: 0;
    min-height: 0 !important;
  }

  .has-menu__toggle,
  .mega-col__toggle {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    align-self: stretch;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color 160ms ease, color 160ms ease;
    line-height: 1;
  }

  .has-menu__toggle:hover,
  .has-menu__toggle:focus-visible,
  .mega-col__toggle:hover,
  .mega-col__toggle:focus-visible {
    background: rgba(13, 90, 167, 0.08);
    color: var(--blue-2);
  }

  .has-menu__toggle .chevron,
  .mega-col__toggle .chevron {
    display: block;
    width: 14px;
    height: 14px;
    transition: transform 220ms ease;
  }

  .has-menu[data-expanded="true"] > .has-menu__row > .has-menu__toggle .chevron,
  .mega-col__group[data-expanded="true"] .mega-col__toggle .chevron {
    transform: rotate(180deg);
  }

  /* Top-level mega-menu collapse: hidden by default on mobile */
  .has-menu > .mega-menu {
    display: none;
  }

  .has-menu[data-expanded="true"] > .mega-menu {
    display: block;
    animation: nav-fade-in 200ms ease;
  }

  @keyframes nav-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Cleaner mobile mega-menu shell */
  .mega-menu {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4px 0 6px 16px;
    margin-left: 4px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .mega-menu--wide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mega-col {
    display: block;
    min-width: 0;
    padding: 0;
  }

  .mega-col + .mega-col {
    margin-top: 0;
  }

  .mega-menu a {
    min-height: 48px;
    padding: 0 12px;
    border-radius: 6px;
    border-bottom: 0;
    text-decoration: none;
  }

  .mega-col__head {
    padding: 0 12px !important;
    margin: 0 !important;
    border-bottom: 0 !important;
    color: var(--ink) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }

  .mega-col__head--sub {
    margin-top: 0 !important;
  }

  .mega-col__head:hover,
  .mega-col__head:focus-visible {
    background: rgba(13, 90, 167, 0.06) !important;
    color: var(--blue) !important;
    text-decoration: none;
  }

  .mega-col__group {
    display: block;
    padding: 0;
    margin: 0;
  }

  .mega-col__group + .mega-col__group {
    border-top: 0;
  }

  .mega-col__group-head {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 48px;
    margin: 0;
  }

  .mega-col__group-head .mega-col__head {
    flex: 1;
    min-width: 0;
    margin: 0;
  }

  .mega-col__group-items {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 220ms ease;
  }

  .mega-col__group[data-expanded="true"] .mega-col__group-items {
    grid-template-rows: 1fr;
  }

  .mega-col__group-items-inner {
    display: block;
    overflow: hidden;
    min-height: 0;
    padding: 0 0 0 14px;
    transition: padding 220ms ease;
  }

  .mega-col__group[data-expanded="true"] .mega-col__group-items-inner {
    padding: 2px 0 6px 14px;
  }

  .mega-col__group-items-inner a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
  }

  .mega-col__group-items-inner a:hover,
  .mega-col__group-items-inner a:focus-visible {
    background: rgba(13, 90, 167, 0.06);
    color: var(--blue);
  }

  .card-grid--four,
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .top-bar__inner {
    min-height: 36px;
    padding: 0;
    gap: 10px;
    font-size: 0.82rem;
  }

  .top-bar__inner span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-bar__inner a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    min-height: 540px;
    padding: 54px 0 60px;
  }

  .quick-tabs__grid,
  .split,
  .why-band__inner,
  .cta-band__inner,
  .mini-cta,
  .contact-layout,
  .services-layout,
  .problem-board,
  .trust-panel {
    grid-template-columns: 1fr;
  }

  .commercial-service-board {
    column-count: 1;
  }

  .quick-tabs a {
    min-height: auto;
    padding: 20px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .toc strong {
    grid-column: 1 / -1;
  }

  .toc a {
    display: flex;
    align-items: center;
    min-height: 42px;
    background: var(--soft);
  }

  .card-grid--three,
  .customer-grid,
  .quote-grid,
  .promise-grid,
  .feature-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-auto-rows: auto;
  }

  .problem-card,
  .audience-card {
    min-height: 0;
  }

  .audience-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  :root {
    --container: calc(100vw - 48px);
  }

  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    gap: 12px;
  }

  .primary-nav {
    top: calc(100% + 8px);
    max-height: calc(100vh - 150px);
  }

  .brand__logo {
    width: 108px;
    max-height: 42px;
  }

  .brand--footer .brand__logo {
    width: 104px;
    max-height: 40px;
  }

  .nav-shell > .button {
    display: none;
  }

  .top-bar__inner span {
    font-size: 0;
  }

  .top-bar__inner span::before {
    content: "24/7 Emergency Service";
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(1.82rem, 8.7vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.45rem);
  }

  .hero {
    min-height: auto;
    padding: 28px 0 30px;
  }

  .hero__lead {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .hero__actions {
    display: flex;
    gap: 10px;
  }

  .hero__actions .button {
    width: auto;
    flex: 1 1 145px;
  }

  .quick-tabs span {
    font-size: 0.86rem;
  }

  .quick-tabs strong {
    font-size: 0.98rem;
  }

  .hero__stats {
    display: none;
  }

  .hero__stats span {
    font-size: 0.86rem;
  }

  .feature-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .mini-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .mini-cta__phone {
    justify-content: center;
    min-height: 44px;
  }

  body.has-mobile-action {
    padding-bottom: 78px;
  }

  .mobile-action-bar {
    position: fixed;
    right: auto;
    bottom: 12px;
    left: 50%;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: min(calc(100vw - 24px), 420px);
    padding: 8px;
    border: 1px solid rgba(207, 219, 229, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(10, 31, 53, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 28px));
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(10px);
  }

  .mobile-action-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  body.nav-open .mobile-action-bar {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 28px));
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-action-bar__book {
    background: var(--yellow);
    color: var(--ink);
  }

  .mobile-action-bar__call {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue);
  }

  .page-hero .container,
  .hero__content {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .page-hero {
    padding: 54px 0;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.55rem);
  }

  .page-hero p {
    font-size: 1rem;
    width: min(100%, 320px);
  }

  .contact-form {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section--cards {
    padding: 42px 0;
  }

  .card-grid--four,
  .sitemap-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .problem-board {
    gap: 14px;
  }

  .problem-board__intro,
  .trust-panel__lead {
    padding: 22px;
  }

  .problem-board__intro h2,
  .trust-panel__lead h2 {
    font-size: clamp(1.55rem, 6.6vw, 2rem);
  }

  .problem-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .problem-card {
    padding: 14px 13px 13px;
  }

  .problem-card::before {
    width: 3px;
  }

  .problem-card span,
  .audience-card span {
    font-size: 0.68rem;
  }

  .problem-card span {
    margin-bottom: 7px;
  }

  .problem-card h3,
  .audience-card h3 {
    font-size: 1rem;
    line-height: 1.15;
  }

  .problem-card p,
  .audience-card p {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .service-group {
    margin-bottom: 14px;
  }

  .service-group > h3 {
    padding: 15px 18px;
  }

  .service-line {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 18px;
  }

  .service-line span {
    width: 28px;
    height: 28px;
    font-size: 0.68rem;
  }

  .service-line h4 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .service-line p {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .trust-stack article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .trust-stack span {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .trust-stack h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .trust-stack p {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .audience-panel {
    grid-template-columns: 1fr;
  }

  .audience-card {
    padding: 16px 18px;
  }

  .service-detail {
    padding: 22px 20px;
    border-top: 4px solid var(--yellow);
    border-left: 0;
  }

  .service-detail h2 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }

  .service-detail p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .pill-list {
    gap: 7px;
    margin-top: 16px;
  }

  .pill-list li {
    padding: 7px 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 360px) {
  .top-bar__inner {
    gap: 8px;
    font-size: 0.76rem;
  }

  .top-bar__inner span::before {
    content: "24/7 Emergency";
    font-size: 0.76rem;
  }

  .top-bar a {
    font-size: 0.76rem;
  }

  .brand__logo {
    width: 100px;
    max-height: 39px;
  }

  .toc {
    grid-template-columns: 1fr;
  }
}

@supports (bottom: max(0px)) {
  @media (max-width: 580px) {
    .mobile-action-bar {
      bottom: max(12px, env(safe-area-inset-bottom));
    }
  }
}
