/* ============================================================
   SD SUSTER THEME — FOOTER
   footer.css
   ============================================================ */

.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.80);
  padding-top: var(--space-20);
}

/* --- Footer Main Grid --- */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* --- Brand Column --- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.footer-brand__logo-icon {
  width: 52px;
  height: 52px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.20);
  overflow: hidden;
}

.footer-brand__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand__name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-white);
}

.footer-brand__sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-brand__desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 280px;
}

/* --- Social Icons --- */
.footer-socials {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: rgba(255,255,255,0.70);
}

.footer-social-link:hover {
  background: var(--color-royal);
  border-color: var(--color-royal);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-royal);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Footer Column (Links) --- */
.footer-col__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
}

.footer-col__link:hover {
  color: var(--color-gold);
  padding-left: var(--space-1);
}

.footer-col__link::before {
  content: '→';
  font-size: var(--text-xs);
  opacity: 0;
  margin-left: -14px;
  transition: all var(--transition-base);
}

.footer-col__link:hover::before {
  opacity: 1;
  margin-left: 0;
}

/* --- Contact Info --- */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.footer-contact-item + .footer-contact-item {
  margin-top: var(--space-3);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

/* --- Footer Bottom Bar --- */
.site-footer__bottom {
  padding-block: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
}

.footer-copyright span {
  color: var(--color-gold);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-base);
}

.footer-bottom-link:hover {
  color: rgba(255,255,255,0.80);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand__desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
