/* ==========================================================================
   Shared site chrome — header logo and footer.
   Loaded after each page's inline <style> so it is the single source of
   truth for the parts that must look identical on every page.
   ========================================================================== */

/* --- Header logo -------------------------------------------------------- */

.nav-logo {
  display: flex;
  align-items: center;
  /* the wordmark lives in the SVG, so suppress any leftover text nodes */
  font-size: 0;
  line-height: 0;
  gap: 0;
}

.nav-logo img {
  display: block;
  height: 34px;
  width: auto;
  border-radius: 0;
}

/* --- Footer ------------------------------------------------------------- */

footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.5);
  padding: 64px 0 32px;
  margin-top: 0;
}

/* Some pages made footer .container the grid itself; the grid belongs on
   .footer-grid so every page lays out identically. */
footer .container {
  display: block;
  grid-template-columns: none;
  gap: normal;
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  grid-column: auto;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .logo {
  display: block;
  margin-bottom: 16px;
}

.footer-brand .logo img {
  display: block;
  height: 34px;
  width: auto;
}

footer h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a,
footer ul a,
footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
}

footer ul li a:hover,
footer ul a:hover,
footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Section image panels ----------------------------------------------- */

.img-placeholder {
  width: 100%;
  min-height: 320px;
  border-radius: 12px;
  background: #eef4fd url("/logo-icon.svg") no-repeat center;
  background-size: 96px auto;
  font-size: 0;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-logo img { height: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
