/* ============================================================
   ALIFY — footer.css · global footer (every page)
   ============================================================ */

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(56, 65, 102, .35), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: var(--section);
}

.footer__grid { display: grid; gap: 3rem; }

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .footer__brand { grid-column: 1 / 5; padding-right: 2rem; }
  .footer__col--company { grid-column: 5 / 7; }
  .footer__col--services { grid-column: 7 / 10; }
  .footer__col--contact { grid-column: 10 / 13; }
}

.footer__brand .brand { font-size: 1.7rem; }
.footer__tag { margin-top: 1.1rem; color: var(--muted); font-size: .95rem; max-width: 34ch; }

/* newsletter */
.footer__news { margin-top: 2rem; }
.footer__news-label {
  font-family: var(--ff-mono); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-2); display: block; margin-bottom: .9rem;
}

/* columns */
.footer__head {
  font-family: var(--ff-mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: 1.35rem;
  display: flex; align-items: center; gap: .6rem;
}
.footer__head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.footer__links { list-style: none; display: grid; gap: .7rem; }
.footer__links--2col { grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }

.footer__link {
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
  display: inline-block;
  transition: color .3s, transform .3s;
}
.footer__link:hover, .footer__link:focus-visible { color: var(--green); transform: translateX(4px); }

/* contact column */
.footer__contact { display: grid; gap: 1.1rem; color: var(--muted); font-size: .93rem; }
.footer__contact a { color: var(--off); text-decoration: none; font-weight: 500; }
.footer__contact a:hover { color: var(--green); }
.footer__contact-row { display: flex; gap: .8rem; align-items: flex-start; }
.footer__contact-row .ph { color: var(--teal-2); font-size: 1.15rem; margin-top: .1rem; flex: none; }

/* socials */
.socials { display: flex; gap: .7rem; list-style: none; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: color .3s, border-color .3s, transform .3s;
}
.socials a:hover { color: var(--green); border-color: var(--green); transform: translateY(-3px); }

/* watermark */
.footer__wm { margin-top: clamp(3rem, 7vw, 5.5rem); line-height: .8; }
.footer__wm .wm { display: block; transform: translateY(.12em); }

/* bottom bar */
.footer__bottom {
  margin-top: -1px;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem 2rem;
  font-family: var(--ff-mono);
  font-size: .74rem; letter-spacing: .08em;
  color: var(--faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; }
.footer__legal a { color: var(--faint); text-decoration: none; transition: color .3s; }
.footer__legal a:hover { color: var(--green); }
.footer__bottom-right { display: flex; align-items: center; gap: 1.25rem; }

.to-top {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  color: var(--off); background: transparent;
  transition: border-color .3s, color .3s, transform .35s;
}
.to-top:hover { border-color: var(--green); color: var(--green); transform: translateY(-4px); }
