/* Compact site footer: [pine_footer] shortcode, see inc/footer.php.
   Built from the approved Option B mockup (insights-featured-layouts/footer-options.css).
   Each surface class sets the full set of role tokens; the rules below read tokens only. */

/* The Avada footer section only hosts the shortcode; the footer draws its own box. */
.fusion-tb-footer .pine-footer-host,
.fusion-tb-footer .pine-footer-host > .fusion-builder-row,
.fusion-tb-footer .pine-footer-host .fusion-column-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.pine-footer--light {
  --pf-bg: #f0f0f0;
  --pf-text: #53565a;
  --pf-strong: #141617;
  --pf-heading: #347735;
  --pf-title: #004d23;
  --pf-accent: #347735;
  --pf-line: #dcdfdc;
  --pf-legal: #53565a;
  --pf-icon-bg: #fff;
  --pf-icon-border: #e1e4e1;
  --pf-icon: #004d23;
  --pf-btn-bg: #347735;
  --pf-btn-text: #fff;
  --pf-btn-hover-bg: #003b1b;
  --pf-btn-hover-text: #fff;
  --pf-btn-weight: 500;
  --pf-card-shadow: 0 10px 30px rgba(20, 22, 23, .06);
}

.pine-footer--dark {
  --pf-bg: #004d23;
  --pf-text: rgba(255, 255, 255, .82);
  --pf-strong: #fff;
  --pf-heading: #b0cd8a;
  --pf-title: #fff;
  --pf-accent: #b0cd8a;
  --pf-line: rgba(255, 255, 255, .14);
  --pf-legal: rgba(255, 255, 255, .65);
  --pf-icon-bg: rgba(255, 255, 255, .08);
  --pf-icon-border: rgba(255, 255, 255, .2);
  --pf-icon: #fff;
  --pf-btn-bg: #b0cd8a;
  --pf-btn-text: #004d23;
  --pf-btn-hover-bg: #fff;
  --pf-btn-hover-text: #004d23;
  --pf-btn-weight: 600;
  --pf-card-shadow: none;
}

/* The form card is white on both surfaces, so it sets its own tokens. */
.pine-footer__form {
  --pf-text: #141617;
  --pf-field-border: #cfd3cf;
  --pf-required: #a54e2e;
  --pf-btn-bg: #347735;
  --pf-btn-text: #fff;
  --pf-btn-hover-bg: #003b1b;
  --pf-btn-hover-text: #fff;
  --pf-btn-weight: 500;
}

.pine-footer {
  background: var(--pf-bg);
  color: var(--pf-text);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pine-footer *,
.pine-footer *::before,
.pine-footer *::after {
  box-sizing: border-box;
}

.pine-footer__inner {
  width: min(var(--site_width, 1320px), 100% - 60px);
  margin: 0 auto;
}

.pine-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s, background .2s, border-color .2s;
}

/* Contact section */
.pine-footer__contact {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 56px;
  align-items: start;
  padding: 64px 0 60px;
  border-bottom: 1px solid var(--pf-line);
}

.pine-footer .pine-footer__contact h2 {
  margin: 0 0 14px;
  max-width: 16ch;
  font-family: inherit;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: var(--pf-title);
}

.pine-footer__contact p {
  margin: 0;
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--pf-text);
}

.pine-footer__form {
  padding: 30px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--pf-card-shadow);
}

/* Formidable's own form styles, restyled to the mockup's fields. */
.pine-footer__form .frm_forms.with_frm_style {
  max-width: none;
  margin: 0;
}

.pine-footer__form .frm_forms .frm_form_fields > fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.pine-footer__form .frm_forms .frm_fields_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.pine-footer__form .frm_forms .frm_fields_container > .frm_form_field {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  width: auto;
}

.pine-footer__form .frm_forms .frm_fields_container > .frm6 {
  grid-column: auto;
}

/* The form hides its labels and leans on placeholders; the footer shows the labels, as in the mockup. */
.pine-footer__form .frm_forms.with_frm_style .frm_none_container .frm_primary_label,
.pine-footer__form .frm_forms .frm_primary_label {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--pf-text);
}

.pine-footer__form .frm_forms .frm_required {
  color: var(--pf-required);
  font-weight: 600;
}

.pine-footer__form .frm_forms input[type="text"],
.pine-footer__form .frm_forms input[type="email"],
.pine-footer__form .frm_forms select,
.pine-footer__form .frm_forms textarea {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--pf-field-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  font: 400 14px/1.4 "Poppins", Arial, Helvetica, sans-serif;
  color: var(--pf-text);
}

.pine-footer__form .frm_forms textarea {
  min-height: 92px;
}

.pine-footer__form .frm_forms input:focus,
.pine-footer__form .frm_forms select:focus,
.pine-footer__form .frm_forms textarea:focus {
  outline: 2px solid #b0cd8a;
  border-color: #347735;
  box-shadow: none;
}

/* The labels carry the field names, so the placeholders that repeat them are hidden. */
.pine-footer__form .frm_forms.with_frm_style input::placeholder,
.pine-footer__form .frm_forms.with_frm_style textarea::placeholder {
  color: transparent !important;
}

