/*
 * Footer — karmadharma.ca match
 * Alternate (Sara P&C design) saved in footer-alternate.css
 */

.footer {
  background: var(--color-navy);
  color: #fff;
}
.footer > .container {
  padding-top: var(--space-64);
  padding-bottom: var(--space-lg);
}

/* ── Main 2-column layout ── */
.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* ── Left column ── */
.footer__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer__logo {
  display: inline-block;
}
.footer__logo-img {
  height: 72px;
  width: 72px;
}
.footer__divider--logo {
  display: none;
}
.footer__location {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer__location:hover {
  color: var(--color-success);
}

/* ── Contact info ── */
.footer__contact {
  margin-top: var(--space-4xs);
}
.footer__contact-label {
  display: none;
}
.footer__contact-info {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.5;
}
.footer__contact-info p {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
}
.footer__contact-info p + p {
  margin-top: var(--space-4xs);
}
.footer__contact-icon {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  color: var(--color-success);
  font-size: 14px;
}
.footer__contact-address-break {
  display: none;
}
.footer__contact-info a {
  color: #fff;
  transition: color 0.2s ease;
}
.footer__contact-info a:hover {
  color: var(--color-success);
}

/* ── Social icons ── */
.footer__social {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  margin-top: var(--space-3xs);
}
.footer__social-icon {
  color: var(--color-white);
  font-size: 22px;
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
}
.footer__social-icon:hover {
  color: var(--color-success);
  transform: translateY(-3px);
}

/* ── Right column ── */
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}
.footer__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}
.footer__badge {
  max-width: 100%;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer__badge:hover {
  opacity: 1;
}
.footer__badge--bcorp {
  max-width: 280px;
}
.footer__badge--onepercent {
  max-width: 220px;
}
.footer__badge--flag {
  height: 32px;
}
.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}
.footer__link-list a {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  display: inline-block;
}
.footer__link-list a:hover {
  color: var(--color-success);
  transform: translateX(4px);
}

/* ── Land acknowledgment ── */
.footer__acknowledgment {
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__acknowledgment p {
  font-family: var(--font-body, 'Roboto Slab', serif);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 900px;
}
.footer__acknowledgment strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--fw-semibold);
}

/* ── Copyright ── */
.footer__copyright {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .footer > .container {
    padding-top: var(--space-48);
    padding-bottom: var(--space-md);
  }
  .footer__acknowledgment p { font-size: 14px; line-height: 1.65; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .footer > .container {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-md);
  }
  .footer__main {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
    text-align: center;
  }
  .footer__left,
  .footer__right {
    width: 100%;
    align-items: center;
  }
  .footer__location,
  .footer__contact-info { font-size: 14px; }
  .footer__contact-info p { justify-content: center; }
  .footer__social { justify-content: center; gap: var(--space-sm); }
  .footer__social-icon { font-size: 24px; }
  .footer__link-list {
    align-items: center;
    gap: var(--space-2xs);
  }
  .footer__link-list a { font-size: 16px; }
  .footer__link-list a:hover { transform: none; }
  .footer__badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
  }
  .footer__badge--bcorp { max-width: 200px; }
  .footer__badge--onepercent { max-width: 150px; }
  .footer__acknowledgment {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    text-align: left;
  }
  .footer__acknowledgment p { font-size: 13px; line-height: 1.65; }
  .footer__copyright { font-size: 12px; }
}

/* ── Small mobile ── */
@media (max-width: 480px) {
  .footer__link-list a { font-size: 15px; }
  .footer__badge--bcorp { max-width: 170px; }
  .footer__badge--onepercent { max-width: 130px; }
}
