/* Shared SemDev navigation footer. Compact landing-page footers remain separate. */
.home-footer {
  padding: clamp(2rem, 4vw, 3.5rem) 0 2rem;
  background: var(--ink);
  color: var(--text);
  font-family: var(--bodyFont);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.62;
}
.home-footer > .shell {
  width: var(--shell);
  margin-inline: auto;
}
.home-footer a { text-decoration: none; }
.home-footer__panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 20px;
  background: linear-gradient(135deg, #102033, #0d1a2a 45%, #0b1624);
  box-shadow: 0 18px 40px -24px rgb(0 0 0 / 65%);
}
.home-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.home-footer__top > * { min-width: 0; }
.home-footer .home-footer__logo {
  margin: 0;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.home-footer__logo span { color: var(--brand); }
.home-footer__description {
  max-width: 29ch;
  margin-top: 1.25rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.home-footer__coverage {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.home-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.home-footer__socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--brand);
  background: linear-gradient(135deg, #21465d, #142c40 55%, #0d1e30);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 3px 6px -3px rgb(0 0 0 / 55%);
  transition: color 300ms ease, background-color 300ms ease, translate 300ms var(--ease);
}
.home-footer__socials .icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.home-footer__contact {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 16px;
  background: linear-gradient(135deg, #173247, #12273a 55%, #102235);
  box-shadow: 0 12px 28px -18px rgb(0 0 0 / 65%);
}
.home-footer .home-footer__contact h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--headerFont);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.home-footer__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-size: clamp(1rem, 1.65vw, 1.4rem);
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.home-footer__contact-options {
  display: grid;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.home-footer__contact-options a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 54px;
  padding-block: 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
}
.home-footer__contact-options a + a { border-top: 1px solid var(--line); }
.home-footer__contact-options svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  color: var(--brand);
}
.home-footer__navigation {
  display: grid;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.home-footer__links { min-width: 0; }
.home-footer__links h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--headerFont);
  font-size: 1.2rem;
  line-height: 1.2;
}
.home-footer__links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.home-footer a { transition: color 300ms ease, translate 300ms var(--ease); }
.home-footer a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}
.home-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.25rem 0.25rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.home-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.home-footer__bottom p { font-size: inherit; }
.home-footer__bottom nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.home-footer__credit { width: 100%; }
@media (min-width: 768px) {
  .home-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
    padding-bottom: 3rem;
  }
  .home-footer__navigation {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-top: 3rem;
  }
  .home-footer__links:nth-child(2) ul { grid-template-columns: 1fr; }
}
@media (hover: hover) and (pointer: fine) {
  .home-footer a:hover { color: var(--brand); }
  .home-footer__socials a:hover { color: var(--white); translate: 0 -3px; }
}

