﻿:root {
  --sf-primary: #8fb12b;
  --sf-primary-deep: #6f8e22;
  --sf-accent: #f09a27;
  --sf-cream: #f3f0dd;
  --sf-paper: #fffdf4;
  --sf-text: #2f381f;
}

html, body {
  background: var(--sf-paper);
  color: var(--sf-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#top #header,
#top #header_meta,
#top .main_color,
#top .header_color,
#top .footer_color,
#top .socket_color {
  background-color: var(--sf-paper);
}

#top .alternate_color {
  background-color: var(--sf-cream);
}

#top .avia-section {
  border-color: rgba(111, 142, 34, 0.12);
}

#top .main_menu .menu li a,
#top .main_menu .menu li .avia-menu-text,
#top .social_bookmarks a,
#top h1,
#top h2,
#top h3,
#top h4,
#top h5,
#top p,
#top span,
#top a {
  color: var(--sf-text);
}

#top p {
  line-height: 1.78;
}

#top h1,
#top h2,
#top h3,
#top h4 {
  line-height: 1.3;
  margin-bottom: 0.65em;
}

#top .container_wrap {
  padding-top: 34px;
  padding-bottom: 34px;
}

#top #header_meta .container,
#top #header_main .container {
  max-width: 1440px;
  width: min(94vw, 1440px);
}

#top #header_meta {
  padding-top: 8px;
  padding-bottom: 8px;
}

#top #header_meta ul.social_bookmarks {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#top #header_meta ul.social_bookmarks li {
  float: none !important;
  position: static !important;
  display: block;
  width: auto !important;
  height: auto !important;
  margin: 0;
  padding: 0;
}

#top #header_meta ul.social_bookmarks li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 76px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--sf-primary-deep);
  background: var(--sf-primary);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

#top #header_meta .sf-social-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 16px;
}

#top #header_meta .sf-social-icon-fb {
  border: 1.4px solid #fff;
  border-radius: 999px;
}

#top #header_meta .sf-social-icon-fb::after {
  content: "f";
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

#top #header_meta .sf-social-icon-ig {
  border: 1.4px solid #fff;
  border-radius: 4px;
}

#top #header_meta .sf-social-icon-ig::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border: 1.3px solid #fff;
  border-radius: 999px;
}

#top #header_meta .sf-social-icon-ig::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 2.4px;
  height: 2.4px;
  background: #fff;
  border-radius: 999px;
}

#top #header_meta .sf-social-label {
  letter-spacing: 0.4px;
}

#top #header_meta ul.social_bookmarks li a:hover {
  background: var(--sf-primary-deep);
}

#top #header_main {
  padding-top: 0;
  padding-bottom: 0;
}

#top #header_main .inner-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}

#top #header_main .logo {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

#top #header_main .logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#top .sf-home-header-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 88px;
  margin-left: clamp(8px, 1vw, 14px);
  margin-right: 16px;
  padding-left: 0;
  position: relative;
  z-index: 8;
  opacity: 1 !important;
  mix-blend-mode: normal;
}

#top .sf-home-header-title,
#top .sf-home-header-subtitle {
  margin: 0;
  color: #4f6c1f;
  line-height: 1.15;
  text-shadow: none;
}

#top .sf-home-header-title {
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

#top .sf-home-header-subtitle {
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 700;
  margin-top: 6px;
}

#top #header_main .container,
#top .main_menu ul:first-child > li > a {
  height: 88px;
  line-height: 88px;
}

#top .main_menu .av-main-nav-wrap {
  float: none;
}

#top .main_menu {
  margin-left: auto;
  flex: 0 0 auto;
}

#top .sf-mobile-toggle {
  display: none;
}

#top .sf-mobile-toggle-icon,
#top .sf-mobile-toggle-icon::before,
#top .sf-mobile-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

#top .sf-mobile-toggle-icon {
  position: relative;
}

#top .sf-mobile-toggle-icon::before {
  position: absolute;
  left: 0;
  top: -6px;
}

