.footer-reveal {
  position: relative;
  isolation: isolate;
  background: #000;
  --footer-opacity: 1;
  --contact-edge: max(24px, calc((100% - 1120px) / 2));
}
.inner-page .footer-reveal {
  background: var(--page-bg);
}
.inner-page .footer-label {
  color: var(--page-text);
}
@media (min-width: 641px) and (max-width: 900px) and (min-height: 501px) {
  .inner-page .footer-main {
    grid-template-columns: minmax(160px, 1.1fr) minmax(80px, 0.6fr) minmax(
        160px,
        1.1fr
      );
    gap: 24px;
  }
  .inner-page .footer-brand {
    grid-column: auto;
  }
  .inner-page .footer-logo {
    width: 160px;
    height: 49px;
  }
  .inner-page .footer-logo img {
    width: 205px;
    left: -22px;
    top: -16px;
  }
}
.footer-reveal[data-footer-reveal="fixed"] {
  height: var(--footer-height);
  clip-path: inset(0);
}
.footer-reveal[data-footer-reveal="fixed"] > .site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}
.footer-reveal[data-footer-reveal="fixed"][data-footer-tall="true"]
  > .site-footer {
  top: 0;
  bottom: auto;
  transform: translateY(var(--footer-shift, 0px));
}
@media (min-width: 901px) {
  .footer-main {
    grid-template-columns:
      minmax(220px, 1.2fr) minmax(100px, 0.65fr) minmax(200px, 1.2fr)
      minmax(160px, 1fr);
    gap: clamp(24px, 3.2vw, 64px);
    align-items: start;
  }
  .footer-links {
    padding-top: 8px;
  }
  .footer-label {
    margin: 0 0 22px;
    font-size: 11px;
    color: #eee;
  }
  .footer-legal {
    justify-content: flex-start;
    gap: 0;
  }
  .footer-legal a,
  .footer-legal [data-cookie-settings] {
    font-size: 12px;
    line-height: 1.5;
    min-height: 40px;
    padding-block: 8px;
  }
  .footer-bottom {
    flex-wrap: nowrap;
  }
}
@media (max-width: 900px) {
  .footer-legal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    padding-top: 20px;
    border-top: 1px solid #ffffff1f;
  }
  .footer-legal .footer-label {
    grid-column: 1 / -1;
  }
  .footer-legal [data-cookie-settings] {
    min-height: 44px;
    font-size: 10px;
  }
}
.footer-reveal .footer-main,
.footer-reveal .footer-bottom {
  opacity: var(--footer-opacity);
}
.footer-reveal > .site-footer::before,
.footer-reveal > .site-footer::after {
  display: none;
}
.footer-reveal::before,
.footer-reveal::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: var(--orange);
}
.footer-reveal::after {
  background: var(--orange);
  filter: drop-shadow(0 0 6px #ff5108) drop-shadow(0 0 16px #ff510899);
}
@media (max-width: 640px) {
  .footer-reveal {
    --contact-edge: 16px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 18px 16px max(12px, env(safe-area-inset-bottom));
  }
  .footer-main {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 14px 18px;
    padding-bottom: 12px;
  }
  .footer-brand {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 10px;
    padding-bottom: 12px;
  }
  .footer-logo {
    width: 130px;
    height: 40px;
  }
  .footer-logo img {
    width: 164px;
    left: -17px;
    top: -12px;
  }
  .footer-brand > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
  }
  .footer-socials {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    gap: 5px;
  }
  .footer-socials a {
    width: 32px;
    height: 32px;
  }
  .footer-socials svg {
    width: 17px;
    height: 17px;
  }
  .footer-email,
  .footer-phone {
    margin: 0;
    padding-block: 6px;
    font-size: 12px;
  }
  .footer-phone {
    justify-self: end;
  }
  .footer-label {
    margin: 0 0 5px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .footer-links a {
    min-height: 32px;
    padding-block: 5px;
    font-size: 11px;
    line-height: 1.35;
  }
  .footer-legal {
    padding-top: 10px;
    gap: 0 18px;
  }
  .footer-legal a,
  .footer-legal [data-cookie-settings] {
    min-height: 30px;
    padding-block: 5px;
    font-size: 11px;
    line-height: 1.35;
  }
  .footer-bottom {
    display: flex;
    align-items: center;
    padding-top: 8px;
    gap: 8px;
    flex-wrap: nowrap;
    font-size: 9px;
  }
  .footer-bottom > span {
    padding: 0;
    border: 0;
  }
  .footer-bottom > a {
    min-height: 32px;
    gap: 8px;
  }
}
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .site-footer {
    padding: 16px 20px max(10px, env(safe-area-inset-bottom));
  }
  .footer-main {
    grid-template-columns: 1fr 0.6fr 1.2fr 1fr;
    gap: 14px;
    padding-bottom: 12px;
  }
  .footer-brand {
    display: block;
    grid-column: auto;
    padding: 0;
    border: 0;
  }
  .footer-logo {
    width: 120px;
    height: 38px;
  }
  .footer-logo img {
    width: 152px;
    left: -16px;
    top: -12px;
  }
  .footer-brand > p {
    margin: 6px 0;
    font-size: 18px;
    line-height: 1.2;
  }
  .footer-socials {
    margin: 8px 0;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .footer-socials a {
    width: 28px;
    height: 28px;
  }
  .footer-socials svg {
    width: 16px;
    height: 16px;
  }
  .footer-email,
  .footer-phone {
    margin: 0;
    padding-block: 6px;
    font-size: 11px;
  }
  .footer-links,
  .footer-legal {
    display: flex;
    grid-column: auto;
    padding: 0;
    border: 0;
  }
  .footer-label {
    margin: 0 0 6px;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .footer-links a,
  .footer-legal [data-cookie-settings] {
    min-height: 32px;
    padding-block: 5px;
    font-size: 11px;
    line-height: 1.35;
  }
  .footer-bottom {
    padding-top: 8px;
    font-size: 9px;
    gap: 8px;
  }
  .footer-bottom > a {
    min-height: 32px;
  }
}
@media (max-width: 640px) and (max-height: 560px) and (orientation: portrait) {
  .site-footer {
    padding-block: 10px;
  }
  .footer-main {
    gap: 8px 18px;
    padding-bottom: 8px;
  }
  .footer-brand {
    padding-bottom: 8px;
    gap: 2px 10px;
  }
  .footer-label {
    margin-bottom: 3px;
  }
  .footer-links a {
    min-height: 26px;
    padding-block: 3px;
  }
  .footer-legal {
    padding-top: 6px;
  }
  .footer-legal a,
  .footer-legal [data-cookie-settings] {
    min-height: 26px;
    padding-block: 3px;
  }
  .footer-bottom {
    padding-top: 6px;
  }
}
