/* =========================================================
FOOTER (clean, minimal, y.co-ish) — LIGHT MODE (still wow)
- Keeps the same structure, just flips the palette:
  white / soft-ink base + “gold + ice-blue” glow accents.
========================================================= */

/* Optional: light-mode tokens for this footer only */
:root{
  --ft-bg: rgba(255,255,255,0.92);
  --ft-ink: rgba(11,15,23,0.92);
  --ft-muted: rgba(11,15,23,0.68);
  --ft-faint: rgba(11,15,23,0.52);
  --ft-line: rgba(11,15,23,0.12);
  --ft-card: rgba(255,255,255,0.74);

  --ft-gold: rgba(205, 154, 38,0.95);   /* CA9A28 */
  --ft-blue: rgba(44, 58, 80,0.90);     /* 0F3954 (navy) */
  --ft-sky: rgba(138,211,255,0.22);   /* icy accent */
}

/* Footer wrapper */
.site-footer{
  padding: 36px 0 22px;

  /* Light base + layered glows (gold + sky) */
  background:
    radial-gradient(1000px 420px at 16% 0%,
      rgba(205, 154, 38,0.18),
      transparent 68%),
    radial-gradient(980px 420px at 92% 8%,
      rgba(138,211,255,0.22),
      transparent 66%),
    radial-gradient(1200px 540px at 50% 110%,
      rgba(44, 58, 80,0.08),
      transparent 60%),
    var(--ft-bg);

  border-top: 1px solid var(--ft-line);

  /* Glassy lift without going “gray” */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* Subtle depth so it still feels premium */
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.7) inset,
    0 -18px 60px rgba(11,15,23,0.06);
}

/* Main footer grid container */
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 18px;
  padding: 18px;

  border: 1px solid rgba(11,15,23,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.66));
  border-radius: 22px;

  /* “Sexy” light-mode shadow stack */
  box-shadow:
    0 26px 80px rgba(11,15,23,0.12),
    0 10px 26px rgba(11,15,23,0.08),
    0 1px 0 rgba(255,255,255,0.85) inset;

  position: relative;
  overflow: hidden;
}

/* Soft internal sheen/glow (keeps wow factor) */
.footer-grid::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background:
    radial-gradient(640px 240px at 12% 10%,
      rgba(205, 154, 38,0.14),
      transparent 65%),
    radial-gradient(700px 280px at 90% 18%,
      rgba(138,211,255,0.18),
      transparent 62%);
  opacity: 0.9;
}

/* Ensure content stays above the sheen */
.footer-grid > *{
  position: relative;
  z-index: 1;
}

.footer-brand{ padding-right: 6px; }

/* Logo row */
.footer-logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ft-ink);
}
.footer-logo:focus-visible{
  outline: 3px solid rgba(205, 154, 38,0.35);
  outline-offset: 3px;
  border-radius: 14px;
}

/* Mark keeps the gradient but tuned for light mode */
.footer-mark{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(
    140deg,
    rgba(205, 154, 38,0.92),
    rgba(138,211,255,0.55)
  );
  box-shadow:
    0 18px 36px rgba(11,15,23,0.16),
    0 1px 0 rgba(255,255,255,0.75) inset;
}
.footer-logoText{
  display: grid;
  line-height: 1.1;
}
.footer-name{
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ft-ink);
}
.footer-tag{
  font-size: 12px;
  color: rgba(11,15,23,0.58);
}

.footer-blurb{
  margin: 10px 0 12px;
  color: var(--ft-muted);
  max-width: 46ch;
  font-size: 14px;
}