#top .sf-mobile-toggle-icon::after {
  position: absolute;
  left: 0;
  top: 6px;
}

#top .main_menu .menu.av-main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  margin: 0;
}

#top .main_menu .menu > li {
  height: auto !important;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}

#top #header .main_menu ul:first-child > li > a {
  display: block !important;
  padding: 0 15px !important;
  min-height: 0 !important;
  height: 88px !important;
  line-height: 88px !important;
  font-size: 18px !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  transition: 0.2s ease;
}

#top #header .main_menu ul:first-child > li.current-menu-item > a {
  background: transparent !important;
  height: 88px !important;
  line-height: 88px !important;
}

#top #header .main_menu ul:first-child > li.current-menu-item > a .avia-menu-text {
  color: var(--sf-primary-deep) !important;
  font-weight: 300;
}

#top #header .main_menu ul:first-child > li > a .avia-menu-text {
  font-size: 18px !important;
  letter-spacing: 0.15em;
  line-height: 88px !important;
  font-weight: 300;
  color: #5f6652;
}

#top #header .main_menu ul:first-child > li.current-menu-item,
#top #header .main_menu ul:first-child > li {
  height: auto !important;
}

#top #header .main_menu ul:first-child > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 24px;
  width: auto;
  height: 2px;
  background: var(--sf-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

#top #header .main_menu ul:first-child > li > a:hover .avia-menu-text {
  color: var(--sf-primary-deep) !important;
}

#top #header .main_menu ul:first-child > li > a:hover::after,
#top #header .main_menu ul:first-child > li.current-menu-item > a::after {
  transform: scaleX(1);
}

#top .av-special-heading-tag strong,
#top .av-special-heading-tag {
  color: var(--sf-primary-deep);
}

#top .special-heading-inner-border,
#top .hr-inner-style {
  border-color: var(--sf-primary);
  background-color: var(--sf-primary);
}

#top .avia-button,
#top .avia-button:hover,
#top .avia-button:focus {
  background: var(--sf-primary);
  border-color: var(--sf-primary);
  color: #fff !important;
}

#top .avia-button:hover {
  background: var(--sf-primary-deep);
  border-color: var(--sf-primary-deep);
}

#top .av-subheading,
#top .slide-meta,
#top .copyright,
#top .designby a {
  color: #5c663f;
}

#top .sf-hero {
  background: linear-gradient(120deg, rgba(143, 177, 43, 0.92), rgba(240, 154, 39, 0.9));
}

#top #av_section_home_hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 0 !important;
  height: auto;
  display: block;
  background: #efefec;
}

#top #av_section_home_hero .sf-home-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

#top #av_section_home_hero .sf-home-hero-inner {
  min-height: 0 !important;
  position: relative;
}

#top #av_section_home_hero .sf-home-hero-spacer {
  display: none;
}

#top #av_section_home_hero .sf-home-hero-copy {
  display: none;
}

#top .sf-home-cta-band {
  padding-top: 14px !important;
  padding-bottom: 20px !important;
}

#top .sf-home-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

#top .sf-home-cta-wrap .avia-button {
  border-radius: 999px;
  font-size: 20px;
  letter-spacing: 0.04em;
  padding: 14px 34px;
  box-shadow: 0 8px 26px rgba(43, 60, 26, 0.22);
}

#top .sf-home-cta-wrap .avia-button .avia_iconbox_title {
  font-size: 20px;
  font-weight: 700;
}

#top .sf-page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 460px;
}

#top .sf-page-hero .container {
  position: relative;
  z-index: 2;
  width: min(92vw, 1440px);
  max-width: 1440px;
}

#top .sf-page-hero .sf-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 34%,
    rgba(160, 170, 178, 0.3) 58%,
    rgba(138, 150, 160, 0.58) 100%
  );
}

#top .sf-page-hero .sf-page-hero-inner {
  min-height: 460px;
}

#top .sf-page-hero .sf-page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 460px;
  padding: 0 4% 0 2%;
}

