.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background:
    radial-gradient(420px 180px at 0% 100%, rgba(47, 157, 138, 0.1), transparent 68%),
    #eaf7f4;
  border-top: 1px solid rgba(47, 157, 138, 0.18);
  color: #243332;
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
}

.site-footer-botany {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  fill: none;
  stroke: #2f9d8a;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.14;
}

.site-footer-botany--bl {
  left: 0.45rem;
  bottom: 2.4rem;
  width: 6.5rem;
  height: 6.5rem;
}

.site-footer-botany--tr {
  right: 0.45rem;
  top: 0.65rem;
  width: 7rem;
  height: 7rem;
  transform: rotate(150deg);
}

.site-footer-inner,
.site-footer-bottom-inner {
  position: relative;
  z-index: 1;
  width: var(--site-width, min(1200px, 90vw));
  max-width: var(--site-max, 1200px);
  margin-inline: auto;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2.65rem 0 2.15rem;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-footer-copy {
  margin: 0.55rem 0 0;
  max-width: 26rem;
  color: #667572;
  line-height: 1.55;
  font-size: 0.8rem;
}

.site-footer-social {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.site-footer-social a {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(47, 157, 138, 0.28);
  background: rgba(255, 255, 255, 0.45);
  color: #2f9d8a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer-social a svg {
  width: 13px;
  height: 13px;
}

.site-footer-social a:hover {
  background: #2f9d8a;
  border-color: #2f9d8a;
  color: #fff;
}

.site-footer-reach-title {
  margin: 0 0 0.65rem;
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2f9d8a;
}

.site-footer-reach {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.site-footer-reach a,
.site-footer-reach li {
  color: #5d6b67;
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.4;
}

.site-footer-reach a:hover {
  color: #243332;
}

.site-footer-reach li,
.site-footer-reach a {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.site-footer-reach svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 0.12rem;
  color: #2f9d8a;
}

.site-footer-bottom {
  border-top: 1px solid rgba(47, 157, 138, 0.18);
}

.site-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 50px;
  font-size: 0.72rem;
  color: #8a9a96;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.site-footer-legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer-legal a:hover {
  color: #243332;
}

.site-footer-dot {
  opacity: 0.55;
}

html.dark .site-footer {
  background:
    radial-gradient(420px 180px at 0% 100%, rgba(47, 157, 138, 0.14), transparent 68%),
    linear-gradient(180deg, #1c2623 0%, #243532 100%);
  border-top-color: rgba(59, 184, 164, 0.2);
  color: #eef3f1;
}

html.dark .site-footer-copy,
html.dark .site-footer-reach a,
html.dark .site-footer-reach li,
html.dark .site-footer-bottom-inner {
  color: #9eb5b0;
}

html.dark .site-footer-reach a:hover,
html.dark .site-footer-legal a:hover {
  color: #f4f8f6;
}

html.dark .site-footer-social a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(59, 184, 164, 0.28);
  color: #7dcebf;
}

html.dark .site-footer-social a:hover {
  background: #2f9d8a;
  border-color: #2f9d8a;
  color: #fff;
}

html.dark .site-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 800px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.35rem;
    padding: 1.85rem 0 1.5rem;
  }

  .site-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 0.85rem 0 1rem;
  }
}

@media (max-width: 720px) {
  .site-footer {
    background: #fff;
  }
}
