:root {
  --footer-bg: #1a1f2e;
  --footer-bg2: #141824;
  --footer-surface: rgba(255,255,255,0.05);
  --footer-border: rgba(255,255,255,0.09);
  --footer-text: #a8b2c8;
  --footer-text-light: #dce4f5;
  --footer-accent: #4f8ef7;
  --footer-accent-hover: #7aaeff;
  --footer-accent-glow: rgba(79,142,247,0.18);
  --footer-gold: #f0b94a;
}

.site-footer {
  background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg2) 100%);
  color: var(--footer-text);
  font-family: 'Poppins', sans-serif;
  margin-top: 80px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--footer-accent), var(--footer-gold), var(--footer-accent), transparent);
  opacity: 0.6;
}

/* ── TOP SECTION ── */
.footer-top {
  padding: 72px 0 56px;
  border-top: 1px solid var(--footer-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1.1fr;
  gap: 48px;
  align-items: start;
}

/* ── BRAND COL ── */
.footer-logo-link { display: inline-block; }

.footer-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
.footer-logo:hover {
  opacity: 1;
  transform: scale(1.04);
  filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--footer-accent));
}

.footer-tagline {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--footer-text);
  line-height: 1.6;
  max-width: 220px;
}

/* ── CONTACT ── */
.footer-contact {
  margin-top: 28px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--footer-text);
}

.footer-contact-item i {
  color: var(--footer-gold);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact-item a:hover { color: var(--footer-accent); }

/* ── SOCIALS ── */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--footer-surface);
  border: 1px solid var(--footer-border);
  color: var(--footer-text);
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.footer-social-icon:hover {
  background: var(--footer-accent);
  border-color: var(--footer-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--footer-accent-glow);
}

/* ── LINKS GRID ── */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-accent);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--footer-accent), var(--footer-gold));
  border-radius: 2px;
}

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

.footer-link-list a {
  font-size: 0.84rem;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-link-list a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--footer-accent);
  transition: width 0.22s ease;
  border-radius: 1px;
  flex-shrink: 0;
}
.footer-link-list a:hover {
  color: var(--footer-text-light);
  padding-left: 2px;
}
.footer-link-list a:hover::before { width: 12px; }

/* ── NEWSLETTER ── */
.footer-newsletter-col { }

.footer-newsletter-desc {
  font-size: 0.83rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--footer-text);
}

.footer-newsletter-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-newsletter-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--footer-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--footer-text-light);
  font-size: 0.84rem;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.footer-newsletter-input::placeholder { color: var(--footer-text); opacity: 0.55; }
.footer-newsletter-input:focus {
  border-color: var(--footer-accent);
  background: rgba(79,142,247,0.06);
  box-shadow: 0 0 0 3px var(--footer-accent-glow);
}

.footer-newsletter-btn {
  background: linear-gradient(135deg, var(--footer-accent) 0%, #6fa8ff 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px var(--footer-accent-glow);
}
.footer-newsletter-btn:hover:not(:disabled) {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--footer-accent-glow);
}
.footer-newsletter-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  background: rgba(0,0,0,0.18);
  padding: 22px 0;
}

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

.footer-copyright {
  font-size: 0.79rem;
  color: var(--footer-text);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.79rem;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--footer-accent-hover); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-newsletter-col {
    grid-column: 1 / -1;
  }
  .footer-newsletter-input-wrap {
    flex-direction: row;
  }
  .footer-newsletter-input { flex: 1; }
  .footer-newsletter-btn { width: auto; }
}

@media (max-width: 767px) {
  .footer-top { padding: 52px 0 40px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-newsletter-col { grid-column: auto; }

  .footer-newsletter-input-wrap {
    flex-direction: column;
  }
  .footer-newsletter-btn { width: 100%; }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-link-col:last-child {
    grid-column: 1 / -1;
  }
}
