/**
 * Footer layout & styling
 * ------------------------
 * The <footer class="site-footer"> used in index.html, about.html,
 * search.html, gpt.html, terms.html, privacy.html, and survey.html
 * is styled here.
 *
 * If you want to change colors, spacing, or layout of the footer,
 * edit this file.
 */

.site-footer {
  border-top: 1px solid #f0ecec;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
  background: #ffffff;
}

.footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: space-between;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-weight: 700;
}

.footer-logo {
  width: 30px;
  height: 30px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
}

.footer-social-icons img {
  width: 28px;
  height: 28px;
}

.footer-links-block {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-nav-title {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.footer-nav a:hover {
  color: #1a1a1a;
}

.store-btnn{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: var(--space-lg) auto 0;
  padding-inline: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid #f0ecec;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.inline-form-sm {
  width: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.inline-form-sm input{
  border-radius: 12rem;
  border: 1px solid #C6C6C6;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.btn-secondary{
  width: fit-content;
  color: #EA580C;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }

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