/* ══════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════ */
.footer {
  background: #0a1628;
  color: rgba(255,255,255,0.75);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.6fr;
  gap: 48px;
  padding: 64px 80px 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand column */
.footer__logo {
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 14px;
}

.footer__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer__tagline {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  max-width: 240px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer__socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Link columns */
.footer__col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  text-decoration: none;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

/* Contact column */
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.footer__contact i {
  color: var(--blue);
  width: 14px;
  text-align: center;
}

/* Newsletter column */
.footer__newsletter-text {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer__subscribe {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
}

.footer__subscribe input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.78rem;
  outline: none;
  font-family: inherit;
}

.footer__subscribe input::placeholder { color: rgba(255,255,255,0.35); }

.footer__subscribe button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}
.footer__subscribe button:hover { background: var(--blue-dark); }

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--white); }

/* ==============================
   RESPONSIVE DESIGN (MOBILE)
================================ */
@media (max-width: 991px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    padding: 48px 24px 40px;
  }
  
  /* Make the first (brand info) column take full width of grid on tablet */
  .footer__col--brand {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 16px 30px;
  }

  .footer__col--brand {
    grid-column: span 1;
    text-align: center;
  }

  .footer__logo {
    margin: 0 auto 16px;
  }

  .footer__tagline {
    max-width: 100%;
    margin-bottom: 16px;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__col-title {
    margin-bottom: 12px;
    text-align: center;
  }

  .footer__links,
  .footer__contact {
    align-items: center;
    text-align: center;
  }

  .footer__contact li {
    justify-content: center;
  }

  .footer__newsletter-text {
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
    text-align: center;
  }

  .footer__bottom-links {
    justify-content: center;
    gap: 16px;
  }
}
