/* Footer Styles */
.site-footer {
  --footer-line: rgba(21, 38, 61, 0.1);
  --footer-line-soft: rgba(21, 38, 61, 0.06);
  --footer-grid-size: 72px;
  color: #14243a;
  border-top: 1px solid var(--footer-line);
  background: #ffffff;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  border-left: 1px solid var(--footer-line-soft);
  border-right: 1px solid var(--footer-line-soft);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 56px 34px;
}

.footer-logo {
  max-height: 42px;
  max-width: min(100%, 360px);
}

.footer-tagline {
  max-width: 360px;
  margin: 0;
  color: #4f6176;
  font-size: 1rem;
  line-height: 1.75;
}

.footer-social {
  display: flex;
  gap: 0;
  margin-top: 4px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #14243a;
  border: 1px solid var(--footer-line);
  background: #ffffff;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: #14243a;
  color: #ffffff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--footer-line-soft);
}

.footer-column {
  padding: 56px 34px;
  border-right: 1px solid var(--footer-line-soft);
}

.footer-column h4 {
  margin: 0 0 20px;
  color: #65758a;
  font-family: var(--font-family-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  margin: 0;
}

.footer-column a {
  display: inline-block;
  color: #14243a;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.footer-column a:hover {
  color: #1f7a57;
  box-shadow: inset 0 -1px 0 rgba(31, 122, 87, 0.44);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 34px;
  border-top: 1px solid var(--footer-line);
  border-left: 1px solid var(--footer-line-soft);
  border-right: 1px solid var(--footer-line-soft);
}

.footer-copyright {
  margin: 0;
  color: #6b7c8f;
  font-size: 0.84rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
}

.footer-legal a {
  color: #5f7083;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #14243a;
}

.footer-separator {
  color: #9aa7b5;
}

@media (max-width: 900px) {
  .footer-inner {
    padding: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    border-top: 1px solid var(--footer-line);
    border-left: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 0;
  }

  .footer-brand,
  .footer-column,
  .footer-bottom {
    padding: 34px 20px;
  }

  .footer-logo {
    max-height: 36px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
