/* LOOK HERE · Footer compartido */

@keyframes footerAudioWaveNear {
  0%,
  to {
    opacity: 0.35;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
@keyframes footerAudioWaveFar {
  0%,
  to {
    opacity: 0.22;
    transform: scale(0.78);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.04);
  }
}
.footer {
  --footer-ink: #fbf2df;
  --footer-muted: #fbf2dfb8;
  --footer-line: #fbf2df2e;
  --footer-pad: clamp(22px, 2.25vw, 48px);
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--footer-line);
  background: #000;
  color: var(--footer-ink);
  font-family: "Space Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__brand-bar {
  flex: 1 0 auto;
  width: 100%;
  min-height: clamp(320px, 58svh, 760px);
  padding: clamp(96px, 15svh, 210px) var(--footer-pad)
    clamp(14px, 1.25vw, 24px);
  display: flex;
  align-items: flex-end;
}
.footer audio,
.footer__mobile-contact {
  display: none;
}
.footer .footer-logo {
  width: 100%;
  height: auto;
  display: block;
  line-height: 0;
}
.footer .footer-logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.footer__info-bar,
.footer__utility-bar {
  flex: 0 0 auto;
  width: 100%;
  background: #000;
}
.footer__info-bar {
  border-top: 1px solid var(--footer-line);
  border-bottom: 1px solid var(--footer-line);
}
.footer__info,
.footer__utility {
  width: 100%;
  padding-inline: var(--footer-pad);
}
.footer__info {
  min-height: clamp(82px, 8vw, 108px);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto minmax(560px, 1.6fr);
  align-items: center;
  gap: 18px clamp(26px, 3.5vw, 72px);
}
.footer__copyright,
.footer__credit,
.footer__legal-links a {
  color: var(--footer-muted);
  font-family: "Space Mono", monospace;
  font-size: clamp(9px, 0.76vw, 11px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer__credit {
  justify-self: center;
  text-align: center;
}
.footer .contact__links {
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
  text-align: right;
}
.footer .contact__links a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--footer-ink);
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.footer .contact__arrow,
.footer .contact__label {
  font-family: "Space Mono", monospace;
  font-weight: 700;
}
.footer .contact__label {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.footer .contact__arrow {
  flex: 0 0 auto;
  display: inline-block;
  font-size: clamp(22px, 1.65vw, 26px);
  line-height: 0.72;
  transform: translateY(-0.08em);
}
.footer .contact__links a:focus-visible,
.footer .contact__links a:hover,
.footer__legal-links a:focus-visible,
.footer__legal-links a:hover {
  color: #ff3042;
}
.footer__utility {
  min-height: clamp(78px, 7vw, 94px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.35vw, 22px);
}
.footer .audio-toggle,
.footer__cookie-control {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #fbf2df6b;
  border-radius: 999px;
  background: 0 0;
  color: var(--footer-ink);
  font:
    700 11px/1 "Space Mono",
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}
.footer .audio-toggle {
  z-index: 120;
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  background: #000000d9;
  box-shadow: 0 10px 30px #0000002e;
}
.footer__cookie-control {
  box-shadow: none;
  position: static;
}
.legal-page .footer__cookie-control {
  z-index: 120;
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: calc(clamp(14px, 2vw, 28px) + env(safe-area-inset-bottom));
  background: #000000e8;
  box-shadow: 0 10px 30px #0000002e;
}
.footer .audio-toggle:focus-visible,
.footer .audio-toggle:hover,
.footer__cookie-control:focus-visible,
.footer__cookie-control:hover {
  border-color: var(--footer-ink);
  background: var(--footer-ink);
  color: #000;
  outline: 0;
  transform: translateY(-2px);
}
.footer .audio-toggle__icon {
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  display: grid;
}
.footer .audio-toggle__svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer .audio-toggle__svg path:first-child {
  stroke: none;
}
.footer .audio-toggle.is-muted .audio-toggle__svg--sound,
.footer .audio-toggle__svg--muted {
  display: none;
}
.footer .audio-toggle.is-muted .audio-toggle__svg--muted {
  display: block;
}
.footer .audio-toggle__svg .audio-speaker {
  fill: currentColor;
  stroke: none;
}
.footer .audio-toggle__svg .audio-mute-line,
.footer .audio-toggle__svg .audio-wave {
  fill: none;
  stroke: currentColor;
}
.footer .audio-toggle__svg .audio-wave {
  transform-box: fill-box;
  transform-origin: 0;
  opacity: 0.72;
}
.footer .audio-toggle.is-playing .audio-wave--near {
  animation: 1.05s ease-in-out infinite footerAudioWaveNear;
}
.footer .audio-toggle.is-playing .audio-wave--far {
  animation: 1.05s ease-in-out 0.16s infinite footerAudioWaveFar;
}
.footer .audio-toggle:not(.is-playing) .audio-wave {
  opacity: 0.55;
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .footer .audio-toggle,
  .footer .contact__links a,
  .footer__cookie-control,
  .footer__legal-links a {
    transition: none;
  }
  .footer .audio-toggle.is-playing .audio-wave {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .footer__brand-bar {
    min-height: clamp(300px, 56svh, 620px);
  }

  .footer__info {
    min-height: 0;
    padding-block: 30px;
    grid-template-columns: 1fr auto;
  }

  .footer__credit {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .footer__info > .contact__links {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .footer {
    --footer-pad: clamp(18px, 5vw, 28px);
    min-height: 0;
  }

  .footer__mobile-contact {
    display: block;
    padding: 22px var(--footer-pad) 20px;
    border-bottom: 1px solid var(--footer-line);
  }

  .footer__mobile-contact .contact__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer__mobile-contact .contact__label {
    font-size: clamp(15px, 4.3vw, 19px);
  }

  .footer__brand-bar {
    flex: 0 0 auto;
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 22px;
  }

  .footer__info {
    padding-block: 26px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer__credit,
  .footer__copyright {
    white-space: normal;
  }

  .footer__info > .contact__links {
    display: none;
  }

  .footer__utility {
    min-height: 0;
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__legal-links {
    align-items: flex-start;
  }
}
