.privacy-consent {
  position: fixed;
  z-index: 10000;
  right: clamp(14px, 3vw, 42px);
  bottom: clamp(14px, 3vw, 36px);
  left: clamp(14px, 3vw, 42px);
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) minmax(250px, auto);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 30px);
  color: #f7f7f4;
  background: rgba(12, 12, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  font-family: Barlow, Arial, sans-serif;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 180ms ease, transform 220ms ease;
}

.privacy-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.privacy-consent__rule {
  align-self: stretch;
  min-height: 74px;
  background: #df3b3b;
}

.privacy-consent__eyebrow {
  margin: 0 0 5px;
  color: #df3b3b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.privacy-consent h2 {
  margin: 0 0 7px;
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.privacy-consent__copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #c8c8c5;
  font-size: 0.94rem;
  line-height: 1.5;
}

.privacy-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 10px;
}

.privacy-consent__button,
.privacy-consent-settings {
  min-height: 48px;
  border: 1px solid #fff;
  border-radius: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.privacy-consent__button:hover,
.privacy-consent__button:focus-visible,
.privacy-consent-settings:hover,
.privacy-consent-settings:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid rgba(223, 59, 59, 0.35);
  outline-offset: 2px;
}

.privacy-consent__button--quiet {
  color: #fff;
  background: transparent;
}

.privacy-consent__button--accept {
  color: #fff;
  background: #df3b3b;
  border-color: #df3b3b;
}

.privacy-consent-settings {
  position: fixed;
  z-index: 9999;
  right: 14px;
  bottom: 14px;
  min-height: 36px;
  padding: 7px 11px;
  color: #fff;
  background: #111;
  border-color: rgba(255, 255, 255, 0.45);
  font-size: 0.64rem;
}

.privacy-consent-status {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.map-consent {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  padding: clamp(28px, 5vw, 64px);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 35%, rgba(223, 59, 59, 0.18), transparent 38%),
    #111;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.map-consent::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, transparent 55%, rgba(0, 0, 0, 0.45));
}

.map-consent__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.map-consent__marker {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0 auto 18px;
  background: #df3b3b;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 0 10px rgba(223, 59, 59, 0.15);
  transform: rotate(-45deg);
}

.map-consent__eyebrow {
  margin: 0 0 6px;
  color: #df3b3b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-consent__title {
  margin: 0 0 8px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}

.map-consent__body {
  margin: 0 auto 22px;
  color: #c8c8c5;
  line-height: 1.55;
}

.map-consent__button {
  justify-content: center;
  min-width: 210px;
}

.map-consent.is-loaded {
  display: block;
  padding: 0;
  background: #111;
}

.map-consent.is-loaded::after {
  content: none;
}

.map-consent iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(1) contrast(1.1);
}

@media (max-width: 820px) {
  .privacy-consent {
    grid-template-columns: 4px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .privacy-consent__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .privacy-consent__actions {
    grid-template-columns: 1fr;
  }

  .privacy-consent__button {
    width: 100%;
  }

  .map-consent {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-consent,
  .privacy-consent__button,
  .privacy-consent-settings {
    transition: none;
  }
}
