.footer {
  position: relative;

  background: #081f37;
  color: #ffffff;

  overflow: hidden;
}

.footer::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -260px;
  top: -250px;

  border: 1px solid rgba(255, 255, 255, 0.045);

  transform: rotate(45deg);

  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 1;

  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

/* =========================================================
       MAIN
    ========================================================= */

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 1.2fr;

  gap: 70px;

  padding: 75px 0 65px;
}

/* =========================================================
       BRAND
    ========================================================= */

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-flex;

  width: 125px;
  height: 65px;

  margin-bottom: 24px;

  overflow: hidden;
}

.footer-logo img {
  width: 125px;
  height: auto;

  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 310px;

  font-size: 13px;
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.52);
}

/* =========================================================
       COLUMNS
    ========================================================= */

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  display: block;

  margin-bottom: 25px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #4e9f70;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 12px;
}

.footer-links a {
  position: relative;

  font-size: 13px;

  color: rgba(255, 255, 255, 0.62);

  transition: color 0.3s ease, padding-left 0.3s ease;

  text-decoration: none;
}

.footer-links a::before {
  content: "";

  position: absolute;

  left: -12px;
  top: 50%;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #4e9f70;

  opacity: 0;

  transform: translateY(-50%);

  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  padding-left: 5px;
  color: #ffffff;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* =========================================================
       CONTACT
    ========================================================= */

.footer-contact {
  align-items: flex-start;
}

.footer-contact > a {
  display: inline-block;

  margin-bottom: 12px;

  font-size: 13px;

  color: rgba(255, 255, 255, 0.68);

  transition: color 0.3s ease;

  text-decoration: none;
}

.footer-contact > a:hover {
  color: #ffffff;
}

.footer-address {
  margin-top: 13px;

  font-size: 11px;
  line-height: 1.65;

  color: rgba(255, 255, 255, 0.38);
}

/* =========================================================
       BOTTOM
    ========================================================= */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding: 22px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-copy,
.footer-location {
  font-size: 10px;

  color: rgba(255, 255, 255, 0.34);
}

.footer-location {
  font-weight: 700;
  letter-spacing: 0.13em;
}

/* =========================================================
       DEVELOPER
    ========================================================= */

.footer-developer {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 5px;

  padding: 15px 0 20px;

  font-size: 9px;
  letter-spacing: 0.03em;

  color: rgba(255, 255, 255, 0.16);
}

.footer-developer strong {
  font-weight: 500;

  color: rgba(255, 255, 255, 0.22);
}

/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;

    gap: 50px;
  }

  .footer-brand {
    grid-column: span 3;
    max-width: 500px;
  }
}

@media (max-width: 700px) {
  .footer-container {
    width: min(100% - 40px, 1380px);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;

    gap: 45px 30px;

    padding: 55px 0 45px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-contact {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
  }

  .footer-developer {
    justify-content: flex-start;
  }
}

@media (max-width: 450px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}
