/* Footer v2 — brand + 4 link columns, same .wrap perimeter as testimonials (.q-grid). */
footer.ft {
  background: var(--ink-2, #0a1226);
  color: #eaf0fa;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand left; VPS / SHARED HOSTING / SERVICES / COMPANY share remaining width evenly
   so the outermost columns sit on the same content edges as the reviews above. */
footer.ft .ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  column-gap: clamp(28px, 3.2vw, 48px);
  row-gap: 40px;
  padding: 64px 0 48px;
  width: 100%;
}

footer.ft .ft-col {
  min-width: 0;
}

footer.ft .ft-brand img,
footer.ft .foot-logo {
  height: 60px;
  width: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
  flex-shrink: 0;
}

footer.ft .ft-brand p {
  color: rgba(234, 240, 250, 0.66);
  font-size: 14px;
  line-height: 1.65;
  max-width: 300px;
  margin: 0;
}

footer.ft .ft-soc {
  display: flex;
  gap: 10px;
  align-items: center;
}

footer.ft .ft-soc a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
  transition: 0.15s;
}

footer.ft .ft-soc a:hover {
  background: #99d420;
  color: #0e1f3a;
  border-color: #99d420;
  transform: translateY(-2px);
}

footer.ft .ft-soc a[data-platform="facebook"] svg {
  width: 20px !important;
  height: 20px !important;
}

footer.ft .ft-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: #99d420;
  margin: 6px 0 18px;
  font-weight: 700;
}

footer.ft .ft-col a {
  display: block;
  color: rgba(234, 240, 250, 0.66);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.12s, transform 0.12s;
  text-decoration: none;
}

footer.ft .ft-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Full-width payment methods strip (TopHost-style) */
footer.ft .ft-pay {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 14px;
  width: 100%;
}

footer.ft .ft-pay .pay,
footer.ft .pay {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 24px 32px !important;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
}

footer.ft .pay img,
footer.ft .pay-logo {
  height: 30px !important;
  width: auto !important;
  max-width: 120px;
  max-height: 32px;
  object-fit: contain !important;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  display: block !important;
  flex: 0 0 auto;
}

footer.ft .pay a,
footer.ft .pay span,
footer.ft .pay button,
footer.ft .pay figure,
footer.ft .pay .pay-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

footer.ft .ft-bottom {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center !important;
  gap: 12px 20px !important;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer.ft .ft-bottom > p:not(.foot-legal) {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

footer.ft .ft-bottom p {
  color: rgba(234, 240, 250, 0.55);
  font-size: 13px;
  margin: 0;
}

footer.ft .foot-legal {
  margin: 0;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}

footer.ft .foot-legal a {
  color: rgba(234, 240, 250, 0.55);
  text-decoration: none;
}

footer.ft .foot-legal a:hover {
  color: #fff;
}

footer.ft .ft-bottom .ft-soc {
  grid-column: 2;
  grid-row: 1 / -1;
  justify-self: end;
  align-self: center;
  margin: 0;
}

@media (max-width: 980px) {
  footer.ft .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  footer.ft .ft-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
    padding: 48px 0 36px;
    text-align: center;
    justify-items: center;
  }

  footer.ft .ft-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  footer.ft .ft-col {
    text-align: center;
    width: 100%;
  }

  footer.ft .ft-col a:hover {
    transform: none;
  }

  footer.ft .ft-pay {
    padding: 14px 0 12px;
  }

  footer.ft .ft-pay .pay,
  footer.ft .pay {
    justify-content: center;
    gap: 14px 20px !important;
  }

  footer.ft .pay img,
  footer.ft .pay-logo {
    height: 24px !important;
    max-width: 100px;
    max-height: 26px;
  }

  footer.ft .ft-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  footer.ft .ft-bottom > p:not(.foot-legal),
  footer.ft .foot-legal,
  footer.ft .ft-bottom .ft-soc {
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
    width: auto;
  }

  footer.ft .ft-bottom .ft-soc {
    justify-content: center;
  }

  footer.ft .ft-bottom p,
  footer.ft .foot-legal {
    text-align: center !important;
  }
}

@media (max-width: 620px) {
  footer.ft .ft-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 36px;
  }

  footer.ft .ft-bottom {
    align-items: center !important;
    gap: 12px;
  }
}