#top .sf-page-hero .sf-page-hero-copy h1 {
  color: #fff !important;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.12;
  margin: 0 0 10px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

#top .sf-page-hero .sf-page-hero-copy p {
  color: #fff !important;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
  font-weight: 700;
}

#top .sf-marketing-copy h3 {
  margin-top: 0;
}

#top .sf-marketing-copy ul {
  margin: 0;
  padding-left: 1.2em;
}

#top .sf-hero h1,
#top .sf-hero h2,
#top .sf-hero p,
#top .sf-hero .avia-button {
  color: #fff !important;
}

#top .sf-card {
  background: #fff;
  border: 1px solid rgba(111, 142, 34, 0.15);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(56, 70, 26, 0.08);
  padding: clamp(20px, 2.4vw, 32px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

#top .sf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 142, 34, 0.28);
  box-shadow: 0 16px 34px rgba(56, 70, 26, 0.14);
}

#top .sf-card p:last-child {
  margin-bottom: 0;
}

#top .sf-card a {
  font-weight: 700;
}

#top .entry-content-wrapper.clearfix {
  row-gap: 22px;
}

#top .entry-content-wrapper.clearfix img {
  border-radius: 14px;
}

#top .sf-contact-list a {
  color: var(--sf-primary-deep);
  font-weight: 700;
}

#top .sf-philosophy-subtitle {
  white-space: normal;
}

#top .sf-home-gallery-heading {
  margin-top: -8px;
  margin-bottom: 24px;
}

#top .sf-home-gallery-heading .av-special-heading-tag {
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0;
}

#top .footer-page-content h4 {
  margin-bottom: 8px;
  color: #3c4925;
  font-size: 20px;
}

#top .footer-page-content p,
#top .footer-page-content a {
  font-size: 16px;
  line-height: 1.65;
}

#top #socket {
  border-top: 1px solid rgba(111, 142, 34, 0.16);
}

#top .av-layout-grid-container .flex_cell {
  min-height: 360px;
}

@media (max-width: 1024px) {
  #top #header_main .inner-container {
    gap: 14px;
  }

  #top .sf-home-header-title {
    font-size: clamp(18px, 1.6vw, 24px);
  }

  #top .sf-home-header-subtitle {
    font-size: clamp(11px, 0.9vw, 13px);
  }

  #top .main_menu .menu.av-main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
  }

  #top .main_menu .menu > li > a {
    padding: 0 10px !important;
    height: 72px !important;
    line-height: 72px !important;
  }

  #top .main_menu .menu > li > a .avia-menu-text {
    font-size: 16px !important;
    line-height: 72px !important;
  }

  #top #av_section_home_hero {
    min-height: 0 !important;
  }

  #top .sf-home-cta-band {
    padding-top: 12px !important;
    padding-bottom: 16px !important;
  }

  #top .sf-home-cta-wrap .avia-button {
    font-size: 18px;
    padding: 12px 24px;
  }

  #top .sf-home-cta-wrap .avia-button .avia_iconbox_title {
    font-size: 18px;
  }

  #top .sf-page-hero {
    min-height: 390px;
  }

  #top .sf-page-hero .sf-page-hero-inner,
  #top .sf-page-hero .sf-page-hero-copy {
    min-height: 390px;
  }

  #top .sf-page-hero .sf-page-hero-copy h1 {
    font-size: clamp(34px, 4.8vw, 46px);
  }

  #top .sf-page-hero .sf-page-hero-copy p {
    font-size: clamp(18px, 2.9vw, 26px);
  }
}

