/* =====================================================
   Site Footer — Modern Redesign
   ===================================================== */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(117, 205, 217, 0.08);
  margin-top: 0;
  position: relative;
}

/* Teal top accent line */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color) 30%, var(--accent-color) 70%, transparent 100%);
}

/* ── Top section ─────────────────────────────────── */
.sf-top {
  padding: 70px 0 50px;
}

.sf-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

/* ── Brand column ────────────────────────────────── */
.sf-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1.4rem;
  filter: brightness(1.05);
}

.sf-tagline {
  font-size: 14px;
  color: var(--body-text-color) !important;
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 1.6rem !important;
  font-weight: 300;
}

.sf-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sf-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(117, 205, 217, 0.08);
  border: 1px solid rgba(117, 205, 217, 0.15);
  color: var(--body-text-color);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.sf-social-link:hover {
  background: rgba(117, 205, 217, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* ── Link columns ────────────────────────────────── */
.sf-col-title {
  font-size: 11px !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  margin-bottom: 1.4rem;
  line-height: 1 !important;
}

.sf-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sf-links li {
  color: var(--body-text-color);
  padding: 0;
  margin: 0;
}

.sf-links li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--body-text-color);
  text-decoration: none;
  padding: 7px 0;
  font-weight: 300;
  transition: color 0.2s, gap 0.2s;
  position: relative;
}

.sf-links li a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.25s;
  position: absolute;
  bottom: 5px;
  left: 0;
}

.sf-links li a:hover {
  color: var(--primary-color);
}

.sf-links li a:hover::before {
  width: 100%;
}

/* ── Contact list ────────────────────────────────── */
.sf-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sf-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--body-text-color);
}

.sf-contact-list li i {
  color: var(--primary-color);
  font-size: 13px;
  min-width: 16px;
  margin-top: 2px;
}

.sf-contact-list li a,
.sf-contact-list li span {
  font-size: 14px;
  color: var(--body-text-color);
  text-decoration: none;
  font-weight: 300;
  line-height: 1.5;
  transition: color 0.2s;
}

.sf-contact-list li a:hover {
  color: var(--primary-color);
}

/* ── Bottom bar ──────────────────────────────────── */
.sf-bottom {
  border-top: 1px solid rgba(117, 205, 217, 0.08);
  padding: 18px 0;
}

.sf-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sf-bottom-inner p {
  font-size: 13px;
  color: var(--body-text-color) !important;
  margin: 0 !important;
  font-weight: 300;
}

.sf-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--body-text-color);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.sf-phone-link i {
  color: var(--primary-color);
  font-size: 12px;
}

.sf-phone-link:hover {
  color: var(--primary-color);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1199px) {
  .sf-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  .sf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }

  .sf-brand {
    grid-column: 1 / -1;
  }

  .sf-tagline {
    max-width: 100%;
  }

  .sf-top {
    padding: 50px 0 40px;
  }
}

@media (max-width: 575px) {
  .sf-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .sf-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── Legacy footer classes (kept for backward compat) ── */
.mobile-responsive {
  outline: none;
  border: none;
  background: transparent;
  display: none;
}
