/* ============================================================
   TuffWrap Site Footer 2026 — Scoped CSS
   Aligned with the 2026 site rebuild and typography.
   ============================================================ */

.tw-site-footer {
  background-color: #242729;
  color: #cbd5e1;
  font-family: "azo-sans-web", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  position: relative;
  z-index: 10;
  clear: both;
}

.tw-site-footer *,
.tw-site-footer *::before,
.tw-site-footer *::after {
  box-sizing: border-box;
}

.tw-site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.tw-site-footer a:hover {
  color: #38bdf8;
}

.tw-site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tw-site-footer p {
  margin: 0;
}

/* ---------- Container Layout ---------- */
.tw-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 32px 36px;
}

.tw-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

/* ---------- Brand Column ---------- */
.tw-footer-brand {
  display: flex;
  flex-direction: column;
  padding-right: 16px;
}

.tw-footer-logo-link {
  display: inline-block;
  margin-bottom: 24px;
  width: fit-content;
}

.tw-footer-logo {
  display: block;
  width: 190px;
  height: auto;
  max-width: 100%;
}

.tw-footer-tagline {
  color: #f1f5f9;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 290px;
}

.tw-footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.tw-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: color 150ms ease, transform 150ms ease;
}

.tw-footer-social-link:hover {
  color: #38bdf8;
  transform: translateY(-2px);
}

.tw-footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.tw-footer-region-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 175px;
  height: 42px;
  border: 1.5px solid #29658e;
  border-radius: 4px;
  color: #38bdf8;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background-color: transparent;
  transition: all 200ms ease;
}

.tw-footer-region-btn:hover {
  background-color: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

/* ---------- Navigation Columns ---------- */
.tw-footer-col {
  display: flex;
  flex-direction: column;
}

/* Column Main Heading */
.tw-footer-col-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: 0.2px;
}

.tw-footer-col-title a {
  color: #ffffff;
}

.tw-footer-col-title a:hover {
  color: #38bdf8;
}

/* Standalone Headings in Columns (e.g. Projects, News, Contact) */
.tw-footer-standalone-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
  letter-spacing: 0.2px;
}

.tw-footer-standalone-heading a {
  color: #ffffff;
}

.tw-footer-standalone-heading a:hover {
  color: #38bdf8;
}

/* Group Subheadings */
.tw-footer-group-title {
  color: #f8fafc;
  font-size: 14.5px;
  font-weight: 600;
  margin: 16px 0 6px;
}

.tw-footer-group-title.is-major {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-top: 26px;
  margin-bottom: 10px;
}

.tw-footer-group-title a {
  color: inherit;
}

.tw-footer-group-title a:hover {
  color: #38bdf8;
}

/* Navigation Lists */
.tw-footer-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tw-footer-list.is-sublist {
  padding-left: 10px;
  gap: 6px;
}

.tw-footer-list-item {
  font-size: 13.5px;
  line-height: 1.4;
  color: #cbd5e1;
}

.tw-footer-list-item a {
  color: #cbd5e1;
}

.tw-footer-list-item a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Bottom Bar ---------- */
.tw-footer-bottom {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 16px;
}

.tw-footer-bottom-left {
  color: #94a3b8;
}

.tw-footer-bottom-center a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tw-footer-bottom-center a:hover {
  color: #ffffff;
}

.tw-footer-bottom-right {
  color: #94a3b8;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1100px) {
  .tw-footer-inner {
    padding: 56px 28px 32px;
  }

  .tw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }

  .tw-footer-brand {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tw-footer-logo-link {
    margin-bottom: 16px;
  }

  .tw-footer-tagline {
    margin-bottom: 20px;
    max-width: 480px;
  }

  .tw-footer-socials {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .tw-footer-inner {
    padding: 44px 20px 24px;
  }

  .tw-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tw-footer-brand {
    grid-column: span 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tw-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
