/* Облегчённая главная КастомГео. Повторяет внешний вид главной на page builder GoodLayers. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --lh-green: #1c685b;
  --lh-green-light: #39b8a3;
  --lh-green-hover: #288273; /* #39b8a3, затемнённый до контраста 4.5:1 на белом */
  --lh-blue: #5076af;
  --lh-orange: #faa916;
  --lh-yellow: #f7c51e;
  --lh-text: #333;
  --lh-title: #292929;
  --lh-dark: #1e1e1e;
  --lh-font: "Inter", Arial, sans-serif;
  --lh-font-title: "Inter Tight", "Inter", Arial, sans-serif;
  --lh-wrap: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #808080;
  font: 13px/1.7 var(--lh-font);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
figure,
address {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

ul {
  list-style: none;
}

a {
  color: var(--lh-blue);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s, background-color 0.2s;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--lh-green);
  outline-offset: 2px;
}

/* На тёмных подложках (меню, подвал, слайдер) рамка фокуса белая. */
.lh-topbar :focus-visible,
.lh-navbar :focus-visible,
.lh-hero :focus-visible,
.lh-footer :focus-visible,
.lh-cookie :focus-visible {
  outline-color: #fff;
}

.lh-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lh-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--lh-green);
  color: #fff;
  border-radius: 4px;
}

.lh-skip:focus {
  top: 8px;
}

.lh-wrap {
  max-width: var(--lh-wrap);
  margin-inline: auto;
}

.lh-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  /* Содержимое <use> наследует fill от этого <svg>, а не от спрайта — задаём цвет здесь. */
  fill: currentColor;
}

/* ---------- Верхняя полоса ---------- */

.lh-topbar {
  position: relative;
  z-index: 98;
  background: #323232;
  color: #969696;
}

.lh-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
}

.lh-topbar__menu {
  display: flex;
}

.lh-topbar__menu a {
  display: block;
  margin-right: 16px;
  padding: 9px 5px;
  color: #a8a8a8;
  font-size: 13px;
  line-height: 22px;
}

.lh-topbar__menu a:hover {
  color: #fff;
}

.lh-topbar__account {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 20px;
  color: #a8a8a8;
  font-size: 12px;
  line-height: 23px;
}

.lh-topbar__account a {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.lh-topbar__account a:hover {
  color: #fff;
}

.lh-topbar__account .lh-icon {
  width: 10px;
  height: 14px;
  margin-right: 10px;
}

/* ---------- Шапка ---------- */

.lh-header {
  position: relative;
  z-index: 97;
  background: #fff;
}

.lh-header__inner {
  display: flex;
  align-items: flex-start;
  min-height: 179px;
}

.lh-logo {
  flex: 0 0 auto;
  max-width: 290px;
  padding: 31px 0;
}

.lh-logo img {
  display: block;
  width: 290px;
  height: auto;
}

.lh-contacts {
  display: flex;
  margin: 60px 10px 0 auto;
  color: #313131;
  font-size: 15px;
  line-height: 19.5px;
}

.lh-contacts a {
  color: var(--lh-blue);
}

.lh-contacts a:hover {
  color: var(--lh-green);
}

.lh-contacts .lh-icon {
  font-size: 14px;
}

.lh-contacts__item {
  display: flex;
  align-items: flex-start;
}

.lh-contacts__item > .lh-icon {
  margin: 2px 20px 0 0;
}

.lh-contacts__item + .lh-contacts__item {
  margin-left: 30px;
  padding-left: 30px;
  border-left: 1px solid #e6e6e6;
}

.lh-contacts__item--phone {
  flex-direction: column;
  gap: 10px;
}

.lh-contacts__row {
  display: flex;
  align-items: center;
}

.lh-contacts__row > .lh-icon,
.lh-hours-icon {
  width: 16px;
  margin-right: 15px;
}

.lh-hours-icon {
  display: inline-block;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("../images/icon/business.svg") center / contain no-repeat;
  mask: url("../images/icon/business.svg") center / contain no-repeat;
}

.lh-contacts__hours span {
  display: block;
}

.lh-contacts__item--mail {
  min-height: 69px;
}

.lh-contacts__item--mail > .lh-icon {
  margin-right: 15px;
}

.lh-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.lh-socials__link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lh-socials__link::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  background: center / cover no-repeat;
}

.lh-socials .lh-socials__link::before {
  width: 21px;
  height: 21px;
}

.lh-socials__link:hover {
  opacity: 0.75;
}

