/* ==========================================================================
   SEMITA NEXIS SM — FOOTER STYLESHEET (footer.css)
   Matches Old Theme (smnxtheme) Deep Navy & Flow Teal Palette + Logo Badge
   ========================================================================== */

.site-footer {
  background: radial-gradient(circle at 15% 0%, rgba(0, 166, 166, 0.14) 0%, transparent 50%),
              linear-gradient(180deg, var(--sn-navy) 0%, var(--sn-navy-dark) 100%);
  color: #CBD5E1;
  padding-block: 60px 30px;
  border-top: 3px solid var(--sn-teal);
}

.f-top {
  display: grid;
  grid-template-columns: 1.55fr repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.f-top > * {
  min-width: 0;
}

.f-top h5 {
  margin: 0 0 14px;
  font: 700 0.78rem/1.2 var(--f-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  position: relative;
  padding-bottom: 8px;
}

.f-top h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--sn-teal);
  border-radius: 2px;
}

.f-top ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.f-top a {
  color: #CBD5E1;
  font-size: 0.88rem;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.f-top a:hover {
  color: var(--sn-cyan);
  transform: translateX(2px);
}

.f-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.f-logo-badge {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 166, 166, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  width: max-content;
  max-width: 100%;
}

.f-logo-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.f-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #CBD5E1;
}

.f-brand address {
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #E2E8F0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.f-brand .sel {
  color: var(--sn-cyan);
  font-weight: 600;
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #94A3B8;
}

.f-bottom nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.f-bottom a {
  color: #CBD5E1;
}

.f-bottom a:hover {
  color: var(--sn-cyan);
}

@media (max-width: 1060px) {
  .f-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .f-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .f-top {
    grid-template-columns: 1fr 1fr;
  }
}
