@font-face {
  font-family: 'TikTok Sans';
  src: url('../fonts/tiktok-sans/TikTokSans-VariableFont_opsz,slnt,wdth,wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-primary: #df5a2f;
  --color-primary-weak: #f08e70;
  --color-secondary: #bc3c14;
  --color-secondary-weak: #d67556;
  --color-link: #df5a2f;
  --color-accent: #81afe1;

  --color-bg: #790000;
  --color-surface: #9a1b00;
  --color-surface-1: #bc3c14;
  --color-surface-2: #df5a2f;

  --color-text: #ffffff;
  --color-text-inverse: #000000;
  --color-text-muted: #e0e0e0;
  --color-neutral-100: #f5e8d7;
  --color-neutral-200: #ecd6bb;

  --color-primary-rgb: 223, 90, 47;
  --color-secondary-rgb: 188, 60, 20;
  --color-bg-rgb: 121, 0, 0;

  --heading-h1: var(--color-primary);
  --heading-h2: var(--color-secondary);
  --heading-h3: var(--color-primary);
  --heading-h4: var(--color-secondary);
  --heading-h5: #111111;
  --heading-h6: #111111;

  /* Bootstrap mappings */
  --bs-body-font-family: 'TikTok Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --bs-primary: var(--color-primary);
  --bs-primary-rgb: var(--color-primary-rgb);
  --bs-secondary: var(--color-secondary);
  --bs-link-color: var(--color-link);
  --bs-link-hover-color: var(--color-primary-weak);
}

body {
  font-family: var(--bs-body-font-family);
}

img {
  max-width: 100%;
  height: auto;
}

/* Prevent random bullets if a menu/widget renders as a plain UL */
nav ul,
.offcanvas-body ul {
  list-style: none;
  padding-left: 0;
}

/* Mobile menu offcanvas styling */
.offcanvas,
.offcanvas-start {
  background: var(--color-primary) !important;
}

.offcanvas-header,
.offcanvas-body {
  background: var(--color-primary);
  color: var(--color-text);
}

.offcanvas-title {
  color: var(--color-text);
}

.offcanvas .btn-close {
  filter: invert(1);
}

.offcanvas .nav-link {
  color: var(--color-text) !important;
}

.offcanvas .nav-link:hover {
  color: var(--color-text) !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Ultra-aggressive dropdown item reset - remove ALL Bootstrap button styling */
.dropdown-item,
a.dropdown-item,
button.dropdown-item,
.dropdown-item:link,
.dropdown-item:visited {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  clear: both !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-align: inherit !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background-color: transparent !important;
  border: 0 !important;
  padding: 0.5rem 1.5rem !important;
  cursor: pointer !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active,
a.dropdown-item:hover,
a.dropdown-item:focus,
a.dropdown-item:active {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  clear: both !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 0 !important;
  padding: 0.5rem 1.5rem !important;
  cursor: pointer !important;
}

/* Mobile: transparent dropdown bg */
#offcanvas-navbar .dropdown-menu {
  background: transparent !important;
}

#offcanvas-navbar .dropdown-item,
#offcanvas-navbar .dropdown-item:hover,
#offcanvas-navbar .dropdown-item:focus {
  background-color: transparent !important;
  padding-left: 2rem !important;
}

/* Desktop: colored dropdown bg */
@media (min-width: 992px) {
  #nav-main .dropdown-menu {
    background: var(--color-secondary) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    padding: 0.5rem 0 !important;
    border: 0 !important;
  }
}

main#main h1 { color: var(--heading-h1); }
main#main h2 { color: var(--heading-h2); }
main#main h3 { color: var(--heading-h3); }
main#main h4 { color: var(--heading-h4); }
main#main h5 { color: var(--heading-h5); }
main#main h6 { color: var(--heading-h6); }

main#main h1,
main#main .h1,
main#main .entry-title {
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

main#main h2,
main#main .h2 {
  font-weight: 700 !important;
  letter-spacing: 0.008em;
  line-height: 1.15;
}

/* ===== Bootscore header theming ===== */
#masthead.site-header {
  background: var(--color-secondary) !important;
}

