/* ================================================================
   Site Footer
   ================================================================ */

.site-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2rem);
  font-family: "Hind Siliguri", "Poppins", sans-serif;
}

.site-footer-inner {
  max-width: 72rem;
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.site-footer-brand {
  max-width: 28rem;
}

.site-footer-label {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b5bff;
}

.site-footer-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.site-footer-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #64748b;
}

.site-footer-newsletter {
  max-width: 24rem;
}

.site-footer-newsletter-lead {
  margin: 0 0 0.875rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.site-footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.3rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.site-footer-newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  outline: none;
}

.site-footer-newsletter-form input::placeholder {
  color: #94a3b8;
}

.site-footer-newsletter-btn {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.site-footer-newsletter-btn:hover {
  filter: brightness(1.05);
}

.site-footer-newsletter-btn:focus-visible {
  outline: 2px solid #5b5bff;
  outline-offset: 2px;
}

.site-footer-divider {
  height: 1px;
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
  background: #e2e8f0;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.site-footer-col-title {
  margin: 0 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.site-footer-links,
.site-footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-links li + li,
.site-footer-contact li + li {
  margin-top: 0.5rem;
}

.site-footer-links a {
  display: inline-block;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: #5b5bff;
}

.site-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
}

.site-footer-contact i {
  flex-shrink: 0;
  width: 1rem;
  margin-top: 0.2rem;
  color: #5b5bff;
  font-size: 0.875rem;
  text-align: center;
}

.site-footer-contact a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-contact a:hover {
  color: #5b5bff;
}

.site-footer-contact address {
  margin: 0;
  font-style: normal;
  color: #475569;
}

.site-footer-bottom {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}

.site-footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #94a3b8;
  text-align: center;
}

.site-footer .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer-top {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .site-footer-newsletter {
    justify-self: end;
    width: 100%;
  }

  .site-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

  .site-footer-copy {
    text-align: left;
  }
}

@media (max-width: 639px) {
  .site-footer-newsletter-form {
    flex-direction: column;
    padding: 0.5rem;
  }

  .site-footer-newsletter-btn {
    width: 100%;
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-newsletter-btn:hover {
    transform: none;
  }
}
