/* ==========================================================================
   Footer v2 — tiered layout
   Tier 1: brand + blurb + Get In Touch   (slim row, bottom divider)
   Tier 2: three link columns             (Machinery / Support / Company)
   Tier 3: horizontal contact strip       (top divider)
   Tier 4: existing footer-bottom bar     (copyright + socials)
   Rollback: restore index.html.bak + motion.css.bak, delete this file.
   ========================================================================== */

.site-footer--v2 {
  padding-top: 2.5rem;
}

/* --- Tier 1: brand row --- */

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 1.875rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.16);
}

.footer-top__brand {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-width: 0;
}

.footer-top__brand .footer-logo {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.footer-top__brand p {
  margin: 0;
  max-width: 30rem;
}

.site-footer--v2 .footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  padding: 0 1.5rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.72);
  border-radius: 0.25rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- Tier 2: link columns --- */

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3.625rem;
  width: var(--content-width);
  margin: 0 auto;
  padding: 2.25rem 0;
}

.footer-links h3 {
  margin: 0 0 1.125rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 900;
}

.footer-links a {
  display: block;
  margin: 0 0 0.75rem;
  color: rgba(226, 237, 252, 0.84);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:last-child {
  margin-bottom: 0;
}

/* --- Tier 3: contact strip --- */

.footer-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 3.5rem;
  width: var(--content-width);
  margin: 0 auto;
  padding-top: 1.375rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.16);
}

.footer-contact-strip p {
  position: relative;
  margin: 0;
  padding-left: 1.5rem;
}

.footer-contact-strip a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-strip a:hover,
.footer-contact-strip a:focus-visible {
  text-decoration: underline;
}

/* --- Tier 4: bottom bar (existing styles) — just tighten the spacing --- */

.site-footer--v2 .footer-bottom {
  margin-top: 1.5rem;
}

/* --- CTA band polish (the section above the footer) --- */

/* Let the heading run to one line on wide screens */
.conversation h2 {
  max-width: none;
}

/* Ease the decorative rings down so they don't clip hard against the top edge */
.conversation::before {
  top: -6.25rem;
}

.conversation::after {
  top: -8rem;
}

/* --- Responsive --- */

@media (max-width: 73.75rem) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

@media (max-width: 47.5rem) {
  .footer-top__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-contact-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
  }
}
