/**
 * Enhanced Footer Styles
 * 3-column dark charcoal footer with gradient top border
 */

/* ============================================
   Footer Container
   ============================================ */

.v105-footer {
  background: var(--color-charcoal);
  color: var(--color-white);
  position: relative;
  padding-top: 0;
}

/* Gradient top border */
.v105-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-rust) 0%, var(--color-teal) 50%, var(--color-rust-light) 100%);
}

/* ============================================
   Footer Content Grid
   ============================================ */

.v105-footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ============================================
   Column 1: Brand
   ============================================ */

.v105-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.v105-footer__logo img {
  height: 37px;
  width: auto;
  opacity: 0.9;
}

.v105-footer__tagline {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-relaxed);
  margin: 0;
  max-width: 300px;
}

/* ============================================
   Column 2 & 3: Links
   ============================================ */

.v105-footer__column h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 var(--space-md) 0;
}

.v105-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.v105-footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.v105-footer__links a:hover {
  color: var(--color-rust-light);
}

.v105-footer__links a:focus-visible {
  outline: 2px solid var(--color-rust);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================
   Bottom Bar
   ============================================ */

.v105-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v105-footer__copyright {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.v105-footer__a11y-link {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.v105-footer__a11y-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .v105-footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .v105-footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ============================================
   Print
   ============================================ */

@media print {
  .v105-footer {
    background: white;
    color: black;
  }

  .v105-footer::before {
    display: none;
  }

  .v105-footer__links a {
    color: black;
  }
}
