/* Footer — cinematic editorial close. */
.footer {
  --footer-ink: #f8f7f3;
  --footer-muted: rgba(230, 232, 238, 0.62);
  --footer-soft: rgba(230, 232, 238, 0.48);
  --footer-line: rgba(255, 255, 255, 0.11);
  --footer-red: #d92632;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-top: 0;
  background:
    radial-gradient(80% 22rem at 50% -12rem, rgba(211, 119, 79, 0.16), transparent 68%),
    linear-gradient(180deg, #07101f 0%, #040914 42%, #02060e 100%);
  color: var(--footer-ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease, ease), transform 0.8s var(--ease, ease);
}

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

.footer__inner {
  width: 100%;
  max-width: 82rem;
  margin: 0 auto;
}

.footer__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(25rem, 0.82fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: stretch;
  padding-bottom: clamp(5rem, 8vw, 7rem);
}

.footer__hero-message {
  min-width: 0;
}

.footer__logo {
  display: inline-flex;
  margin: -1.2rem 0 clamp(2.5rem, 4vw, 3.75rem);
}

.footer__logo .logo-mark {
  width: 112px;
  height: 112px;
}

.footer__headline {
  max-width: 17ch;
  margin: 0;
  color: var(--footer-ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 4.65rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.048em;
}

.footer__motto {
  max-width: 38rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  color: var(--footer-muted);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(25px, 1.7vw, 27px);
  font-weight: 400;
  line-height: 1.65;
}

.footer__hero-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: clamp(3rem, 4vw, 4rem);
  border-left: 1px solid var(--footer-line);
}

.footer__cta-heading {
  margin: 0 0 1.5rem;
  color: var(--footer-muted);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.65rem;
  padding: 0.95rem 1.55rem;
  border: 0;
  border-radius: 8px;
  background: var(--footer-red);
  box-shadow: 0 18px 34px -22px rgba(217, 38, 50, 0.8);
  color: #fff;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.footer__cta span {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.footer__info {
  display: grid;
  grid-template-columns: 1.35fr 1.2fr 0.75fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--footer-line);
  border-bottom: 1px solid var(--footer-line);
}

.footer__col-heading {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__address {
  margin: 1.25rem 0 0;
  color: var(--footer-soft);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer__col-link,
.footer__links a {
  position: relative;
  display: block;
  width: fit-content;
  margin-top: 0.55rem;
  padding-bottom: 0.12rem;
  color: var(--footer-soft);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.3s ease;
}

.footer__address + .footer__col-link,
.footer__links a:first-of-type {
  margin-top: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.footer__social-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
}

.footer__copyright,
.footer__back-top {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
}

.footer__back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__back-top span {
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer__cta:hover {
    background: #e22b38;
    box-shadow: 0 22px 40px -20px rgba(217, 38, 50, 0.95);
    transform: translateY(-2px);
  }

  .footer__cta:hover span { transform: translateX(4px); }

  .footer__col-link:hover,
  .footer__links a:hover,
  .footer__back-top:hover { color: var(--footer-ink); }

  .footer__social-link:hover {
    border-color: var(--footer-red);
    background: var(--footer-red);
    color: #fff;
    transform: translateY(-2px);
  }

  .footer__back-top:hover span { transform: translateY(-2px); }
}

@media (max-width: 64rem) {
  .footer__hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.75fr);
    gap: 3rem;
  }

  .footer__hero-cta { padding-left: 3rem; }
  .footer__info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
  .footer__hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer__hero-cta {
    padding: 2.5rem 0 0;
    border-top: 1px solid var(--footer-line);
    border-left: 0;
  }

  .footer__headline {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .footer__info {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

@media (max-width: 30rem) {
  .footer__headline br { display: none; }
  .footer__cta { width: 100%; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
}
