/* =========================================================
   FOOTER
   ========================================================= */

.ct-footer {
  position: relative;

  padding: 90px 0 35px;

  background: #05080c;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* TOP */

.ct-footer__top {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.9fr)
    minmax(0, 1.1fr);

  gap: clamp(70px, 10vw, 160px);

  padding-bottom: 70px;
}

/* BRAND */

.ct-footer__brand {
  max-width: 430px;
}

.ct-footer__logo-link {
  display: inline-block;
}

.ct-footer__logo {
  display: block;

  width: auto;
  height: 48px;
}

.ct-footer__description {
  margin: 30px 0 0;

  color: #7f8a96;

  font-size: 14px;
  line-height: 1.75;
}

/* NAV */

.ct-footer__nav {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 40px;
}

.ct-footer__column {
  display: flex;
  flex-direction: column;

  gap: 13px;
}

.ct-footer__label {
  margin-bottom: 8px;

  color: #56616d;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ct-footer__column a {
  width: fit-content;

  color: #aeb7c2;

  font-size: 13px;

  text-decoration: none;

  transition: color 180ms ease;
}

.ct-footer__column a:hover {
  color: var(--ct-brand-light-blue);
}

.ct-footer__contact-item {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.ct-footer__contact-item span,
.ct-footer__contact-item small {
  color: #56616d;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ct-footer__contact-item small {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.ct-footer__facebook {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-top: 2px;
}

.ct-footer__facebook span {
  width: 26px;
  height: 26px;

  display: inline-grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--ct-brand-light-blue);
  color: #05080c;
}

.ct-footer__facebook svg {
  width: 15px;
  height: 15px;

  display: block;

  fill: currentColor;
}

/* BOTTOM */

.ct-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding-top: 26px;

  border-top: 1px solid rgba(255, 255, 255, 0.07);

  color: #56616d;

  font-size: 11px;
}

.ct-footer__legal {
  display: flex;

  gap: 25px;
}

.ct-footer__legal a {
  color: #56616d;

  text-decoration: none;

  transition: color 180ms ease;
}

.ct-footer__legal a:hover {
  color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .ct-footer__top {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .ct-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ct-footer {
    padding: 70px 0 28px;
  }

  .ct-footer__nav {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .ct-footer__bottom {
    flex-direction: column;

    align-items: flex-start;
  }

  .ct-footer__legal {
    flex-direction: column;

    gap: 10px;
  }
}
