/* ===== Chrome: header/footer (single source, see shared/chrome/README.md) ===== */
/* --- gh-header: shared by sec + pt --- */
.gh-header {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif;
}

/* ===== Шапка и меню ===== */
.gh-header button {
  font: inherit;
}

.gh-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gh-line);
}

.gh-header.scrolled {
  box-shadow: 0 4px 16px -8px rgba(31,35,40,.18);
}

.gh-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gh-logo {
  flex: none;
  display: flex;
  align-items: center;
}

.gh-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.gh-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.gh-item {
  position: relative;
}

.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--gh-ink);
  padding: 10px 8px;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
}

a.gh-link:hover,.gh-item:hover>.gh-link {
  color: var(--gh-gray);
}

.gh-caret {
  width: 16px;
  height: 16px;
  transition: transform .25s;
  color: var(--gh-gray);
}

.gh-item.open .gh-caret {
  transform: rotate(180deg);
}

.gh-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid var(--gh-line);
  border-radius: 12px;
  box-shadow: var(--gh-shadow);
  padding: 8px;
  min-width: 600px;
  display: none;
}

.gh-drop.right {
  left: auto;
  right: 0;
}

.gh-item.open .gh-drop {
  display: block;
}

.gh-drop.mega {
  display: none;
}

.gh-item.open .gh-drop.mega {
  display: grid;
}

.gh-drop.mega {
  grid-template-columns: 1fr 1fr;
  gap: 2px 6px;
}

.gh-drop.simple {
  min-width: 300px;
}

.gh-drop-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .15s;
}

.gh-drop-item:hover {
  background: var(--gh-hover);
}

.gh-ic {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--gh-green);
  display: grid;
  place-items: center;
}

.gh-ic svg {
  width: 20px;
  height: 20px;
}

.gh-drop-item b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.gh-drop-item i {
  display: block;
  font-style: normal;
  font-size: 16px;
  color: var(--gh-gray);
  line-height: 1.4;
  margin-top: 2px;
}

.gh-drop-foot {
  grid-column: 1/-1;
  border-top: 1px solid var(--gh-line);
  margin-top: 6px;
  padding: 10px 12px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gh-green);
}

.gh-drop-foot:hover {
  color: var(--gh-orange);
}

.gh-right {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.gh-phone {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.gh-phone:hover {
  color: var(--gh-green);
}

.gh-btn {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--gh-green);
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--gh-green);
  cursor: pointer;
  white-space: nowrap;
  transition: .2s;
}

.gh-btn:hover {
  background: #09492f;
}

.gh-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gh-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  place-items: center;
  color: var(--gh-ink);
}

.gh-mobile {
  display: none;
  border-top: 1px solid var(--gh-line);
  background: #fff;
  max-height: calc(100vh - 65px);
  overflow-y: auto;
}

.gh-mobile.open {
  display: block;
}

.gh-m-group {
  border-bottom: 1px solid var(--gh-line);
}

.gh-m-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--gh-ink);
}

.gh-m-btn .gh-caret {
  transition: transform .25s;
}

.gh-m-group.open .gh-m-btn .gh-caret {
  transform: rotate(180deg);
}

.gh-m-sub {
  display: none;
  padding: 2px 16px 12px;
}

.gh-m-group.open .gh-m-sub {
  display: block;
}

.gh-m-link {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--gh-line);
}

.gh-m-cta {
  padding: 16px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gh-m-cta .gh-btn {
  justify-content: center;
  padding: 12px;
}

.gh-search {
  position: relative;
  flex: none;
}

.gh-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  background: var(--gh-hover);
  display: grid;
  place-items: center;
  color: var(--gh-ink);
  cursor: pointer;
  transition: .2s;
}

.gh-search-btn:hover {
  background: var(--gh-line);
}

.gh-search-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--gh-line);
  border-radius: 12px;
  box-shadow: var(--gh-shadow);
  padding: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: .25s;
  z-index: 120;
}