/* Allow the logo to hang outside the navbar */
#masthead #nav-main,
#masthead #nav-main .container,
#masthead .navbar {
  overflow: visible;
}

/* Keep brand in normal flow; hang the image instead (more reliable than absolute positioning) */
#masthead .navbar-brand {
  position: relative;
  padding: 0;
  margin: 0;
  line-height: 0;
  z-index: 3;
}

/* Hide the alternate theme logo to avoid a "second"/random logo showing */
#masthead .navbar-brand img.d-tl-none {
  display: none !important;
}

#masthead .navbar-brand img {
  width: auto;
  display: block;
}

@media (min-width: 992px) {
  /* Keep the navbar height stable */
  #masthead #nav-main .container {
    min-height: 80px;
    padding-top: 0;
    padding-bottom: 0;
  }

  #masthead .navbar-brand {
    height: 80px;
    width: 220px;
  }

  /* Desktop: large logo that hangs down without increasing navbar height */
  #masthead .navbar-brand img {
    position: absolute;
    left: 0;
    top: 50%;
    height: 180px;
    transform: translateY(-25%);
    transform-origin: left center;
  }

  /* Header layout: logo left, menu centered, actions right */
  #masthead #nav-main > .container {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  #masthead .header-menu-desktop {
    min-width: 0;
  }

  #masthead .header-menu-desktop > ul#bootscore-navbar {
    width: max-content;
  }

  #masthead .header-actions {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Mobile: keep logo readable but not disruptive */
@media (max-width: 991.98px) {
  #masthead #nav-main .container {
    min-height: 60px;
  }

  #masthead .navbar-brand {
    height: 56px;
    width: 160px;
  }

  #masthead .navbar-brand img {
    position: absolute;
    left: 0;
    top: 50%;
    height: 120px;
    transform: translateY(-25%);
    transform-origin: left center;
  }
}

/* CTA buttons */
#masthead .header-cta {
  font-weight: 800;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Desktop CTA colors (brand) */
#masthead .header-cta--quote {
  background: var(--color-bg);
  border-color: var(--color-bg);
  color: var(--color-text);
}

#masthead .header-cta--quote:hover,
#masthead .header-cta--quote:active,
#masthead .header-cta--quote:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 0 0 0.25rem rgba(var(--color-primary-rgb), 0.35);
}

#masthead .header-cta--call {
  background: transparent;
  border-color: rgba(var(--color-text-rgb, 255, 255, 255), 0.75);
  color: var(--color-text);
}

#masthead .header-cta--call:hover {
  background: rgba(var(--color-text-rgb, 255, 255, 255), 0.14);
  border-color: rgba(var(--color-text-rgb, 255, 255, 255), 0.9);
  color: var(--color-text);
}

@media (max-width: 991.98px) {
  #masthead .header-cta {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
  }

  #masthead .header-cta i {
    font-size: 1rem;
    line-height: 1;
    display: block;
  }

  /* Mobile icons: force brand colors */
  #masthead .header-cta--quote {
    background: var(--color-bg);
    border-color: var(--color-bg);
    color: var(--color-text);
  }

  #masthead .header-cta--call {
    background: var(--color-bg);
    border-color: var(--color-bg);
    color: var(--color-text);
  }
}

#masthead .navbar-nav .nav-link {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (min-width: 992px) {
  #masthead .navbar-nav .nav-link {
    font-size: 0.92rem;
    letter-spacing: 0.01em;
  }
}

#masthead .navbar-nav .nav-link:hover,
#masthead .navbar-nav .nav-link:focus {
  color: #fff;
  background: var(--color-secondary);
  border-radius: 0.5rem;
}

#masthead .nav-toggler.btn,
#masthead .nav-toggler.btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}

/* ===== Homepage blocks (your current markup) ===== */
#main-content {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.intro-block {
  margin-bottom: 1.5rem;
}

.hs-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
  z-index: 2;
}

/* Force non-stretched hero background (some theme styles can set background-size: 100% 100%) */
.hs-hero.featured-full-width-img {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  height: 56vh !important;
  min-height: 56vh !important;
}