/* Column headings + links */
.footer-col{
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-h{
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  /* Gold heading in light mode (still premium) */
  color: rgba(205, 154, 38,0.95);
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-link{
  color: rgba(11,15,23,0.78);
  text-decoration: none;
  font-weight: 650;
  transition: color 180ms ease, transform 180ms ease;
}
.footer-link:hover{
  color: rgba(44, 58, 80,0.95);
  transform: translateY(-0.5px);
}

.footer-text{
  margin: 0;
  color: rgba(11,15,23,0.66);
  font-size: 14px;
  line-height: 1.5;
}

/* Little pill (light glass) */
.footer-pill{
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;

  border: 1px solid rgba(11,15,23,0.12);
  background: rgba(255,255,255,0.72);

  color: rgba(11,15,23,0.86);
  font-weight: 800;
  font-size: 13px;

  box-shadow:
    0 10px 22px rgba(11,15,23,0.10),
    0 1px 0 rgba(255,255,255,0.80) inset;
}

/* Social icons (clean, not bubbly) */
.footer-social{
  display: flex;
  gap: 10px;
  align-items: center;
}

.soc{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;

  border: 1px solid rgba(11,15,23,0.12);
  color: rgba(11,15,23,0.88);
  background: rgba(255,255,255,0.70);

  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow:
    0 14px 30px rgba(11,15,23,0.10),
    0 1px 0 rgba(255,255,255,0.85) inset;
}
.soc:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.86);
  border-color: rgba(205, 154, 38,0.30);
  box-shadow:
    0 18px 44px rgba(11,15,23,0.14),
    0 0 0 6px rgba(205, 154, 38,0.08);
}

.soc-ic{
  width: 18px;
  height: 18px;
}

/* Bottom row (copyright + privacy/terms + CTA) */
.footer-bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(11,15,23,0.10);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  color: rgba(11,15,23,0.58);
  font-size: 13px;
}

.footer-bottom-left{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-mini{
  color: rgba(11,15,23,0.60);
  text-decoration: none;
  font-weight: 700;
  transition: color 180ms ease;
}
.footer-mini:hover{
  color: rgba(44, 58, 80,0.92);
}

/* Clean CTA button (navy ink + gold) */
.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;

  /* In light mode, keep it punchy + readable */
  color: #fff;
  background: linear-gradient(
    140deg,
    rgba(44, 58, 80,0.98),
    rgba(44, 58, 80,0.86)
  );
  box-shadow:
    0 18px 44px rgba(11,15,23,0.18),
    0 0 0 6px rgba(205, 154, 38,0.10);
}
.footer-cta:hover{
  filter: brightness(1.04);
}

/* =========================================================
AREAS LIST (footer)
Keep simple: no borders, no “bubble cards”.
========================================================= */
.area-list{
  margin: 6px 0 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.area-list li{
  display: flex;
  align-items: center;
  gap: 8px;

  color: rgba(11,15,23,0.76);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.2;
}

/* Small gold check (no pill background) */
.area-list li::before{
  content:"✓";
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;

  background: rgba(205, 154, 38,0.16);
  color: rgba(205, 154, 38,0.95);

  font-weight: 900;
  font-size: 11px;
  flex: 0 0 16px;

  box-shadow:
    0 8px 18px rgba(11,15,23,0.10),
    0 1px 0 rgba(255,255,255,0.70) inset;
}

/* =========================================================
Responsive
========================================================= */
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cta{ width: 100%; }
  .area-list{ grid-template-columns: 1fr; }
}




/* =========================================================
FOOTER — LIGHT MODE WOW (CSS ONLY, uses your HTML as-is)
Targets your exact classes:
.site-footer .container .footer-grid .footer-brand/.footer-col etc.
========================================================= */


/* =========================================================
DEADLY FOOTER — HARD CONTRAST / HARD POP (CSS ONLY)
Uses your exact HTML/classes.
========================================================= */

/* 1) Footer wrapper: full-bleed luxury light */
.site-footer#footer{
  /* Brand */
  --gold: #cd9a26;
  --navy: #2c3a50;

  /* Hard contrast ink system */
  --ink: rgba(6,10,16,.98);
  --ink2: rgba(6,10,16,.86);
  --muted: rgba(6,10,16,.74);
  --faint: rgba(6,10,16,.62);

  --line: rgba(6,10,16,.18);
  --cardLine: rgba(6,10,16,.14);

  --surface: rgba(255,255,255,.96);
  --cardTop: rgba(255,255,255,.92);
  --cardBot: rgba(255,255,255,.82);

  /* Pop shadows (clean, not muddy) */
  --shadowA: 0 28px 90px rgba(6,10,16,.16);
  --shadowB: 0 10px 28px rgba(6,10,16,.12);

  padding: clamp(28px, 3.2vw, 46px) 0 22px;

  background:
    radial-gradient(980px 420px at 14% -10%, rgba(205, 154, 38,.22), transparent 68%),
    radial-gradient(980px 420px at 92% 0%, rgba(138,211,255,.20), transparent 66%),
    radial-gradient(1100px 520px at 50% 120%, rgba(44, 58, 80,.12), transparent 60%),
    var(--surface);

  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 70px rgba(6,10,16,.07);
}

