/* =========================================================
   Доработки bashyurt.ru 2026 (договор №1).
   Отдельный файл, подключается после template.css.
   Все правки скоупятся, чтобы не задеть остальной сайт.
   ========================================================= */

/* ---------- Первый экран (hero) ---------- */
.main_section--v2 {
  overflow: hidden;
}
.main_section--v2 .main_image {
  top: 0;
  bottom: 0;
  height: 100%;
  width: 55%;
  object-fit: cover;
  object-position: 62% 45%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 260px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 260px);
}
.main_section--v2 .container {
  height: auto;
  min-height: 640px;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.main_section--v2 .main_heading {
  max-width: 640px;
}
.main_section--v2 h1 {
  font-size: 46px;
  line-height: 112%;
}
.main_section--v2 h2 {
  max-width: 600px;
  font-size: 20px;
  margin-top: 22px;
}
.main_section--v2 .stats {
  max-width: 700px;
  flex-wrap: wrap;
  gap: 26px 44px;
}
.main_section--v2 .stats .column {
  min-width: 128px;
}
.main_section--v2 .stats .column h3 {
  font-size: 34px;
  line-height: 128%;
}
.main_section--v2 .button_yellow.fit {
  align-self: flex-start;
}
.main_cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.button_outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 1.5px solid var(--101010);
  border-radius: 12px;
  background: transparent;
  color: var(--101010);
  font-family: var(--font-family), sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button_outline:hover {
  background: var(--101010);
  color: #fff;
}

@media (max-width: 1281px) {
  .main_section--v2 .main_image {
    width: 50%;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 160px);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 160px);
  }
  .main_section--v2 h1 { font-size: 40px; }
}
@media (max-width: 991px) {
  .main_section--v2 .main_image {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    margin-top: 24px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .main_section--v2 .main_heading { max-width: 100%; }
  .main_section--v2 .container { min-height: auto; }
}
@media (max-width: 767px) {
  .main_section--v2 h1 { font-size: 30px; }
  .main_section--v2 h2 { font-size: 16px; }
  .main_section--v2 .stats { gap: 18px 24px; }
  .main_section--v2 .stats .column { min-width: 44%; }
  .main_section--v2 .stats .column h3 { font-size: 26px; }
}

/* ---------- Фикс горизонтального скролла (баги шаблона на 992-1350) ---------- */
/* .background-article: content-box + width:100% + padding + margin-left:-30 -> вылазит на +60px */
.background-article { box-sizing: border-box; margin-left: 0; }
/* .form_popup_wrapper: вложенный @media ставит right:-80px на <=1350 и перебивает родной right:0 калькулятора */
@media (max-width: 1350px) {
  .form_popup_wrapper { right: 0; }
}
/* слайдер «Выберите свою юрту»: подглядывающий слайд торчит на ~11px -> подрезаем трек по горизонтали */
.photo-wrap { overflow-x: clip; }

/* ---------- Услуги: рендер «Проектирование» на десктопе ----------
   После вырезки фона рендер стал крупнее (ушли поля) и лип к краям карточки и кнопке.
   Даём воздух: чуть меньше ширина + отступы от правого и нижнего края. */
.services_wrap .service.big .service_image {
  width: 86%;
  max-width: 480px;
  right: 14px;
  bottom: 12px;
}

/* ---------- Услуги: широкая карточка «Проектирование» на мобильном ----------
   Родной шаблон рисует фото абсолютом left:0 width:100% -> на телефоне текст наезжает на юрту.
   На <=767 делаем две колонки: текст+кнопка слева, рендер юрты справа, без наложения. */
@media (max-width: 767px) {
  .services_wrap .service.big {
    display: grid;
    grid-template-columns: 1fr 47%;
    grid-template-areas: "text img" "btn img";
    align-items: center;
    column-gap: 12px; row-gap: 12px;
    min-height: 0;
  }
  .services_wrap .service.big > div { grid-area: text; }
  .services_wrap .service.big p { max-width: 100%; }
  .services_wrap .service.big .button {
    grid-area: btn; align-self: flex-start; order: 0; margin: 0;
  }
  .services_wrap .service.big .service_image {
    grid-area: img; align-self: end;
    position: relative;
    left: unset; right: unset; bottom: unset;
    width: 100%; height: auto; max-height: 200px;
    margin-bottom: -8px;
    object-fit: contain; object-position: bottom;
  }
}
@media (max-width: 441px) {
  .services_wrap .service.big { grid-template-columns: 1fr 46%; }
}

/* ---------- Чат-виджет neurospace ----------
   Контейнер виджета - div с inline-стилями (z-index:1100, bottom:20) без класса/id.
   Проблема 1: шапка сайта fixed z-index 9999 - при скролле перекрывала крестик открытого чата.
   Проблема 2: на мобиле нижняя навигация (~64px) прятала свёрнутый баббл.
   !important необходим против inline-стилей. Модалки сайта (z 99995+) остаются выше виджета. */
div[style*="z-index: 1100"][style*="position: fixed"] { z-index: 99990 !important; }
@media (max-width: 991px) {
  div[style*="z-index: 1100"][style*="position: fixed"] { bottom: 84px !important; }
}

/* ---------- Блок доверия «Почему нам доверяют» ---------- */
.trust-section {
  padding: 72px 0;
  background: var(--ffffff);
}
.trust-section .container { max-width: 1660px; margin: 0 auto; }
.trust-head { max-width: 720px; margin-bottom: 44px; }
.trust-title {
  font-family: var(--font3), sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 116%;
  color: var(--101010);
}
.trust-subtitle {
  margin-top: 14px;
  font-family: var(--font-family), sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--41444b);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  padding: 32px 28px;
  border: 1px solid var(--eae6e6);
  border-radius: 18px;
  background: var(--faf9f9, #faf9f9);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.trust-card:hover {
  box-shadow: 0 16px 40px rgba(10, 157, 113, .12);
  transform: translateY(-4px);
  border-color: rgba(10, 157, 113, .35);
}
.trust-num {
  font-family: var(--font3), sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 110%;
  color: var(--0a9d71);
}
.trust-num--check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--0a9d71);
  color: #fff;
  font-size: 30px;
}
.trust-label {
  margin-top: 14px;
  font-family: var(--font-family), sans-serif;
  font-size: 16px;
  line-height: 148%;
  color: var(--322a2a);
}
.trust-clients {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--eae6e6);
}
.trust-clients__caption {
  font-family: var(--font-family), sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--8f8c8c);
}
.trust-clients__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.trust-clients__logos img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: filter .25s ease, opacity .25s ease;
}
.trust-clients__logos img:hover { filter: grayscale(0); opacity: 1; }
.client-chip {
  padding: 12px 22px;
  border: 1px solid var(--eae6e6);
  border-radius: 999px;
  font-family: var(--font-family), sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--41444b);
  background: #fff;
}
.client-chip--muted { color: var(--8f8c8c); font-weight: 400; }

