.landing-template-body {
  background: #fafaf6;
}

body.admin-bar.landing-template-body {
  --landing-admin-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar.landing-template-body {
    --landing-admin-offset: 46px;
  }
}

.landing-site-header {
  position: fixed;
  top: var(--landing-admin-offset, 0px);
  left: 0;
  width: 100%;
  z-index: 1200;
  padding: 0 48px;
  pointer-events: none;
}

.landing-site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  pointer-events: auto;
}

.landing-site-header__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid rgba(79, 85, 74, 0.26);
  border-radius: 999px;
  background: rgba(250, 250, 246, 0.96);
  color: #20231f;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.landing-site-header__menu-toggle-line {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.landing-site-header__brand {
  width: 309.98px;
  max-width: 720px;
  padding-top: 16px;
}

.landing-site-header__brand img {
  width: 100%;
  height: 71.98px;
  object-fit: contain;
  object-position: left center;
}

.landing-site-header__nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 24px;
  border-radius: 0 0 20px 20px;
  background: #4a6b1f;
}

.landing-site-header__nav::before,
.landing-site-header__nav::after {
  content: '';
  position: absolute;
  top: 0;
  width: 48px;
  background: #4a6b1f;
}

.landing-site-header__nav::before {
  left: -48px;
  height: 41px;
  clip-path: path('M48 40.5C48 2.88053 44.8951 0 9.57645 0C-25.7422 0 48 0 48 0C48 0 48 17.8036 48 40.5Z');
}

.landing-site-header__nav::after {
  right: -48px;
  height: 38px;
  clip-path: path('M0 37.5C0 -0.119473 3.10494 0 38.4235 0C73.7422 0 0 0 0 0C0 0 0 14.8036 0 37.5Z');
}

.landing-site-header__link {
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.landing-site-header__link-label-mobile {
  display: none;
}

.landing-site-header__link:hover {
  opacity: 0.86;
}

body.page-template-templates-landing-page .landing-page {
  padding-top: 0;
}

.landing-site-footer {
  background: #eef1e8;
  color: #ffffff;
}

.landing-site-footer__panel {
  background: #6f8557;
  border-radius: 32px 32px 0 0;
  box-shadow: inset 0 3px 0 0 #a9b99a;
  padding-top: 96px;
  overflow: hidden;
}

.landing-site-footer__inner {
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 96px;
}

.landing-site-footer__brand {
  width: 309px;
  flex-shrink: 0;
}

.landing-site-footer__brand img {
  width: 100%;
  height: 71.77px;
  object-fit: contain;
  object-position: left center;
}

.landing-site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-site-footer__column--center {
  align-items: center;
  text-align: center;
}

.landing-site-footer__heading {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
}

.landing-site-footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
}

.landing-site-footer__address-lines {
  display: block;
}

.landing-site-footer__address-line {
  display: block;
}

.landing-site-footer__icon {
  color: #d8d1c6;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.landing-site-footer__icon svg {
  width: 100%;
  height: 100%;
}

.landing-site-footer__quick-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-site-footer__quick-links a {
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
}

.landing-site-footer__quick-links a:hover,
.landing-site-footer__contact-row:hover,
.landing-site-footer__socials a:hover {
  opacity: 0.86;
}

.landing-site-footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-site-footer__socials a {
  width: 24px;
  height: 24px;
  color: #ddebcb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-site-footer__socials svg,
.landing-site-footer__socials img {
  width: 24px;
  height: 24px;
}

.landing-site-footer__bottom {
  border-top: 1.5px solid rgba(234, 228, 216, 0.2);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-site-footer__bottom p {
  margin: 0;
  color: #d8d1c6;
  text-align: left;
  font-family: var(--font-secondary);
  font-size: 13.33px;
  font-weight: 400;
  line-height: 21.33px;
}

.landing-site-footer__legal-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-site-footer__legal-links a {
  color: #d8d1c6;
  font-family: var(--font-secondary);
  font-size: 13.33px;
  font-weight: 500;
  line-height: 21.33px;
  text-decoration: none;
}

.landing-site-footer__legal-links a:hover {
  opacity: 0.86;
}

.landing-site-footer__legal-terms-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-site-footer__legal-rocket {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .landing-site-header {
    padding: 0 24px;
  }

  .landing-site-header__brand {
    width: 248px;
  }

  .landing-site-header__brand img {
    height: 58px;
  }

  .landing-site-header__nav {
    gap: 14px;
    padding: 16px 18px;
  }

  .landing-site-header__link {
    font-size: 13px;
  }

  .landing-site-footer__top {
    flex-wrap: wrap;
    gap: 28px;
    padding-bottom: 56px;
  }

  .landing-site-footer__brand {
    width: 250px;
  }
}

@media (max-width: 820px) {
  .landing-site-header {
    position: sticky;
    top: 0;
    background: rgba(250, 250, 246, 0.94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(79, 85, 74, 0.16);
  }

  .landing-site-header__inner {
    align-items: center;
    padding: 8px 0;
    gap: 10px;
  }

  .landing-site-header__brand {
    width: 188px;
    padding-top: 0;
  }

  .landing-site-header__brand img {
    height: 44px;
  }

  .landing-site-header__menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .landing-site-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    display: none;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 14px;
    gap: 0;
    border: 1px solid rgba(79, 85, 74, 0.2);
    border-radius: 14px;
    background: rgba(250, 250, 246, 0.98);
    box-shadow: 0 16px 24px rgba(20, 26, 19, 0.18);
    flex-direction: column;
    align-items: stretch;
    scrollbar-width: none;
  }

  .landing-site-header__nav::-webkit-scrollbar {
    display: none;
  }

  .landing-site-header.is-menu-open .landing-site-header__nav {
    display: flex;
  }

  .landing-site-header__nav::before,
  .landing-site-header__nav::after {
    display: none;
  }

  .landing-site-header__link {
    font-size: 14px;
    color: #20231f;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    padding: 0 10px;
  }

  .landing-site-header__link:hover {
    background: rgba(79, 85, 74, 0.08);
    opacity: 1;
  }

  .landing-site-header__link--consultation {
    margin-top: 8px;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    background: #4a6b1f;
    color: #ffffff;
  }

  .landing-site-header__link--consultation:hover {
    background: #5f7f2e;
  }

  .landing-site-header__link-label-desktop {
    display: none;
  }

  .landing-site-header__link-label-mobile {
    display: inline;
  }

  .landing-site-footer__panel {
    border-radius: 24px 24px 0 0;
    padding-top: 48px;
  }

  .landing-site-footer__inner {
    width: min(100% - 32px, 760px);
  }

  .landing-site-footer__top {
    flex-direction: column;
    padding-bottom: 36px;
  }

  .landing-site-footer__column,
  .landing-site-footer__column--center {
    align-items: flex-start;
    text-align: left;
  }

  .landing-site-footer__quick-links {
    gap: 10px;
  }

  .landing-site-footer__bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .landing-site-header__brand {
    width: 164px;
  }

  .landing-site-header__brand img {
    height: 40px;
  }
}

.landing-site-header.is-menu-open .landing-site-header__menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.landing-site-header.is-menu-open .landing-site-header__menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.landing-site-header.is-menu-open .landing-site-header__menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