/* Ensure the footer content feels wide/intentional */
.site-footer#footer .container{
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* 2) Main grid card: clearer edges + less glow wash */
.site-footer#footer .footer-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: clamp(16px, 2.1vw, 24px);

  padding: clamp(18px, 2.3vw, 24px);
  border-radius: 26px;

  background: linear-gradient(180deg, var(--cardTop), var(--cardBot));
  border: 1px solid var(--cardLine);
  box-shadow: var(--shadowA), var(--shadowB), 0 1px 0 rgba(255,255,255,.92) inset;

  position: relative;
  overflow: hidden;
}

/* Controlled “premium sheen” behind content (won’t kill readability) */
.site-footer#footer .footer-grid::before{
  content:"";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    radial-gradient(700px 240px at 10% 12%, rgba(205, 154, 38,.10), transparent 60%),
    radial-gradient(760px 280px at 92% 18%, rgba(138,211,255,.12), transparent 62%),
    linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  opacity: .55;
}

.site-footer#footer .footer-grid > *{
  position: relative;
  z-index: 1;
}

/* 3) Typography: larger, bolder, more legible */
.site-footer#footer .footer-name{
  color: var(--ink);
  font-weight: 1000;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255,255,255,.85);
}

.site-footer#footer .footer-tag{
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 750;
}

/* Make blurb pop more (bigger + denser) */
.site-footer#footer .footer-blurb{
  margin: 12px 0 14px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 1px 0 rgba(255,255,255,.78);
}

/* 4) Brand lockup: more “mark” presence */
.site-footer#footer .footer-logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 18px;
}

.site-footer#footer .footer-logo:focus-visible{
  outline: 3px solid rgba(205, 154, 38,.35);
  outline-offset: 3px;
}

.site-footer#footer .footer-mark{
  width: 8px;
  height: 30px;
  border-radius: 2px;
  background: var(--brand, #cd9a26);
  box-shadow: none;
  filter: none;
}

/* 5) Headings: gold accent + hard readability */
.site-footer#footer .footer-h{
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 1000;
  color: rgba(205, 154, 38,.98);

  /* crisp pop */
  text-shadow:
    0 1px 0 rgba(255,255,255,.9),
    0 10px 26px rgba(6,10,16,.10);
}

/* 6) Lists + links: HARD contrast baseline, strong hover */
.site-footer#footer .footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

/* Make links feel like navigation (bolder, clearer) */
.site-footer#footer a.footer-link{
  color: var(--ink2);
  text-decoration: none;
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
  transition: transform 160ms ease, color 160ms ease;
}

.site-footer#footer a.footer-link:hover{
  color: rgba(44, 58, 80,.98);
  transform: translateY(-0.5px);
}

/* “Arrow reveal” for hover pop (no HTML changes) */
.site-footer#footer a.footer-link::after{
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  color: rgba(44, 58, 80,.72);
}

.site-footer#footer a.footer-link:hover::after{
  opacity: 1;
  transform: translateX(0);
}

/* Contact text inside list */
.site-footer#footer .footer-text{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}

/* 7) MHIC pill: sharper + darker + more “badge” */
.site-footer#footer .footer-pill{
  display: inline-flex;
  width: fit-content;
  padding: 9px 11px;
  border-radius: 999px;
  border: 1px solid rgba(6,10,16,.18);
  background: rgba(255,255,255,.90);
  color: var(--ink);
  font-weight: 1000;
  font-size: 13px;
  box-shadow:
    0 14px 34px rgba(6,10,16,.14),
    0 1px 0 rgba(255,255,255,.92) inset;
}

/* 8) Areas list: heavier + clearer checks */
.site-footer#footer .area-list{
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.site-footer#footer .area-list li{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink2);
  font-weight: 900;
  font-size: 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,.70);
}