/* объекты + отзывы в блоке доверия */
.trust-objects { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--eae6e6); }
.trust-objects__head { max-width: 760px; margin-bottom: 22px; }
.trust-objects__lead {
  margin: 12px 0 0;
  font-family: var(--font-family), sans-serif;
  font-size: 17px; line-height: 152%; color: var(--41444b);
}
.trust-objects__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-object { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--eae6e6); transition: box-shadow .25s ease, transform .25s ease; }
.trust-object:hover { box-shadow: 0 16px 40px rgba(16,16,16,.1); transform: translateY(-3px); }
.trust-object img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trust-object figcaption { padding: 14px 16px; font-family: var(--font-family), sans-serif; font-size: 14.5px; font-weight: 600; color: var(--322a2a); }
.trust-object a { display: block; color: inherit; text-decoration: none; }
.trust-object__link { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--0a9d71); }

/* карточки проектов из КП — мини-фото слева, текст справа, стрелка */
.trust-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.trust-project {
  position: relative;
  display: flex; align-items: stretch; gap: 16px;
  padding: 14px 44px 14px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--eae6e6);
  text-decoration: none; color: var(--322a2a);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.trust-project::after {
  content: "→"; position: absolute; top: 16px; right: 18px;
  font-size: 18px; color: var(--c4c0ba, #c4c0ba);
  transition: color .25s ease, transform .25s ease;
}
.trust-project:hover { box-shadow: 0 14px 34px rgba(16, 16, 16, .08); transform: translateY(-3px); border-color: rgba(10, 157, 113, .4); }
.trust-project:hover::after { color: var(--0a9d71); transform: translateX(3px); }
.trust-project__img {
  flex-shrink: 0; align-self: center;
  width: 108px; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 10px;
}
.trust-project__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.trust-project__tag {
  font-family: var(--font-family), sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--8f8c8c, #8f8c8c);
}
.trust-project__name { font-family: var(--font3), sans-serif; font-size: 17px; font-weight: 700; color: var(--101010); }
.trust-project__desc { font-family: var(--font-family), sans-serif; font-size: 13.5px; line-height: 148%; color: var(--41444b); }
.trust-project__link { margin-top: auto; padding-top: 5px; font-family: var(--font-family), sans-serif; font-size: 13px; font-weight: 600; color: var(--0a9d71); }

/* отзывы */
.trust-reviews-wrap { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--eae6e6); }
.trust-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.trust-review {
  position: relative; margin: 0; padding: 40px 24px 22px; border-radius: 16px;
  background: var(--faf9f9, #faf9f9); border: 1px solid var(--eae6e6);
}
.trust-review::before {
  content: "\201C"; position: absolute; top: 6px; left: 20px;
  font-family: Georgia, serif; font-size: 56px; line-height: 1;
  color: rgba(10, 157, 113, .25);
}
.trust-review__text { margin: 0; font-family: var(--font-family), sans-serif; font-size: 15px; line-height: 156%; color: var(--322a2a); }
.trust-review__author {
  display: block; margin-top: 16px; font-family: var(--font-family), sans-serif; font-weight: 700; font-size: 14px; color: var(--0a9d71);
  /* шаблон глобально стилизует тег footer (фон+отступы сайтового футера) - сбрасываем */
  background: transparent; padding: 0; height: auto; min-height: 0;
}
@media (max-width: 991px) {
  .trust-objects__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-reviews { grid-template-columns: 1fr; }
  .trust-projects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .trust-objects__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-projects { grid-template-columns: 1fr; gap: 12px; }
  .trust-object figcaption { padding: 11px 12px; font-size: 13px; }
  .trust-project__img { width: 88px; }
}

/* ---------- О компании (/about): тёмный герой ---------- */
.about-company-bg {
  background: #14110e !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* сменяемая подложка - фото объектов справа, CSS-кроссфейд */
.about-slider { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.about-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; animation: aboutFade 18s infinite;
}
.about-slider img:nth-child(1) { animation-delay: 0s; }
.about-slider img:nth-child(2) { animation-delay: 6s; }
.about-slider img:nth-child(3) { animation-delay: 12s; }
@keyframes aboutFade {
  0% { opacity: 0; } 4% { opacity: .5; } 30% { opacity: .5; } 36% { opacity: 0; } 100% { opacity: 0; }
}
.about-company-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,17,14,.95) 0%, rgba(20,17,14,.8) 42%, rgba(20,17,14,.45) 72%, rgba(20,17,14,.3) 100%);
}
.about-company-bg .container { position: relative; z-index: 2; }
.about-company-bg h1,
.about-company-bg h2,
.about-company-bg .about-company-desc { color: #fff; }
.about-company-bg .about-tab .tab-big-text { color: var(--0a9d71); }
.about-company-bg .about-tab .tab-small-text { color: #cfcac2; }

/* разбивка текста */
.about-more { margin: 8px 0 0; }
.about-more > summary {
  cursor: pointer; list-style: none; display: inline-block; user-select: none;
  font-family: var(--font-family), sans-serif; font-weight: 600; font-size: 16px; color: var(--0a9d71);
}
.about-more > summary::-webkit-details-marker { display: none; }
.about-more > summary::before { content: "＋ "; font-weight: 700; }
.about-more[open] > summary::before { content: "－ "; }
.about-more .about-company-desc { margin-top: 14px; }

/* секция калькулятора на /about */
.about-calc { padding: 56px 0; background: var(--faf9f9, #faf9f9); }
.about-calc .container { max-width: 1660px; margin: 0 auto; }
.about-calc__title { font-family: var(--font3), sans-serif; font-weight: 700; font-size: 34px; line-height: 116%; color: var(--101010); }
.about-calc__sub { margin: 12px 0 26px; max-width: 720px; font-family: var(--font-family), sans-serif; font-size: 18px; line-height: 150%; color: var(--41444b); }

@media (max-width: 1281px) { .about-calc .container { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 767px) {
  .about-company-half { width: 100% !important; }
}
.our-clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px 40px;
}
.our-clients img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .25s ease, opacity .25s ease;
}
.our-clients img:hover { filter: grayscale(0); opacity: 1; }

@media (max-width: 1281px) {
  .trust-section .container { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 991px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-title { font-size: 32px; }
}
@media (max-width: 767px) {
  .trust-section { padding: 48px 0; }
  .trust-title { font-size: 26px; }
  .trust-subtitle { font-size: 16px; }
  .trust-card { padding: 24px 20px; }
  .trust-num { font-size: 34px; }
}
@media (max-width: 540px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- Подборщик юрт по сценарию ---------- */
.podbor { padding: 56px 0 80px; }
.podbor .container { max-width: 1660px; margin: 0 auto; }
.podbor__head { max-width: 760px; margin-bottom: 32px; }
.podbor__title {
  font-family: var(--font3), sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 116%;
  color: var(--101010);
}
.podbor__subtitle {
  margin-top: 14px;
  font-family: var(--font-family), sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--41444b);
}
.podbor__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.podbor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--eae6e6);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-family), sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--322a2a);
  cursor: pointer;
  transition: all .2s ease;
}
.podbor-chip span {
  font-size: 13px;
  color: var(--8f8c8c);
  font-weight: 500;
}
.podbor-chip:hover { border-color: var(--0a9d71); color: var(--0a9d71); }
.podbor-chip:hover span { color: var(--0a9d71); }
.podbor-chip.is-active {
  background: var(--0a9d71);
  border-color: var(--0a9d71);
  color: #fff;
}
.podbor-chip.is-active span { color: rgba(255, 255, 255, .8); }
.podbor__count {
  margin-bottom: 22px;
  font-family: var(--font-family), sans-serif;
  font-size: 15px;
  color: var(--8f8c8c);
}
.podbor__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.podbor-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--eae6e6);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.podbor-card:hover {
  box-shadow: 0 18px 44px rgba(16, 16, 16, .1);
  transform: translateY(-4px);
  border-color: rgba(10, 157, 113, .35);
}
.podbor-card__imgwrap {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--faf9f9, #faf9f9);
  overflow: hidden;
}
.podbor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.podbor-card:hover .podbor-card__img { transform: scale(1.05); }
.podbor-card__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #f2efe9, #e7e2d8); }
.podbor-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.podbor-card__title {
  font-family: var(--font-family), sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 132%;
  color: var(--101010);
  text-decoration: none;
}
.podbor-card__title:hover { color: var(--0a9d71); }
.podbor-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.podbor-card__specs li {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--faf9f9, #f5f3ef);
  font-family: var(--font-family), sans-serif;
  font-size: 13px;
  color: var(--41444b);
}
.podbor-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.podbor-card__price {
  font-family: var(--font3), sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--101010);
  white-space: nowrap;
}
.podbor-card__btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--0a9d71);
  color: #fff;
  font-family: var(--font-family), sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease;
  white-space: nowrap;
}
.podbor-card__btn:hover { background: #08543e; }
.podbor__empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--eae6e6);
  border-radius: 18px;
}
.podbor__empty p {
  margin-bottom: 20px;
  font-family: var(--font-family), sans-serif;
  font-size: 18px;
  color: var(--41444b);
}

