.footer-privacy-link {
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
}

.footer-privacy-link:hover {
  color: var(--cream);
}

.footer-privacy-link,
.consent-modal-policy__link {
  text-decoration: none;
}

.consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: min(460px, calc(100vw - 32px));
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(12, 19, 13, 0.98) 0%, rgba(8, 12, 9, 0.98) 100%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.consent-banner[hidden],
.consent-modal-overlay[hidden] {
  display: none;
}

.consent-banner__copy {
  margin-bottom: 1rem;
}

.consent-banner__eyebrow {
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.consent-banner__text {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.75;
}

.consent-banner__actions,
.consent-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.consent-link {
  padding-bottom: 0;
}

.consent-link::after {
  bottom: -2px;
}

.consent-accept {
  min-width: 180px;
  justify-content: center;
}

.consent-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 8, 5, 0.78);
  backdrop-filter: blur(10px);
}

.consent-modal {
  position: relative;
  width: min(620px, 100%);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(14, 22, 15, 0.98) 0%, rgba(8, 12, 9, 0.98) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.consent-modal-close {
  top: 16px;
  right: 16px;
}

.consent-modal-sub {
  max-width: 520px;
}

.consent-modal-policy {
  margin: -0.5rem 0 1.4rem;
}

.consent-modal-policy__link {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.consent-modal-policy__link:hover {
  color: var(--cream);
}

.consent-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 1.5rem 0 1.75rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.consent-option__title {
  margin-bottom: 0.35rem;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 500;
}

.consent-option__text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.consent-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  white-space: nowrap;
}

.consent-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-switch__slider {
  position: relative;
  width: 52px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.consent-switch__slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform 0.25s ease;
}

.consent-switch input:checked + .consent-switch__slider {
  background: rgba(196, 155, 44, 0.22);
  border-color: rgba(196, 155, 44, 0.5);
}

.consent-switch input:checked + .consent-switch__slider::after {
  transform: translateX(22px);
  background: var(--gold);
}

.consent-switch__label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.consent-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .consent-banner {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .consent-option {
    flex-direction: column;
  }

  .consent-switch {
    white-space: normal;
  }

  .consent-accept {
    width: 100%;
  }
}
