/* Footer, built from the original site footer and its CSS.
   Every box mirrors a container of the original layout: 10px padding by default, 10px gaps between widgets,
   20px between rows. Three layouts like the original: desktop, tablet (768-1024) and phone (<=767). */
.site-footer {
  --ft-brand-font: 'Saira Stencil One', var(--font-body);
  --ft-head-font: 'Anton', var(--font-body);
  --ft-link-font: 'Space Grotesk', var(--font-body);
  --ft-menu-font: 'Roboto', var(--font-body);
  --ft-brand-color: #7F7F7F;
  --ft-logo: 150px;
  --ft-logo-t: 120px;
  --ft-logo-m: 80px;
  background: var(--footer-bg, #000); color: #fff; padding: 0; border: 0; margin: 0;
}
.site-footer * { box-sizing: border-box; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }

.site-footer .ft { display: flex; padding: 10px 0; background: #000; }
.site-footer .ft-tablet, .site-footer .ft-mobile { display: none; }
.site-footer .ft-in { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.site-footer .ft-row { display: flex; flex-direction: row; align-items: stretch; gap: 10px; padding: 10px; }

/* one column = one container */
.site-footer .ft-col { width: 100%; flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 10px; }
.site-footer .ft-last { margin: 0 10px; }

/* logo + "BLACK ZERO" */
.site-footer .ft-logo { display: block; text-align: center; line-height: 0; }
.site-footer .ft-logo img { display: inline-block; width: var(--ft-logo); height: auto; max-width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 10px 0 rgba(0,0,0,.5); }
.site-footer .ft-logo-ph { display: inline-block; width: var(--ft-logo); height: var(--ft-logo); border-radius: 50%; background: #222; }
.site-footer .ft-brand-text { text-align: center; font-family: var(--ft-brand-font); font-size: 1em; font-weight: 500; font-style: normal; color: var(--ft-brand-color); line-height: 1.6; margin: 0; }
.site-footer .ft-about { color: #999; font-size: .9rem; text-align: center; }

/* column titles (heading, <span>) */
.site-footer .ft-title { margin: 0; padding: 0; font-family: var(--ft-head-font); font-size: 1rem; font-weight: 400; line-height: 1em; text-transform: uppercase; letter-spacing: 0; color: #fff; text-align: start; }
.site-footer .ft-title a { color: inherit; font: inherit; }
.site-footer .ft-title.is-empty { min-height: 1em; }

/* link lists (icon list without icons: 6px between items) */
.site-footer .ft-links li { display: flex; align-items: center; margin: 0; padding: 0; overflow-wrap: break-word; font-family: var(--ft-link-font); font-size: .8rem; font-weight: 400; line-height: 1.5; color: #fff; }
.site-footer .ft-links li:not(:last-child) { padding-bottom: 3px; }
.site-footer .ft-links li:not(:first-child) { margin-top: 3px; }
.site-footer .ft-links a, .site-footer .ft-links span { color: #fff; font: inherit; min-width: 0; transition: color .3s; }
.site-footer .ft-desktop .ft-col:not(.ft-last) .ft-links a, .site-footer .ft-tablet .ft-col:not(.ft-last) .ft-links a { text-transform: capitalize; }
.site-footer .ft-links a:hover { color: #3A3A3A; }
.site-footer .ft-text { font-family: var(--ft-link-font); font-size: .8rem; color: #fff; }
.site-footer .ft-text p { margin: 0 0 6px; }

/* bottom row: copyright (centred in the left half) and social icons (right), both at the bottom */
.site-footer .ft-bottom { display: flex; flex-direction: row; align-items: stretch; gap: 10px; padding: 10px; }
.site-footer .ft-copy-col, .site-footer .ft-social-col { width: 100%; flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; }
.site-footer .ft-copy { text-align: center; font-size: .8rem; line-height: 1.7em; color: #e5e5e5; }
.site-footer .ft-copy p { margin: 0; }
.site-footer .ft-copy sup { font-size: .6em; }
.site-footer .ft-bottom-links { display: flex; justify-content: center; gap: 20px; font-size: .8rem; }
.site-footer .ft-bottom-links a { color: #e5e5e5; }
/* like the original: icons centred in the right half (the copyright is centred in the left half) */
.site-footer .ft-social { --ft-icon: 25px; display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -8px; }
.site-footer .ft-social li { display: flex; align-items: center; margin: 0 8px; }
.site-footer .ft-social a { display: flex; align-items: center; color: #fff; transition: color .2s; }
.site-footer .ft-social a:hover { color: #515151; }
.site-footer .ft-social svg { width: var(--ft-icon); height: var(--ft-icon); margin: 0 calc(var(--ft-icon) * .125); }

/* ---------- Tablet (768-1024): its own fixed-width columns ---------- */
@media (max-width: 1024px) {
  .site-footer .ft-desktop { display: none; }
  .site-footer .ft-tablet { display: flex; }
  .site-footer .ft-row { gap: 5px; }
  .site-footer .ft-links li { font-size: 14px; }
  .site-footer .ft-tablet .ft-logo img, .site-footer .ft-tablet .ft-logo-ph { width: var(--ft-logo-t); }
  .site-footer .ft-tablet .ft-logo-ph { height: var(--ft-logo-t); }
  .site-footer .ft-tablet .ft-brand { width: 150px; }
  .site-footer .ft-tablet .ft-c1 { width: 150px; }
  .site-footer .ft-tablet .ft-c2 { width: 200px; }
  .site-footer .ft-tablet .ft-c3 { width: 125px; flex-shrink: 0; }
  .site-footer .ft-tablet .ft-c4 { width: 150px; }
}

/* ---------- Phone (<=767): logo on top, Company | Contact, then the Services menu ---------- */
@media (max-width: 767px) {
  .site-footer .ft-tablet { display: none; }
  .site-footer .ft-mobile { display: flex; }
  .site-footer .ft-mobile .ft-in { padding: 0; }
  .site-footer .ft-mobile .ft-row { flex-wrap: wrap; }
  .site-footer .ft-mobile .ft-brand { width: 100%; }
  .site-footer .ft-mobile .ft-logo img, .site-footer .ft-mobile .ft-logo-ph { width: var(--ft-logo-m); }
  .site-footer .ft-mobile .ft-logo-ph { height: var(--ft-logo-m); }
  .site-footer .ft-mobile .ft-brand-text { font-size: 1.5em; }

  .site-footer .ft-m-wrap { display: flex; flex-direction: column; gap: 20px; padding: 10px; margin-top: -20px; }
  .site-footer .ft-m-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(1, 1fr); gap: 20px; padding: 10px; }
  .site-footer .ft-m-grid .ft-col { width: auto; align-items: flex-start; }
  .site-footer .ft-m-grid .ft-m-second { margin: 0 10px; align-items: stretch; }
  .site-footer .ft-mobile .ft-title { font-size: 20px; line-height: 1em; align-self: flex-start; }
  .site-footer .ft-mobile .ft-links li { font-size: 12px; }

  /* Services: vertical nav menu (13px 20px item padding, -15px between items) */
  .site-footer .ft-m-menu-wrap { padding: 10px; margin-top: -35px; }
  .site-footer .ft-m-menu { gap: 0; width: 100%; }
  .site-footer .ft-menu { margin-left: -20px; width: 100%; }
  .site-footer .ft-menu li:not(:last-child) { margin-bottom: -15px; }
  .site-footer .ft-menu a, .site-footer .ft-menu span { display: block; padding: 13px 20px; font-family: var(--ft-menu-font); font-size: 12px; font-weight: 400; line-height: 20px; color: #fff; transition: color .3s; }
  .site-footer .ft-menu a:hover { color: #61CE70; }

  .site-footer .ft-mobile .ft-bottom { flex-wrap: wrap; margin-top: -45px; }
  .site-footer .ft-mobile .ft-copy { font-size: 10px; }
  .site-footer .ft-mobile .ft-social { --ft-icon: 20px; }
}

/* ---------- Compact footer for tablets / phones (collapsible sections) ----------
   Switched on in the admin (Footer → "Compact footer on tablets / phones"). */
.site-footer .ft-compact { padding: 36px 32px 20px; }
.site-footer .ftc { width: 100%; max-width: 900px; margin: 0 auto; }
.site-footer .ftc-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 26px; }
.site-footer .ft-compact .ft-logo img, .site-footer .ft-compact .ft-logo-ph { width: var(--ft-logo-m); }
.site-footer .ft-compact .ft-logo-ph { height: var(--ft-logo-m); }
.site-footer .ft-compact .ft-brand-text { font-size: 1.35em; line-height: 1.3; }
.site-footer .ftc-acc { border-top: 1px solid rgba(255,255,255,.14); }
.site-footer .ftc-sec { border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer .ftc-sec > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 2px;
  list-style: none; cursor: pointer; color: #fff; -webkit-tap-highlight-color: transparent;
}
.site-footer .ftc-sec > summary::-webkit-details-marker { display: none; }
.site-footer .ftc-title { font-family: var(--ft-head-font); font-size: 20px; font-weight: 400; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.site-footer .ftc-chev { flex: 0 0 auto; color: #8c8c8c; transition: transform .25s ease, color .2s; }
.site-footer .ftc-sec > summary:hover .ftc-chev { color: #fff; }
.site-footer .ftc-sec[open] .ftc-chev { transform: rotate(180deg); color: #fff; }
.site-footer .ftc-sec > summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-footer .ftc-links { display: flex; flex-direction: column; gap: 14px; padding: 2px 2px 22px; }
.site-footer .ftc-links li { font-family: var(--ft-link-font); font-size: 15px; font-weight: 400; line-height: 1.45; color: #d9d9d9; overflow-wrap: break-word; }
.site-footer .ftc-links a { color: #d9d9d9; transition: color .2s; }
.site-footer .ftc-links a:hover { color: #fff; }
.site-footer .ft-compact .ft-text { padding: 0 2px 22px; font-size: 14px; color: #d9d9d9; }
/* smooth open / close where the browser supports it */
@supports selector(::details-content) {
  .site-footer .ftc-sec { interpolate-size: allow-keywords; }
  .site-footer .ftc-sec::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
  .site-footer .ftc-sec[open]::details-content { height: auto; }
}
.site-footer .ftc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; }
.site-footer .ftc-bottom .ft-copy { text-align: left; font-size: 12px; }
.site-footer .ftc-bottom .ft-social { --ft-icon: 22px; margin: 0 -6px; flex-wrap: nowrap; }
.site-footer .ftc-bottom .ft-social li { margin: 0 6px; }
.site-footer .ft-compact .ft-bottom-links { justify-content: flex-start; padding-top: 12px; }
@media (max-width: 767px) {
  .site-footer .ft-compact { padding: 32px 20px 18px; }
  .site-footer .ftc-bottom { flex-direction: column-reverse; gap: 14px; }
  .site-footer .ftc-bottom .ft-copy { text-align: center; }
}
