/* ============================================================
   Premium Footer — Light Theme
   ============================================================ */

.site-footer {
  position: relative;
  background: #0D1B2A;
  overflow: hidden;
  color: #C8D6E5;
}

.footer-top-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--color-accent) 50%, transparent 95%);
}

.footer-main {
  padding: clamp(3rem, 8vh, 5rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

/* ---------- Brand Column ---------- */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-logo-wrap {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
}

.footer-logo {
  height: 180px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: #5B9BD5;
  line-height: 1.4;
}

.footer-description {
  font-size: 0.88rem;
  color: #8A9BB0;
  line-height: 1.7;
  max-width: 320px;
}

/* ---------- Footer Columns ---------- */
.footer-column h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5B9BD5;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  font-size: 0.88rem;
  color: #8A9BB0;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: #5B9BD5;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #8A9BB0;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: #5B9BD5;
}

.footer-contact-item a:hover {
  color: #5B9BD5;
}

/* ---------- Footer CTA Column ---------- */
.footer-cta-text {
  font-size: 0.88rem;
  color: #8A9BB0;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ---------- Footer Bottom ---------- */
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(91, 155, 213, 0.15);
  background: rgba(0, 0, 0, 0.15);
}

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

.footer-copyright {
  font-size: 0.78rem;
  color: #5A6C7F;
}

.footer-legal {
  font-size: 0.72rem;
  color: #5A6C7F;
  text-align: center;
}

.footer-legal a {
  color: #5B9BD5;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #83B9E8;
}

/* Footer outline button override for dark bg */
.site-footer .btn--outline {
  color: #5B9BD5;
  border-color: #5B9BD5;
}

.site-footer .btn--outline:hover {
  background: rgba(91, 155, 213, 0.1);
  color: #83B9E8;
  border-color: #83B9E8;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-description {
    max-width: 100%;
    text-align: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column ul {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-cta-text {
    text-align: center;
  }

  .footer-column .btn {
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-logo {
    height: 130px;
  }
}
