footer.site-footer {
  --accent: #00986c;
  --text-muted: #5c6773;
  --text-light: #8b95a1;
  --border: #e4e9ee;
  margin: 0;
  padding: 2.5rem 0 2rem;
  background: transparent;
  color: inherit;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__brand img {
  height: 5rem;
  width: auto;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
}

footer.site-footer .site-footer__links a,
footer.site-footer a {
  color: var(--text-muted);
}

footer.site-footer .site-footer__links a:hover,
footer.site-footer a:hover {
  color: var(--accent);
}

.site-footer__copy {
  width: 100%;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 640px) {
  .site-footer__inner { flex-direction: column; text-align: center; }
  .site-footer__brand { justify-content: center; }
  .site-footer__links { justify-content: center; }
}

.cookie-notification {
  --accent: #00986c;
  --accent-dark: #007a57;
  --text: #1a2332;
  --text-muted: #5c6773;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --border: #e4e9ee;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookie-notification[hidden] {
  display: none;
}

.cookie-notification__card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 35, 50, 0.12);
}

.cookie-notification__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cookie-notification .policy-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 152, 108, 0.35);
}

.cookie-notification .policy-link:hover {
  color: var(--accent-dark);
}

.cookie-notification__btn {
  flex: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 152, 108, 0.25);
}

.cookie-notification__btn:hover {
  background: var(--accent-dark);
}

.policy-modal {
  --accent: #00986c;
  --text: #1a2332;
  --text-muted: #5c6773;
  --bg: #f7f9fb;
  --radius: 16px;
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 20, 28, 0.72);
  backdrop-filter: blur(6px);
}

.policy-modal[hidden] {
  display: none;
}

.policy-modal__dialog {
  width: min(100%, 40rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--text);
}

.policy-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.policy-modal__head h3 {
  margin: 0;
  font-size: 1.125rem;
}

.policy-modal__close {
  appearance: none;
  border: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.policy-modal__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.policy-modal__body h1,
.policy-modal__body h2,
.policy-modal__body h3 {
  color: var(--text);
  font-size: 1rem;
}

.policy-modal__body a {
  color: var(--accent);
}

@media (max-width: 640px) {
  .cookie-notification__card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-notification__btn {
    width: 100%;
  }
}