.lh-socials__link--vk::before {
  background-image: url("img/social-vk.svg");
}

.lh-socials__link--tg::before {
  background-image: url("img/social-tg.svg");
}

.lh-mobile-phones {
  display: none;
}

/* ---------- Основное меню ---------- */

.lh-navbar {
  position: relative;
  z-index: 96;
  background: var(--lh-green);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12);
}

.lh-navbar__inner {
  display: flex;
  align-items: stretch;
  min-height: 64px;
  padding: 0 15px;
}

.lh-burger {
  display: none;
}

.lh-menu {
  display: flex;
  flex-wrap: wrap;
}

.lh-menu li {
  position: relative;
}

.lh-menu a {
  display: block;
  color: #ced9ea; /* было #aec0dc (3.6:1 на зелёном), стало 4.6:1 */
}

.lh-menu > li > a {
  position: relative;
  padding: 25px 10px 26px;
  font-size: 13px;
  font-weight: 700;
  line-height: 13px;
  text-transform: uppercase;
}

.lh-menu > li:first-child > a {
  padding-left: 0;
}

.lh-menu > .menu-item-has-children > a {
  padding-right: 32px;
}

.lh-menu > .menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 28px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.lh-menu > li > a:hover,
.lh-menu > li:hover > a,
.lh-menu > li:focus-within > a,
.lh-menu > .current-menu-item > a,
.lh-menu > .current_page_item:not(.lang-item) > a {
  color: #fff;
}

.lh-menu .pll-switcher-flag,
.lh-menu .lang-item img {
  display: inline-block;
  width: 18px;
  height: 12px;
  vertical-align: top;
}

.lh-menu .lang-item img {
  margin-top: 1px;
}

.lh-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 99;
  min-width: 220px;
  padding: 0;
  font-size: 12px;
  line-height: 20.4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.lh-menu .sub-menu .sub-menu {
  left: 100%;
  top: 0;
}

.lh-menu li:hover > .sub-menu,
.lh-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lh-menu .sub-menu li {
  background: #2e2e2e;
}

.lh-menu .sub-menu li + li > a {
  border-top: 1px solid #373737;
}

.lh-menu .sub-menu a {
  padding: 10px 15px;
  color: #bebebe;
}

.lh-menu .sub-menu .menu-item-has-children > a {
  padding-right: 30px;
}

.lh-menu .sub-menu .menu-item-has-children > a::after {
  content: "›";
  position: absolute;
  right: 15px;
  top: 9px;
  font-size: 14px;
}

.lh-menu .sub-menu a:hover,
.lh-menu .sub-menu li:hover > a {
  background: #262626;
  color: #fff;
}

.lh-menu .lang-item .sub-menu {
  min-width: 0;
}

/* Кнопки раскрытия подменю нужны только в мобильной панели. */
.lh-subtoggle {
  display: none;
}

