/* ORGANIC FOOD footer 1.3.0 — isolated from GoSolar demo widgets. */
.of-site-footer {
  --of-footer-bg: #102f27;
  --of-footer-bg-soft: #173c32;
  --of-footer-accent: #dce8c8;
  --of-footer-clay: #d58a67;
  position: relative;
  clear: both;
  overflow: hidden;
  background: var(--of-footer-bg) !important;
  color: rgba(255,255,255,.76) !important;
  font-family: var(--of-font-cjk);
}

.of-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background:
    radial-gradient(circle at 9% 18%, rgba(220,232,200,.16), transparent 22%),
    radial-gradient(circle at 88% 56%, rgba(213,138,103,.13), transparent 26%);
}

.of-footer-container {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.of-footer-cta {
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: #dfe8d2;
  color: #173c32;
}

.of-footer-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 48px;
  align-items: center;
  padding-block: 52px;
}

.of-footer-kicker {
  margin: 0 0 10px !important;
  color: #b45f40 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.of-site-footer .of-footer-cta h2 {
  max-width: 760px;
  margin: 0 0 10px !important;
  color: #173c32 !important;
  font-size: clamp(27px, 3vw, 43px) !important;
  font-weight: 750 !important;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.of-footer-cta p:last-child {
  max-width: 780px;
  margin: 0 !important;
  color: #4f625a !important;
  font-size: 16px;
  line-height: 1.65;
}

.of-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.of-site-footer .of-footer-button {
  min-height: 48px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.of-site-footer .of-footer-button:hover { transform: translateY(-2px); }
.of-site-footer .of-footer-button-light { background: #173c32; color: #fff !important; }
.of-site-footer .of-footer-button-light:hover { background: #b45f40; }
.of-site-footer .of-footer-button-ghost { border-color: rgba(23,60,50,.28); color: #173c32 !important; }
.of-site-footer .of-footer-button-ghost:hover { border-color: #173c32; background: rgba(255,255,255,.35); }

.of-footer-main { position: relative; padding: 74px 0 62px; }
.of-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(170px, .72fr) minmax(160px, .66fr) minmax(240px, 1fr);
  gap: clamp(30px, 4vw, 68px);
  align-items: start;
}

.of-footer-logo { min-height: 44px; margin-bottom: 24px; display: flex; align-items: center; }
.of-footer-logo .custom-logo-link { display: inline-flex; }
.of-footer-logo .custom-logo { width: auto; max-width: 210px; max-height: 70px; object-fit: contain; filter: brightness(0) invert(1); }
.of-footer-wordmark {
  color: #fff !important;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none !important;
}

.of-footer-description { max-width: 460px; margin: 0 0 24px !important; color: rgba(255,255,255,.73) !important; font-size: 15px; line-height: 1.72; }
.of-footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.of-footer-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; letter-spacing: .02em; }

.of-site-footer .of-footer-column h2 {
  margin: 4px 0 23px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.of-footer-menu,
.of-footer-legal-menu {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.of-footer-menu li { margin: 0 0 11px !important; padding: 0 !important; }
.of-footer-menu li::before,
.of-footer-legal-menu li::before { display: none !important; }
.of-site-footer .of-footer-menu a {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,.72) !important;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none !important;
}
.of-site-footer .of-footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--of-footer-clay);
  transition: width .2s ease;
}
.of-site-footer .of-footer-menu a:hover { color: #fff !important; }
.of-site-footer .of-footer-menu a:hover::after { width: 100%; }

.of-footer-contact address { margin: 0; font-style: normal; }
.of-footer-contact-row { margin: 0 0 18px !important; }
.of-footer-contact-label { display: block; margin-bottom: 4px; color: rgba(255,255,255,.42); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.of-site-footer .of-footer-contact a,
.of-site-footer .of-footer-contact-row > span:last-child { color: rgba(255,255,255,.82) !important; font-size: 14px; line-height: 1.65; text-decoration: none !important; }
.of-site-footer .of-footer-contact a:hover { color: var(--of-footer-accent) !important; }

.of-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.of-site-footer .of-footer-social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff !important; font-size: 11px; font-weight: 800; text-decoration: none !important; }
.of-site-footer .of-footer-social a:hover { border-color: var(--of-footer-clay); background: var(--of-footer-clay); }

.of-footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.11); }
.of-footer-bottom-grid { min-height: 72px; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.of-footer-bottom p { margin: 0 !important; color: rgba(255,255,255,.55) !important; font-size: 12px; }
.of-footer-bottom strong { color: rgba(255,255,255,.82); }
.of-footer-legal-menu { display: flex; flex-wrap: wrap; gap: 18px; }
.of-footer-legal-menu li { margin: 0 !important; padding: 0 !important; }
.of-site-footer .of-footer-legal-menu a,
.of-site-footer .of-footer-top { color: rgba(255,255,255,.58) !important; font-size: 12px; text-decoration: none !important; }
.of-site-footer .of-footer-legal-menu a:hover,
.of-site-footer .of-footer-top:hover { color: #fff !important; }
.of-footer-top { white-space: nowrap; }

.of-site-footer :focus-visible { outline: 3px solid var(--of-footer-clay); outline-offset: 3px; }

@media (max-width: 1100px) {
  .of-footer-grid { grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(160px, .7fr)); }
  .of-footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 170px repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid rgba(255,255,255,.11); padding-top: 34px; }
  .of-footer-contact h2 { margin: 3px 0 0 !important; }
  .of-footer-contact address { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 820px) {
  .of-footer-container { width: min(680px, calc(100% - 32px)); }
  .of-footer-cta-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 42px; }
  .of-footer-cta-actions { justify-content: flex-start; }
  .of-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-footer-brand { grid-column: 1 / -1; }
  .of-footer-contact { grid-column: 1 / -1; display: block; }
  .of-footer-contact address { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
  .of-footer-contact-row:first-child { grid-column: 1 / -1; }
  .of-footer-bottom-grid { grid-template-columns: 1fr auto; padding-block: 22px; }
  .of-footer-bottom nav { grid-column: 1 / -1; grid-row: 2; }
  .of-footer-top { grid-column: 2; grid-row: 1; }
}

@media (max-width: 560px) {
  .of-footer-container { width: calc(100% - 24px); }
  .of-footer-cta-grid { padding-block: 36px; }
  .of-footer-cta-actions { display: grid; grid-template-columns: 1fr; }
  .of-site-footer .of-footer-button { width: 100%; }
  .of-footer-main { padding: 54px 0 42px; }
  .of-footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .of-footer-brand,
  .of-footer-contact { grid-column: auto; }
  .of-footer-contact { padding-top: 32px; }
  .of-footer-contact address { grid-template-columns: 1fr; }
  .of-footer-contact-row:first-child { grid-column: auto; }
  .of-footer-bottom-grid { grid-template-columns: 1fr; gap: 14px; padding-block: 24px; }
  .of-footer-bottom nav,
  .of-footer-top { grid-column: auto; grid-row: auto; }
  .of-footer-legal-menu { gap: 12px 18px; }
}
