/* Ivan's Pro Painting, shared chrome (header, menu, footer, mobile bar) for every page.
   Same Modernist system as fw.css (Archivo, square corners, hairline rules, navy + deep red).
   Every rule is scoped to the chrome so page content keeps its own styles. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/archivo-latin.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 800 900; font-display: swap; src: url(/fonts/archivo-italic-latin.woff2) format("woff2"); }
:root {
  --ink: #0b1e35; --ink-2: #0f2440; --ink-3: #163256; --ink-deep: #061524; --foot: #071627;
  --paper: #fff; --paper-2: #f2f6fb; --paper-3: #eef3fa; --line: #d7e0ec;
  --text-dark: #0b1e35; --muted-dark: #4a5567; --muted-light: #b9c6d8;
  --red: #9e1b1b; --red-hover: #7a1414; --red-active: #5e0f0f; --accent-dark: #e0938c; --blue-mid: #1f5fa8; --blue-pale: #8fb8e8; --gold: #d8a657;
  --rule-ink: rgba(255,255,255,.12); --rule-ink-2: rgba(255,255,255,.22);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 64px; --pad: clamp(24px, 3.4vw, 48px); --mbar: 0px;
}
@media (max-width: 759px) { :root { --pad: 16px; --mbar: 66px; --hdr: 60px; } }
html { scroll-padding-top: calc(var(--hdr) + 8px); }
body.fw-inner { padding-top: var(--hdr); }

.skip { position: fixed; left: 8px; top: -80px; z-index: 70; padding: 12px 16px; background: var(--red); color: #fff; font: 800 15px/1 var(--font); text-decoration: none; }
.skip:focus { top: 8px; color: #fff; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 45; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

.site-header, .menu, .site-footer, .mobile-bar { font-family: var(--font); }
.site-header .btn, .menu .btn, .mobile-bar .btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 2px solid transparent; border-radius: 0;
  font: 800 15px/1.1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: none; transition: background .2s, border-color .2s, color .2s;
}
.site-header .btn-primary, .menu .btn-primary, .mobile-bar .btn-primary { background: var(--red); color: #fff; }
.site-header .btn-primary:hover, .menu .btn-primary:hover, .mobile-bar .btn-primary:hover { background: var(--red-hover); color: #fff; }
.mobile-bar .btn-line { border-color: var(--rule-ink-2); color: #fff; background: transparent; }
.site-header .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; color: var(--text-dark); cursor: pointer; }
.site-header .btn-icon:hover { color: var(--blue-mid); }
.site-header .tel-link { font-weight: 700; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; text-decoration: none; color: var(--text-dark); }
.site-header .tel-link:hover { color: var(--blue-mid); }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: #fff; color: var(--text-dark); }
.site-header .left { display: flex; align-items: center; margin-left: -10px; }
.site-header .logo { display: block; }
.site-header .logo img { display: block; height: 34px; width: auto; }
.site-header .right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.site-header .hdr-call-icon { display: none; }
@media (min-width: 760px) and (max-width: 959px) {
  .site-header .right { gap: 12px; } .site-header .tel-link { font-size: 14px; } .site-header .right .btn-primary { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 759px) {
  .site-header .logo img { height: 28px; }
  .site-header .right .tel-link, .site-header .right .btn-primary { display: none; }
  .site-header .hdr-call-icon { display: inline-flex; margin-right: -10px; }
}

.menu { position: fixed; top: var(--hdr); left: 0; right: 0; z-index: 41; max-height: calc(100vh - var(--hdr)); overflow: auto; background: #fff; color: var(--text-dark); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(11,30,53,.12); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1160px; margin: 0 auto; padding: 8px var(--pad) 24px; gap: 0 32px; }
.menu-grid > div { display: grid; align-content: start; }
.menu-h { font: 700 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-mid); padding: 20px 0 12px; border-bottom: 1px solid var(--line); }
.menu a { padding: 14px 0; font-weight: 800; font-size: 18px; text-decoration: none; color: var(--text-dark); border-bottom: 1px solid var(--line); }
.menu a:hover { color: var(--blue-mid); }
.menu a.btn { margin-top: 20px; justify-content: center; color: #fff; border-bottom: 2px solid transparent; }
@media (max-width: 759px) { .menu-grid { grid-template-columns: 1fr; padding-bottom: calc(var(--mbar) + 16px); } .menu a { font-size: 17px; padding: 13px 0; } }

.mobile-bar { display: none; }
@media (max-width: 759px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 42; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ink-deep); border-top: 1px solid var(--rule-ink); transition: transform .25s ease; }
  .mobile-bar .btn { justify-content: center; }
  body.mc-hide .mobile-bar { transform: translateY(110%); }
}

.site-footer { position: relative; background: var(--foot); color: #9aa9bd; padding: clamp(56px, 7vw, 96px) var(--pad) calc(var(--mbar) + 32px); display: grid; gap: 40px; margin: 0; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; max-width: 1240px; width: 100%; margin: 0 auto; }
.site-footer .foot-grid > div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.site-footer img.logo { height: 44px; width: auto; }
.site-footer .blurb { color: #9aa9bd; max-width: 300px; line-height: 1.5; margin: 0; }
.site-footer .h { font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.10); }
.site-footer a { text-decoration: none; color: #ccd7e5; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); font-size: 13px; color: #9aa9bd; max-width: 1240px; width: 100%; margin: 0 auto; }
/* trust row: 3 fixed columns, so the 3 text credentials make one row and the 3 logo tiles the next, at every width */
.site-footer .trustrow-foot { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px 10px; max-width: 360px; }
.site-footer .trustrow-foot li { display: flex; flex-direction: column; min-width: 0; }
/* desktop: the brand column is only 224-288px, too narrow for 3 text credentials on one line (~290px), so 2 per row; logos stay 3 across */
.site-footer .trustrow-foot li:not(.trust-badge) + li.trust-badge { grid-column-start: 1; } /* logos always start their own row */
@media (min-width: 1100px) { .site-footer .trustrow-foot { grid-template-columns: repeat(6, minmax(0, 1fr)); } .site-footer .trustrow-foot li { grid-column: span 3; } .site-footer .trustrow-foot li.trust-badge { grid-column: span 2; } .site-footer .trustrow-foot li:not(.trust-badge) + li.trust-badge { grid-column: 1 / span 2; } }
.site-footer .trustrow-foot b { color: #fff; font-size: 13px; }
.site-footer .trustrow-foot span { color: #9aa9bd; font-size: 12px; }
.site-footer .trust-badge { box-sizing: border-box; height: 52px; background: #fff; padding: 6px 8px; border-radius: 6px; justify-content: center; align-items: center; }
.site-footer .trust-badge a { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.site-footer .trust-badge img { display: block; width: auto; height: auto; max-width: 100%; max-height: 34px; }
.site-footer .trust-badge img.tb-tall { max-height: 40px; }
@media (max-width: 1099px) { .site-footer .foot-grid { grid-template-columns: repeat(3, 1fr); } .site-footer .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } .site-footer .foot-nap { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }
.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; }