@media (min-width: 992px) and (max-width: 1400px) {
  .hs-hero.featured-full-width-img {
    height: 68vh !important;
    min-height: 68vh !important;
  }
}

@media (max-width: 991.98px) {
  .hs-hero.featured-full-width-img {
    height: auto !important;
    min-height: 0 !important;
  }

  .hs-hero {
    overflow: hidden;
    padding-bottom: 1.5rem;
  }
}

.hs-hero__inner {
  position: relative;
  align-items: stretch !important;
  overflow: hidden;
}

.hs-hero__media {
  position: relative;
  min-height: 1px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  overflow: hidden;
}

.hs-hero__grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 1rem;
  padding: 0;
}

.hs-hero__content {
  max-width: none;
  width: 100%;
  padding: 1.1rem 1.25rem;
  margin-left: 0;
  margin-top: -2rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 2;
}

.hs-hero__content .entry-title {
  margin-bottom: 0.35rem;
  font-size: clamp(2.05rem, 3.2vw, 3.35rem);
  font-weight: 900 !important;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hs-hero__subhead {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight: 750;
  line-height: 1.3;
  max-width: 50ch;
}

.hs-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hs-hero__ctas .btn {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.7rem 1.1rem;
}

/* Hero CTA colors (scoped) */
.hs-hero .hs-hero__ctas .btn.btn-light {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-text);
}

.hs-hero .hs-hero__ctas .btn.btn-light:hover,
.hs-hero .hs-hero__ctas .btn.btn-light:active,
.hs-hero .hs-hero__ctas .btn.btn-light:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 0 0 0.25rem rgba(var(--color-primary-rgb), 0.35);
}

.hs-hero .hs-hero__ctas .btn.btn-outline-light {
  background: transparent;
  border-color: rgba(var(--color-secondary-rgb), 0.95);
  color: var(--color-text);
}

.hs-hero .hs-hero__ctas .btn.btn-outline-light:hover,
.hs-hero .hs-hero__ctas .btn.btn-outline-light:active,
.hs-hero .hs-hero__ctas .btn.btn-outline-light:focus-visible {
  background: rgba(var(--color-secondary-rgb), 0.22);
  border-color: rgba(var(--color-secondary-rgb), 1);
  color: var(--color-text);
  box-shadow: 0 0 0 0.25rem rgba(var(--color-secondary-rgb), 0.25);
}

.hs-hero__mascot {
  position: relative;
  display: grid;
  place-items: center;
  pointer-events: none;
  margin-right: 0;
  margin-bottom: 0.75rem;
  z-index: 3;
}

.hs-hero__mascot-img {
  width: clamp(280px, 34vw, 520px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transform: translateY(0%);
}

.hs-services-grid {
  margin-top: 1.5rem;
  position: relative;
  background: rgba(var(--color-bg-rgb), 0.98);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(0.65rem, 1.5vw, 1.25rem);
}

@media (min-width: 1400px) {
  .hs-services-grid {
    margin-top: -1.25rem;
  }
}

.hs-service-tile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.65rem, 1.2vw, 1rem);
  padding: clamp(0.75rem, 1.5vw, 1.5rem) clamp(0.85rem, 1.8vw, 1.75rem);
  min-height: clamp(80px, 11vw, 140px);
  border-radius: clamp(0.85rem, 1.5vw, 1.5rem);
  text-decoration: none;
  background: rgba(var(--color-bg-rgb), 0.88);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: var(--color-text);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hs-service-tile:hover,
.hs-service-tile:focus-visible {
  transform: translateY(-2px);
  background: rgba(var(--color-secondary-rgb), 0.86);
  border-color: rgba(var(--color-secondary-rgb), 0.9);
  color: var(--color-text);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.hs-service-tile__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1;
  overflow: hidden;
}

