/* =========================================================
   Masterbid – Unauthenticated Footer
   ========================================================= */

:root {
  --footer-bg: #0d1117;
  --footer-border: #1e2733;
  --footer-text: #94a3b8;
  --footer-text-hover: #ffffff;
  --footer-heading: #cbd5e1;
  --footer-brands-bg: #ffffff;
  --footer-copyright-bg: #080c11;
  --blue: #2a70de;
  --font: 'Roboto', sans-serif;
}

/* --------------------------------------------------------
   Brand logos bar
   -------------------------------------------------------- */
.footer {
    width: 100vw;
    position: relative;
    left: -0.5rem;
    overflow-x: clip;
}

.footer_brands {
  background-color: var(--footer-brands-bg);
  width: 100wh;
  padding: 1.6rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.footer_brands_inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3.2rem;
}

.footer_brand {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer_brand:hover {
  color: var(--blue);
}

/* --------------------------------------------------------
   Main footer section
   -------------------------------------------------------- */
.footer_main {
  background-color: var(--footer-bg);
  padding: 5.6rem 0 4rem;
}

.footer_container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer_grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 4rem;
}

/* --------------------------------------------------------
   Column
   -------------------------------------------------------- */
.footer_col {
  display: flex;
  flex-direction: column;
}

.footer_logo_link {
  display: inline-block;
  margin-bottom: 1.6rem;
}

.footer_logo {
  height: 1.2rem;
  width: auto;
}

.footer_tagline {
  font-family: var(--font);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--footer-text);
  margin-bottom: 2.4rem;
}

/* --------------------------------------------------------
   Contact info
   -------------------------------------------------------- */
.footer_contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer_contact_item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-family: var(--font);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--footer-text);
  text-decoration: none;
  margin: 0;
}

.footer_contact_item--link,
.footer_contact_item--phone {
  transition: color 0.2s;
}

.footer_contact_item--link:hover,
.footer_contact_item--phone:hover {
  color: var(--footer-text-hover);
}

.footer_contact_subitem {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--footer-text);
  margin: 0 0 0 2.6rem;
  line-height: 1.5;
}

.footer_contact_icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #64748b;
}

.footer_contact_icon--top {
  margin-top: 0.2rem;
}

/* --------------------------------------------------------
   Column headings & links
   -------------------------------------------------------- */
.footer_col_title {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-heading);
  margin: 0 0 1.6rem;
}

.footer_col_title + .footer_col_title {
  margin-top: 3.2rem;
}

.footer_links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer_links--spaced {
  margin-bottom: 3.2rem;
}

.footer_link {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.footer_link:hover {
  color: var(--footer-text-hover);
}

/* --------------------------------------------------------
   Copyright bar
   -------------------------------------------------------- */
.footer_copyright {
  background-color: var(--footer-copyright-bg);
  border-top: 1px solid var(--footer-border);
  padding: 1.6rem 0;
}

.footer_copyright_text {
  font-family: var(--font);
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  margin: 0;
}

/* =========================================================
   Responsive – Tablet (≤ 1024px): single-column grid
   ========================================================= */
@media (max-width: 1024px) {
  .footer_grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .footer_main {
    padding: 4rem 0 3.2rem;
  }

  .footer_container {
    padding: 0 2.4rem;
  }

  .footer_logo {
    height: 2.5rem;
  }

  .footer_brand {
    font-size: 1rem;
  }

  .footer_tagline {
    font-size: 1rem;
  }

  .footer_contact_item,
  .footer_contact_subitem {
    font-size: 1rem;
  }

  .footer_contact_icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .footer_col_title {
    font-size: 0.85rem;
  }

  .footer_link {
    font-size: 1rem;
  }

  .footer_copyright_text {
    font-size: 0.9rem;
  }
}

/* =========================================================
   Responsive – Small tablet / large phone (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {
  .footer {
    width: 100%;
    left: 0;
  }

  .footer_brands_inner {
    gap: 1.2rem 1.8rem;
    padding: 0 1.6rem;
  }

  .footer_main {
    padding: 3.2rem 0 2.4rem;
  }

  .footer_container {
    padding: 0 1.6rem;
  }
}

/* =========================================================
   Responsive – Mobile (≤ 480px)
   ========================================================= */
@media (max-width: 480px) {
  .footer_brands {
    padding: 1.2rem 0;
  }

  .footer_brands_inner {
    gap: 1rem 1.4rem;
    padding: 0 1.2rem;
  }

  .footer_container {
    padding: 0 1.2rem;
  }

  .footer_main {
    padding: 2.4rem 0 2rem;
  }

  .footer_grid {
    gap: 2.4rem;
  }

  .footer_copyright {
    padding: 1.2rem 0;
  }
}
