/* ========================================================================
   CYBERJUNIOR — FOOTER
======================================================================== */

.foot {
  background: var(--footer);
  color: #F6F4FB;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: clamp(54px, 6.4vw, 76px) 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr 1.15fr 1.35fr;
  gap: clamp(26px, 3.4vw, 46px);
}
.foot-about {
  font-size: 13px;
  color: #A69DB8;
  line-height: 1.68;
  margin: 16px 0 22px;
  max-width: 42ch;
}
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #CFC6DD;
  font-size: 13.5px;
  transition: border-color .2s ease, color .2s ease;
}
.foot-social a:hover { border-color: var(--brand); color: var(--brand-lift); }
.foot h4 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.foot ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: #A69DB8;
}
.foot ul a:hover { color: var(--brand-lift); }
.foot ul i { color: var(--brand-lift); margin-right: 8px; }
.foot-base {
  max-width: var(--shell);
  margin: 42px auto 0;
  padding: 22px var(--gut) 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #7C7391;
}

/* TO-TOP BUTTON */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 900;
  box-shadow: 0 8px 24px var(--brand-hair);
}
.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--brand-lift); transform: translateY(-2px); }

@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; text-align: center; justify-content: center; }
}