.site-footer#footer .area-list li::before{
  content:"✓";
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;

  background: rgba(205, 154, 38,.18);
  color: rgba(205, 154, 38,.98);

  font-weight: 1000;
  font-size: 12px;
  flex: 0 0 18px;

  box-shadow:
    0 10px 22px rgba(6,10,16,.12),
    0 1px 0 rgba(255,255,255,.85) inset;
}

/* 9) Social: more contrast and “expensive” hover ring */
.site-footer#footer .soc{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  border: 1px solid rgba(6,10,16,.18);
  background: rgba(255,255,255,.92);
  color: var(--ink);

  box-shadow: 0 16px 34px rgba(6,10,16,.12);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.site-footer#footer .soc:hover{
  transform: translateY(-1px);
  border-color: rgba(205, 154, 38,.40);
  box-shadow:
    0 20px 48px rgba(6,10,16,.16),
    0 0 0 7px rgba(205, 154, 38,.10);
}

.site-footer#footer .soc-ic{
  width: 18px;
  height: 18px;
}

/* 10) Bottom row: make it read (and look intentional) */
.site-footer#footer .footer-bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  color: rgba(255,255,255,.78);
  font-size: 13.5px;
  font-weight: 700;
}

.site-footer#footer .footer-bottom-left{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Your dot separators become crisp */
.site-footer#footer .footer-dot{
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
  display: inline-block;
}

/* Bottom mini links: hard contrast */
.site-footer#footer .footer-mini{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 950;
  transition: color 160ms ease;
}

.site-footer#footer .footer-mini:hover{
  color: var(--brand, #cd9a26);
}

/* The desktop prechat invitation is the main Live Chat entry point; the
   side tab can be Text Us only. Never hide the desktop prechat launcher.
   Keep the full-screen automatic prompt suppressed at every width. */
#apexchat_popup_message_invitation_wrapper,
iframe#apexchat_popup_message_invitation_frame,
iframe.apexchat_popup_message_invitation_frame {
  display: none !important;
  pointer-events: none !important;
}

/* Suppress the extra floating invitation only when the provider actually
   creates a LIVE CHAT / TEXT US bar. Tablets can use the desktop launcher. */
@media (max-width: 980px), (max-height: 500px) {
  body:has(#apexchat_bar_invitation_frame) #apexchat_prechat_invitation_wrapper,
  body:has(#apexchat_bar_invitation_frame) iframe#apexchat_prechat_invitation_frame,
  body:has(#apexchat_bar_invitation_frame) iframe.apexchat_prechat_invitation_frame {
    display: none !important;
    pointer-events: none !important;
  }
}

/* The provider can restore a 492px inline width when switching to SMS.
   Bound the real conversation frame, not just its invitation/launcher. */
#apexchat_dompopup_chatwindow_wrapper,
iframe#apexchat_dompopup_chatwindow_frame {
  max-width: 100vw !important;
  max-width: 100dvw !important;
}

/* On narrow/short screens the requested conversation uses the whole viewport.
   Preserve the provider's display state: never open an idle/hidden panel. */
@media (max-width: 600px), (max-height: 500px) {
  #apexchat_dompopup_chatwindow_wrapper {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    translate: none !important;
    transform: none !important;
    overflow: hidden !important;
    touch-action: auto !important;
  }

  iframe#apexchat_dompopup_chatwindow_frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
  }
}

/* The provider's fixed launchers sit above the header. Hide only these entry
   controls while navigating, so they cannot cover the drawer's final links. */