.hs-service-tile__line1,
.hs-service-tile__line2 {
  font-weight: 900;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-service-tile__line1 {
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
}

.hs-service-tile__line2 {
  font-size: clamp(0.95rem, 2.2vw, 1.75rem);
}

.hs-service-tile__icon {
  flex: 0 0 auto;
  width: clamp(44px, 5.5vw, 72px);
  height: clamp(44px, 5.5vw, 72px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
}

.hs-service-tile__icon-badge {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.hs-service-tile__icon-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 138%;
  height: 138%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}

.hs-service-tile__icon-pop {
  position: absolute;
  left: 50%;
  top: 0;
  width: 138%;
  height: 138%;
  transform: translate(-50%, -26%);
  object-fit: contain;
  clip-path: inset(0 14% 84% 14%);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 1400px) {
  .hs-service-tile__text {
    line-height: 0.92;
  }

  .hs-service-tile__icon-pop {
    transform: translate(-50%, -28%);
    clip-path: inset(0 14% 86% 14%);
  }
}

@media (max-width: 767.98px) {
  .hs-service-tile__icon-pop {
    display: none;
  }
}

.services-wrapper {
  padding: 1.5rem 0;
  margin: 1.5rem 0;
  border-radius: 1rem;
}

.services-wrapper,
.custom-card {
  position: relative;
}

.services-wrapper::before,
.services-wrapper::after,
.custom-card::before,
.custom-card::after {
  pointer-events: none;
}

.primary-background {
  background: rgba(var(--color-secondary-rgb), 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.secondary-background {
  background: rgba(var(--color-primary-rgb), 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.custom-card {
  background: var(--color-neutral-100);
  color: var(--color-text-inverse);
  border-radius: 1rem;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.custom-card h3 {
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.custom-card h4 {
  color: rgba(0, 0, 0, 0.7);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.custom-card p {
  color: rgba(0, 0, 0, 0.8);
}

.read-now-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-text);
  position: relative;
  z-index: 2;
}

.read-now-button:hover,
.cta-button:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-text);
}

.text-content-section,
.cta-row,
.outro-row {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-block {
  padding: 1rem;
}

.cta-img-block {
  padding: 1rem;
}

.cta-img-block h3 {
  margin-top: 1rem;
}

/* WPForms: prevent modern select dropdown pseudo-element from overlaying the page
   WPForms adds .choices.is-open:before with an extreme z-index. */
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices.is-open:before {
  z-index: 1 !important;
  pointer-events: none !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices.is-open:before,
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices.is-open::before,
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices[data-type*="select-one"].is-open:after,
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices[data-type*="select-one"].is-open::after,
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices[data-type*="select-multiple"].is-open:after,
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices[data-type*="select-multiple"].is-open::after {
  content: none !important;
  display: none !important;
}

div.wpforms-container-full .choices.is-open:before {
  z-index: 1 !important;
  pointer-events: none !important;
}

div.wpforms-container .choices.is-open:before,
div.wpforms-container .choices.is-open::before,
form.wpforms-form .choices.is-open:before,
form.wpforms-form .choices.is-open::before,
.choices.is-open:before,
.choices.is-open::before {
  opacity: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* Simple Custom CSS & JS (uploads/custom-css-js/2065.css) is adding full-area overlays.
   Remove them to restore clickability. */
.outro-block form.wpforms-form {
  position: relative;
}

.outro-block form.wpforms-form::before {
  content: none !important;
  display: none !important;
}

.content-area .row.services-wrapper.primary-background::before,
.content-area .row.services-wrapper.secondary-background::before {
  content: none !important;
  display: none !important;
}

/* ===== Footer Styles ===== */
.site-footer.footer { background: var(--color-secondary); color: var(--color-text); }
.site-footer.footer .container { padding-top: 10px !important; padding-bottom: 4px !important; }
.site-footer.footer .row { row-gap: 6px; }
.site-footer.footer .mb-3 { margin-bottom: 6px !important; }
.site-footer.footer h3, 
.site-footer.footer h5,
.site-footer.footer h6 { color: var(--color-text); margin: 0 0 8px 0; }
.site-footer.footer a { color: var(--color-text); text-decoration: none; }
.site-footer.footer a:hover { color: var(--color-text); }

/* Quick links column */
.site-footer.footer .footer-menu { display: grid; gap: 2px; justify-items: start; text-align: left; }
.site-footer.footer .footer-menu-item { 
  display: block; padding: 4px 8px; border-radius: 4px; font-size: 0.9rem; line-height: 1.25; position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-footer.footer .col-md-3.text-center:first-child { text-align: left; }
.site-footer.footer .col-md-3.text-center:first-child h3 { text-align: left; margin-bottom: 6px; }
.site-footer.footer .footer-menu-item:hover { background: rgba(var(--color-text-rgb,255,255,255),0.15); color: var(--color-text); }

/* Logos */
.site-footer.footer .footer-logo {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}
.site-footer.footer .certifications { gap: 10px; }
.site-footer.footer .certifications img { height: 64px !important; max-height: 64px !important; width: auto !important; max-width: 100% !important; object-fit: contain; }

/* Mobile adjustments: prevent oversized logos */
@media (max-width: 768px) {
  .site-footer.footer .footer-logo { height: 52px !important; max-height: 52px !important; }
  .site-footer.footer .certifications img { height: 52px !important; max-height: 52px !important; }
}
@media (max-width: 576px) {
  .site-footer.footer .footer-logo { height: 44px !important; max-height: 44px !important; }
  .site-footer.footer .certifications { gap: 6px; }
  .site-footer.footer .certifications img { height: 44px !important; max-height: 44px !important; }
  .site-footer.footer img[alt="CSIA Certified Chimney Sweep"] { height: 44px !important; max-height: 44px !important; width: auto !important; }
}

/* Map responsive wrapper */
.site-footer.footer .map-container { position: relative; width: 100%; max-width: 260px; margin: 0 auto; }
.site-footer.footer .map-container::before { content: ''; display: block; padding-top: 56.25%; }
.site-footer.footer .map-responsive-item { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; opacity: 1; filter: none; }

/* Accordion for Quick Links */
.site-footer.footer .footer-accordion { display: block; text-align: left; border-radius: 8px; overflow: hidden; }
.site-footer.footer .footer-accordion summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%;
  padding: 8px 10px; margin: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
}
.site-footer.footer .footer-accordion summary:hover { background: rgba(255,255,255,0.1); }
.site-footer.footer .footer-accordion summary:focus { outline: 2px solid rgba(255,255,255,0.35); outline-offset: 2px; }
.site-footer.footer .footer-accordion summary::before { content: '\25BC'; font-size: 0.9rem; line-height: 1; opacity: 0.95; transition: transform 0.2s ease; }
.site-footer.footer .footer-accordion[open] summary::before { transform: rotate(180deg); }
.site-footer.footer .footer-accordion summary::-webkit-details-marker { display: none; }
.site-footer.footer .footer-accordion summary h3 { display: inline-block; margin: 0 0 2px; font-size: 0.9rem; }
.site-footer.footer .footer-accordion[open] summary h3 { opacity: 0.9; }
.site-footer.footer .footer-accordion nav { margin-top: 6px; padding-left: 6px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.25s ease, opacity 0.2s ease; }
.site-footer.footer .footer-accordion[open] nav { max-height: 400px; opacity: 1; }

/* Map overlay contact card */
.site-footer.footer .footer-map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  border-radius: 8px;
  padding: 8px;
  color: var(--color-text);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site-footer.footer .footer-map-overlay h3 { margin: 0 0 4px 0; font-size: 1rem; }
.site-footer.footer .footer-map-overlay .footer-contact { font-size: 0.95rem; line-height: 1.25; }
.site-footer.footer .footer-map-overlay a { color: var(--color-text); text-decoration: underline; }

/* Social icon row */
.site-footer.footer .social-icons { margin-top: 6px; }
.site-footer.footer .fa-stack { color: var(--color-text); }
.site-footer.footer .fa-stack:hover { color: var(--color-primary); }

/* Credits/site-info */
.site-footer.footer .site-info { color: var(--color-text); margin-top: 2px; }
.site-footer.footer .site-info.mt-2 { margin-top: 0 !important; }
.site-footer.footer .site-info a { color: var(--color-text); }
.site-footer.footer .site-info a:hover { color: var(--color-primary); }
