/* Footer - ✅ FIXED CENTERING */
.site-footer{
  background: var(--bg); 
  color: var(--muted);
  width: 100%;  /* ✅ Added */
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.site-footer a{ 
  color: var(--text); 
  text-decoration: none; 
  transition: color .18s ease; 
}
.site-footer a:hover{ color: var(--accent); }
.footer-inner{ 
  max-width:1180px; 
  margin:0 auto;  /* ✅ Centering */
  padding:48px 20px 56px; 
}

.brand-row{ 
  display:flex; 
  align-items:center; 
  justify-content: space-between; 
  gap:24px; 
  padding-bottom:28px; 
}
.brand-logo{ 
  height:100px; 
  width:auto; 
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); 
}

.social{ 
  display:flex; 
  gap:16px; 
  list-style:none; 
  padding:0; 
  margin:0; 
}
.social .btn{
  all: unset; 
  display:grid; 
  place-items:center;
  width:50px; 
  height:50px; 
  border-radius:50%;
  background:var(--chip); 
  color:var(--icon);
  border:1px solid rgba(255,255,255,0.12);
  transition:transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  cursor:pointer;
}
.social img, .social svg{ width:24px; height:24px; max-width:none; }
.social .btn:hover{
  background:var(--chip-hover); 
  color:var(--icon-hover);
  border-color: rgba(0, 238, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(5, 216, 231, 0.35), 0 0 0 1px rgba(255,255,255,.10) inset;
}

/* Divider */
.footer-divider{
  border:0; 
  height:1px; 
  margin:22px 0 0; 
  opacity:1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.info{ border-top:none; }
.info .links{ margin-top:6px; }
.info .sep{ opacity:.5; margin:0 10px; }

copyright, .copyright{
  margin-top:15px;
  font-size:13px;
  color:#9aa0a6;
}

/* Focus styles (dual ring for contrast) */
:where(a, button, .btn, .card .link, [tabindex]):focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.98);
  outline-offset: 0;
  box-shadow: var(--focus-outer), var(--focus-inner);
  border-radius: 10px;
}



/* ✅ Footer - Tablet View (768px and below) */
@media screen and (max-width: 768px) {
  .footer-inner {
    padding: 40px 20px 48px;
    max-width: 100%;
  }
  
  .brand-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
  }
  
  .brand-logo {
    height: 80px;
  }
  
  .social {
    gap: 12px;
  }
  
  .social .btn {
    width: 45px;
    height: 45px;
  }
  
  .social img,
  .social svg {
    width: 22px;
    height: 22px;
  }
}

/* ✅ Footer - Mobile View (480px and below) */
@media screen and (max-width: 480px) {
  .footer-inner {
    padding: 32px 16px 40px;
  }

  .brand-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 20px;
    text-align: left;
  }

  .brand-logo {
    height: 60px;
    min-width: 60px;
  }

  .social {
    display: flex;
    gap: 8px;
  }
  
  .social .btn {
    width: 40px;
    height: 40px;
  }
  
  .social img,
  .social svg {
    width: 20px;
    height: 20px;
  }

  .info {
    font-size: 12px;
  }
  
  copyright,
  .copyright {
    font-size: 11px;
  }
}

/* ✅ Footer - Extra Small Devices (360px and below) */
@media screen and (max-width: 360px) {
  .brand-logo {
    height: 50px;
    min-width: 50px;
  }
  
  .social {
    gap: 6px;
  }
  
  .social .btn {
    width: 36px;
    height: 36px;
  }
  
  .social img,
  .social svg {
    width: 18px;
    height: 18px;
  }
}