.cr-mobile-menu-open #apexchat_prechat_invitation_wrapper,
.cr-mobile-menu-open #apexchat_prechat_invitation_frame,
.cr-mobile-menu-open #apexchat_bar_invitation_wrapper,
.cr-mobile-menu-open #apexchat_tab_invitation_wrapper,
.cr-mobile-menu-open #apexchat_bar_invitation_frame,
.cr-mobile-menu-open #apexchat_tab_invitation_frame {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Leave clearance for the provider's 62px bottom bar on phones/short screens. */
@media (max-width: 980px), (max-height: 500px) {
  html { scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .site-footer#footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

/* 10c) SLIM footer — conversion pages only (/quote/). Brand + phone + license
   on one row, then the usual legal line. No link columns, no CTA. See the note
   on sharedFooter in _chrome.mjs for why. The mobile padding reserve above
   still applies (this selector is .site-footer#footer too), which is what keeps
   Privacy/Terms clickable above the chat bar. */
.site-footer#footer.site-footer--slim .footer-slim{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer#footer.site-footer--slim .footer-slim-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* The brand/phone type is near-black (rgba(6,10,16,…)) with a WHITE text-shadow
   because in the full footer it sits on the light .footer-col card. The slim
   layout drops that card, so those styles land straight on the navy and render
   as dark text with a halo. Restate them light-on-navy — same treatment the
   legal line below already uses, which is why the two rows now read as one
   block. Measured on #2c3a50: 10.0:1 for the phone, 7.5:1 for the tagline. */
.site-footer#footer.site-footer--slim .footer-name{
  color: rgba(255,255,255,.96);
  text-shadow: none;
}

.site-footer#footer.site-footer--slim .footer-tag{
  color: rgba(255,255,255,.62);
  text-shadow: none;
}

.site-footer#footer.site-footer--slim .footer-slim-list a{
  color: rgba(255,255,255,.86);
  text-shadow: none;
}

.site-footer#footer.site-footer--slim .footer-slim-list a:hover{
  color: var(--brand, #cd9a26);
}

/* The slim footer has no columns above it, so the legal line's divider would
   otherwise sit right under the brand row with no breathing space. */
.site-footer#footer.site-footer--slim .footer-bottom{
  margin-top: 18px;
}

@media (max-width: 640px){
  .site-footer#footer.site-footer--slim .footer-slim{
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* 11) CTA: integrated into the brand column beneath the social links. */
.site-footer#footer .footer-cta--inset{
  width: fit-content;
  margin-top: 18px;
}

.site-footer#footer .footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;

  font-weight: 1000;
  letter-spacing: .02em;

  color: #213047;
  background: linear-gradient(140deg, #d9a62d, #c89420);
  box-shadow:
    0 10px 24px rgba(11,15,23,.16),
    0 1px 0 rgba(255,255,255,.28) inset;

  text-shadow: none;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.site-footer#footer .footer-cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 14px 30px rgba(11,15,23,.20),
    0 1px 0 rgba(255,255,255,.32) inset;
}

.site-footer#footer .footer-cta:active{
  transform: translateY(0px);
}

/* 12) Responsive */
@media (max-width: 980px){
  .site-footer#footer .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px){
  .site-footer#footer .footer-grid{
    grid-template-columns: 1fr;
  }

  .site-footer#footer .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer#footer .footer-cta{
    width: 100%;
  }

  .site-footer#footer .area-list{
    grid-template-columns: 1fr;
  }
}

/* 13) Optional: crisp text rendering on macOS */
.site-footer#footer{
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* =========================================================
   NAVY FOOTER THEME OVERRIDE (appended — wins by source order)
   Makes the footer navy with light text on every page.
========================================================= */
.site-footer{
  background: #2c3a50 !important;
  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 -18px 60px rgba(11,15,23,0.18);
  color: rgba(255,255,255,0.86);
}
.site-footer .footer-grid{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}
.site-footer .footer-grid::before{ display:none; }

