@media (max-width: 768px) {

  .site-footer {
    padding: 40px 15px 30px;
    overflow-x: hidden;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* Logo scales full width */
  .footer-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  /* Title stays on one line and scales down */
  .footer-brand h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    white-space: nowrap;
    text-align: center;
  }

  /* Social icons scale down slightly */
  .footer-social a {
    font-size: 2rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
    padding: 0 10px;
  }
}
