/* =========================================================
   CKS BUILDTECH
   COMPLETE FOOTER
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */

:root {
  --footer-dark: #2a2b29;
  --footer-black: #20211f;

  --footer-yellow: #f3c308;

  --footer-white: #ffffff;

  --footer-text: rgba(255, 255, 255, 0.68);

  --footer-muted: rgba(255, 255, 255, 0.4);

  --footer-border: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   MAIN FOOTER
========================================================= */

.buildtech-footer {
  width: 100%;

  background: var(--footer-dark);

  color: var(--footer-white);
}

/* =========================================================
   COMMON CONTAINER
========================================================= */

.footer-container {
  width: min(1400px, calc(100% - 70px));

  margin: 0 auto;
}

/* =========================================================
   MAIN FOOTER AREA
========================================================= */

.footer-main {
  padding: 90px 0 80px;

  background: var(--footer-dark);
}

/* =========================================================
   FOOTER GRID
========================================================= */

.footer-main .footer-container {
  display: grid;

  grid-template-columns:
    1.5fr
    0.8fr
    1fr
    1fr;

  gap: 70px;
}

/* =========================================================
   BRAND
========================================================= */

.footer-brand-column {
  max-width: 400px;
}

/* LOGO */

.footer-logo {
  display: inline-flex;

  align-items: center;

  text-decoration: none;
}

.footer-logo img {
  display: block;

  width: auto;

  height: 62px;

  object-fit: contain;
}

/* DESCRIPTION */

.footer-description {
  max-width: 380px;

  margin: 28px 0 24px;

  color: var(--footer-text);

  font-size: 14px;

  line-height: 1.8;
}

/* ABOUT LINK */

.footer-about-link {
  display: inline-flex;

  align-items: center;

  gap: 15px;

  color: var(--footer-yellow);

  text-decoration: none;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition: 0.3s ease;
}

.footer-about-link span {
  font-size: 18px;

  transition: transform 0.3s ease;
}

.footer-about-link:hover {
  color: #fff;
}

.footer-about-link:hover span {
  transform: translate(3px, -3px);
}

/* =========================================================
   SOCIAL LINKS
========================================================= */

.footer-social {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-top: 35px;
}

.footer-social a {
  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid var(--footer-border);

  color: rgba(255, 255, 255, 0.65);

  text-decoration: none;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.footer-social a:hover {
  background: var(--footer-yellow);

  border-color: var(--footer-yellow);

  color: var(--footer-dark);
}

/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h3 {
  margin: 5px 0 28px;

  color: #fff;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.footer-column ul {
  margin: 0;

  padding: 0;

  list-style: none;
}

.footer-column li {
  margin-bottom: 15px;
}

.footer-column li a {
  position: relative;

  display: inline-block;

  color: var(--footer-text);

  text-decoration: none;

  font-size: 13px;

  line-height: 1.5;

  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.footer-column li a::before {
  content: "";

  position: absolute;

  left: -18px;

  top: 50%;

  width: 0;

  height: 1px;

  background: var(--footer-yellow);

  transition: width 0.25s ease;
}

.footer-column li a:hover {
  color: #fff;

  padding-left: 18px;
}

.footer-column li a:hover::before {
  width: 10px;
}

/* =========================================================
   CONTACT
========================================================= */

.footer-contact-item {
  margin-bottom: 25px;
}

.footer-contact-label {
  display: block;

  margin-bottom: 7px;

  color: var(--footer-yellow);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 2px;
}

.footer-contact-item p {
  margin: 0;

  color: var(--footer-text);

  font-size: 13px;

  line-height: 1.7;
}

.footer-contact-item a {
  color: var(--footer-text);

  text-decoration: none;

  font-size: 13px;

  transition: color 0.25s ease;
}

.footer-contact-item a:hover {
  color: var(--footer-yellow);
}

/* =========================================================
   CTA STRIP
========================================================= */

.footer-cta {
  background: var(--footer-yellow);

  color: var(--footer-dark);
}

.footer-cta-inner {
  min-height: 170px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}

.footer-cta-text span {
  display: block;

  margin-bottom: 9px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 2px;
}

.footer-cta-text h2 {
  margin: 0;

  font-size: clamp(28px, 3vw, 42px);

  line-height: 1.1;

  letter-spacing: -1.5px;

  font-weight: 500;
}

.footer-cta-text strong {
  font-weight: 800;
}

/* CTA BUTTON */

.footer-cta-button {
  flex-shrink: 0;

  min-width: 180px;

  height: 56px;

  padding: 0 22px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  background: var(--footer-dark);

  color: #fff;

  text-decoration: none;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.footer-cta-button span {
  font-size: 20px;
}

.footer-cta-button:hover {
  background: #fff;

  color: var(--footer-dark);

  transform: translateY(-2px);
}

/* =========================================================
   BOTTOM BAR
========================================================= */

.footer-bottom {
  background: var(--footer-black);

  border-top: 1px solid var(--footer-border);
}

.footer-bottom-inner {
  min-height: 70px;

  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  gap: 30px;
}

.footer-copyright {
  color: var(--footer-muted);

  font-size: 10px;

  letter-spacing: 0.3px;
}

.footer-legal {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 15px;
}

.footer-legal a {
  color: var(--footer-muted);

  text-decoration: none;

  font-size: 10px;

  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--footer-yellow);
}

.footer-divider {
  width: 1px;

  height: 12px;

  background: rgba(255, 255, 255, 0.18);
}

.footer-group {
  text-align: right;

  color: var(--footer-muted);

  font-size: 10px;

  letter-spacing: 1px;

  text-transform: uppercase;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .footer-main .footer-container {
    grid-template-columns:
      1.3fr
      1fr
      1fr;

    gap: 50px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;

    max-width: 600px;
  }
}

/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 800px) {
  .footer-container {
    width: calc(100% - 40px);
  }

  .footer-main {
    padding: 70px 0 60px;
  }

  .footer-main .footer-container {
    grid-template-columns: 1fr 1fr;

    gap: 50px 35px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-cta-inner {
    min-height: 150px;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;

    padding: 22px 0;

    gap: 15px;

    text-align: center;
  }

  .footer-copyright {
    text-align: center;
  }

  .footer-group {
    text-align: center;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .footer-container {
    width: calc(100% - 30px);
  }

  .footer-main .footer-container {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .footer-brand-column {
    grid-column: auto;
  }

  .footer-logo img {
    height: 55px;
  }

  .footer-description {
    font-size: 13px;
  }

  .footer-column h3 {
    margin-bottom: 20px;
  }

  .footer-cta-inner {
    min-height: auto;

    padding: 45px 0;

    flex-direction: column;

    align-items: flex-start;
  }

  .footer-cta-text h2 {
    font-size: 32px;
  }

  .footer-cta-button {
    width: 100%;
  }

  .footer-legal {
    flex-wrap: wrap;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .footer-social a {
    width: 35px;

    height: 35px;
  }

  .footer-cta-text h2 {
    font-size: 28px;
  }
}