.site-footer .footer-name,
.site-footer .footer-h{ color:#fff; }
.site-footer .footer-tag,
.site-footer .footer-blurb,
.site-footer .footer-text,
.site-footer .area-list,
.site-footer .area-list li{ color: rgba(255,255,255,0.74); }

.site-footer .footer-link{ color: rgba(255,255,255,0.82); }
.site-footer .footer-link:hover{ color: var(--brand, #cd9a26); }

.site-footer .footer-pill{
  background: rgba(205,154,38,0.18);
  border: 1px solid rgba(205,154,38,0.45);
  color:#fff;
}
.site-footer .soc{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color:#fff;
}
.site-footer .soc:hover{ background: rgba(205,154,38,0.22); }

.site-footer .footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
.site-footer .footer-mini{ color: rgba(255,255,255,0.7); }
.site-footer .footer-mini:hover{ color: var(--brand, #cd9a26); }
.site-footer .footer-dot{ background: rgba(255,255,255,0.4); }
.site-footer .footer-mark{ filter: brightness(0) invert(1); opacity:.9; }

/* =========================================================
   FOOTER — CLEANER FORMATTING (round 3)
   Tidies the navy footer to match the contact page's clean
   aesthetic: a gold accent bar on the brand, even spacing,
   consistent type.
========================================================= */
.site-footer .footer-grid{
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 18px;
}
/* gold accent bar before the brand (contact-page motif) */
.site-footer .footer-mark{
  display: inline-block;
  width: 8px;
  height: 30px;
  border-radius: 2px;
  background: var(--brand, #cd9a26);
  filter: none; /* cancel the earlier logo-whitening filter */
  opacity: 1;
}
.site-footer .footer-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer .footer-h{
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
  margin-bottom: 10px;
}
.site-footer .footer-list{ display: grid; gap: 8px; }
.site-footer .area-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.site-footer .footer-bottom{
  margin-top: 22px;
  padding-top: 16px;
}

@media (max-width: 860px){
  .site-footer .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .site-footer .footer-grid{ grid-template-columns: 1fr; }
}

/* ---- Mobile tap targets (WCAG 2.2 AA "Target Size (Minimum)", 24x24) -------
   .footer-link is inline, so its hit area collapsed to the line box: 22px in
   Quick Links / contact, and 17px for the county names (13px font). Measured
   at 375px across every page type. inline-flex + min-height gives a real
   target without changing the visual text size. */
.footer-link{
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
/* The county list is denser (13px), so give it a slightly taller target.
   NB: don't try to compensate with `gap` here — `.site-footer#footer
   .area-list` above wins on specificity and the rule is silently dead. */
.site-footer .area-list li{
  align-items: stretch;
}
.site-footer .area-list .footer-link{
  min-height: 26px;
}

/* Let single-column footer cards shrink on narrow phones. Grid items default
   to min-width:auto, so the email address used to force a ~256px column inside
   a ~170px content area and the overflow was clipped by .footer-grid. */
.site-footer .footer-grid > *,
.site-footer .footer-logoText,
.site-footer .footer-col,
.site-footer .footer-list,
.site-footer .footer-list > li{
  min-width: 0;
}
.site-footer .footer-logo,
.site-footer .footer-link{
  max-width: 100%;
}
.site-footer a.footer-link[href^="mailto:"]{
  overflow-wrap: anywhere;
}

/* At the two-column footer breakpoint, the six-item Quick Links list is the
   main source of unnecessary height. Pair those links and slightly tighten the
   row gap while leaving the full desktop and phone layouts untouched. */
@media (min-width: 561px) and (max-width: 980px){
  .site-footer#footer .footer-grid{
    row-gap: 16px;
  }
  .site-footer#footer .footer-col--links .footer-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 4px;
  }
}

/* Compact the repetitive mobile link groups without squeezing contact details.
   Brand and Contact remain full-width; Quick Links and service areas use the
   horizontal space that would otherwise become unnecessary vertical height. */
@media (max-width: 560px){
  .site-footer#footer .footer-grid{
    gap: 16px;
    padding: 18px;
  }
  .site-footer#footer .footer-h{
    margin-bottom: 8px;
  }
  .site-footer#footer .footer-col--links .footer-list,
  .site-footer#footer .footer-col--areas .area-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer#footer .footer-col--links .footer-list{
    gap: 4px 14px;
  }
  .site-footer#footer .footer-col--areas .area-list{
    gap: 4px 10px;
  }
}

/* County names need more room than quick links on the narrowest phones. */
@media (max-width: 350px){
  .site-footer#footer .footer-col--areas .area-list{
    grid-template-columns: 1fr;
  }
}

/* Content-page variant of .area-list: constrain and center so wide screens
   don't leave two far-apart columns locked to the left edge. Used by the
   towns / local-pages / keep-exploring lists on location pages; the footer's
   compact list never carries this class. */
.area-list--centered{
  max-width: 760px;
  margin-inline: auto;
}

/* Town and county name lists stay two-up on small screens: the names are
   short and one column makes a very tall stack (user request, 2026-08-19).
   Long-anchor lists (local service pages, keep exploring) still collapse to
   one column via the generic 640px rule above. */
@media (max-width: 640px){
  .locationTowns__list,
  .locationNearby__list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
