/* SWITCHGEAR / BUILDER CA
   A lightweight, mobile-first industrial design system. */
:root {
  color-scheme: light;
  --ink: #182126;
  --ink-deep: #11191e;
  --ink-soft: #303e45;
  --steel: #4d6877;
  --steel-dark: #354d59;
  --orange: #f6a800;
  --orange-bright: #ffb313;
  --paper: #ffffff;
  --mist: #f1f3f2;
  --line: #d7dddc;
  --muted: #56666c;
  --max: 1440px;
  --gutter: clamp(1.25rem, 4.4vw, 4.5rem);
  --section-space: clamp(4.25rem, 7.7vw, 8rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--orange); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #e58b00; outline-offset: 4px; }
::selection { background: var(--orange); color: var(--ink-deep); }
[id] { scroll-margin-top: 1.5rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap, .utility-inner, .header-inner, .trust-inner, .footer-inner, .footer-bottom { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }

/* A narrow dark utility rail and a clean, robust navigation bar. */
.utility-bar { background: var(--ink-deep); color: #d6dedd; font-size: .68rem; font-weight: 700; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.utility-inner a { color: #fff; text-decoration: none; }
.utility-inner a:hover { color: var(--orange-bright); }
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink-deep); text-decoration: none; flex: 0 0 auto; }
.brand-mark { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: var(--orange); color: var(--ink-deep); font-weight: 900; font-size: 1.15rem; line-height: 1; }
.brand-text { display: flex; flex-direction: column; color: var(--ink-deep); font-size: .83rem; font-weight: 900; letter-spacing: .045em; line-height: 1.12; text-transform: uppercase; }
.brand-text span, .brand-text small { display: block; font-size: .7em; letter-spacing: .16em; line-height: 1.45; }
.primary-nav { order: 3; flex: 0 0 100%; display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.7rem); min-width: 0; min-height: 43px; margin-top: -.15rem; overflow-x: auto; scrollbar-width: thin; border-top: 1px solid #edf0ef; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 43px; flex: 0 0 auto; color: #26363d; font-size: .76rem; font-weight: 750; letter-spacing: .025em; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #a65a00; }
.header-call { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-deep); font-size: .78rem; font-weight: 800; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.header-call:hover { color: #9b5b00; }

/* Photography is supplied locally by each page; the overlay ensures readable type. */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 500px; overflow: hidden; background: #293b44; color: #fff; }
.hero--home { min-height: 610px; }
.hero-bg, .hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-bg { z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(10, 18, 22, .94) 0%, rgba(13, 23, 28, .84) 40%, rgba(15, 27, 32, .45) 100%), linear-gradient(0deg, rgba(12, 22, 27, .45), transparent 40%); }
.hero-content { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; padding-block: 5.5rem 4.5rem; }
.hero-content > * { max-width: 800px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.35rem; color: #a65a00; font-size: .7rem; font-weight: 850; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
.eyebrow { color: #ffc147; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 25px; height: 3px; flex: 0 0 25px; background: var(--orange); }
.hero h1 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(2.8rem, 7.2vw, 6.8rem); font-weight: 850; letter-spacing: -.055em; line-height: .98; overflow-wrap: anywhere; }
.hero:not(.hero--home) h1 { max-width: 900px; font-size: clamp(2.65rem, 6.1vw, 5.5rem); }
.hero-deck { max-width: 39rem; margin: 1.5rem 0 0; color: #edf1f0; font-size: clamp(1.05rem, 1.5vw, 1.27rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 54px; padding: .9rem 1.4rem; border: 1px solid transparent; border-radius: 0; font-size: .78rem; font-weight: 850; letter-spacing: .045em; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn--primary { background: var(--orange); border-color: var(--orange); color: var(--ink-deep); }
.btn--primary:hover { background: var(--orange-bright); border-color: var(--orange-bright); color: var(--ink-deep); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--ink-deep); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.3rem; margin-top: 3.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.3); color: #e2e9e8; font-size: .67rem; font-weight: 750; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.hero-meta > * { max-width: 100%; }
.hero-disclaimer { margin: 1rem 0 0; color: #e2e9e8; font-size: .75rem; line-height: 1.45; }

/* Trust strip: crisp ruled dividers echo equipment schedule drawings. */
.trust-bar { background: var(--ink-deep); color: #fff; border-top: 3px solid var(--orange); }
.trust-inner { display: grid; grid-template-columns: 1fr; }
.trust-item { display: flex; align-items: center; gap: 1rem; min-height: 76px; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .79rem; font-weight: 800; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.trust-item:last-child { border-bottom: 0; }
.trust-item small, .trust-item span:not(.trust-icon) { line-height: 1.45; }
.trust-item small { display: block; margin-top: .2rem; color: #bcc9c8; font-size: .69rem; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.trust-icon { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; border: 1px solid rgba(246,168,0,.65); color: var(--orange-bright); font-size: 1rem; font-weight: 800; }

/* Sections, long-form editorial copy and specification-oriented grids. */
.section { padding-block: var(--section-space); }
.section--muted { background: var(--mist); }
.split, .page-grid { display: grid; gap: 3rem; }
.display-title, .section-head h2, .content-main h2, .closing-cta h2 { margin: 0; font-size: clamp(2.05rem, 4vw, 4.25rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.07; }
.lead { margin: 1.5rem 0 0; color: #33454d; font-size: clamp(1.12rem, 1.5vw, 1.35rem); font-weight: 500; line-height: 1.65; }
.prose, .content-main { min-width: 0; color: #34444a; font-size: 1rem; line-height: 1.8; }
.prose > :first-child, .content-main > :first-child { margin-top: 0; }
.prose p, .content-main p { margin: 0 0 1.25rem; }
.prose h2, .content-main h2 { margin: 2.8rem 0 1.1rem; color: var(--ink-deep); font-size: clamp(1.8rem, 2.6vw, 2.75rem); line-height: 1.1; }
.prose h3, .content-main h3 { margin: 2rem 0 .65rem; color: var(--ink-deep); font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
.prose ul, .prose ol, .content-main ul, .content-main ol { padding-left: 1.3rem; margin: 0 0 1.6rem; }
.prose li, .content-main li { padding-left: .2rem; margin: .45rem 0; }
.prose li::marker, .content-main li::marker { color: #b96c00; }
.prose a, .content-main a { color: #294f62; font-weight: 700; }
.content-side { min-width: 0; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; }
.section-head .section-kicker { margin-bottom: .5rem; }
.section-head p:not(.section-kicker) { max-width: 35rem; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.cards { display: grid; grid-template-columns: 1fr; border-top: 1px solid #bdc8c8; }
.feature-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 250px; padding: 1.8rem 0; border-bottom: 1px solid #bdc8c8; }
.card-number { display: block; margin-bottom: 1.35rem; color: #916000; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.25rem; border: 1px solid #8d9da2; color: var(--steel-dark); }
.feature-card h3 { margin: 0 0 .8rem; color: var(--ink-deep); font-size: clamp(1.3rem, 1.5vw, 1.55rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.18; }
.feature-card p { max-width: 33rem; margin: 0 0 1.5rem; color: #536269; font-size: .95rem; line-height: 1.65; }
.feature-link, .related-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; color: var(--ink-deep); font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.feature-link::after, .related-link::after { content: "↗"; margin-left: .65rem; color: #ad6900; font-size: 1rem; }
.feature-link:hover, .related-link:hover { color: #9a5b00; }
.image-panel { position: relative; margin: 0; overflow: hidden; background: #c9d0d0; }
.image-panel img { width: 100%; min-height: 280px; max-height: 620px; object-fit: cover; }
.image-caption { padding: .8rem 1rem; background: var(--ink-deep); color: #e7eeec; font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.data-table { display: block; width: 100%; margin: 2rem 0; overflow-x: auto; border-collapse: collapse; color: #2f4047; font-size: .92rem; text-align: left; -webkit-overflow-scrolling: touch; }
.data-table thead { background: var(--ink-deep); color: #fff; }
.data-table th, .data-table td { min-width: 140px; padding: .9rem 1rem; border-bottom: 1px solid #cfd7d6; text-align: left; vertical-align: top; }
.data-table th { font-size: .7rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.data-table tbody tr:nth-child(even) { background: #f3f5f4; }
.data-table tbody th { color: var(--ink-deep); }
.related { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 2px solid var(--ink-deep); }
.related h2, .related h3 { margin: 0 0 .5rem; color: var(--ink-deep); font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; }
.related-link { margin-right: 1.5rem; border-bottom: 1px solid var(--line); }

/* Quote module: every control stays visible and touch-friendly without scripts. */
.quote-card { position: relative; z-index: 21; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--ink-deep); border-top: 5px solid var(--orange); color: #fff; }
.quote-card h2, .quote-card h3 { margin: 0 0 .75rem; color: #fff; font-size: clamp(1.65rem, 2.4vw, 2.2rem); font-weight: 850; letter-spacing: -.04em; line-height: 1.08; }
.quote-card p { margin: 0 0 1.3rem; color: #d5dfdd; font-size: .9rem; line-height: 1.55; }
.quote-card .section-kicker, .quote-card .eyebrow { color: #ffc147; }
.quote-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .38rem; min-width: 0; }
.field label, .quote-form label { color: #f5f7f6; font-size: .69rem; font-weight: 800; letter-spacing: .075em; line-height: 1.3; text-transform: uppercase; }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; min-width: 0; min-height: 47px; padding: .75rem .8rem; border: 1px solid #aab9bb; border-radius: 0; background: #fff; color: #172126; font-size: 1rem; line-height: 1.35; }
.quote-form textarea { min-height: 105px; resize: vertical; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #68767a; opacity: 1; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--orange); outline: 2px solid var(--orange); outline-offset: 1px; }
.quote-form button, .quote-form .btn { width: 100%; min-height: 53px; }
.quote-form button:not(.btn) { border: 1px solid var(--orange); border-radius: 0; background: var(--orange); color: var(--ink-deep); font-size: .78rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.quote-form button:not(.btn):hover { background: var(--orange-bright); }
.form-note, .quote-card .form-note { margin: 0; color: #c8d3d1; font-size: .75rem; line-height: 1.5; }

/* Final callout and utility footer. */
.closing-cta { padding-block: clamp(3.5rem, 6vw, 6rem); background: var(--orange); color: var(--ink-deep); }
.closing-cta .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.closing-cta h2 { max-width: 52rem; color: var(--ink-deep); }
.closing-cta p { max-width: 40rem; margin: .8rem 0 0; color: #26343a; font-size: 1.05rem; line-height: 1.6; }
.closing-cta .btn { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.closing-cta .btn:hover { background: #344950; border-color: #344950; color: #fff; }
.footer { background: #11191e; color: #d3dddb; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; padding-block: 4rem; }
.footer-brand { grid-column: 1 / -1; max-width: 25rem; }
.footer-brand .brand, .footer-brand .brand-text { color: #fff; }
.footer-brand p { max-width: 26rem; margin: 1.35rem 0 0; color: #b9c5c4; font-size: .9rem; line-height: 1.7; }
.footer-col h2, .footer-col h3, .footer-col h4 { margin: 0 0 1rem; color: #fff; font-size: .7rem; font-weight: 850; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: .6rem 0; color: #d3dddb; font-size: .88rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--orange-bright); }
.footer-col p { margin: .6rem 0; color: #d3dddb; font-size: .88rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1.5rem; padding-block: 1.4rem 6rem; border-top: 1px solid #435056; color: #aebdba; font-size: .7rem; line-height: 1.5; }
.footer-bottom a { color: inherit; }
.floating-quote, .mobile-call { position: fixed; z-index: 20; bottom: max(1rem, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.05rem; box-shadow: 0 5px 20px rgba(0,0,0,.22); font-size: .72rem; font-weight: 850; letter-spacing: .04em; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; }
.floating-quote { right: 1rem; background: var(--orange); color: var(--ink-deep); }
.floating-quote:hover { background: var(--orange-bright); color: var(--ink-deep); }
.mobile-call { left: 1rem; background: var(--ink-deep); border: 1px solid #a8b6b7; color: #fff; }
.mobile-call:hover { background: var(--steel-dark); color: #fff; }

/* Keep the quote card above the floating link during manual scrolling. Hide
   the link only while a form control is focused so it returns afterward. */
@supports selector(body:has(#quote:target)) {
  body:has(.quote-form:focus-within) .floating-quote { visibility: hidden; }
}

@media (min-width: 600px) {
  .trust-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-item { min-height: 96px; padding: 1.1rem 1.25rem; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.15); }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { padding-right: 0; border-right: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { padding: 2rem; border-right: 1px solid #bdc8c8; }
  .feature-card:nth-child(2n+1) { padding-left: 0; }
  .feature-card:nth-child(2n) { border-right: 0; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .full, .field.full { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .header-inner { min-height: 84px; flex-wrap: nowrap; }
  .primary-nav { order: initial; flex: 0 1 auto; min-height: 84px; margin: 0 auto; border: 0; overflow: visible; }
  .primary-nav a { min-height: 84px; }
  .header-call { margin-left: 1rem; font-size: .87rem; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .page-grid { grid-template-columns: minmax(0, 1.8fr) minmax(310px, 1fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: start; }
  .section-head { flex-direction: row; justify-content: space-between; align-items: end; gap: 3rem; }
  .section-head > * { max-width: 50%; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-card:nth-child(n) { padding: 2.25rem; border-right: 1px solid #bdc8c8; }
  .feature-card:nth-child(3n+1) { padding-left: 0; }
  .feature-card:nth-child(3n) { padding-right: 0; border-right: 0; }
  .closing-cta .wrap { flex-direction: row; align-items: end; justify-content: space-between; }
  .closing-cta .btn { flex: 0 0 auto; }
  .footer-inner { grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(120px, 1fr)); gap: 3rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding-bottom: 1.4rem; }
  .mobile-call { display: none; }
}
@media (max-width: 599px) {
  .utility-inner { flex-wrap: wrap; padding-block: .4rem; }
  .hero--home { min-height: 570px; }
  .hero-content { padding-block: 4.5rem 3.75rem; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10,18,22,.93), rgba(10,18,22,.65)), linear-gradient(0deg, rgba(10,18,22,.45), transparent); }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .hero-meta { margin-top: 2.5rem; }
  .trust-item { min-height: 65px; }
  .floating-quote, .mobile-call { bottom: max(.75rem, env(safe-area-inset-bottom)); }
  .floating-quote { right: .75rem; }
  .mobile-call { left: .75rem; }
}
@media (max-width: 360px) {
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-text { font-size: .72rem; }
  .header-call { font-size: .7rem; }
  .floating-quote, .mobile-call { font-size: .65rem; padding-inline: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Renderer-specific refinements. */
.hero-bg { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 3px; align-content: center; justify-content: center; }
.brand-mark span { width: 7px; height: 7px; background: var(--ink-deep); }
.brand-text strong { font-size: .7em; letter-spacing: .16em; line-height: 1.45; }
.header-call { flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.2; }
.header-call small { font-size: .58rem; letter-spacing: .08em; color: var(--muted); }
.header-call a { text-decoration: none; }
.image-caption a { color: #fff; }
.related-link { display: flex; justify-content: space-between; gap: 1rem; max-width: 34rem; padding-block: .75rem; }
.related-link::after { content: none; }
.footer-col > strong { display: block; color: #fff; font-size: .7rem; letter-spacing: .12em; line-height: 1.3; }
@media (min-width: 600px) { .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .trust-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1050px) { .header-quote { display: none; } }

/* American commercial palette: append after the existing site.css.
   This block changes presentation only; existing layout, markup, photos,
   responsive breakpoints, form behavior and floating-quote visibility remain. */
:root {
  --usa-navy: #0b2545;
  --usa-red: #b31942;
  --usa-red-hover: #8e1233;
  --usa-white: #ffffff;
  --usa-pale: #f2f6fa;
  --usa-light-text: #d8e4f0;
  --ink: #0b2545;
  --ink-deep: #0b2545;
  --ink-soft: #264463;
  --steel: #4b647c;
  --steel-dark: #264463;
  /* Keep legacy custom-property consumers, but eliminate orange/yellow. */
  --orange: #b31942;
  --orange-bright: #8e1233;
  --paper: #ffffff;
  --mist: #ffffff;
  --line: #d7e1eb;
  --muted: #435b70;
}

body, .section, .section--muted { background-color: var(--usa-white); }
body { color: var(--usa-navy); }
::selection { background: var(--usa-red); color: var(--usa-white); }
a:hover { text-decoration-color: var(--usa-red); }

/* Two-tone focus ring remains visible on both navy and white surfaces. */
:focus-visible {
  outline: 2px solid var(--usa-white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--usa-navy);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--usa-red);
  outline: 2px solid var(--usa-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--usa-navy);
}

/* Navy masthead; retain the existing four-square identity and navigation. */
.utility-bar, .site-header, .footer { background: var(--usa-navy); }
.utility-bar { color: var(--usa-light-text); }
.site-header { border-bottom-color: #36516d; }
.brand, .brand-text, .footer-brand .brand, .footer-brand .brand-text { color: var(--usa-white); }
.brand-mark { background: var(--usa-white); color: var(--usa-red); }
.brand-mark span { background: var(--usa-red); }
.primary-nav { border-top-color: #36516d; }
.primary-nav a { color: var(--usa-white); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--usa-white);
  text-decoration: underline;
  text-decoration-color: var(--usa-red);
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}
.primary-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--usa-white);
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}
.header-call { color: var(--usa-white); }
.header-call:hover { color: var(--usa-red-hover); }
.header-call small { color: var(--usa-light-text); }
.utility-inner a:hover, .footer-col a:hover, .footer-bottom a:hover {
  color: var(--usa-white);
  text-decoration: underline;
  text-decoration-color: var(--usa-red);
}

/* Red phone numbers never sit directly on navy. Secondary telephone CTAs
   already have white type on red and are covered with the other buttons. */
.utility-inner a[href^="tel:"],
.header-call a[href^="tel:"],
.footer-col a[href^="tel:"],
.quote-card a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .25rem .5rem;
  background: var(--usa-white);
  color: var(--usa-red);
  text-decoration: none;
}
.header-call a[href^="tel:"], .footer-col a[href^="tel:"] { min-height: 44px; }
.utility-inner a[href^="tel:"]:hover,
.header-call a[href^="tel:"]:hover,
.footer-col a[href^="tel:"]:hover,
.quote-card a[href^="tel:"]:hover {
  background: var(--usa-pale);
  color: var(--usa-red-hover);
  text-decoration: underline;
  text-decoration-color: currentColor;
}

/* Navy overlay protects white type across the varied photographs; do not
   replace images, dimensions, object-fit: cover, or responsive crop rules. */
.hero { background-color: var(--usa-navy); }
.hero-overlay {
  background: linear-gradient(90deg, rgba(11,37,69,.96) 0%, rgba(11,37,69,.90) 52%, rgba(11,37,69,.76) 100%);
}
@media (max-width: 599px) {
  .hero-overlay {
    background: linear-gradient(90deg, rgba(11,37,69,.96) 0%, rgba(11,37,69,.86) 100%);
  }
}
.hero h1, .hero .eyebrow { color: var(--usa-white); }
.hero-deck, .hero-meta, .hero-disclaimer { color: var(--usa-white); }

/* Thin red/white/navy rules: no additional or decorative markup. */
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--usa-red) 0 2px, var(--usa-white) 2px 4px, var(--usa-navy) 4px 6px);
}
.section-head, .prose > h2, .related > h2, .closing-cta h2, .display-title {
  padding-bottom: 1rem;
  background-image: linear-gradient(to bottom, var(--usa-red) 0 2px, var(--usa-white) 2px 4px, var(--usa-navy) 4px 6px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: min(9rem, 100%) 6px;
}

/* Replace literal amber rules as well as legacy variable-based accents. */
.eyebrow, .section-kicker, .card-number { color: var(--usa-red); }
.hero .eyebrow, .quote-card .section-kicker, .quote-card .eyebrow { color: var(--usa-white); }
.eyebrow::before, .section-kicker::before { background: var(--usa-red); }
.hero .eyebrow::before, .quote-card .section-kicker::before, .quote-card .eyebrow::before { background: var(--usa-white); }
.prose li::marker, .content-main li::marker { color: var(--usa-red); }
.feature-link::after, .related-link::after, .related-link > span[aria-hidden="true"] { color: var(--usa-red); }
.feature-link:hover, .related-link:hover { color: var(--usa-red-hover); }
.trust-bar { background: var(--usa-navy); border-top-color: var(--usa-navy); }
.trust-icon { border-color: #afc3d7; color: var(--usa-white); }
.trust-item small { color: var(--usa-light-text); }

/* Every existing button variant uses white type on red, with darker hover. */
.btn--primary, .btn--outline, .quote-form button:not(.btn),
.closing-cta .btn, .floating-quote, .mobile-call {
  background: var(--usa-red);
  border-color: var(--usa-red);
  color: var(--usa-white);
}
.btn--primary:hover, .btn--outline:hover, .quote-form button:not(.btn):hover,
.closing-cta .btn:hover, .floating-quote:hover, .mobile-call:hover {
  background: var(--usa-red-hover);
  border-color: var(--usa-red-hover);
  color: var(--usa-white);
}

.quote-card { background: var(--usa-navy); border-top-color: var(--usa-red); }
.closing-cta { background: var(--usa-white); color: var(--usa-navy); border-top: 1px solid var(--line); }
.closing-cta h2 { color: var(--usa-navy); }
.closing-cta p { color: #264463; }
.footer { color: var(--usa-light-text); }
.footer-brand p, .footer-col p, .footer-col a, .footer-bottom { color: var(--usa-light-text); }
.footer-bottom { border-top-color: #516982; }
