/* OEAF — kompaktowa stopka */
.oeaf-footer,
.oeaf-footer * {
  box-sizing: border-box;
}

.oeaf-footer {
  --oeaf-footer-side: clamp(20px, 4vw, 72px);
  --oeaf-footer-column-gap: clamp(42px, 8vw, 150px);
  padding: clamp(34px, 4vw, 58px) var(--oeaf-footer-side) max(20px, env(safe-area-inset-bottom));
  background: #000;
  color: #fff;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: normal;
}

.oeaf-footer a {
  color: inherit;
  text-decoration: none;
}

.oeaf-footer a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

.oeaf-footer-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--oeaf-footer-column-gap);
  align-items: start;
}

.oeaf-footer-logo-heading {
  width: clamp(150px, 18vw, 250px);
  max-width: 100%;
  margin: 0;
  line-height: 0;
}

.oeaf-footer-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
  mix-blend-mode: normal;
}

.oeaf-footer-links {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.oeaf-footer-links a {
  display: flex;
  min-height: 44px;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: clamp(1rem, 0.91rem + 0.34vw, 1.35rem);
  line-height: 1.3;
  transition: padding-left 260ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.oeaf-footer-arrow {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  transform: translate3d(0, 0, 0);
  transition: transform 320ms cubic-bezier(0.18, 0.8, 0.2, 1);
}

.oeaf-footer-arrow::before,
.oeaf-footer-arrow::after {
  position: absolute;
  content: "";
}

.oeaf-footer-arrow::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
}

.oeaf-footer-arrow::after {
  top: 1px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.oeaf-footer-links a:hover {
  padding-left: 0.65rem;
}

.oeaf-footer-links a:hover .oeaf-footer-arrow,
.oeaf-footer-links a:focus-visible .oeaf-footer-arrow {
  transform: translate3d(0.32em, -0.32em, 0);
}

.oeaf-footer-up {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg) translateY(2px);
}

.oeaf-footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--oeaf-footer-column-gap);
  margin-top: clamp(22px, 2.8vw, 40px);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.oeaf-footer-contact h3 {
  margin: 0 0 0.62rem;
  font-size: clamp(0.88rem, 0.82rem + 0.22vw, 1.05rem);
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.oeaf-footer-contact p {
  max-width: 46ch;
  margin: 0 0 0.56rem;
  font-size: clamp(1rem, 0.94rem + 0.2vw, 1.18rem);
  line-height: 1.42;
}

.oeaf-footer-contact a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.oeaf-footer-bottom {
  display: flex;
  margin-top: clamp(18px, 2.4vw, 32px);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.oeaf-footer-bottom p {
  margin: 0;
}

.oeaf-footer-bottom > a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 0.55rem;
}

.oeaf-footer-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 760px) {
  .oeaf-footer-top,
  .oeaf-footer-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .oeaf-footer-logo-heading {
    width: min(52vw, 220px);
  }

  .oeaf-footer-contact {
    gap: 52px;
    margin-top: 46px;
  }

  .oeaf-footer-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oeaf-footer-links a,
  .oeaf-footer-links a > span[aria-hidden="true"] {
    transition: none;
  }
}

html[data-oeaf-motion="reduce"] .oeaf-footer-links a,
html[data-oeaf-motion="reduce"] .oeaf-footer-links a > span[aria-hidden="true"] {
  transition: none;
}
