
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding-block: var(--space-12);
  margin-top: auto;
}


.footer-glyph {
  position: absolute;
  left: -220px;
  bottom: -320px;
  width: 720px;
  opacity: 0.06;
  pointer-events: none;
}
.footer-glyph img { width: 100%; height: auto; }

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at bottom left, rgba(0, 139, 60, 0.25), transparent 70%);
  pointer-events: none;
}

.site-footer .container { position: relative; z-index: 1; }



/* --- Brand block --------------------------------------------------------- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-brand .logo-img { height: 56px; }

/* --- Columns ------------------------------------------------------------- */
.footer-heading {
  font-size: var(--text-10);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.footer-heading--spaced { margin-top: var(--space-3); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-links .footer-cookie-settings,
.footer-col p a {
  font-size: var(--text-16);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover,
.footer-links .footer-cookie-settings:hover,
.footer-col p a:hover { color: var(--color-white); }

.footer-cookie-settings {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  appearance: none;
  font-family: inherit;
  letter-spacing: inherit;
  text-align: left;
  vertical-align: baseline;
}

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-body);
  box-shadow: var(--shadow-raised);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__title {
  margin-bottom: 8px;
  font-size: var(--text-18);
  font-weight: 700;
  color: var(--color-ink);
}
.cookie-consent p { margin: 0; font-size: var(--text-15); line-height: 1.5; }
.cookie-consent a { color: var(--color-green-text); text-decoration: underline; }
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.cookie-consent__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: var(--text-15);
  line-height: 1.45;
}
.cookie-consent__option input { margin-top: 3px; accent-color: var(--color-green); }

.footer-address,
.footer-col p {
  font-size: var(--text-16);
  font-style: normal;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-3);
}

.footer-col--address .footer-heading { margin-top: 0; }


.footer-col,
.footer-col p,
.footer-col a,
.footer-address { min-width: 0; overflow-wrap: anywhere; }

/* --- Bottom bar ---------------------------------------------------------- */
.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.footer-bottom > .row {
  --bs-gutter-x: 0;
  margin-inline: 0;
}

.footer-copy {
  font-size: var(--text-14);
  color: rgba(255, 255, 255, 0.6);
}

.footer-badge {
  width: 139px;
  height: auto;
  flex: none;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.footer-bottom-right .footer-design { margin: 0; }

@media (max-width: 768px) {
  .footer-bottom-right { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .site-footer { padding-block: var(--space-8); }
  .footer-bottom { margin-top: var(--space-6); }
}

@media (max-width: 576px) {
  .footer-glyph { display: none; }
  .footer-brand .logo-img { height: 44px; } 
  .footer-badge { width: 110px; }
}
