/* Site footer: brand (logo with tagline, description) | Resources | Contact | location (live map with the address beside it).
   One dark tone, no dividers, shared row rhythm; columns kept close in height so no empty band sits under them. */
.site-footer{display:block;--footer-bg:#211b18;--footer-text:#f0e4dc;--footer-muted:#b9a397;--footer-label:#a08676;--footer-rule:#ffffff14;--footer-accent:#e0915f;--map-tint:#4a2a17;--map-tint-strength:.7;
  background:radial-gradient(900px 340px at 0% 0%,#3a2417 0%,#3a241700 70%),radial-gradient(700px 300px at 100% 100%,#2e211b 0%,#2e211b00 70%),var(--footer-bg);
  border-top:1px solid #e0915f2b;color:var(--footer-text);padding:32px 6% 16px;font-size:15px;line-height:22px;-webkit-font-smoothing:antialiased}
.site-footer a{color:inherit;text-decoration:none;transition:color .15s}
/* Pages with their own generic nav rule (equipment.css: nav{display:flex}) must not reshape the Resources column. */
.site-footer nav{display:block;gap:0}
.footer-main{max-width:1300px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.75fr) minmax(0,.95fr) minmax(0,1.75fr);column-gap:44px;align-items:start}

/* Slogan sits on the same baseline as the "inferno" wordmark (the flame rises above it). */
.footer-id{display:flex;align-items:baseline;gap:16px}
.footer-id img{display:block;width:110px;height:auto}
.footer-tagline{margin:0;white-space:nowrap;font-size:18px;line-height:1.2;font-weight:600;letter-spacing:-.015em;color:#fff}
.footer-sub{margin:14px 0 0;max-width:360px;font-size:14px;line-height:22px;color:var(--footer-muted)}

.footer-head{margin:0 0 12px;font-size:12px;line-height:18px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--footer-label)}
.footer-head a:hover{color:var(--footer-accent)}
.footer-list{list-style:none;margin:0;padding:0}
.footer-list li{margin:0 0 8px}
.footer-list li:last-child{margin-bottom:0}
.footer-list a:hover{color:#fff}
.footer-phone{font-size:17px;font-weight:600;letter-spacing:-.005em;color:#fff}
.footer-phone:hover{color:var(--footer-accent)!important}
.footer-list .footer-cta{font-weight:600;color:var(--footer-accent)}
.footer-list .footer-cta:hover{color:#fff}

/* Location: a live Google map of Unit B38, tinted to the footer colours, with the address to its right.
   The map is a wide rectangle, close to the Contact column in height so the row ends nearly level. */
.footer-place{display:grid;grid-template-columns:188px minmax(0,1fr);column-gap:14px;align-items:start}
.footer-place-map{position:relative;height:132px;border-radius:12px;overflow:hidden;background:var(--footer-bg);box-shadow:0 0 0 1px var(--footer-rule)}
.footer-place-map iframe{display:block;width:100%;height:100%;border:0;filter:invert(.9) hue-rotate(180deg) saturate(.5) brightness(.95) contrast(.85)}
/* Colour wash over the map so it carries the footer's hue instead of Google's grey. */
.footer-place-map::after{content:'';position:absolute;inset:0;pointer-events:none;background:var(--map-tint);mix-blend-mode:color;opacity:var(--map-tint-strength)}
.footer-place-addr address{font-style:normal;font-size:14px;line-height:22px;color:var(--footer-muted);transition:color .15s}
.footer-place-addr:hover address{color:#fff}

.footer-bottom{max-width:1300px;margin:24px auto 0;padding-top:12px;border-top:1px solid var(--footer-rule);font-size:13px;color:var(--footer-label)}

/* Tablets and small laptops: brand across the top (logo and tagline beside the description), three columns under it. */
/* Inferno's longer slogan needs the wider screen before all four columns fit. */
@media(max-width:1439px){
.footer-main{grid-template-columns:minmax(0,.75fr) minmax(0,1fr) minmax(0,1.8fr);column-gap:36px;row-gap:22px}
.footer-brand{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;column-gap:48px;padding-bottom:22px;border-bottom:1px solid var(--footer-rule)}
.footer-sub{margin:0;max-width:440px}
}
/* Narrow tablets: the map sits above the address. */
@media(min-width:641px) and (max-width:1000px){
.footer-main{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) minmax(0,1.2fr)}
.footer-place{grid-template-columns:1fr;row-gap:10px}
.footer-place-map{height:72px}
}

/* Phones: sections stack; Resources are full-width tappable rows; the map is hidden (and never loads)
   and the address sits beside Contact so the footer stays short. */
@media(max-width:640px){
.site-footer{padding:28px 22px calc(16px + env(safe-area-inset-bottom));background:radial-gradient(500px 260px at 0% 0%,#3a2417 0%,#3a241700 70%),var(--footer-bg)}
.footer-main{grid-template-columns:auto minmax(0,1fr);column-gap:22px;row-gap:0}
.footer-brand{grid-column:1/-1;display:block;padding-bottom:22px;border-bottom:1px solid var(--footer-rule)}
.footer-id img{width:100px}
.footer-tagline{font-size:17px}
.footer-sub{margin-top:12px;font-size:14px;line-height:22px}
.footer-resources{grid-column:1/-1;padding:20px 0;border-bottom:1px solid var(--footer-rule)}
.footer-head{margin-bottom:6px}
.footer-resources .footer-list li{margin:0;border-top:1px solid var(--footer-rule)}
.footer-resources .footer-list li:first-child{border-top:0}
.footer-resources .footer-list a{display:flex;justify-content:space-between;align-items:center;padding:11px 0}
.footer-resources .footer-list a::after{content:'\203A';font-size:20px;line-height:1;color:var(--footer-label)}
.footer-contact{grid-column:1;padding-top:20px}
.footer-contact .footer-list{margin-top:6px}
.footer-contact .footer-list a{font-size:14px}
.footer-contact .footer-list .footer-phone{font-size:18px}
.footer-contact .footer-list li:last-child{margin-top:12px}
.footer-place{grid-column:2;display:block;padding-top:50px}
.footer-place-map{display:none}
.footer-place-addr address{font-size:13px;line-height:20px}
.footer-bottom{margin-top:20px;font-size:12px}
}
