.site-footer {
  background: linear-gradient(180deg, rgba(6, 20, 42, 0.98) 0%, rgba(7, 25, 49, 0.98) 100%);
  color: #ffffff;
  padding-top: 18px;
  padding-bottom: 10px;
  position: relative;
  overflow: hidden;
  margin-top: 25px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 15%, rgba(54, 123, 255, 0.14), transparent 30%),
              radial-gradient(circle at 90% 10%, rgba(56, 129, 255, 0.12), transparent 27%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 0.95fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 8px;
}

.footer-brand {
  padding-top: 10px;
}

.footer-logo {
  display: block;
  width: auto; /* smaller */
  height: 65px;
  margin-bottom: 8px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 4px;
}

.footer-brand-text .brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.footer-brand-text .brand-name span,
.footer-brand-text .brand-sub {
  color: #3fa4ff;
}

.footer-brand-text .brand-sub {
  font-size: 12px;
  letter-spacing: 0.52em;
  margin-top: 2px;
  text-transform: uppercase;
}

.footer-brand-copy {
  margin-top: 10px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 1800px;
}

.footer-social {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social li a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #ffffff;
  background: transparent;
  transition: all 0.20s ease;
}

.footer-social li a i{ font-size:14px; }

.footer-social li a:hover {
  background: rgba(31,115,255,0.12);
  border-color: rgba(31,115,255,0.9);
  transform: translateY(-2px);
}

.footer-col h4 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, #1e7efb, #5cb8ff);
  border-radius: 999px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 4px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* .footer-list li {
  margin-bottom: 18px;
} */

.footer-list a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-list a::before {
  content: ">";
  font-size: 13px;
  color: #5aa9ff;
  line-height: 1;
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-newsletter {
  padding-top: 0;
  text-align: left; /* heading left-aligned like reference */
}

.footer-newsletter h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.footer-newsletter h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, #1e7efb, #5cb8ff);
  border-radius: 999px;
}

.footer-newsletter p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 280px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.newsletter-field {
  display: flex;
  align-items: center;
  min-height: 38px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 0 10px;
  width: 210px;
}

.newsletter-field .field-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-right: 8px;
}

.newsletter-field input {
  width: 100%;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.newsletter-field input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.newsletter-submit {
  border: none;
  outline: none;
  min-height: 34px;
  border-radius: 10px;
  background: linear-gradient(90deg, #1a73ff 0%, #1a73ff 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 136px;
  box-shadow: 0 8px 16px rgba(26, 115, 255, 0.22);
}

.newsletter-submit span {
  font-size: 16px;
  line-height: 1;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 8px;
  gap: 8px;
  margin-top: 6px;
}

.footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 12.5px;
  position: relative;
  padding-left: 10px;
}

.legal-links a:first-child { padding-left: 0; }
.legal-links a + a::before {
  content: "|";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.18);
}

.legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 1200px) {
  .site-footer .footer-top {
    grid-template-columns: 1.3fr 1.7fr 1.2fr;
  }

  .site-footer .footer-newsletter {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 991px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .footer-col,
  .site-footer .footer-newsletter {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 36px;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-copy,
  .footer-newsletter p {
    max-width: none;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}