@media (max-width: 767px) {
  #top #header {
    position: relative;
    z-index: 90;
  }

  #top .container_wrap {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  #top #header_meta {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #top #header_meta .avia_hidden_link_text {
    display: none !important;
  }

  #top #header_meta ul.social_bookmarks {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 16px;
    align-items: center;
  }

  #top #header_meta ul.social_bookmarks li {
    display: inline-flex !important;
    align-items: center;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }

  #top #header_meta ul.social_bookmarks li a {
    gap: 6px;
    width: 72px;
    min-width: 72px;
    height: 30px;
    padding: 0;
    font-size: 11px;
    border: 1px solid var(--sf-primary-deep) !important;
    background: var(--sf-primary) !important;
    color: #fff !important;
  }

  #top #header_meta .sf-social-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  #top #header_main .inner-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 0;
  }

  #top #header_main {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #top #header_main .logo {
    display: flex;
    justify-content: flex-start;
    width: auto;
  }

  #top #header_main .logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #top #header_main .logo img {
    max-height: 64px;
    width: auto;
  }

  #top .sf-home-header-copy {
    display: none;
  }

  #top .main_menu {
    margin-left: auto;
    width: auto;
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
  }

  #top .sf-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--sf-primary-deep);
    border-radius: 12px;
    background: #fff;
    color: var(--sf-primary-deep);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    margin-top: 10px;
  }

  #top .main_menu .av-main-nav-wrap {
    display: none;
    position: fixed;
    top: 112px;
    left: 12px;
    right: 12px;
    width: auto;
    background: #fffdf4;
    border: 1px solid rgba(111, 142, 34, 0.24);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(38, 47, 26, 0.14);
    z-index: 140;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  #top .main_menu.is-open .av-main-nav-wrap {
    display: block !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  #top .main_menu .menu.av-main-nav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 6px 0;
    height: auto !important;
  }

  #top .main_menu .menu > li {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    clear: both !important;
  }

  #top .main_menu .menu > li > a {
    display: block !important;
    padding: 0 14px !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.35 !important;
    text-align: left;
    white-space: nowrap;
  }

  #top .main_menu .menu > li > a .avia-menu-text {
    font-size: 14px !important;
    line-height: 44px !important;
    letter-spacing: 0.04em;
  }

  #top #header .main_menu ul:first-child > li > a::after {
    display: none;
  }

  #top #header .main_menu ul:first-child > li.current-menu-item > a {
    border-left: 3px solid var(--sf-primary);
    border-bottom: 0;
  }

  #top .sf-card {
    padding: 18px;
  }

  #top .sf-home-gallery-heading {
    margin-top: -4px;
    margin-bottom: 18px;
  }

  #top .sf-home-gallery-heading .av-special-heading-tag {
    font-size: clamp(28px, 7vw, 36px);
    letter-spacing: 0.03em;
  }

  #top .sf-hero {
    background: linear-gradient(140deg, rgba(143, 177, 43, 0.95), rgba(240, 154, 39, 0.88));
  }

  #top .sf-page-hero {
    min-height: 320px;
  }

  #top .sf-page-hero .sf-page-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(140, 150, 158, 0.2) 0%,
      rgba(140, 150, 158, 0.64) 100%
    );
  }

  #top .sf-page-hero .sf-page-hero-inner,
  #top .sf-page-hero .sf-page-hero-copy {
    min-height: 320px;
  }

  #top .sf-page-hero .sf-page-hero-spacer {
    display: none;
  }

  #top .sf-page-hero .sf-page-hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 0 20px 24px;
    justify-content: flex-end;
  }

  #top .sf-page-hero .sf-page-hero-copy h1 {
    font-size: clamp(28px, 8.4vw, 38px);
    margin-bottom: 6px;
  }

  #top .sf-page-hero .sf-page-hero-copy p {
    font-size: clamp(16px, 5.2vw, 22px);
  }

  #top .sf-philosophy-subtitle {
    font-size: clamp(14px, 3.6vw, 18px);
    white-space: normal;
  }

  #top #av_section_home_hero {
    min-height: 0 !important;
    height: auto;
  }

  #top .sf-home-cta-band {
    padding-top: 10px !important;
    padding-bottom: 14px !important;
  }

  #top .sf-home-cta-wrap .avia-button {
    font-size: 17px;
    padding: 12px 20px;
  }

  #top .sf-home-cta-wrap .avia-button .avia_iconbox_title {
    font-size: 17px;
  }
}