.lh-navbar__tools {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.lh-tool {
  display: flex;
  align-items: center;
  color: #fff;
}

.lh-bvi {
  padding: 0 15px;
}

.lh-bvi .lh-icon {
  width: 22px;
  height: 19px;
}

.lh-search-toggle {
  padding: 0 20px 0 25px;
}

.lh-search-toggle .lh-icon {
  width: 13px;
  height: 14px;
}

.lh-tool:hover {
  opacity: 0.8;
}

.lh-search {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 99;
  width: 260px;
  padding: 10px;
  background: #2e2e2e;
}

.lh-search input {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 2px;
  font: 13px var(--lh-font);
}

/* ---------- Слайдер ---------- */

.lh-hero {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  background: #f3f3f3;
  --u: calc(100cqw / 1600);
}

.lh-hero__track {
  display: flex;
  aspect-ratio: 1600 / 570;
  transition: transform 0.6s ease;
}

.lh-hero__slide {
  position: relative;
  flex: 0 0 100%;
  overflow: hidden;
}

.lh-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lh-hero__title {
  margin: 0;
}

.lh-hero__line,
.lh-hero__text,
.lh-hero__btn {
  position: absolute;
  left: var(--x);
  top: var(--y);
}

.lh-hero__line {
  color: #fff;
  font-size: calc(var(--u) * 62);
  font-weight: 800;
  line-height: 1.21;
  white-space: nowrap;
}

.lh-hero__line--accent {
  color: var(--lh-orange);
  font-size: calc(var(--u) * 63);
}

.lh-hero__text {
  width: calc(var(--u) * 800);
  color: #fff;
  font-size: calc(var(--u) * 20);
  line-height: 1.4;
  text-align: right;
}

.lh-hero__btn {
  padding: calc(var(--u) * 10) calc(var(--u) * 20);
  border: 1px solid var(--lh-orange);
  border-radius: 8px;
  color: var(--lh-orange);
  font-size: calc(var(--u) * 12);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lh-hero__btn:hover {
  background: var(--lh-orange);
  color: #fff;
}

.lh-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 27px;
  height: 46px;
  margin-top: -13px;
  background: center / 27px 46px no-repeat;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Те же стрелки, что у MasterSlider на текущей главной (тонкий белый шеврон 27×46). */
.lh-hero__arrow--prev {
  left: 30px;
  background-image: url("img/hero-prev.png");
}

.lh-hero__arrow--next {
  right: 30px;
  background-image: url("img/hero-next.png");
}

.lh-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  z-index: 2;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.lh-hero__dot {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.lh-hero__dot[aria-current="true"],
.lh-hero__dot:hover {
  background: #949494;
}

.lh-hero:hover .lh-hero__arrow,
.lh-hero:hover .lh-hero__dots,
.lh-hero:focus-within .lh-hero__arrow,
.lh-hero:focus-within .lh-hero__dots {
  opacity: 1;
}

/* ---------- Общие элементы секций ---------- */

.lh-h1 {
  margin: 20px;
  color: #454545;
  font: 400 47px/1.3 var(--lh-font-title);
  text-align: center;
}

.lh-h2 {
  color: var(--lh-title);
  font: 400 35px/1 var(--lh-font-title);
}

.lh-h2--center {
  text-align: center;
}

.lh-section {
  padding: 64px 0;
}

.lh-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.lh-outline-btn {
  display: block;
  padding: 10px 20px;
  border: 1px solid var(--lh-blue);
  border-radius: 8px;
  color: var(--lh-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 20.4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lh-outline-btn:hover {
  background: var(--lh-blue);
  color: #fff;
}

.lh-outline-btn--green {
  border-color: var(--lh-green);
  border-radius: 2px;
  color: var(--lh-green);
  font-size: 13px;
  font-weight: 800;
  line-height: 22px;
  letter-spacing: 0.26px;
}

.lh-outline-btn--green:hover {
  background: var(--lh-green);
}

.lh-more {
  display: inline-flex;
  align-items: center;
  color: var(--lh-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.lh-more__icon {
  box-sizing: content-box;
  width: 9px;
  height: 14px;
  margin: 0 5px 0 10px;
  padding: 4px 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.lh-more:hover {
  color: var(--lh-green);
}

/* ---------- Цифры ---------- */

.lh-stats {
  padding: 64px 0;
  background: #dbf5ff;
}

.lh-stats__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.2rem, 1fr));
  justify-content: center;
  gap: 2rem 0.5rem;
}

.lh-stats__item {
  margin-bottom: 32px;
  text-align: center;
}

.lh-stats__item img {
  display: block;
  width: 107px;
  height: 107px;
  margin: 0 auto 16px;
}

.lh-stats__item p {
  margin-top: 11px;
  color: var(--lh-text);
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Проектирование и изыскания ---------- */

.lh-services .lh-h2 {
  margin: 0 15px 32px;
}

.lh-services__list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.lh-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  margin: 0 15px 40px;
}

.lh-card:nth-child(n + 5) {
  grid-column: span 4;
}

.lh-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 370 / 195;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.lh-card:nth-child(-n + 4) .lh-card__img {
  aspect-ratio: 270 / 152;
}

.lh-card__title {
  margin-bottom: 20px;
  color: var(--lh-title);
  font: 400 20px/26px var(--lh-font-title);
}

.lh-card__text {
  margin-bottom: 30px;
  color: var(--lh-text);
  font-size: 13px;
  line-height: 22px;
}

.lh-card .lh-more {
  align-self: flex-start;
}

/* ---------- Технологии ---------- */

.lh-tech {
  padding: 84px 0 128px;
}

.lh-tech .lh-section-head {
  margin: 0 15px 96px;
}

.lh-tech .lh-h2 {
  color: #30383a;
}

.lh-tech__carousel {
  position: relative;
  margin: 0 15px;
}

.lh-tech__list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.lh-tech__list::-webkit-scrollbar {
  display: none;
}

.lh-tech__item {
  flex: 0 0 25%;
  scroll-snap-align: start;
  padding: 0 45px 40px 48px;
}

.lh-tech__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lh-tech__media {
  position: relative;
  display: block;
  width: 200px;
  overflow: hidden;
  border-radius: 14px;
}

.lh-tech__media::before,
.lh-tech__media::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 0.2s linear;
}

.lh-tech__media::before {
  background: rgba(28, 104, 91, 0.71);
}

.lh-tech__media::after {
  background: var(--icon) 50% 50% / 80% auto no-repeat;
}

.lh-tech__item:hover .lh-tech__media::before,
.lh-tech__item:hover .lh-tech__media::after,
.lh-tech__link:focus-visible .lh-tech__media::before,
.lh-tech__link:focus-visible .lh-tech__media::after {
  opacity: 0;
}

.lh-tech__link img {
  display: block;
  width: 200px;
  height: 165px;
  object-fit: cover;
}

.lh-tech__link .lh-more {
  display: block;
  font-size: 13.33px;
  line-height: 22.67px;
}

.lh-tech__link .lh-more span {
  vertical-align: middle;
}

.lh-tech__link .lh-more__icon {
  vertical-align: middle;
}

.lh-tech__link:hover .lh-more {
  color: var(--lh-green);
}

.lh-tech__arrow {
  position: absolute;
  top: 104px;
  z-index: 2;
  width: 20px;
  height: 32px;
  color: #808080;
  font-size: 32px;
}

.lh-tech__arrow .lh-icon {
  width: 11px;
  height: 32px;
}

.lh-tech__arrow--prev {
  left: 0;
  text-align: left;
}

.lh-tech__arrow--next {
  right: 0;
  text-align: right;
}

.lh-tech__arrow:hover {
  color: var(--lh-green);
}

/* ---------- Рекорды ---------- */

.lh-records {
  padding: 64px 0;
  background: #e4e4e4;
}

.lh-records .lh-h2 {
  margin-bottom: 64px;
}

.lh-records__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 64px;
}

.lh-records__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 232px;
  text-align: center;
}

.lh-records__item img {
  display: block;
  width: 232px;
  height: 116px;
  margin-bottom: 32px;
}

.lh-records__item p {
  margin-bottom: 30px;
  color: var(--lh-text);
  font-size: 16px;
  line-height: 1.3;
}

.lh-records__item .lh-more {
  color: #456596; /* #5076af на сером #e4e4e4 даёт 3.6:1, этот оттенок — 4.65:1 */
  line-height: 23px;
}

.lh-records__item .lh-more:hover {
  color: var(--lh-green);
}

/* ---------- Выполненные объекты ---------- */

.lh-objects {
  padding: 30px 0 0;
}

.lh-objects .lh-section-head {
  margin-bottom: 30px;
}

.lh-h2--light {
  color: #30383a;
  line-height: 38px;
}

.lh-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 48px;
  margin-bottom: 30px;
}

.lh-tabs__tab {
  color: #737383; /* было #adadc5 (2.2:1 на белом) */
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: -0.13px;
  text-align: left;
  transition: color 0.1s;
}

.lh-tabs__tab:hover {
  color: var(--lh-green-hover);
}

.lh-tabs__tab[aria-selected="true"] {
  color: var(--lh-green);
  cursor: default;
}

.lh-objects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 245px;
  grid-auto-rows: 199px;
  gap: 30px;
}

