/* Pi Dentist — Footer
   4-column footer: brand, services, info, contact
   Ported from index.html → WordPress child theme
   All values use CSS custom properties from tokens.css */

/* ===========================================
   SITE FOOTER
   =========================================== */
.site-footer {
  background: var(--pi-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

/* ---------- Footer Grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Column 1 — Brand ---------- */
.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-symbol {
  width: 40px;
  height: 40px;
}

.footer-brand .logo-text {
  color: var(--pi-white);
}

.footer-tagline {
  font-size: 14px;
  color: var(--pi-footer-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--pi-footer-text);
  font-size: 18px;
  text-decoration: none;
  transition: all var(--pi-transition);
}

.social-link:hover {
  background: var(--pi-gold);
  color: var(--pi-navy);
}

/* ---------- Column Headings ---------- */
.footer-col h4 {
  font-family: var(--pi-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--pi-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* ---------- Footer Links List ---------- */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--pi-footer-text);
  text-decoration: none;
  transition: all var(--pi-transition);
}

.footer-links a:hover {
  color: var(--pi-gold);
  padding-left: 4px;
}

/* wp_nav_menu output inside footer-col — override WP defaults */
.footer-col .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col .menu li {
  margin-bottom: 12px;
}

.footer-col .menu a {
  font-size: 14px;
  color: var(--pi-footer-text);
  text-decoration: none;
  transition: all var(--pi-transition);
}

.footer-col .menu a:hover {
  color: var(--pi-gold);
  padding-left: 4px;
}

/* ---------- Column 4 — Contact ---------- */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--pi-footer-text);
  line-height: 1.6;
}

.footer-contact .fc-icon {
  color: var(--pi-gold);
  min-width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--pi-footer-text);
  text-decoration: none;
  transition: color var(--pi-transition);
}

.footer-contact a:hover {
  color: var(--pi-gold);
}

/* ---------- Footer Bottom ---------- */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--pi-transition);
}

.footer-legal a:hover {
  color: var(--pi-gold);
}

/* ===========================================
   RESPONSIVE — Tablet (max-width: 1199px)
   =========================================== */
@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ===========================================
   RESPONSIVE — Mobile (max-width: 767px)
   =========================================== */
@media (max-width: 767px) {
  .site-footer {
    padding: 64px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .social-link,
  .footer-links a,
  .footer-col .menu a,
  .footer-contact a,
  .footer-legal a {
    transition: none;
  }
}
