:root {
  --primary-color: #0b4da2;
  --secondary-color: #2fa84f;
  --white: #ffffff;
  --text-muted: #dbe7ff;
  --border-soft: rgba(255, 255, 255, 0.14);
  --transition: all 0.3s ease;
}

/* =========================
   FOOTER SECTION
========================= */
.site-footer {
  background: linear-gradient(135deg, #08356f 0%, var(--primary-color) 45%, var(--secondary-color) 100%);
  color: var(--white);
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 0.95fr 1fr;
  gap: 28px;
  padding: 42px 0 30px;
  align-items: start;
}

.footer-brand,
.footer-column {
  min-width: 0;
}

.footer-brand h3,
.footer-column h4 {
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.footer-brand h3 {
  font-size: 28px;
}

.footer-column h4 {
  font-size: 20px;
}

.footer-brand p {
  margin: 0 0 14px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.footer-contact p {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

.footer-contact a,
.footer-list a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover,
.footer-list a:hover {
  color: #d9ffe6;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  line-height: 1.7;
  font-size: 15px;
}

.social-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-vertical li {
  margin-bottom: 0;
}

.social-vertical a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.social-vertical a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.social-vertical img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.social-vertical span {
  font-size: 15px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
}

.footer-bottom-inner {
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #eef6ff;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 34px 0 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand h3 {
    font-size: 24px;
  }

  .footer-column h4 {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0 20px;
  }

  .footer-brand,
  .footer-column {
    width: 100%;
    padding: 18px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
  }

  .footer-brand h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .footer-column h4 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-list a,
  .social-vertical span {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-list li {
    margin-bottom: 10px;
  }

  .social-vertical {
    gap: 10px;
  }

  .social-vertical a {
    padding: 10px 12px;
    min-height: 44px;
  }

  .social-vertical img {
    width: 17px;
    height: 17px;
  }

  .footer-bottom-inner {
    padding: 14px 0;
  }

  .footer-bottom p {
    font-size: 13px;
    padding: 0 10px;
  }
}

@media (max-width: 420px) {
  .footer-grid {
    gap: 16px;
    padding: 22px 0 18px;
  }

  .footer-brand,
  .footer-column {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .footer-brand h3 {
    font-size: 20px;
  }

  .footer-column h4 {
    font-size: 16px;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-list a,
  .social-vertical span {
    font-size: 13px;
  }

  .social-vertical a {
    padding: 9px 10px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}
