/* =============================================
   VoresKalundborg – Footer (LEGACY — kun .vk-footer-*)
   Placering: /css/footer.css

   NB: Tidligere skjulte vi <footer id="site-footer"> her, fordi et
   gammelt mu-plugin renderede en konkurrerende .vk-footer. Det plugin
   er nu .disabled-by-handoff, så vi MÅ IKKE skjule site-footer længere
   — ellers forsvinder den globale dark-green footer på alle sider.
   Den aktive footer styles i tokens.css §18.
   ============================================= */

.vk-footer {
  background: #1E2E1E;
  font-family: 'Work Sans', sans-serif;
}

.vk-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 32px 28px;
}

/* --- TOP GRID --- */
.vk-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* --- BRAND --- */
.vk-footer-brand {}

.vk-footer-logo {
  margin-bottom: 16px;
}

.vk-footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.vk-footer-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.vk-footer-desc {
  font-size: 13px;
  /* WCAG AA: 0.45 alpha gav 3.95:1 → fail. 0.65 alpha = 6.47:1 på dark-green. */
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}

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

.vk-footer-contact a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}

.vk-footer-contact a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.vk-footer-contact svg {
  flex-shrink: 0;
  opacity: 0.5;
}

/* --- KOLONNER --- */
.vk-footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  /* WCAG AA: 0.35 alpha gav 2.99:1 → fail. 0.6 alpha = 5.77:1 på dark-green. */
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.vk-footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.vk-footer-col a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* --- BUND --- */
.vk-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.vk-footer-bottom p {
  font-size: 12px;
  /* WCAG AA: 0.3 alpha gav 2.55:1 → fail. 0.6 alpha = 5.77:1 på dark-green. */
  color: rgba(255, 255, 255, 0.6);
}

.vk-footer-social {
  display: flex;
  gap: 8px;
}

.vk-footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.vk-footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* --- RESPONSIV --- */
@media (max-width: 860px) {
  .vk-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .vk-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .vk-footer-top {
    grid-template-columns: 1fr;
  }

  .vk-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vk-footer-inner {
    padding: 40px 20px 24px;
  }
}
