/* ==========================================================================
   footer.css — mega footer
   ========================================================================== */

.site-footer {
  background: var(--indigo-950);
  color: #cabfe2;
}

.site-footer__top {
  padding-block: var(--sp-10) var(--sp-8);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr 1.3fr;
  gap: var(--sp-6);
}

.site-footer__brand p {
  font-size: 0.88rem;
  color: #a99fc2;
  margin-block: var(--sp-4) var(--sp-4);
  max-width: 26ch;
  line-height: 1.55;
}

.site-footer__made-in {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ember-400);
  padding: 0.35em 0.85em;
  border-radius: var(--radius-pill);
  background: rgba(245, 166, 35, 0.12);
}
.site-footer__made-in::before {
  content: "\1F1EE\1F1F3";
}

.site-footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.site-footer__col a {
  font-size: 0.87rem;
  color: #b6acce;
  transition: color 0.2s var(--ease);
}
.site-footer__col a:hover {
  color: var(--ember-400);
}

.site-footer__col--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.85rem;
  color: #b6acce;
  line-height: 1.5;
}
.site-footer__col--contact svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.2em;
  color: var(--ember-400);
}
.site-footer__col--contact a {
  color: #b6acce;
}
.site-footer__col--contact a:hover {
  color: var(--ember-400);
}

.site-footer__bottom {
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.site-footer__bottom p {
  font-size: 0.82rem;
  color: #8a80a3;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  font-size: 0.82rem;
  color: #8a80a3;
}
.site-footer__legal a {
  color: #8a80a3;
  transition: color 0.2s var(--ease);
}
.site-footer__legal a:hover {
  color: var(--ember-400);
}

@media (max-width: 980px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--sp-8);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
