/* ==========================================================================
   Section 16 — Footer (Elementor id 6b8d512)
   Static section plus link hovers. No scroll trigger, no entrance animation.
   Measured: desktop 1440x752, mobile 390x1699.
   ========================================================================== */

.s-footer {
  background-image: linear-gradient(143deg, #003c24 0%, #000000 100%);
  background-color: transparent;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 22.5px;
  overflow: hidden;
}

.s-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 115px 86px 58px;
}

/* ---------------------------------------------------------------- columns */

.s-footer__grid {
  display: grid;
  grid-template-columns: 329fr 63fr 251fr 251fr 261fr;
  column-gap: 25px;
  row-gap: 0;
  padding-bottom: 75px;
}

.s-footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  min-width: 0;
}

.s-footer__col--brand {
  gap: 40px;
  padding: 5px 20px 5px 5px;
}

.s-footer__col--spacer { padding: 0; }

/* ---------------------------------------------------------------- brand */

.s-footer__logo img {
  width: 308px;
  max-width: 100%;
  height: auto;
}

.s-footer__about {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--c-white);
}

/* ---------------------------------------------------------------- social */

.s-footer__social {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--c-white);
  transition: all var(--dur);
}

.s-footer__social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.s-footer__social-link--facebook  { background-color: #3b5998; }
.s-footer__social-link--linkedin  { background-color: #0077b5; }
.s-footer__social-link--instagram { background-color: var(--c-green); }
.s-footer__social-link--youtube   { background-color: #cd201f; }

.s-footer__social-link:hover { opacity: 0.8; }

.s-footer__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- headings */

.s-footer__heading {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-white);
}

.s-footer__news-title {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
  color: var(--c-white);
}

.s-footer__news-copy {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--c-white);
}

/* Placeholder for the third-party newsletter iframe the original embeds here.
   Keeps the measured column height. */
/* Placeholder for the third-party newsletter iframe, which is out of scope.
   Sized so the footer matches the measured 752px, not the iframe's own height. */
.s-footer__form-slot { height: 212px; }

/* ---------------------------------------------------------------- menus */

.s-footer__nav--dropdown { display: none; }

.s-footer__menu {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s-footer__link {
  display: block;
  padding: 6.75px 0;
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 22.5px;
  color: var(--c-white);
  text-decoration: none;
  transition: all var(--dur);
}

.s-footer__link:hover { opacity: 0.7; }

/* ---------------------------------------------------------------- button */

.s-footer__btn-wrap { margin-top: 16px; }

.s-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 12px 22px;
  border-radius: 100px;
  background-color: var(--c-white);
  color: var(--c-forest);
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--dur);
}

/* Measured hover: this button INVERTS to white background with #363636 text,
   unlike the black-on-hover buttons used elsewhere on the page. */
.s-footer__btn:hover,
.s-footer__btn:focus-visible {
  background-color: var(--c-white);
  color: var(--c-text);
}

/* ---------------------------------------------------------------- bottom bar */

.s-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.s-footer__copy {
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 22.5px;
  color: var(--c-white);
}

.s-footer__ai {
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 22.5px;
  padding-left: 4px;
}

.s-footer__ai-link {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all var(--dur);
}

.s-footer__ai-link:hover { opacity: 0.7; }

/* ==========================================================================
   Tablet 768–1024px (interpolated between the desktop and mobile references)
   ========================================================================== */

@media (max-width: 1024px) {
  .s-footer__inner { padding: 70px 40px 40px; }

  .s-footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 45px;
    padding-bottom: 45px;
  }

  .s-footer__col--brand { grid-column: 1 / -1; }
  .s-footer__col--spacer { display: none; }
  .s-footer__col--news { grid-column: 1 / -1; }

  .s-footer__heading { font-size: 22px; }
  .s-footer__news-title { font-size: 24px; line-height: 28px; }
  .s-footer__form-slot { height: 260px; }
}

/* ==========================================================================
   Mobile <=767px — single column stack (measured 390x1699)
   ========================================================================== */

@media (max-width: 767px) {
  .s-footer__inner { padding: 60px 20px 0; gap: 0; }

  .s-footer__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding-bottom: 40px;
  }

  .s-footer__col { padding: 0; }
  .s-footer__col--brand { gap: 34px; padding: 0; }

  .s-footer__logo img { width: 260px; }

  .s-footer__social { justify-content: center; gap: 20px; }

  .s-footer__heading { font-size: 26px; }
  .s-footer__news-title { font-size: 26px; line-height: 32px; }

  /* the mobile reference indents the menu items relative to their heading */
  .s-footer__menu { padding-left: 20px; }
  .s-footer__link { padding: 8.5px 0; }

  .s-footer__btn-wrap { margin-top: 22px; padding-left: 20px; }

  .s-footer__form-slot { height: 170px; }

  .s-footer__bottom {
    align-items: center;
    gap: 5px;
    margin-inline: -20px;
    padding: 22px 20px 26px;
    text-align: center;
  }

  .s-footer__ai { padding-left: 0; }
}
