/* Shared social links and the requested bottom-right website credit. */
/* Intrinsic image dimensions reserve space; scaled brand marks retain their ratio. */
.brand img,
.footer-brand img,
header img[src="assets/shelby-logo.jpg"] { height: auto; }

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #dce8e6;
  font-family: 'DM Sans', Arial, sans-serif;
}
.footer-bottom small {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  color: #526c73;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-socials { display: flex; justify-content: center; align-items: center; gap: 16px; }
.footer-socials .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  color: #304a56;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}
.footer-socials svg { display: block; flex-shrink: 0; }
.footer-socials .facebook svg { color: #1877f2; }
.footer-socials .instagram svg { color: #c13584; }
.footer-socials .social-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom .website-credit {
  justify-self: end;
  color: #526c73;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
  text-decoration: none;
}
.website-credit span { display: block; color: #304a56; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:focus-visible { outline: 2px solid #4b777b; outline-offset: 5px; border-radius: 2px; }
@media (max-width: 1050px) {
  .footer-bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 24px; }
  .footer-socials { grid-column: 1 / -1; grid-row: 1; }
  .footer-bottom small { grid-column: 1; grid-row: 2; }
  .footer-bottom .website-credit { grid-column: 2; grid-row: 2; }
}
@media (max-width: 480px) {
  .footer-bottom { gap: 14px; }
  .footer-bottom small { font-size: 9px; letter-spacing: .04em; }
  .footer-bottom .website-credit { font-size: 10px; }
}
