/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--color-forest);
  color: rgba(255,255,255,0.8);
  padding-block: var(--space-6) var(--space-4);
  height: auto;
  overflow: visible;
}

.footer__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: var(--space-4);
  align-items: start;
  height: auto;
}

.footer__col { min-width: 0; height: auto; overflow: visible; }

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.footer__brand-logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin-bottom: var(--space-2);
}

@media (max-width: 768px) {
  .footer__brand-logo {
    height: 48px;
    max-width: 150px;
  }
}



.footer__desc {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-2);
  white-space: nowrap;
}

.footer__list li { margin-bottom: 0.6rem; }

.footer__list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--duration) var(--ease);
}

.footer__list a:hover { color: var(--color-leaf-light); }

.footer__list a.is-link-pending {
  color: rgba(255,255,255,0.4);
  cursor: default;
  pointer-events: none;
}

/* ---------- Contact column ---------- */
.footer__col--contact {
  min-width: 0;
  height: auto;
  max-height: none;
  overflow: visible;
}

.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-leaf-light);
  background: rgba(255,255,255,0.06);
  margin-top: 0.1rem;
}

.footer__contact-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.footer__contact-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__contact-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-leaf-light);
  margin-bottom: 2px;
}

.footer__contact-line {
  display: block;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  overflow-wrap: anywhere;
}

.footer__contact-label {
  color: rgba(255,255,255,0.6);
  margin-right: 0.3em;
}

.footer__contact-line a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.footer__contact-line a:hover { text-decoration: underline; }

/* Orders line only: align the second phone number under the first
   number (not under the "Orders:" label). The label stays inline on
   its own, then both numbers form an indented block beside it. */
/* Orders line: label + first number share a row via CSS grid,
   the numbers wrapper occupies column 2 for both lines, so the
   second number's left edge lines up with the first number's
   left edge — not with the label. */
.footer__contact-line--orders {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.35em;
  align-items: start;
}

.footer__contact-line--orders .footer__contact-label {
  grid-column: 1;
  margin: 0;
  white-space: nowrap;
}

.footer__contact-line--orders .footer__contact-numbers {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}

.footer__contact-line--orders .footer__contact-numbers a {
  display: block;
}



/* ---------- Social buttons ---------- */
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-2);
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-line-dark);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.footer__social a svg {
  width: 17px;
  height: 17px;
}

.footer__social a:hover {
  background: var(--color-leaf);
  border-color: var(--color-leaf);
  transform: translateY(-2px);
}

.footer__social a.is-link-pending {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.footer__social a.is-link-pending:hover {
  background: none;
  border-color: var(--color-line-dark);
  transform: none;
}

/* ---------- Bottom bar ---------- */
.footer__bottom {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.footer__bottom-copy { flex-shrink: 0; }

.footer__bottom-links { white-space: nowrap; }

.footer__bottom-links a {
  color: rgba(255,255,255,0.55);
  transition: color var(--duration) var(--ease);
}

.footer__bottom-links a:hover { color: var(--color-leaf-light); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .footer__col--brand { grid-column: auto; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom-links { white-space: normal; }
}