.lh-object {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
}

.lh-object:first-child {
  grid-column: span 2;
}

.lh-object:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}

.lh-object__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lh-object::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s;
}

.lh-object:hover::before {
  background: transparent;
}

.lh-object__title {
  margin: auto 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.36px;
}

.lh-object__title a {
  color: #fff;
  transition: color 0.1s;
}

.lh-object__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.lh-object__title a:hover {
  color: var(--lh-yellow);
}

.lh-object__place {
  font-size: 13px;
  line-height: 1.7;
}

.lh-object:nth-child(-n + 2) .lh-object__place {
  max-width: calc(100% - 100px);
}

/* ---------- С нами выгодно ---------- */

.lh-benefits {
  padding: 64px 0;
}

.lh-benefits .lh-h2 {
  margin-bottom: 64px;
}

.lh-benefits__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.lh-benefits__item {
  --ava: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 15px;
  padding-bottom: 32px;
  color: var(--lh-text);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.lh-benefits__item::before {
  content: "";
  width: var(--ava);
  height: var(--ava);
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff url("/wp-content/webp-express/webp-images/uploads/2023/07/profitable-with-us_new.png.webp") no-repeat;
  background-size: calc(var(--ava) * 4) auto;
  filter: drop-shadow(6px 8px 40px rgba(28, 79, 155, 0.09));
}

/* Спрайт 4×2: смещение для каждого пункта. */
.lh-benefits__item:nth-child(1)::before { background-position: 0 0; }
.lh-benefits__item:nth-child(2)::before { background-position: calc(var(--ava) * -1) 0; }
.lh-benefits__item:nth-child(3)::before { background-position: calc(var(--ava) * -2) 0; }
.lh-benefits__item:nth-child(4)::before { background-position: calc(var(--ava) * -3) 0; }
.lh-benefits__item:nth-child(5)::before { background-position: 0 calc(var(--ava) * -1); }
.lh-benefits__item:nth-child(6)::before { background-position: calc(var(--ava) * -1) calc(var(--ava) * -1); }
.lh-benefits__item:nth-child(7)::before { background-position: calc(var(--ava) * -2) calc(var(--ava) * -1); }
.lh-benefits__item:nth-child(8)::before { background-position: calc(var(--ava) * -3) calc(var(--ava) * -1); }

/* ---------- Форма (разметку выводит Contact Form 7) ---------- */

.lh-form-section {
  padding: 0;
}

.lh-form-section > .lh-wrap {
  position: relative;
  padding: 0 15px;
}

.lh-form-section__bg {
  position: absolute;
  inset: 0 15px;
  z-index: 0;
  width: calc(100% - 30px);
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: #e4e4e4;
}

.lh-form-section .wpcf7 {
  position: relative;
  z-index: 1;
}

.lh-form-section .screen-reader-response,
.lh-form-section .hidden-fields-container {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.lh-form-section form {
  position: relative;
}

.section--lines {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 32px 20px;
  padding: 48px 60px;
  border-radius: 8px;
}

.section--lines .title {
  grid-column: 1 / -1;
  color: var(--lh-green);
  font: 400 40px/1 var(--lh-font-title);
  text-align: center;
}

.out--user,
.section--lines .form {
  border-radius: 8px;
  background: #fff;
  filter: drop-shadow(26px 31px 32px rgba(63, 62, 131, 0.07)) drop-shadow(7px 7px 12px rgba(61, 74, 123, 0.12));
}

.out--user {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px 0;
}

.out--user .ava {
  display: block;
  width: 240px;
  height: 200px;
  margin-bottom: 30px;
}

.section--lines .form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 40px 68px;
  color: var(--lh-text);
  font-size: 14px;
  line-height: 29px;
}

.section--lines .form br {
  display: none;
}

.section--lines .wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.section--lines input[type="text"],
.section--lines input[type="email"],
.section--lines input[type="tel"],
.section--lines textarea {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #89e0ff;
  border-radius: 0;
  background: transparent;
  color: var(--lh-green);
  font: 400 14px/1.5 var(--lh-font);
  letter-spacing: 0.03em;
}

.section--lines textarea {
  height: 132px;
  resize: none;
}

.section--lines .wpcf7-textarea + .wpcf7-not-valid-tip,
.section--lines .wpcf7-form-control-wrap:has(textarea) {
  margin-bottom: 10px;
}

.section--lines ::placeholder {
  color: var(--lh-green);
  opacity: 1;
}

.section--lines input:not(:placeholder-shown),
.section--lines textarea:not(:placeholder-shown) {
  border-color: var(--lh-green);
}

.section--lines .wpcf7-acceptance .wpcf7-list-item {
  display: inline-block;
  margin-left: 14px;
}

.section--lines .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 29px;
  cursor: pointer;
}

