/* ============================================================
   KMACIMS EAT — Footer Styles
   ============================================================ */

/* ── Pre-footer CTA Band ── */
.footer-cta-band {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
  padding-block: var(--space-16);
  position: relative;
  overflow: hidden;
}

.footer-cta-band::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer-cta-title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  color: var(--clr-white);
  margin-bottom: var(--space-2);
}

.footer-cta-sub {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
}

.footer-cta-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Main Footer ── */
.footer-main {
  background: var(--clr-black);
  padding-block: var(--space-16) var(--space-12);
}

.footer-widgets-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
}

/* ── Footer columns ── */
.footer-col-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: var(--space-5);
}

.footer-col p,
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

/* Brand column */
.footer-col-brand .custom-logo,
.footer-col-brand .footer-logo {
  margin-bottom: var(--space-4);
  display: block;
}

.footer-col-brand .custom-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-kmacims {
  color: var(--clr-white);
  font-size: var(--text-2xl);
}

.footer-logo .logo-eat {
  color: var(--clr-green);
  font-size: var(--text-2xl);
}

/* ── Social icons ── */
.footer-social {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  transition: all var(--transition-base);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--clr-green);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* ── Footer nav lists ── */
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav-list li a {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-nav-list li a:hover {
  color: var(--clr-white);
}

.footer-nav-list li a strong {
  color: var(--clr-orange);
}

/* ── Newsletter form ── */
.footer-newsletter-text {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.footer-newsletter-form {
  margin-bottom: var(--space-4);
}

.newsletter-input-wrap {
  display: flex;
  gap: var(--space-2);
}

.newsletter-input-wrap input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--clr-white);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast);
}

.newsletter-input-wrap input[type="email"]::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-input-wrap input[type="email"]:focus {
  outline: none;
  border-color: var(--clr-green);
  background: rgba(255,255,255,0.10);
}

.newsletter-status {
  font-size: var(--text-xs);
  margin-top: var(--space-2);
  min-height: 1em;
}

.newsletter-status.success { color: var(--clr-green-light); }
.newsletter-status.error   { color: #ff6b6b; }

/* ── Copyright bar ── */
.footer-copyright-bar {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: var(--space-5);
}

.footer-copyright-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.copyright-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
}

.copyright-text a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.copyright-text a:hover { color: var(--clr-white); }

.footer-legal-list {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}

.footer-legal-list li a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: 0.04em;
}

.footer-legal-list li a:hover { color: rgba(255,255,255,0.7); }

/* ── Widget overrides for dark footer ── */
.footer-main .widget-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: var(--space-5);
}

.footer-main .widget {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
}

.footer-main .widget a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}

.footer-main .widget a:hover {
  color: var(--clr-white);
}

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .newsletter-input-wrap {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta-actions {
    justify-content: center;
  }

  .footer-widgets-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-widgets-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-legal-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .newsletter-input-wrap {
    flex-direction: column;
  }

  .newsletter-input-wrap .btn {
    width: 100%;
  }
}
