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

.site-footer {
  position: relative;
  background-color: #000;
  color: #fff;
  overflow: hidden;
  min-height: 320px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100vw, 1080px);
  background-image: url('/wp-content/uploads/2026/03/moc_ft-bg_1.svg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.site-footer a:hover {
  text-decoration-color: var(--mc-green);
}

.site-footer__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 5vw, 72px);
  padding-right: clamp(24px, 5vw, 72px);
}

.site-footer .container {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 260px 1fr;
  flex: 1;
  min-height: 280px;
  column-gap: 0;
}

/* =========================
   LEFT COLUMN
========================= */

.site-footer__left {
  padding: 1.6rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-footer__brand {
  margin-bottom: 0.8rem;
}

.site-footer__logo {
  width: 120px;
  height: auto;
  display: block;
}

.site-footer__logo-link {
  display: inline-block;
  width: 100%;
  max-width: 150px;
}

.site-footer__text-logo {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.site-footer__nav {
  margin-top: 0.5rem;
}

.site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__menu li {
  margin: 0 0 0.28rem;
  padding: 0;
}

.site-footer__menu a {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu .current-menu-item > a {
  color: #9acd32;
}

.site-footer__meta {
  margin-top: 0.85rem;
}

.site-footer__meta a {
  text-decoration: none;
}

.site-footer__company {
  margin: 0 0 0.15rem;
  color: #9acd32;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
}

.site-footer__meta p {
  margin: 0;
  font-size: 0.6rem;
  line-height: 1.2;
}

/* =========================
   RIGHT COLUMN
========================= */

.site-footer__right {
  position: relative;
  padding: 2.25rem 0 1.5rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* Social icons — absolute so they sit above the contact widget */
.site-footer__socials {
  position: absolute;
  top: 2.25rem;
  right: 0;
  display: flex;
  gap: 0.9rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #9acd32;
  transition:
    transform 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.site-footer__social-link svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  fill: currentColor;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: #9acd32;
  transform: translateY(-2px);
  outline: none;
}

.site-footer__social-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(230, 255, 0, 0.35);
  border-radius: 999px;
}

/* =========================
   CONTACT WIDGET
========================= */

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: min(100%, 700px);
  margin-left: auto;
  margin-bottom: 1.1rem;
}

.site-footer__contact-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(6px);
}

.site-footer__contact-icon img {
  width: 58px;
  height: auto;
  display: block;
}

.site-footer__contact-copy {
  width: 100%;
}

.site-footer__contact-title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #fff;
}

.site-footer__contact-sub {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

/* =========================
   FOOTER GF FORM (form 4)
   Compact progressive-reveal form; inputs inherit dark styling
   from gravity-forms.css global rules (no modifier needed).
========================= */

.mc-footer-form {
  margin-top: 0.25rem;
}

.mc-footer-form .gform_wrapper .gform_fields {
  gap: 0.7rem;
}

.mc-footer-form .gform_wrapper .gfield input[type="text"],
.mc-footer-form .gform_wrapper .gfield input[type="email"],
.mc-footer-form .gform_wrapper .gfield input[type="tel"],
.mc-footer-form .gform_wrapper .gfield select,
.mc-footer-form .gform_wrapper .gfield textarea {
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
}

.mc-footer-form .gform_wrapper .gfield_label {
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
}

.mc-footer-form .gform_wrapper .gform_footer,
.mc-footer-form .gform_wrapper .gform_page_footer {
  margin-top: 0.75rem;
}

/* =========================
   BOTTOM BAR
========================= */

.site-footer__bottom {
  text-align: center;
  padding: 0.85rem 0;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.8);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .site-footer::before {
    width: min(60vw, 620px);
    background-position: right bottom;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__left {
    padding-bottom: 2rem;
  }

  .site-footer__right {
    padding-top: 4.5rem;
    justify-content: flex-start;
  }

  .site-footer__socials {
    right: auto;
    left: 0;
  }
}

@media (max-width: 640px) {
  .site-footer::before {
    width: min(78vw, 420px);
    opacity: 0.9;
  }

  /* Stack right column vertically; move socials to static flow so they can be centred */
  .site-footer__right {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding-top: 2rem;
  }

  .site-footer__socials {
    position: static;
    justify-content: center;
    top: auto;
    right: auto;
    left: auto;
  }

  .site-footer__contact {
    align-items: flex-start;
    margin-left: 0;
  }
}