/* Цели касания не меньше 24 px (WCAG 2.5.8): чекбокс 20 px с отступом, ссылка — по высоте строки. */
.section--lines .wpcf7-list-item input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--lh-green);
}

.section--lines .wpcf7-list-item-label a {
  display: inline-block;
  padding: 4px 0;
  line-height: 20px;
}

.section--lines .wpcf7-submit {
  width: 100%;
  max-width: 336px;
  margin-top: 10px;
  padding: 10px 20px;
  border: 1px solid var(--lh-yellow);
  border-radius: 8px;
  background: var(--lh-yellow);
  color: #1e1e1e; /* белый на жёлтом — 1.6:1, тёмный — 10:1 */
  font: 700 16px/1.25 var(--lh-font);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.section--lines .wpcf7-submit:hover {
  background: #e69d19;
  border-color: #e69d19;
}

.section--lines .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-not-valid-tip {
  display: block;
  color: #d63638;
  font-size: 12px;
  line-height: 1.4;
}

.section--lines [aria-invalid="true"] {
  border-color: #d63638 !important;
}

.wpcf7-response-output {
  margin: 16px 15px 0;
  padding: 12px 16px;
  border: 2px solid #00a0d2;
  border-radius: 8px;
  color: var(--lh-text);
  font-size: 14px;
  line-height: 1.5;
}

.wpcf7-response-output:empty {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--lh-green);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #d63638;
}

