/* ============================================================
   SYSNOT Master Theme — footer.css
   Footer Layout, Columns, Brand & Bottom Bar
   ============================================================ */

/* ----------------------------------------------------------
   1. Footer Container
   ---------------------------------------------------------- */

footer {
  padding: 5rem 5% 2.5rem;
  border-top: 1px solid var(--brd);
  background: var(--bg);
}

/* ----------------------------------------------------------
   2. Footer Inner Grid
   ---------------------------------------------------------- */

.ft-inner {
  display: grid;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* ----------------------------------------------------------
   3. Footer Column Layouts
   ---------------------------------------------------------- */

.ft-cols-4 {
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
}

.ft-cols-3 {
  grid-template-columns: 2fr 1fr 1fr;
}

.ft-cols-2 {
  grid-template-columns: 1fr 1fr;
}

.ft-centered {
  text-align: center;
  grid-template-columns: 1fr;
}

.ft-centered .ft-brand {
  max-width: 420px;
  margin: 0 auto;
}

.ft-centered .ft-brand p {
  max-width: 100%;
}

.ft-centered .ft-socs {
  justify-content: center;
}

/* ----------------------------------------------------------
   4. Footer Brand Block
   ---------------------------------------------------------- */

.ft-brand .logo {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.ft-brand p {
  font-size: .86rem;
  color: var(--mut);
  max-width: 270px;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

/* ----------------------------------------------------------
   5. Social Icons
   ---------------------------------------------------------- */

.ft-socs {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.fsoc {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--sur);
  border: 1px solid var(--brd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mut);
  font-size: .9rem;
  transition: background .3s, color .3s, transform .3s var(--e2), border-color .3s;
}

.fsoc:hover {
  background: var(--a1);
  color: #fff;
  border-color: var(--a1);
  transform: translateY(-4px);
}

.fsoc svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ----------------------------------------------------------
   6. Footer Columns
   ---------------------------------------------------------- */

.fc h4 {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--mut);
  margin-bottom: 1.4rem;
  font-family: var(--body);
  font-weight: 600;
}

.fc ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.fc ul li a {
  font-size: .86rem;
  color: var(--mut);
  transition: color .3s, padding-left .3s var(--e1);
  display: inline-block;
}

.fc ul li a:hover {
  color: var(--txt);
  padding-left: 5px;
}

/* ----------------------------------------------------------
   7. Footer Bottom Bar
   ---------------------------------------------------------- */

.ft-bottom {
  border-top: 1px solid var(--brd);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--mut);
  flex-wrap: wrap;
  gap: 1rem;
}

.ft-bottom a {
  color: var(--mut);
  transition: color .3s;
}

.ft-bottom a:hover {
  color: var(--txt);
}

.ft-bottom .acc {
  color: var(--a1);
}

/* ----------------------------------------------------------
   8. Responsive — Tablet
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
  .ft-cols-4,
  .ft-cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .ft-inner {
    gap: 3rem;
  }

  .ft-brand p {
    max-width: 100%;
  }
}

/* ----------------------------------------------------------
   9. Responsive — Mobile
   ---------------------------------------------------------- */

@media (max-width: 768px) {
  footer {
    padding: 3.5rem 5% 2rem;
  }

  .ft-cols-4,
  .ft-cols-3,
  .ft-cols-2 {
    grid-template-columns: 1fr;
  }

  .ft-inner {
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .ft-brand .logo {
    font-size: 1.7rem;
  }

  .ft-bottom {
    flex-direction: column;
    text-align: center;
    gap: .75rem;
  }
}