.gh-search.open .gh-search-drop {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.gh-search-drop input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--gh-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 16px;
  font-family: inherit;
}

.gh-search-drop button {
  flex: none;
  border: 0;
  border-radius: 8px;
  background: var(--gh-green);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 14px;
  cursor: pointer;
}

.gh-search-drop button:hover {
  background: #09492f;
}

.gh-drop.mega.cols2 {
  grid-auto-flow: column;
  grid-template-rows: repeat(4,auto);
}

.gh-header a,.gh-header a:hover {
  text-decoration: none;
}
/* --- main simple header (scoped .h-main) --- */
header.h-main {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.h-main .bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}

.h-main nav {
  margin: 0;
}

.h-main nav ul {
  display: flex;
  justify-content: center;
  gap: 17px;
  list-style: none;
}

.h-main nav a {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #1f2328;
  position: relative;
  padding: 4px 0;
  text-decoration: none;
}

.h-main .search-wrap {
  position: relative;
  margin-left: auto;
}

.h-main .search-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,.88);
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  transition: .3s;
}

.h-main .search-btn:hover {
  border-color: var(--ink);
  color: var(--orange);
}

.h-main .search-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 48px -20px rgba(18,23,15,.35);
  padding: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: .28s;
  z-index: 120;
}

.h-main .search-wrap.open .search-drop {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.h-main .search-drop input {
  flex: 1;
  border: 0;
  outline: 0;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--bg);
  border-radius: 8px;
  min-width: 0;
}

.h-main .search-drop button {
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: .25s;
}

.h-main .search-drop button:hover {
  background: var(--green);
}

.h-main nav a:hover {
  color: #59636e;
}

/* ===== Формы и кнопки ===== */
.h-main .bar .btn {
  padding: 0;
}

/* ===== Шапка и меню ===== */
.h-main .menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

header.h-main .bar {
  position: relative;
}

.h-main nav a.is-active {
  color: var(--orange);
}

.h-main nav {
  flex: 1;
  min-width: 0;
}

.h-main nav ul {
  flex-wrap: wrap;
  gap: 14px 18px;
}

/* ===== Формы и кнопки ===== */
.h-main .btn-phone {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  text-decoration: none;
}

.h-main .btn-phone:hover {
  color: #59636e;
  background: none;
  border: none;
  transform: none;
}
/* --- footer sec (scoped .f-sec) --- */
footer.f-sec {
  background: linear-gradient(96deg,#04231a 0%,#0a4529 48%,#146b42 82%,#1b8754 100%);
  color: #cfe0d4;
  margin-top: 60px;
}

/* ===== Футер ===== */
footer.f-sec a {
  color: #cfe0d4;
}

footer.f-sec a:hover {
  color: #fff;
}

.f-sec .f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.3fr;
  gap: 24px;
  padding: 44px 0 30px;
}

.f-sec .f-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
}

.f-sec .f-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.f-sec .f-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #a8ccb6;
  margin-top: 12px;
  max-width: 230px;
}

.f-sec .f-cont {
  font-size: 14.5px;
  line-height: 1.7;
}

.f-sec .f-cont .ph {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}

.f-sec .f-cont b {
  color: #fff;
}

.f-sec .f-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 13px;
  opacity: .85;
}

.f-sec .f-brand .lt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* --- footer pt (scoped .f-pt) --- */
footer.f-pt {
  background: linear-gradient(96deg,#08141c 0%,#0b2f3a 45%,#0c4a38 80%,#0e6b45 100%);
  color: #cfe0d4;
  margin-top: 60px;
}

.f-pt .f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.3fr;
  gap: 24px;
  padding: 44px 0 30px;
}

.f-pt .f-brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.f-pt .f-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  margin: 12px 0 0;
}

.f-pt .f-col h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 12px;
}

.f-pt .f-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.f-pt .f-col a {
  color: #cfe0d4;
  text-decoration: none;
  font-size: 14.5px;
}

