/* ===========================================================
   Footer
   =========================================================== */

footer {
  width: 100%;
}

.site-footer {
  position: relative;
  width: 100%;
  background:
    radial-gradient(760px 460px at 12% 0%, rgba(30, 58, 255, 0.28), transparent 62%),
    radial-gradient(620px 420px at 92% 100%, rgba(255, 90, 30, 0.20), transparent 60%),
    linear-gradient(180deg, #0E1424 0%, #0A0F1E 100%);
  border-top: none;
  color: rgba(255, 255, 255, 0.72);
}
/* hot accent bar tying footer to the site */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-brand) 0%, #5B73FF 45%, #FF7A00 100%);
}
.site-footer__logo img {
  filter: brightness(0) invert(1);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px) 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Left ---------------------------------------------------- */
.site-footer__logo {
  display: inline-block;
}
.site-footer__logo img {
  width: auto;
  height: 28px;
  display: block;
}

.site-footer__company {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.site-footer__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}

.site-footer__addr,
.site-footer__tel {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
}

.site-footer__tel a {
  text-decoration: none;
  color: #fff;
  font-family: var(--ff-en);
  font-weight: 600;
  margin-left: 2px;
}
.site-footer__tel a:hover { color: var(--c-hot-2); opacity: 1; }

/* Right (nav) -------------------------------------------- */
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  justify-self: end;
  width: 100%;
}

.footer-menu__list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.footer-menu__list a {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-menu__list a:hover {
  color: var(--c-hot-2);
  padding-left: 4px;
  opacity: 1;
}

/* Bottom -------------------------------------------------- */
.site-footer__bottom {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__copy {
  margin: 0;
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive --------------------------------------------- */
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    padding: 48px 20px 24px;
  }
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
