/* ============================================================
   Bay Geeks — shared site chrome (header + footer)
   ------------------------------------------------------------
   Lets a guide-template page (Inter + baygeeks-shared.css) carry
   the SAME header, primary nav and footer as the main pages.

   The main palette is scoped to the chrome elements on purpose —
   --line/--radius/--mono etc. also exist in baygeeks-shared.css
   with different values, so defining them on :root here would
   silently restyle the whole guide page body.

   Requires the Big Shoulders Display + IBM Plex Mono webfonts
   (see the <link> on any page that uses this file).
   ============================================================ */

header.site, footer, .skip-link{
  --harbor:#0E2A3B;
  --harbor-3:#20536E;
  --brass:#BD812F;
  --brass-light:#DDA24E;
  --radius:2px;
  --wrap:1180px;
  --display:'Big Shoulders Display', sans-serif;
  --mono:'IBM Plex Mono', ui-monospace, monospace;
}

header.site .wrap, footer .wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--brass); color:#fff; padding:10px 16px; z-index:200;
}
.skip-link:focus{ left:16px; top:16px; }

/* ---------- HEADER ---------- */
header.site{
  background:var(--harbor); color:#EDEFEA; position:sticky; top:0; z-index:100;
  border-bottom:3px solid var(--brass);
}
header.site .header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 24px; }
header.site .brand{ display:flex; flex-direction:column; gap:1px; text-decoration:none; color:#fff; }
header.site nav.primary{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
header.site nav.primary a{ text-decoration:none; font-size:14px; font-weight:500; color:#DDE4DE; border-bottom:2px solid transparent; padding:4px 0; }
header.site nav.primary a:hover, header.site nav.primary a[aria-current="page"]{ border-color:var(--brass); color:#fff; }
header.site .header-cta{ display:flex; align-items:center; gap:14px; }
header.site .phone-link{ font-family:var(--mono); font-weight:600; font-size:15px; text-decoration:none; color:#fff; white-space:nowrap; }
header.site .phone-link small{ display:block; font-size:9.5px; letter-spacing:.1em; color:var(--brass-light); font-weight:600; }

header.site .btn{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-weight:600; font-size:13px;
  letter-spacing:.04em; text-transform:uppercase; text-decoration:none; padding:11px 18px; border-radius:var(--radius);
  border:2px solid transparent; cursor:pointer; white-space:nowrap;
}
header.site .btn-brass{ background:var(--brass); color:#1A1206; }
header.site .btn-brass:hover{ background:var(--brass-light); }
header.site .btn-outline{ background:transparent; border-color:rgba(255,255,255,.4); color:#fff; }
header.site .btn-outline:hover{ border-color:#fff; }

header.site .bg-logo-badge{display:inline-flex;align-items:center;justify-content:center;background:#DDA24E;border-radius:10px;padding:3px 7px;box-shadow:0 1px 3px rgba(0,0,0,.18);line-height:0;}
header.site .bg-logo-badge img{display:block;height:44px;width:auto;}
header.site .bg-logo-stack{display:flex;flex-direction:column;align-items:center;gap:3px;}
header.site .bg-logo-tagline{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:inherit;opacity:.85;white-space:nowrap;font-weight:600;}

/* ---------- FOOTER ---------- */
footer{ background:#0A1D29; color:#9FB0A6; padding:56px 0 26px; font-size:14px; }
footer .foot-grid{ display:grid; grid-template-columns:1.15fr 1fr 1fr 1fr 1fr; gap:28px; margin-bottom:40px; }
footer .foot-brand strong{ font-family:var(--display); font-size:24px; color:#fff; display:block; margin-bottom:8px;}
footer .foot-col h4{ font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-light); margin-bottom:14px; }
footer .foot-col ul{ display:grid; gap:9px; list-style:none; margin:0; padding:0; }
footer .foot-col a{ text-decoration:none; color:#B8C6BD; font-size:13.5px; }
footer .foot-col a:hover{ color:#fff; }
footer .foot-bottom{ border-top:1px solid #1B3245; padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; color:#728479; }
footer p{ margin:0 0 1em; }

@media (max-width:980px){
  header.site nav.primary{ display:none; }
  footer .foot-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  header.site .bg-logo-badge img{height:36px;}
  header.site .bg-logo-tagline{font-size:9px;}
}
@media (max-width:560px){
  /* same mobile overflow fix the main pages carry */
  header.site .header-inner{ gap:12px; padding:10px 16px; }
  header.site .bg-logo-tagline{ display:none; }
  header.site .header-cta{ gap:10px; }
  /* Schedule Service is the conversion CTA on a phone; only two buttons fit
     beside the logo at 375px. Open Ticket stays reachable in the footer. */
  header.site .header-cta .btn-brass{ display:none; }
  header.site .phone-link{ white-space:nowrap; margin-right:auto; }
  footer .foot-grid{ grid-template-columns:1fr; }
}
