/* =========================================================
   ENETIATIVE FOOTER
========================================================= */

.site-footer {
  width: 100%;
  margin-top: 60px;

  background: #f1f2f0;
  color: #171918;

  border-top: 1px solid #e2e4e2;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;

  padding: 20px 30px 20px;

  box-sizing: border-box;
  background: transparent;
}


/* =========================================================
   BRAND
========================================================= */

.footer-logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;

  color: #171918;
}

.footer-tagline {
  margin-top: 7px;

  max-width: 390px;

  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;

  color: #252927;
}


/* =========================================================
   COLUMNS
========================================================= */
.footer-columns {
  display: grid;

  grid-template-columns: 1.2fr 0.9fr 0.9fr;

  column-gap: 60px;

  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* =========================================================
   COLUMN HEADING
========================================================= */

.footer-heading {
  position: relative;

  margin-bottom: 14px;
  padding-bottom: 10px;

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

  letter-spacing: 0.6px;

  color: #171918;
}


/* GREEN ACCENT LINE */

.footer-heading::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 32px;
  height: 2px;

  background: #477a43;
}


/* =========================================================
   LINKS
========================================================= */

.footer-column a,
.footer-column span {
  margin-bottom: 7px;

  font-size: 14px;
  font-weight: 300;

  line-height: 1.45;

  color: #252927;

  text-decoration: none;
}

.footer-column a {
  transition: color 0.15s ease;
}

.footer-column a:hover {
  color: #477a43;
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact a,
.footer-contact span {
  white-space: nowrap;
}


/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {
  width: 100%;
  height: 1px;

  background: #c6c8c8;
}


/* =========================================================
   LEGAL / COPYRIGHT AREA
========================================================= */

.footer-bottom {
  width: 100%;

  margin: 0 auto;
  padding: 24px 30px 26px;

  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  background: #242625;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-copyright {
  font-size: 13px;
  font-weight: 300;

  color: #ffffff;
}


/* =========================================================
   LEGAL LINKS
========================================================= */

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0;
  margin-top: 18px;
}


/* Link — clickable hanya area text */

.footer-legal a {
  display: inline-block;

  padding: 0;
  margin: 0;

  font-size: 13px;
  font-weight: 300;
  line-height: 20px;

  color: #ffffff;
  text-decoration: none;

  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: #527a49;
}


/* Separator — bukan bagian dari link */

.footer-legal-separator {
  display: block;

  width: 0;
  height: 14px;

  margin: 0 24px;

  flex: 0 0 0;

  border-left: 1px solid #8f9292;

  pointer-events: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .footer-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer-columns {
    column-gap: 35px;
  }

  .footer-column a,
  .footer-column span {
    font-size: 13px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  .site-footer {
    margin-top: 45px;
  }

  .footer-inner {
    padding: 28px 20px 26px;
  }


  /* BRAND */

  .footer-logo {
    font-size: 15px;
  }

  .footer-tagline {
    font-size: 13px;
    font-weight: 400;
  }


  /* COLUMNS */

  .footer-columns {
    grid-template-columns: 1fr;

    row-gap: 26px;
  }

  .footer-heading {
    margin-bottom: 13px;
    padding-bottom: 10px;
  }

  .footer-heading::after {
    width: 28px;
    height: 2px;
  }

  .footer-column a,
  .footer-column span {
    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 400;
  }

  .footer-contact a,
  .footer-contact span {
    white-space: normal;
  }


  /* LEGAL AREA */

  .footer-bottom {
    padding: 22px 20px 24px;
  }

  .footer-copyright {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-legal {
    flex-direction: column;

    gap: 9px;

    margin-top: 17px;
  }

  .footer-legal a {
    padding: 0;

    font-size: 12px;
  }


  /* REMOVE SEPARATOR ON MOBILE */

  .footer-legal-separator {
    display: none;
  }

}


/* =========================================================
   FOOTER TEXT COLORS
========================================================= */

/* FOOTER ATAS */

.site-footer,
.site-footer a,
.site-footer span {
  color: #252927;
}


/* Heading */

.site-footer .footer-heading {
  color: #171918;
}


/* Brand */

.site-footer .footer-logo {
  color: #171918;
}

.site-footer .footer-tagline {
  color: #252927;
}


/* FOOTER BAWAH */

.site-footer .footer-bottom,
.site-footer .footer-bottom a,
.site-footer .footer-bottom span {
  color: #ffffff;
}


/* HOVER FOOTER ATAS & BAWAH */

.site-footer .footer-column a:hover,
.site-footer .footer-bottom a:hover {
  color: #477a43;
}