.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(239, 130, 10, 0.3);
  background: linear-gradient(145deg, rgba(16, 24, 40, 0.95), rgba(30, 18, 11, 0.92));
  color: #f8fbff;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.site-footer__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/footerbackground.webp') center center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(8, 14, 24, 0.68), rgba(22, 14, 9, 0.7));
}

.site-footer__orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(20px);
}

.site-footer__orb--one {
  left: -5rem;
  top: -5rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(239, 130, 10, 0.35), transparent 70%);
}

.site-footer__orb--two {
  right: -6rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(97, 124, 179, 0.28), transparent 70%);
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(260px, 1.25fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
}

.site-footer__logo {
  width: clamp(170px, 16vw, 250px);
  height: auto;
}

.site-footer__brand-text {
  margin-top: 1rem;
  max-width: 34ch;
  color: rgba(245, 250, 255, 0.94);
  font-size: 0.9rem;
  line-height: 1.6;
  text-wrap: balance;
}

.site-footer__quote {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ef820a;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(239, 130, 10, 0.3);
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.site-footer__quote:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 28px rgba(239, 130, 10, 0.36);
}

.site-footer__heading {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f3b56a;
}

.site-footer__links {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.footer-nav-link {
  color: #f2f7ff;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.45;
  width: fit-content;
  transition: color 190ms ease, transform 190ms ease;
}

.footer-nav-link:hover,
.footer-nav-link.is-active {
  color: #f3b56a;
  transform: translateX(2px);
}

.site-footer__contact-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.site-footer__contact-list p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #f2f7ff;
  overflow-wrap: anywhere;
}

.site-footer__contact-list span {
  display: inline-block;
  padding: 0.12rem 0.34rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(240, 161, 69, 0.35);
  background: rgba(240, 161, 69, 0.1);
  color: #f0a145;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(240, 247, 255, 0.92);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer__social a {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(240, 161, 69, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: #f0a145;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: transform 190ms ease, border-color 190ms ease, background-color 190ms ease;
}

.site-footer__social a:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 161, 69, 0.8);
  background: rgba(240, 161, 69, 0.15);
}

@media (min-width: 1440px) {
  .site-footer__inner {
    width: min(1320px, calc(100% - 3.5rem));
    padding: 2.8rem 0;
  }

  .site-footer__grid {
    gap: 2.4rem;
  }
}

@media (max-width: 1200px) {
  .site-footer__inner {
    width: min(1120px, calc(100% - 1.8rem));
    padding: 2.2rem 0;
  }

  .site-footer__grid {
    gap: 1.5rem;
  }
}

@media (max-width: 980px) {
  .site-footer__inner {
    width: calc(100% - 1.4rem);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .site-footer__grid > section:first-child {
    grid-column: 1 / -1;
  }

  .site-footer__brand-text {
    max-width: 44ch;
  }
}

@media (max-width: 700px) {
  .site-footer__inner {
    width: calc(100% - 1rem);
    padding: 1.8rem 0 1.5rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }

  .site-footer__brand-text {
    max-width: 100%;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .site-footer__heading {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .site-footer__links {
    margin-top: 0.72rem;
    gap: 0.42rem;
  }

  .footer-nav-link {
    font-size: 0.85rem;
  }

  .site-footer__contact-list {
    margin-top: 0.72rem;
    gap: 0.5rem;
  }

  .site-footer__contact-list p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .site-footer__contact-list span {
    font-size: 0.58rem;
    padding: 0.1rem 0.26rem;
  }

  .site-footer__quote {
    padding: 0.46rem 0.86rem;
    font-size: 0.8rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1.3rem;
    gap: 0.6rem;
  }

  .site-footer__social a {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.64rem;
  }

  .site-footer__social {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-footer__inner {
    width: calc(100% - 0.85rem);
    padding: 1.55rem 0 1.3rem;
  }

  .site-footer__orb--one {
    width: 12rem;
    height: 12rem;
    left: -4rem;
    top: -4rem;
  }

  .site-footer__orb--two {
    width: 13rem;
    height: 13rem;
    right: -4.5rem;
    bottom: -4.5rem;
  }

  .site-footer__logo {
    width: clamp(140px, 44vw, 190px);
  }

  .site-footer__brand-text {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .site-footer__quote {
    width: 100%;
    justify-content: center;
    min-height: 2.6rem;
  }

  .site-footer__bottom p {
    font-size: 0.7rem;
  }

  .site-footer__social {
    gap: 0.42rem;
    justify-content: flex-start;
  }

  .site-footer__social a {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@media (max-width: 390px) {
  .site-footer__inner {
    width: calc(100% - 0.65rem);
  }

  .site-footer__heading {
    font-size: 0.63rem;
    letter-spacing: 0.14em;
  }

  .footer-nav-link,
  .site-footer__contact-list p {
    font-size: 0.8rem;
  }

  .site-footer__brand-text {
    font-size: 0.76rem;
  }

  .site-footer__contact-list p {
    gap: 0.35rem;
  }

  .site-footer__social a {
    width: 1.72rem;
    height: 1.72rem;
    font-size: 0.6rem;
  }
}

@media (max-height: 700px) and (orientation: landscape) {
  .site-footer__inner {
    padding-top: 1.4rem;
    padding-bottom: 1.2rem;
  }

  .site-footer__grid {
    gap: 0.9rem;
  }

  .site-footer__brand-text {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .site-footer__bottom {
    margin-top: 1rem;
  }
}