/* ---------- Карта и карточки контактов ---------- */

.lh-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.lh-map {
  padding-bottom: 10px;
}

.lh-footer {
  background: var(--lh-dark);
  color: #bfbfbf;
}

.lh-contact-cards__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: -64px;
}

.lh-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 64px 32px 59px;
  border-radius: 8px;
  background: var(--lh-green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 29px;
  letter-spacing: -0.4px;
  text-align: center;
}

.lh-contact-card::before {
  content: "";
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  background: center / cover no-repeat;
}

.lh-contact-card--location::before {
  background-image: url("img/card-location.svg");
}

.lh-contact-card--phone::before {
  background-image: url("img/card-phone.svg");
}

.lh-contact-card--mail::before {
  background-image: url("img/card-mail.svg");
}

.lh-contact-card a {
  color: inherit;
}

.lh-contact-card a:hover {
  color: var(--lh-yellow);
}

.lh-contact-card--location a {
  max-width: 315px;
}

.lh-contact-card__hours {
  font-size: 14px;
  line-height: 29px;
}

.lh-contact-card__hours span {
  display: block;
}

.lh-contact-card__socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

/* ---------- Подвал ---------- */

.lh-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 50px 0 10px;
}

.lh-footer__col {
  margin: 0 15px;
}

.lh-footer__title {
  margin-bottom: 30px;
  color: #ddd;
  font: 400 16px/20.8px var(--lh-font-title);
  letter-spacing: 1px;
}

nav.lh-footer__col .lh-footer__title {
  margin-left: 40px;
}

.lh-footer__requisites {
  margin: -30px 0 20px;
  color: #fff;
  font-size: 10px;
  line-height: 29px;
}

.lh-footer__logo {
  display: block;
  width: 195px;
  height: 57px;
  margin: 48px 0 30px;
}

.lh-footer__phone {
  display: none;
}

.lh-footer__text {
  margin-bottom: 20px;
  color: #fff;
  font-size: 13px;
  line-height: 29px;
}

.lh-footer__socials {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 29px;
}

.lh-footer__socials a {
  display: inline-flex;
  color: #fff;
}

.lh-footer__socials a:hover {
  color: var(--lh-green-light);
}

.lh-footer__socials .lh-icon {
  width: 15px;
  height: 14px;
  margin-right: 10px;
}

.lh-footer__list {
  margin: 0 15px;
}

.lh-footer__list li {
  position: relative;
  margin-bottom: 10px;
  padding: 0 0 10px 25px;
  border-bottom: 1px solid #363636;
  font-size: 14px;
  line-height: 20px;
}

.lh-footer__list a {
  color: #e2e2e2;
}

.lh-footer__list a:hover {
  color: var(--lh-yellow);
}

.lh-copyright {
  padding: 15px 0;
  border-top: 1px solid #0c0c0c;
  background: #0c0c0c;
  color: #828282;
}

.lh-copyright__note {
  max-width: 860px;
  margin: 20px 0;
  color: #7b7b7b; /* было #333 на #0c0c0c (1.55:1) */
  font-size: 14px;
  line-height: 29px;
}

.lh-copyright__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 15px;
  font-size: 13px;
  line-height: 22px;
}

.lh-copyright__bottom p:first-child {
  padding-top: 22px;
}

.lh-copyright__links a {
  color: #828282;
}

.lh-copyright__links a:hover {
  color: #fff;
}

.lh-to-top {
  position: fixed;
  left: 85px;
  bottom: 90px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #3d506d;
  box-shadow: 3px 4px 5px -2px rgba(0, 0, 0, 0.53);
}

.lh-to-top::before {
  content: "";
  width: 0;
  height: 0;
  margin-top: -3px;
  border: 6px solid transparent;
  border-bottom: 9px solid #fff;
  border-top: 0;
}

