/* Universal Site Footer Styles */

.site-footer {
  position: relative;
  background-color: var(--color-navy-deep);
  color: var(--color-white);
  padding-top: clamp(60px, 6vw, 90px);
  padding-bottom: clamp(30px, 3.5vw, 45px);
  overflow: hidden;
  z-index: 20;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle Basketball Bracket Background Graphic */
.footer-bracket-dec {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(200px, 20vw, 380px);
  height: 100%;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}

.footer-bracket-svg {
  width: 100%;
  height: 100%;
}

.footer-container {
  position: relative;
  z-index: 5;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

/* 4-Column Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(180px, 1fr)) minmax(240px, 1.2fr);
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 4.5vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Column 1: Brand */
.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo-svg {
  height: 38px;
  width: auto;
}

.footer-brand-year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.footer-brand-desc {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-badge-independent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: rgba(255, 101, 9, 0.12);
  border: 1px solid rgba(255, 101, 9, 0.35);
  color: #ff914d;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.footer-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-orange);
}

/* Navigation Columns */
.footer-col-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-orange);
  border-radius: 1px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--color-white);
  transform: translateX(3px);
}

/* Helpful Info Column */
.footer-help-text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  stroke: var(--color-orange);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.footer-contact-link {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--color-orange);
}

/* Social Links */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
}

.footer-social-link:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 101, 9, 0.35);
}

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

/* Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(24px, 2.5vw, 36px);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

.footer-legal-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-link {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.footer-back-to-top:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.footer-back-to-top svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

