/* ============================================
   FOOTER - Modern footer matching site design
   ============================================ */

.footer {
  position: relative;
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-light) 45%, #0a0f1a 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
  margin-top: 0;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 100%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse 50% 40% at 10% 0%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

/* Brand column */
.footer-col.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  text-decoration: none;
  margin-bottom: var(--space-md);
  transition: opacity var(--transition-fast);
}

.footer-logo:hover {
  color: white;
  opacity: 0.92;
}

.footer-logo-img {
  height: 98px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  letter-spacing: -0.01em;
  color: white;
}

.footer-logo-accent {
  color: var(--color-secondary);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0 0 var(--space-lg) 0;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.45);
}

/* Column headings */
.footer-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-lg) 0;
}

/* Lists */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: var(--space-sm);
}

.footer-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--color-secondary);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
}

.footer-contact a {
  word-break: break-word;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
}

.disclaimer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--space-md) 0;
}

.disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto var(--space-md) auto;
}

.disclaimer strong {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .footer-col.footer-brand {
    max-width: none;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-tagline {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  }

  .footer-list {
    text-align: center;
  }
}