.lh-to-top:hover {
  background: var(--lh-green);
}

/* ---------- Плашка cookies (как на текущем сайте) ---------- */

.lh-cookie {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 460px;
  max-width: 100%;
  padding: 20px 50px;
  background: var(--lh-green);
  color: #fff;
  text-align: center;
}

.lh-cookie p {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 24px;
}

.lh-cookie button {
  margin-top: 5px;
  padding: 15px 20px;
  border-radius: 4px;
  background: rgba(28, 104, 91, 0.2) url("/wp-content/webp-express/webp-images/uploads/2023/07/lines-green.png.webp") 0 0 / cover;
  background-blend-mode: color;
  color: #111;
  font-size: 16px;
  text-transform: uppercase;
  transition: color 0.25s;
}

.lh-cookie button:hover {
  color: #fff;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1240px) {
  .lh-wrap {
    padding-inline: 15px;
  }

  .lh-topbar__inner,
  .lh-navbar__inner,
  .lh-form-section > .lh-wrap {
    padding-inline: 30px;
  }

  .lh-form-section__bg {
    inset: 0 30px;
    width: calc(100% - 60px);
  }

  .lh-contacts {
    font-size: 14px;
  }

  .lh-contacts__item + .lh-contacts__item {
    margin-left: 20px;
    padding-left: 20px;
  }

  .lh-menu > li > a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .lh-menu > .menu-item-has-children > a {
    padding-right: 26px;
  }

  .lh-menu > .menu-item-has-children > a::after {
    right: 13px;
  }
}

@media (max-width: 1040px) {
  .section--lines {
    display: flex;
    flex-direction: column;
    padding: 30px;
  }
}

@media (max-width: 1023px) {
  .lh-tech__item {
    flex-basis: calc(100% / 3);
  }
}

@media (max-width: 990px) {
  .lh-objects__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .lh-object,
  .lh-object:first-child,
  .lh-object:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1;
  }

  .lh-contact-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lh-header__inner {
    flex-direction: column;
    align-items: center;
  }

  .lh-contacts {
    margin: 0 0 24px;
  }

  .lh-services__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .lh-card,
  .lh-card:nth-child(n + 5) {
    grid-column: auto;
  }

  .lh-card:nth-child(-n + 4) .lh-card__img {
    aspect-ratio: 370 / 195;
  }

  .lh-benefits__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .lh-footer__columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 967px) {
  .lh-section-head {
    flex-direction: column;
  }

  .lh-tech .lh-h2,
  .lh-objects .lh-h2 {
    text-align: center;
  }
}