.f-pt .f-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.f-pt .f-cont {
  font-size: 14.5px;
  line-height: 1.7;
}

.f-pt .f-cont a {
  color: #fff;
}

.f-pt .f-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 13px;
  opacity: .85;
}
/* --- footer main (scoped .f-main) --- */
footer.f-main {
  background: linear-gradient(96deg,#04231a 0%,#0a4529 48%,#146b42 82%,#1b8754 100%);
  color: #cfe0d4;
  margin-top: 60px;
}

.f-main .f-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4,1fr) 1.4fr;
  gap: 24px;
  padding: 44px 0 34px;
}

.f-main .f-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9fd4b5;
  margin-bottom: 13px;
}

.f-main .f-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-main .f-col a {
  font-size: 14px;
  color: #c3dccd;
  transition: .25s;
}

.f-main .f-col a:hover {
  color: #fff;
}

.f-main .f-brand .lt {
  color: #fff;
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 15px;
}

.f-main .f-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #a8ccb6;
  margin-top: 12px;
  max-width: 220px;
}

.f-main .f-cont .ph {
  display: block;
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
}

.f-main .f-cont {
  font-size: 15px;
  line-height: 1.7;
  color: #c3dccd;
}

.f-main .f-cont b {
  color: #f0f7f2;
}

.f-main .f-cont a {
  color: #9ff0c0;
}

.f-main .f-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: #9cc3ab;
}

.f-main .f-bottom a:hover {
  color: #fff;
}

/* Адаптив: (max-width:1000px) */
@media(max-width:1000px) {
  .f-sec .f-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .h-main nav {
    display: none;
  }

  .f-main .f-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .h-main .menu-btn {
    display: grid;
    margin-left: auto;
  }

  .h-main nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px -24px rgba(18,23,15,.4);
    padding: 8px 0 16px;
    z-index: 110;
  }

  .h-main nav.open {
    display: block;
  }

  .h-main nav ul {
    flex-direction: column;
    gap: 0;
    padding: 4px 28px;
  }

  .h-main nav a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 500;
  }

  .h-main .btn-phone {
    margin-left: 0;
  }
}

/* Адаптив: (max-width:640px) */
@media(max-width:640px) {
  .f-sec .f-grid {
    grid-template-columns: 1fr;
  }
}

/* Адаптив: (min-width:701px) */
@media(min-width:701px) {
  .gh-mobile.open {
    display: none;
  }
}

/* Адаптив: (max-width:1170px) */
@media(max-width:1170px) {
  .gh-bar {
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .gh-nav {
    display: contents;
  }

  .gh-right {
    margin-left: auto;
  }

  .gh-drop.mega {
    min-width: min(600px,calc(100vw - 40px));
  }
}

/* Адаптив: (max-width:700px) */
@media(max-width:700px) {
  .gh-bar {
    flex-wrap: nowrap;
    padding: 10px 16px;
  }

  .gh-nav {
    display: none;
  }

  .gh-right {
    margin-left: 0;
  }

  .gh-burger {
    display: grid;
    margin-left: auto;
  }

  .gh-search {
    display: none;
  }
}

/* Адаптив: (max-width:400px) */
@media(max-width:400px) {
  .gh-right {
    display: none;
  }
}

/* Адаптив: (max-width:860px) */
@media (max-width:860px) {
  .f-pt .f-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Адаптив: (max-width:560px) */
@media (max-width:560px) {
  .f-pt .f-grid {
    grid-template-columns: 1fr;
  }
}

/* Адаптив: (max-width:1120px) */
@media(max-width:1120px) {
  .h-main .search-wrap {
    display: none;
  }

  .h-main nav ul {
    gap: 14px;
  }

  .h-main .btn-phone {
    margin-left: auto;
  }
}

/* Адаптив: (max-width:620px) */
@media(max-width:620px) {
  .f-main .f-grid {
    grid-template-columns: 1fr;
  }
}
