/* ===== Footer — extracted from Astro landing build ===== */
.footer {
  background: linear-gradient(180deg, #000d41, #000a33);
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand */
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo { display: flex; align-items: center; text-decoration: none; min-height: 44px; }
.footer-logo-image { height: clamp(28px, 4vw, 36px); width: auto; }
.footer-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
  margin: 0;
}

.footer-social { display: flex; gap: 0.5rem; justify-content: center; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
}
.social-link:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }

/* Link Columns */
.footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-column { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-column:last-child { border-bottom: none; }

.footer-column-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem 0;
  background: none; border: none; color: #fff;
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  cursor: pointer; min-height: 44px;
}
.accordion-icon { transition: transform 0.2s; color: rgba(255, 255, 255, 0.4); }
.footer-column-header[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }

.footer-column-list {
  list-style: none; margin: 0; padding: 0 0 1rem;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.footer-column-list.open { max-height: 320px; }
.footer-column-list li { margin-bottom: 0.75rem; }
.footer-column-list li:last-child { margin-bottom: 0; }
.footer-column-list a {
  display: flex; align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none; font-size: 0.875rem; line-height: 1.5;
  padding: 0.25rem 0; min-height: 44px;
  transition: color 0.2s ease;
}
.footer-column-list a:hover { color: #fff; }

/* Bottom */
.footer-bottom {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; padding-top: 1.5rem; text-align: center;
}
.copyright { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.4); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.footer-legal a {
  font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5);
  text-decoration: none; padding: 0.25rem;
  min-height: 44px; display: flex; align-items: center;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: #fff; }

/* Desktop — matching Astro's 768px breakpoint */
@media (min-width: 768px) {
  .footer-main { flex-direction: row; flex-wrap: wrap; gap: 3rem; }
  .footer-brand { flex: 1 1 100%; max-width: 300px; }
  .footer-social { justify-content: flex-start; }
  .footer-links { flex: 1; flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .footer-column { flex: 1 1 calc(50% - 1rem); border-bottom: none; }
  .footer-column-header { cursor: default; padding: 0 0 1rem; }
  .accordion-icon { display: none; }
  .footer-column-list { max-height: none !important; overflow: visible; padding: 0; }
  .footer-column-list a { min-height: auto; padding: 0.375rem 0; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .footer-column { flex: 1; }
}