/* Мобильная версия: меню-«гамбургер», слайдер скрыт (как на текущем сайте). */
@media (max-width: 767px) {
  .lh-wrap {
    max-width: 420px;
    padding-inline: 0;
  }

  .lh-header {
    z-index: 99;
  }

  .lh-topbar__inner {
    justify-content: center;
    min-height: 32px;
    padding: 0;
  }

  .lh-topbar__menu a {
    padding: 9px 5px 9px;
    font-size: 14px;
    line-height: 14px;
  }

  .lh-topbar__account {
    display: none;
  }

  .lh-header__inner {
    min-height: 0;
    padding-bottom: 50px;
  }

  .lh-logo {
    padding: 0;
  }

  .lh-contacts {
    display: none;
  }

  .lh-mobile-phones {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    padding-top: 7px;
  }

  .lh-mobile-phones a {
    display: inline-flex;
    align-items: center;
    color: #2a3437;
    font-size: 18.2px;
    font-weight: 700;
    line-height: 31px;
  }

  .lh-mobile-phones .lh-icon {
    width: 12px;
    height: 14px;
    margin-right: 5px;
  }

  .lh-navbar {
    position: static;
    background: none;
    box-shadow: none;
  }

  .lh-navbar__inner {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .lh-burger {
    position: fixed;
    right: 19px;
    top: 17px;
    z-index: 1001;
    display: block;
    width: 43px;
    height: 39px;
    background: #ccc;
  }

  .lh-burger__lines,
  .lh-burger__lines::before,
  .lh-burger__lines::after {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: #fff;
    transition: transform 0.2s, top 0.2s;
  }

  .lh-burger__lines {
    top: 18px;
  }

  .lh-burger__lines::before,
  .lh-burger__lines::after {
    content: "";
    left: 0;
    right: 0;
  }

  .lh-burger__lines::before {
    top: -10px;
  }

  .lh-burger__lines::after {
    top: 10px;
  }

  .lh-burger[aria-expanded="true"] {
    background: var(--lh-green);
  }

  .lh-burger[aria-expanded="true"] .lh-burger__lines {
    background: transparent;
  }

  .lh-burger[aria-expanded="true"] .lh-burger__lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .lh-burger[aria-expanded="true"] .lh-burger__lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .lh-nav,
  .lh-navbar__tools {
    display: none;
  }

  .lh-navbar.is-open .lh-nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    padding: 72px 0 24px;
    overflow-y: auto;
    background: #2e2e2e;
  }

  .lh-navbar.is-open .lh-navbar__tools {
    position: fixed;
    left: 0;
    top: 17px;
    z-index: 1001;
    display: flex;
    height: 39px;
  }

  .lh-menu {
    display: block;
  }

  .lh-menu > li > a,
  .lh-menu > li:first-child > a,
  .lh-menu .sub-menu a {
    padding: 14px 56px 14px 20px;
    border-top: 1px solid #373737;
    color: #e2e2e2;
    font-size: 14px;
    line-height: 20px;
    white-space: normal;
  }

  .lh-menu > .menu-item-has-children > a::after,
  .lh-menu .sub-menu .menu-item-has-children > a::after {
    content: none;
  }

  .lh-menu .sub-menu,
  .lh-menu .sub-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    white-space: normal;
  }

  .lh-menu li.is-open > .sub-menu {
    display: block;
  }

  .lh-menu .sub-menu a {
    padding-left: 36px;
    text-transform: none;
    font-weight: 400;
  }

  .lh-menu .sub-menu .sub-menu a {
    padding-left: 52px;
  }

  .lh-menu .sub-menu li {
    background: #262626;
  }

  .lh-subtoggle {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 52px;
    height: 49px;
    color: #e2e2e2;
  }

  .lh-subtoggle::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 19px;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .lh-menu li.is-open > .lh-subtoggle::before {
    top: 23px;
    transform: rotate(-135deg);
  }

  .lh-search {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    width: auto;
  }

  .lh-hero {
    display: none;
  }

  .lh-h1 {
    margin: 0 20px 20px;
  }

  .lh-stats {
    padding-bottom: 61px;
  }

  .lh-stats__list {
    gap: 33px 0.5rem;
  }

  .lh-services__list,
  .lh-benefits__list,
  .lh-objects__grid,
  .lh-contact-cards__grid,
  .lh-footer__columns {
    grid-template-columns: 100%;
  }

  .lh-card__img,
  .lh-card:nth-child(-n + 4) .lh-card__img {
    aspect-ratio: auto;
    height: 195px;
  }

  .lh-tech__item {
    flex-basis: 100%;
  }

  .lh-tech__media,
  .lh-tech__link img {
    width: 230px;
    height: 190px;
  }

  .lh-tech__arrow {
    width: 11px;
  }

  .lh-tech {
    padding-top: 64px;
  }

  .lh-records__list {
    flex-direction: column;
    align-items: center;
  }

  .lh-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lh-tabs__tab {
    min-width: max-content;
  }

  .lh-benefits__item {
    margin: 0;
  }

  .lh-form-section > .lh-wrap {
    padding-inline: 15px;
  }

  .lh-form-section__bg {
    inset: 0;
    width: 100%;
    border-radius: 0;
  }

  .section--lines {
    gap: 20px;
    padding: 30px 20px;
  }

  .out--user {
    padding-bottom: 10px;
  }

  .section--lines .form {
    padding: 10px 10px 87px;
  }

  .lh-contact-cards__grid {
    gap: 32px;
    padding-inline: 15px;
  }

  .lh-contact-card {
    padding: 44px 20px;
  }

  nav.lh-footer__col,
  .lh-copyright {
    display: none;
  }

  .lh-footer__logo {
    margin-bottom: 20px;
  }

  .lh-footer__phone {
    display: block;
    margin-bottom: 20px;
    text-align: center;
  }

  .lh-footer__phone a {
    display: inline-flex;
    align-items: center;
    color: #ddd;
    font-size: 18.2px;
    font-weight: 600;
    line-height: 31px;
  }

  .lh-footer__phone .lh-icon {
    width: 12px;
    height: 14px;
    margin-right: 6px;
    color: #9a9a9a;
  }

  .lh-footer__columns {
    padding-bottom: 20px;
  }

  .lh-to-top {
    display: none;
  }

  .lh-cookie {
    width: 100%;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