/* reCAPTCHA is invisible; its field only holds the badge script. */
.pine-footer__form .frm_forms.with_frm_style #frm_field_21_container .frm_primary_label {
  display: none;
}

/* It stays rendered (the badge must show) but out of the grid, so it adds no row gap. */
.pine-footer__form .frm_forms .frm_fields_container > #frm_field_21_container {
  position: absolute;
  width: 0;
  height: 0;
  overflow: visible;
}

.pine-footer__form .frm_forms .frm_submit .frm_button_submit {
  margin: 0;
}

.pine-footer__form .frm_forms .frm_submit {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  text-align: left;
}

.pine-footer__form .frm_forms .frm_error,
.pine-footer__form .frm_forms .frm_error_style,
.pine-footer__form .frm_forms .frm_message {
  font-size: 13px;
}

/* Buttons: the footer's Contact Us and the form's Submit. */
.pine-footer__btn,
.pine-footer__form .frm_forms .frm_button_submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--pf-btn-bg);
  color: var(--pf-btn-text);
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: var(--pf-btn-weight);
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.pine-footer a.pine-footer__btn {
  color: var(--pf-btn-text);
}

.pine-footer a.pine-footer__btn:hover,
.pine-footer a.pine-footer__btn:focus-visible,
.pine-footer__form .frm_forms .frm_button_submit:hover,
.pine-footer__form .frm_forms .frm_button_submit:focus-visible {
  background: var(--pf-btn-hover-bg);
  color: var(--pf-btn-hover-text);
  border: 0;
}

/* The Submit button carries the same arrow as Contact Us. */
.pine-footer__form .frm_forms .frm_button_submit::after {
  content: "";
  width: 16px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M15.19 7.77l-5.36 5.41a1.07 1.07 0 0 1-1.51 0 1.09 1.09 0 0 1 0-1.53l3.53-3.57H1.57a1.08 1.08 0 0 1 0-2.17h10.27L8.32 2.35a1.09 1.09 0 0 1 0-1.53 1.07 1.07 0 0 1 1.51 0l5.36 5.42c.42.42.42 1.1 0 1.53z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M15.19 7.77l-5.36 5.41a1.07 1.07 0 0 1-1.51 0 1.09 1.09 0 0 1 0-1.53l3.53-3.57H1.57a1.08 1.08 0 0 1 0-2.17h10.27L8.32 2.35a1.09 1.09 0 0 1 0-1.53 1.07 1.07 0 0 1 1.51 0l5.36 5.42c.42.42.42 1.1 0 1.53z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Logo, Explore, Company and Connect, then Contact Us on the far right. The link
   columns size to their text and share the free space equally (2026-11-17 Connect). */
.pine-footer__grid {
  display: grid;
  grid-template-columns: 200px auto auto auto auto;
  justify-content: space-between;
  column-gap: 48px;
  row-gap: 40px;
  align-items: start;
  padding: 56px 0 48px;
}

.pine-footer__brand {
  justify-self: center;
  align-self: center;
}

.pine-footer__brand img {
  display: block;
  width: 92px;
  height: auto;
}

.pine-footer .pine-footer__col h4 {
  margin: 0 0 16px;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pf-heading);
}

.pine-footer__col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.pine-footer__col li {
  margin: 0;
  padding: 0;
}

.pine-footer__connect {
  display: grid;
  gap: 14px;
  align-content: start;
  font-size: 15px;
}

.pine-footer a.pine-footer__row-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.pine-footer__icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--pf-icon-border);
  border-radius: 4px;
  background: var(--pf-icon-bg);
  color: var(--pf-icon);
  transition: border-color .2s;
}

.pine-footer__cta {
  padding-top: 30px;
}

.pine-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--pf-line);
  font-size: 13px;
  color: var(--pf-legal);
}

/* Hover: the text keeps its color and an underline draws in from the left, as in the header nav. */
.pine-footer__col ul a,
.pine-footer__t,
.pine-footer__legal a {
  position: relative;
}

.pine-footer__col ul a::after,
.pine-footer__t::after,
.pine-footer__legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 1px;
  background: var(--pf-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.pine-footer__col ul a:hover::after,
.pine-footer__col ul a:focus-visible::after,
.pine-footer__row-link:hover .pine-footer__t::after,
.pine-footer__row-link:focus-visible .pine-footer__t::after,
.pine-footer__legal a:hover::after,
.pine-footer__legal a:focus-visible::after {
  transform: scaleX(1);
}

.pine-footer__row-link:hover .pine-footer__icon,
.pine-footer__row-link:focus-visible .pine-footer__icon {
  border-color: var(--pf-accent);
}

@media (max-width: 1000px) {
  .pine-footer__inner {
    width: calc(100% - 40px);
  }

  .pine-footer__contact {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px 0 40px;
  }

  .pine-footer .pine-footer__contact h2 {
    font-size: 27px;
  }

  .pine-footer__form {
    padding: 22px;
  }

  .pine-footer__form .frm_forms .frm_fields_container {
    grid-template-columns: 1fr;
  }

  .pine-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding: 40px 0 34px;
  }

  .pine-footer__brand,
  .pine-footer__connect-col,
  .pine-footer__cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pine-footer__cta {
    padding-top: 0;
  }

  .pine-footer__brand img {
    width: 80px;
  }

  .pine-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