@media (max-width: 1281px) {
  .podbor .container { padding-left: 24px; padding-right: 24px; }
  .podbor__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .podbor__grid { grid-template-columns: repeat(3, 1fr); }
  .podbor__title { font-size: 32px; }
}
@media (max-width: 767px) {
  .podbor__title { font-size: 26px; }
  .podbor__subtitle { font-size: 16px; }
  .podbor-chip { padding: 10px 16px; font-size: 14px; }
}
@media (max-width: 540px) {
  .podbor__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .podbor-card__body { padding: 14px; }
  .podbor-card__price { font-size: 16px; }
  .podbor-card__btn { padding: 8px 12px; }
}
@media (max-width: 441px) {
  .podbor__grid { grid-template-columns: 1fr; }
}

/* ---------- SEO-блок на главной ---------- */
.seo2026 { padding: 64px 0; background: var(--faf9f9, #faf9f9); }
.seo2026 .container { max-width: 1660px; margin: 0 auto; }
.seo2026__title {
  font-family: var(--font3), sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 118%;
  color: var(--101010);
  max-width: 900px;
}
.seo2026__lead {
  margin-top: 14px;
  max-width: 760px;
  font-family: var(--font-family), sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--41444b);
}
.seo2026__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.seo2026-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--eae6e6);
  border-radius: 16px;
}
.seo2026-card h3 {
  font-family: var(--font-family), sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--101010);
  margin-bottom: 10px;
}
.seo2026-card p {
  font-family: var(--font-family), sans-serif;
  font-size: 15px;
  line-height: 150%;
  color: var(--41444b);
}
.seo2026__more {
  margin-top: 30px;
  border-top: 1px solid var(--eae6e6);
  padding-top: 22px;
}
.seo2026__more > summary {
  cursor: pointer;
  font-family: var(--font-family), sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--0a9d71);
  list-style: none;
  user-select: none;
}
.seo2026__more > summary::-webkit-details-marker { display: none; }
.seo2026__more > summary::before { content: "＋ "; font-weight: 700; }
.seo2026__more[open] > summary::before { content: "－ "; }
.seo2026__fulltext { margin-top: 18px; max-width: 900px; }
.seo2026__fulltext h3 {
  font-family: var(--font3), sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--101010);
  margin: 22px 0 10px;
}
.seo2026__fulltext p {
  font-family: var(--font-family), sans-serif;
  font-size: 15px;
  line-height: 156%;
  color: var(--41444b);
  margin-bottom: 12px;
}
@media (max-width: 1281px) { .seo2026 .container { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 991px) {
  .seo2026__grid { grid-template-columns: repeat(2, 1fr); }
  .seo2026__title { font-size: 28px; }
}
@media (max-width: 767px) {
  .seo2026 { padding: 44px 0; }
  .seo2026__title { font-size: 24px; }
  .seo2026__lead { font-size: 16px; }
}
@media (max-width: 540px) { .seo2026__grid { grid-template-columns: 1fr; } }

/* ---------- Разделы Производство / Сотрудники ---------- */
.proizv2026, .team2026 { padding: 64px 0 80px; }
.proizv2026 .container, .team2026 .container { max-width: 1660px; margin: 0 auto; }
.proizv2026__head, .team2026__head { max-width: 760px; margin-bottom: 36px; }
.proizv2026__title, .team2026__title {
  font-family: var(--font3), sans-serif;
  font-weight: 700; font-size: 40px; line-height: 116%; color: var(--101010);
}
.proizv2026__subtitle, .team2026__subtitle {
  margin-top: 14px; font-family: var(--font-family), sans-serif;
  font-size: 18px; line-height: 150%; color: var(--41444b);
}
.proizv2026__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.proizv-cell {
  display: flex; flex-direction: column;
  border: 1px solid var(--eae6e6); border-radius: 16px; overflow: hidden; background: #fff;
}
.proizv-cell__img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.proizv-cell { transition: transform .3s, box-shadow .3s; }
.proizv-cell:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(16, 16, 16, .10); }
/* Свайп-галерея цеха */
.pgal { position: relative; }
.pgal__track {
  display: flex; overflow-x: auto; aspect-ratio: 4 / 3;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pgal__track::-webkit-scrollbar { display: none; }
.pgal__track img {
  flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover;
  scroll-snap-align: center; display: block;
}
.pgal__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(16, 16, 16, .45); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s, background .2s; z-index: 2;
}
.pgal:hover .pgal__nav { opacity: 1; }
.pgal__nav:hover { background: rgba(16, 16, 16, .75); }
.pgal__nav--prev { left: 10px; }
.pgal__nav--next { right: 10px; }
.pgal__dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
  display: flex; justify-content: center; gap: 6px;
}
.pgal__dot {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .55); cursor: pointer; transition: background .2s, transform .2s;
}
.pgal__dot.is-active { background: #fff; transform: scale(1.25); }
@media (hover: none) { .pgal__nav { display: none; } }
/* Лайтбокс */
.lb2026 {
  position: fixed; inset: 0; z-index: 100000; display: none;
  align-items: center; justify-content: center; background: rgba(0, 0, 0, .92);
}
.lb2026.is-open { display: flex; }
.lb2026__img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.lb2026__close {
  position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2;
}
.lb2026__close:hover { background: rgba(0, 0, 0, .8); }
.lb2026__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 38px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2;
}
.lb2026__nav:hover { background: rgba(0, 0, 0, .8); }
.lb2026__nav--prev { left: 16px; }
.lb2026__nav--next { right: 16px; }
.lb2026__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: 15px; }
@media (max-width: 767px) {
  .lb2026__nav { width: 44px; height: 44px; font-size: 30px; }
  .lb2026__nav--prev { left: 6px; } .lb2026__nav--next { right: 6px; }
  .lb2026__close { top: 8px; right: 10px; }
}
.proizv-cell__ph, .team-card__ph {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f2efe9, #e5e0d6);
  font-family: var(--font-family), sans-serif; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: #b3aa9a;
}
.proizv-cell__name {
  padding: 16px 18px 4px;
  font-family: var(--font-family), sans-serif; font-weight: 700; font-size: 17px; color: var(--101010);
}
.proizv-cell__desc {
  padding: 0 18px 18px;
  font-family: var(--font-family), sans-serif; font-size: 14px; line-height: 148%; color: var(--41444b);
}
.proizv2026__cta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px;
  margin-top: 40px; padding: 28px 32px; background: var(--faf9f9, #faf9f9); border-radius: 18px;
}
.proizv2026__cta p {
  font-family: var(--font-family), sans-serif; font-size: 18px; color: var(--101010); margin: 0;
}
.team2026__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.team-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--eae6e6); border-radius: 16px; overflow: hidden; background: #fff; text-align: center;
}
.team-card__ph { aspect-ratio: 3 / 4; }
.team-card__img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center;
  display: block; transition: transform .5s ease;
}
.team2026__grid .team-card {
  box-shadow: 0 6px 20px rgba(16, 16, 16, .06); transition: transform .3s, box-shadow .3s;
}
.team2026__grid .team-card:hover {
  transform: translateY(-4px); box-shadow: 0 14px 32px rgba(16, 16, 16, .12);
}
.team2026__grid .team-card:hover .team-card__img { transform: scale(1.05); }
.team-card__name {
  padding: 14px 12px 2px;
  font-family: var(--font-family), sans-serif; font-weight: 700; font-size: 15px; color: var(--101010);
}
.team-card__role {
  padding: 0 12px 16px;
  font-family: var(--font-family), sans-serif; font-size: 13px; color: var(--8f8c8c);
}
.team2026__note {
  margin-top: 28px; font-family: var(--font-family), sans-serif; font-size: 15px; color: var(--8f8c8c);
}
@media (max-width: 1281px) {
  .proizv2026 .container, .team2026 .container { padding-left: 24px; padding-right: 24px; }
  .proizv2026__grid { grid-template-columns: repeat(3, 1fr); }
  .team2026__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .proizv2026__grid { grid-template-columns: repeat(2, 1fr); }
  .team2026__grid { grid-template-columns: repeat(3, 1fr); }
  .proizv2026__title, .team2026__title { font-size: 32px; }
}
@media (max-width: 767px) {
  .proizv2026__title, .team2026__title { font-size: 26px; }
  .team2026__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .proizv2026__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Раздел "Фотографии": адаптивные альбомы ---------- */
/* Фикс: фото альбомов вставлены с width="1080" и вылезают за экран на мобилке.
   Скоуп через :has() только на контейнеры с фото-полями (fotografiya-N),
   чтобы не задеть характеристики карточки товара. */
.fields-container:has(.field-entry[class*="fotografiya"]) {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.field-entry[class*="fotografiya"] { margin: 0; }
.field-entry[class*="fotografiya"] .field-label { display: none; }
.field-entry[class*="fotografiya"] .field-value { display: block; }
.field-entry[class*="fotografiya"] .field-value img {
  width: 100%; height: 100%; max-width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 10px; display: block;
}
/* Фикс: Slick-слайдер похожих альбомов вылезал за экран (не клипался .slick-list).
   ВАЖНО (16.07): overflow-x:clip заскоуплен ТОЛЬКО на страницу «Фотографии» (category 15,
   body.view-category) - глобальный html/.background-article clip убран, чтобы НЕ маскировать
   горизонтальный скролл старых мобильных страниц (это отдельный платный этап). */
.slick-list { overflow: hidden; }
.slick-slider { max-width: 100%; }
/* Якорь `.com-content-category-blog` = только blog-категории (страница «Фотографии», catid 15).
   На article-страницах (политика, карточки товаров) и главной этого контейнера НЕТ, поэтому
   их горизонтальный скролл НЕ маскируется - остаётся видимым для отдельного мобильного этапа. */
.com-content-category-blog { overflow-x: clip; }

/* Новый альбом (аэросъёмка) - сетка img прямо в теле статьи */
.album2026 {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px; margin: 22px 0 0;
}
.album2026 img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 10px; display: block;
}
.album2026__lead {
  font-family: var(--font-family), sans-serif; font-size: 17px;
  line-height: 152%; color: var(--41444b); margin: 0 0 4px;
}
@media (max-width: 540px) {
  .fields-container:has(.field-entry[class*="fotografiya"]),
  .album2026 { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ---------- Карточка товара: характеристики ---------- */
.item-specs2026 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px 0 8px;
  border: 1px solid var(--eae6e6);
  border-radius: 14px;
  overflow: hidden;
}
.spec-row2026 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 18px;
  background: #fff;
  font-family: var(--font-family), sans-serif;
}
.spec-row2026:nth-child(even) { background: var(--faf9f9, #faf9f9); }
.spec-k2026 { font-size: 15px; color: var(--8f8c8c); }
.spec-v2026 { font-size: 15px; font-weight: 600; color: var(--101010); text-align: right; }
.item-block2026 { margin: 18px 0; }
.item-block2026__title {
  font-family: var(--font3), sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--101010);
  margin-bottom: 8px;
}
.item-block2026__body {
  font-family: var(--font-family), sans-serif;
  font-size: 15px;
  line-height: 152%;
  color: var(--41444b);
}

/* ---------- Чат-виджет akhtyamoff (замена neurospace 16.07) ----------
   Контейнер баббла - пустой div с inline "position:fixed; right:20px; bottom:20px; z-index:2147483000".
   На мобиле нижняя навигация сайта (.mobile-menu, ~56px, z 99995) оказывается под бабблом -
   поднимаем баббл над навигацией, чтобы он не закрывал правый пункт меню. */
@media (max-width: 991px) {
  body > div[style*="z-index: 2147483000"][style*="position: fixed"] { bottom: 84px !important; }
}
