/* ══════════════════════════════════════
   footer.css — Site footer
   ══════════════════════════════════════ */

.site-footer {
  background: #0d1b3e;
  color: #fff;
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}
.footer-col__list { list-style: none; }
.footer-col__list li { margin-bottom: 12px; }
.footer-col__list li a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color .2s;
}
.footer-col__list li a:hover { color: #fff; }

/* Divider inside col 1 */
.footer-col__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 20px 0;
}

/* Icon links */
.footer-col__extra { display: flex; flex-direction: column; gap: 12px; }
.footer-col__icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color .2s;
}
a.footer-col__icon-link:hover { color: #fff; }
.footer-col__icon-link svg { flex-shrink: 0; }

/* Language switch */
.footer-lang-switch {
  display: flex;
  gap: 16px;
  padding-left: 30px;
}
.footer-lang-switch a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-lang-switch a:hover,
.footer-lang-switch a.footer-lang-switch--active { color: #fff; }

/* Horizontal dividers */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 0;
}

/* Learn section */
.footer-learn {
  display: flex;
  gap: 48px;
  padding: 40px 0;
}
.footer-learn__main { flex: 3; }
.footer-learn__blog { flex: 1; min-width: 240px; }
.footer-learn__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 32px;
}
.footer-learn__list { list-style: none; }
.footer-learn__list li { margin-bottom: 14px; }
.footer-learn__list li a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  transition: color .2s;
}
.footer-learn__list li a:hover { color: #fff; }
.footer-learn__list li a svg { flex-shrink: 0; margin-top: 1px; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}
.footer-bottom__logo img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-bottom__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-bottom__links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color .2s;
}
.footer-bottom__links a:hover { color: #fff; }
.footer-bottom__social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-bottom__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background .2s, border-color .2s;
}
.footer-bottom__social a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* Copyright */
.footer-copyright {
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  padding: 24px 0 32px;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-learn { flex-direction: column; }
  .footer-learn__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-footer { padding: 48px 20px 0; }
  .footer-columns { grid-template-columns: 1fr; gap: 32px; }
  .footer-learn__grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
  .footer-bottom__links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}
