/* Site header and footer, from the homepage mock (tasks/homepage-redesign/v09-firesystems.html).
   One copy for every page. The markup is stamped into each page by tasks/seo-pages/site-chrome/apply.py.
   The header is fixed and solid; pages already pad their first section to clear it. */

.sc-hdr, .sc-foot {
  --sc-blue: #075CAD; --sc-blue-d: #064A8A; --sc-navy: #1D3249; --sc-deep: #0B1726; --sc-bright: #2D8CFF;
  --sc-pale2: #F4F8FC; --sc-ink: #0F1E2E; --sc-muted: #4A5D73; --sc-line: #D3E0EE;
  --sc-wrap: 1240px; --sc-gut: clamp(16px, 4vw, 48px);
  font: 400 16px/1.6 'Archivo', sans-serif; letter-spacing: normal; text-transform: none; text-align: left;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.sc-hdr *, .sc-hdr *::before, .sc-hdr *::after, .sc-foot *, .sc-foot *::before, .sc-foot *::after { box-sizing: border-box; }
.sc-hdr :focus-visible, .sc-foot :focus-visible { outline: 2px solid var(--sc-bright); outline-offset: 2px; }

/* Anchors land below the header (its small height plus a little air) */
html { scroll-padding-top: 100px; }
html.sc-lock, html.sc-lock body { overflow: hidden; }

/* ---------- header ---------- */
.sc-hdr { --sc-h: 96px; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; margin: 0; padding: 0; background: var(--sc-deep); box-shadow: 0 10px 30px rgba(11, 23, 38, .3); color: #fff; }
.sc-hdr.is-small { --sc-h: 76px; }
.sc-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px; width: 100%; max-width: calc(var(--sc-wrap) + var(--sc-gut) * 2); height: var(--sc-h); margin: 0 auto; padding: 0 var(--sc-gut); transition: height .25s; }

.sc-logo { justify-self: center; display: block; line-height: 0; }
.sc-hdr .sc-logo img { display: block; width: auto; max-width: none; height: 54px; margin: 0; transition: height .25s; }
.sc-hdr.is-small .sc-logo img { height: 44px; }

.sc-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.sc-nav-l { justify-self: start; gap: 6px; }
.sc-nav-r { justify-self: end; }
.sc-nav > a, .sc-dd-btn { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 10px 13px; background: none; border: 0; border-radius: 0; box-shadow: none; color: #fff; font: 600 15px/1 'Archivo', sans-serif; letter-spacing: normal; text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .2s; }
.sc-nav > a:hover, .sc-dd-btn:hover, .sc-dd.is-open > .sc-dd-btn { color: #BFDAFF; }

.sc-nav > a.sc-phone { gap: 9px; margin-right: 8px; padding: 11px 16px; font-weight: 700; font-size: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); transition: color .2s, box-shadow .2s; }
.sc-nav > a.sc-phone:hover { box-shadow: inset 0 0 0 2px #fff; }
.sc-hdr svg.sc-ico { display: block; flex: none; width: 18px; height: 18px; max-width: none; fill: currentColor; }
.sc-phone .sc-ico { color: var(--sc-bright); }
.sc-hdr svg.sc-dn { display: block; flex: none; width: 12px; height: 12px; max-width: none; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

/* Schedule Now: the blue button with the cut corner */
.sc-hdr a.sc-book { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; background: var(--sc-blue); color: #fff; font: 800 14px/1 'Archivo', sans-serif; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background .2s; }
.sc-hdr a.sc-book:hover { background: var(--sc-blue-d); color: #fff; }
.sc-hdr a.sc-book:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.sc-nav-r > a.sc-book { margin-left: 12px; }

/* Dropdowns. Before the script runs they open on hover and focus; after, the script owns them (.is-open). */
.sc-dd { position: relative; }
.sc-menu { position: absolute; top: 100%; left: 0; z-index: 1; min-width: 250px; margin: 0; padding: 10px 0; background: #fff; border-top: 3px solid var(--sc-bright); box-shadow: 0 18px 40px rgba(11, 23, 38, .25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sc-hdr:not(.is-ready) .sc-dd:hover > .sc-menu, .sc-hdr:not(.is-ready) .sc-dd:focus-within > .sc-menu, .sc-dd.is-open > .sc-menu { opacity: 1; visibility: visible; transform: none; }
.sc-menu a { display: block; padding: 9px 20px; color: var(--sc-ink); font: 500 15px/1.6 'Archivo', sans-serif; text-decoration: none; white-space: nowrap; transition: none; }
.sc-menu a:hover, .sc-menu a:focus-visible { background: var(--sc-pale2); color: var(--sc-blue); }
.sc-menu a:focus-visible { outline-offset: -2px; }

/* Phone menu */
.sc-burger { display: none; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; margin: 0 0 0 auto; padding: 0; background: rgba(255, 255, 255, .1); border: 0; border-radius: 0; color: #fff; cursor: pointer; }
.sc-burger svg { display: block; width: 24px; height: 24px; max-width: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.sc-burger .sc-x, .sc-burger[aria-expanded="true"] .sc-bars { display: none; }
.sc-burger[aria-expanded="true"] .sc-x { display: block; }
.sc-mnav { display: none; }

@media (max-width: 1199px) {
  .sc-phone span { display: none; }
  .sc-nav > a, .sc-dd-btn { padding: 10px 8px; font-size: 14.5px; }
  .sc-nav > a.sc-phone { padding: 11px 13px; }
  .sc-hdr .sc-nav-r > a.sc-book { margin-left: 6px; padding: 0 15px; font-size: 13px; letter-spacing: .05em; }
  .sc-in { gap: 18px; }
  .sc-hdr .sc-logo img { height: 46px; }
  .sc-hdr.is-small .sc-logo img { height: 44px; }
}
@media (max-width: 1000px) {
  .sc-nav { display: none; }
  .sc-in { display: flex; }
  .sc-logo { margin-right: auto; }
  .sc-burger { display: inline-flex; }
  .sc-hdr.is-open .sc-mnav { display: block; position: fixed; top: var(--sc-h); left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 calc(32px + env(safe-area-inset-bottom)); background: #fff; color: var(--sc-ink); border-top: 3px solid var(--sc-bright); }
  .sc-mnav > a, .sc-mgrp-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; margin: 0; padding: 12px var(--sc-gut); background: none; border: 0; border-bottom: 1px solid #EEF3F8; border-radius: 0; color: var(--sc-ink); font: 600 17px/1.3 'Archivo', sans-serif; letter-spacing: normal; text-transform: none; text-align: left; text-decoration: none; cursor: pointer; }
  .sc-mnav > a:hover, .sc-mgrp-btn:hover { color: var(--sc-blue); }
  .sc-mgrp-btn .sc-dn { width: 14px; height: 14px; color: var(--sc-blue); transition: transform .2s; }
  .sc-mgrp-btn[aria-expanded="true"] .sc-dn { transform: rotate(180deg); }
  .sc-mgrp-list { display: none; padding: 6px 0; background: var(--sc-pale2); border-bottom: 1px solid #EEF3F8; }
  .sc-mgrp-btn[aria-expanded="true"] + .sc-mgrp-list { display: block; }
  .sc-mgrp-list a { display: flex; align-items: center; min-height: 44px; padding: 8px var(--sc-gut) 8px calc(var(--sc-gut) + 16px); color: var(--sc-ink); font: 500 16px/1.3 'Archivo', sans-serif; text-decoration: none; }
  .sc-mgrp-list a:hover { color: var(--sc-blue); }
  .sc-mnav > a.sc-mcall { justify-content: flex-start; gap: 10px; }
  .sc-mcall .sc-ico { color: var(--sc-blue); }
  .sc-hdr .sc-mnav > a.sc-book { display: flex; width: auto; min-height: 54px; margin: 22px var(--sc-gut) 0; padding: 0 26px; border: 0; color: #fff; }
}
@media (max-width: 760px) {
  .sc-hdr { --sc-h: 80px; }
  .sc-hdr.is-small { --sc-h: 66px; }
  .sc-hdr .sc-logo img { height: 36px; }
  .sc-hdr.is-small .sc-logo img { height: 32px; }
  html { scroll-padding-top: 84px; }
}

/* ---------- footer ---------- */
.sc-foot { margin: 0; padding: clamp(76px, 9vw, 124px) 0 36px; background: #fff; border-top: 1px solid var(--sc-line); color: var(--sc-ink); }
.sc-foot-in { width: 100%; max-width: calc(var(--sc-wrap) + var(--sc-gut) * 2); margin: 0 auto; padding: 0 var(--sc-gut); }
.sc-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.sc-foot .sc-foot-logo { display: block; width: auto; max-width: none; height: 64px; margin: -8px 0 18px -10px; }
.sc-foot a.sc-foot-tel { display: block; margin: 0 0 14px; color: var(--sc-navy); font: italic 900 30px/1 'Archivo', sans-serif; letter-spacing: normal; text-decoration: none; }
.sc-foot a.sc-foot-tel:hover { color: var(--sc-blue); }
.sc-foot a.sc-foot-line { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; color: var(--sc-ink); font-size: 15.5px; line-height: 1.45; text-decoration: none; }
.sc-foot a.sc-foot-line:hover { color: var(--sc-blue); }
.sc-foot a.sc-foot-line svg { display: block; flex: none; width: 15px; height: 18px; max-width: none; margin-top: 1px; fill: var(--sc-blue); }
.sc-foot p.sc-foot-hours { margin: 16px 0 0; color: var(--sc-muted); font-size: 15px; line-height: 1.6; }
.sc-foot .sc-foot-h { margin: 4px 0 18px; padding: 0; color: var(--sc-blue); font: 800 13px/1.3 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.sc-foot ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.sc-foot li { margin: 0; padding: 0; }
.sc-foot li::before, .sc-foot li::after { content: none; }
.sc-foot ul a { color: var(--sc-ink); font-size: 15.5px; line-height: 1.6; text-decoration: none; }
.sc-foot ul a:hover { color: var(--sc-blue); }
.sc-foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--sc-line); color: var(--sc-muted); font-size: 13.5px; line-height: 1.6; }
.sc-foot-legal { display: flex; gap: 22px; }
.sc-foot-legal a { color: var(--sc-muted); text-decoration: none; }
.sc-foot-legal a:hover { color: var(--sc-blue); }

.sc-foot .sc-foot-h .sc-chev { display: none; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) {
  .sc-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
  .sc-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .sc-foot-grid { grid-template-columns: minmax(0, 1fr); }
  .sc-foot-brand { grid-column: span 1; }
  .sc-foot a.sc-foot-tel, .sc-foot a.sc-foot-line, .sc-foot-legal a { position: relative; }
  .sc-foot a.sc-foot-tel::after, .sc-foot a.sc-foot-line::after, .sc-foot-legal a::after { content: ''; position: absolute; inset: -5px 0; }
  .sc-foot-bot { flex-direction: column; }
  /* phones: the link lists open on tap (site-chrome.js adds the chevron and the button role) */
  .sc-foot { padding-top: 48px; }
  .sc-foot-grid { gap: 0; }
  .sc-foot-brand { margin-bottom: 22px; }
  .sc-foot-grid > div:not(.sc-foot-brand) { border-top: 1px solid var(--sc-line); }
  .sc-foot .sc-foot-grid > div:not(.sc-foot-brand) .sc-foot-h { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 18px 0; cursor: pointer; }
  .sc-foot .sc-foot-h .sc-chev { display: block; width: 15px; height: 15px; transition: transform .2s; }
  .sc-foot-grid > div.is-open .sc-foot-h .sc-chev { transform: scaleY(-1); }
  .sc-foot-grid > div:not(.sc-foot-brand) ul { display: none; padding-bottom: 18px; }
  .sc-foot-grid > div.is-open ul { display: grid; }
  .sc-foot-bot { margin-top: 26px; }
}

/* ---------- swipe rows (phones) ----------
   A card list marked data-swipe becomes a sideways row with dots under it (site-chrome.js adds the dots).
   data-swipe: centered, both edges peek. data-swipe="start": lined up with the text, the next card peeks right.
   The row bleeds to the screen edges through --sw-gut (the page gutter, default --gut). Dots take --sw-dot. */
.sw-dots { display: none; }
/* a wrapper added only to make a swipe row (cards that share a container with headings): no box above 760px */
.sw-wrap { display: contents; }
@media (max-width: 760px) {
  [data-swipe] { --sw-g: var(--sw-gut, var(--gut, 16px)); --side: 26px; display: flex !important; gap: 10px !important; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; width: auto !important; max-width: none !important; margin-left: calc(var(--sw-g) * -1) !important; margin-right: calc(var(--sw-g) * -1) !important; margin-bottom: 0 !important; padding: 4px 0 28px var(--side) !important; align-items: stretch; grid-template-columns: none !important; }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe]::after { content: ''; flex: 0 0 calc(var(--side) - 10px); }
  [data-swipe] > * { flex: 0 0 calc(100% - var(--side)) !important; width: auto !important; min-width: 0; margin: 0 !important; scroll-snap-align: center; }
  [data-swipe="start"] { --side: var(--sw-g); scroll-padding-left: var(--sw-g); }
  [data-swipe="start"] > * { flex-basis: calc(100% - 44px) !important; scroll-snap-align: start; }
  .sw-dots { position: relative; z-index: 5; display: flex; justify-content: center; margin: -18px 0 18px; color: var(--sw-dot, #075CAD); }
  .sw-dots button { display: grid; place-items: center; width: 30px; height: 28px; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
  .sw-dots button::before { content: ''; width: 12px; height: 4px; background: currentColor; opacity: .3; transition: width .2s, opacity .2s; }
  .sw-dots button.on::before { width: 26px; opacity: 1; }
  /* rows of nine or more: narrower dots so the row stays well inside a 360 screen */
  .sw-dots:has(> button:nth-child(9)) button { width: 22px; }
  .sw-dots:has(> button:nth-child(9)) button::before { width: 8px; }
  .sw-dots:has(> button:nth-child(9)) button.on::before { width: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-in, .sc-hdr .sc-logo img, .sc-menu, .sc-mgrp-btn .sc-dn { transition: none; }
  .sc-foot .sc-foot-h .sc-chev, .sw-dots button::before { transition: none; }
}
