/* Custom overlay styles — loaded last, override base theme */

/* Visually hidden, accessible to screen readers & search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-header img,
.logo-footer img {
  width: 203px;
}

/* ==========================================================================
   Error pages (404 / 500)
   ========================================================================== */

.error-page {
  min-height: 60vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(14, 126, 80, .06) 80px 81px),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(14, 126, 80, .06) 80px 81px),
    linear-gradient(180deg, #f6faf8 0%, #ffffff 100%);
}

.error-page__container {
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.error-page__visual {
  position: relative;
  margin-bottom: 24px;
}

.error-page__svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 0 rgba(14, 126, 80, .12));
}

.error-page__rivets {
  position: absolute;
  inset: 10% 8%;
  pointer-events: none;
}

.error-page__rivets span {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #3aa176 0%, #0e7e50 45%, #064f33 100%);
  border-radius: 50%;
  box-shadow: inset 0 -2px 2px rgba(0, 0, 0, .25);
}

.error-page__rivets span:nth-child(1) {
  top: 0;
  left: 0;
}

.error-page__rivets span:nth-child(2) {
  top: 0;
  right: 0;
}

.error-page__rivets span:nth-child(3) {
  bottom: 0;
  left: 0;
}

.error-page__rivets span:nth-child(4) {
  bottom: 0;
  right: 0;
}

.error-page__title {
  font-size: clamp(22px, 3.2vw, 32px);
  color: #2b2b2b;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.25;
}

.error-page__text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0 auto 32px;
  max-width: 560px;
}

.error-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-page__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.error-page__btn--primary {
  background: #0e7e50;
  color: #fff;
}

.error-page__btn--primary:hover {
  background: #0b6840;
  color: #fff;
  text-decoration: none;
}

.error-page__btn--secondary {
  background: transparent;
  color: #0e7e50;
  border: 2px solid #0e7e50;
  padding: 12px 26px;
}

.error-page__btn--secondary:hover {
  background: #0e7e50;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 640px) {
  .error-page {
    padding: 40px 16px;
  }

  .error-page__rivets {
    inset: 14% 10%;
  }

  .error-page__rivets span {
    width: 10px;
    height: 10px;
  }
}

.header-wrap header {
  border: none !important;
}

.header-wrap {
  border-bottom: 1px solid #d9dde8;
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: #2b2b2b;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform .3s ease;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 auto;
}

.cookie-banner__link {
  color: #fff;
  text-decoration: underline;
  transition: color .2s ease;
}

.cookie-banner__link:hover {
  color: #0e7e50;
  text-decoration: none;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner__more,
.cookie-banner__accept {
  padding: 10px 20px;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, color .2s ease;
}

.cookie-banner__more {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}

.cookie-banner__more:hover {
  background: rgba(255, 255, 255, .1);
}

.cookie-banner__accept {
  background: #f5a623;
  color: #fff;
  font-weight: 600;
}

.cookie-banner__accept:hover {
  background: #e09415;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Cookie modal */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.is-open {
  display: flex;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.cookie-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  padding: 40px 32px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}

.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #352a24;
  cursor: pointer;
  padding: 0;
}

.cookie-modal__close:hover {
  opacity: .7;
}

.cookie-modal__content p {
  margin: 0 0 12px;
  color: #352a24;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-modal__policy {
  display: inline-block;
  margin-top: 12px;
  color: #f5a623;
  text-decoration: underline;
  transition: color .2s ease;
}

.cookie-modal__policy:hover {
  color: #0e7e50;
  text-decoration: none;
}

@media (max-width: 480px) {
  .cookie-modal__dialog {
    padding: 36px 20px 24px;
  }
}

/* ==========================================================================
   Home banner Swiper
   ========================================================================== */

.home-banner-swiper {
  position: relative;
  overflow: hidden;
}

.home-banner-swiper .swiper-slide {
  display: block;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
}

.home-banner-swiper picture {
  display: block;
  width: 100%;
}

.home-banner-swiper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.home-banner-swiper__pagination.swiper-pagination {
  bottom: 10px;
}

.home-banner-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: .6;
  transition: opacity .2s ease, background .2s ease;
}

.home-banner-swiper__pagination .swiper-pagination-bullet-active {
  background: #0e7e50;
  opacity: 1;
}

.home-banner-swiper__prev,
.home-banner-swiper__next,
.home-videos-swiper__prev,
.home-videos-swiper__next,
.reviews-swiper__prev,
.reviews-swiper__next {
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d9dde8;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.home-banner-swiper__prev::before,
.home-banner-swiper__next::before,
.home-videos-swiper__prev::before,
.home-videos-swiper__next::before,
.reviews-swiper__prev::before,
.reviews-swiper__next::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #373E44;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 12px 12px;
  mask-size: 12px 12px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color .2s ease;
}

.home-banner-swiper__prev::before,
.home-videos-swiper__prev::before,
.reviews-swiper__prev::before {
  -webkit-mask-image: url("../images/svg/carousel-arrow-prev.svg");
  mask-image: url("../images/svg/carousel-arrow-prev.svg");
}

.home-banner-swiper__next::before,
.home-videos-swiper__next::before,
.reviews-swiper__next::before {
  -webkit-mask-image: url("../images/svg/carousel-arrow-next.svg");
  mask-image: url("../images/svg/carousel-arrow-next.svg");
}

.home-banner-swiper__prev:hover,
.home-banner-swiper__next:hover,
.home-videos-swiper__prev:hover,
.home-videos-swiper__next:hover,
.reviews-swiper__prev:hover,
.reviews-swiper__next:hover {
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(14, 126, 80, .15);
}

.home-banner-swiper__prev:hover::before,
.home-banner-swiper__next:hover::before,
.home-videos-swiper__prev:hover::before,
.home-videos-swiper__next:hover::before,
.reviews-swiper__prev:hover::before,
.reviews-swiper__next:hover::before {
  background-color: #0e7e50;
}

.home-banner-swiper__prev::after,
.home-banner-swiper__next::after,
.home-videos-swiper__prev::after,
.home-videos-swiper__next::after,
.reviews-swiper__prev::after,
.reviews-swiper__next::after,
.home-banner-swiper__prev .swiper-navigation-icon,
.home-banner-swiper__next .swiper-navigation-icon,
.home-videos-swiper__prev .swiper-navigation-icon,
.home-videos-swiper__next .swiper-navigation-icon,
.reviews-swiper__prev .swiper-navigation-icon,
.reviews-swiper__next .swiper-navigation-icon,
.home-banner-swiper__prev svg:not(:root),
.home-banner-swiper__next svg:not(:root),
.home-videos-swiper__prev svg:not(:root),
.home-videos-swiper__next svg:not(:root),
.reviews-swiper__prev svg:not(:root),
.reviews-swiper__next svg:not(:root) {
  display: none !important;
}

@media (max-width: 1100px) {

  .home-banner-swiper__prev,
  .home-banner-swiper__next {
    display: none;
  }
}

@media (max-width: 767px) {
  .home-banner-swiper__pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    opacity: .6;
  }

  .home-banner-swiper__prev,
  .home-banner-swiper__next {
    display: none;
  }

  .home-banner-swiper .swiper-slide {
    border-radius: 8px;
  }

  .home-banner-swiper__pagination.swiper-pagination {
    position: static;
  }
}

@media (max-width: 575px) {
  .home-banner-swiper img {
    object-position: center;
    height: 350px;
  }
}

@media (max-width: 480px) {
  .home-banner-swiper img {
    object-position: center;
    height: 300px;
  }
}

@media (max-width: 420px) {
  .home-banner-swiper img {
    object-position: center;
    height: auto;
  }
}

/* «Наезд»-переход: активный слайд анимирует <picture> от края экрана,
   предыдущий слайд держится видимым под ним (Swiper со speed:0 не анимирует сам). */

.home-banner-swiper.swiper-fade .swiper-slide.is-staying {
  opacity: 1 !important;
  z-index: 1;
}

.home-banner-swiper.swiper-fade .swiper-slide-active {
  z-index: 2;
}

.home-banner-swiper .swiper-slide picture {
  will-change: transform;
}

.home-banner-swiper .swiper-slide.is-coming-right picture {
  animation: hbSlideFromRight 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-banner-swiper .swiper-slide.is-coming-left picture {
  animation: hbSlideFromLeft 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hbSlideFromRight {
  from {
    transform: translate3d(100%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hbSlideFromLeft {
  from {
    transform: translate3d(-100%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================================
   Homepage categories — hover: зелёная рамка + лёгкая тень (без смены картинки)
   ========================================================================== */

.second-level-categories .csl__item {
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  border-radius: 8px;
}

.second-level-categories.homepage-categories .csl__item {
  border-radius: 16px;
}

/* Вторая (ховерная) картинка скрыта всегда */
.second-level-categories .csl__img_absolute {
  display: none;
}

.second-level-categories .csl__item:hover {
  border-color: #0e7e50;
  box-shadow: 0 6px 16px rgba(14, 126, 80, .15);
  transform: translateY(-2px);
}

.csl__name {
  text-align: center;
}

/* SVG-иконка категории (вместо <img>) */
.second-level-categories .csl__svg {
  width: 50%;
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e7e50;
}

.second-level-categories .csl__svg svg {
  width: 100%;
  height: auto;
  max-height: 125px;
  display: block;
}

.second-level-categories .csl__svg svg path {
  transition: fill .25s ease, stroke .25s ease;
}

.second-level-categories .csl__item:hover .csl__svg svg path[fill]:not([fill="none"]) {
  fill: #0e7e50;
}

.second-level-categories .csl__item:hover .csl__svg svg path[stroke]:not([stroke="none"]) {
  stroke: #0e7e50;
}

@media (max-width: 720px) {
  .second-level-categories.homepage-categories .csl__svg {
    width: 100%;
    min-height: 90px;
  }

  .second-level-categories.homepage-categories .csl__svg svg {
    max-height: 90px;
  }
}

/* ==========================================================================
   Store catalog categories (/store) — hover: зелёная рамка + лёгкая тень
   Вторая (hover) картинка скрыта всегда.
   ========================================================================== */

.category-item .mh-img {
  display: none !important;
}

.category-item_info {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.category-item:hover .category-item_info {
  border-color: #0e7e50;
  box-shadow: 0 6px 16px rgba(14, 126, 80, .15);
}

.category-item__children {
  border-radius: 0 8px 8px 0;
  margin-left: -10px;
  width: calc(100% - 270px);
}

/* Убираем базовую тёмно-синюю тень от ::before-псевдо, чтобы не конкурировала с зелёной */
.category-item:hover::before {
  box-shadow: none;
}

/* SVG-иконка категории в каталоге (вместо .category-icon с <img>) */
.category-item .category-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  margin-bottom: 12px;
  color: #0e7e50;
}

.category-item .category-svg svg {
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 120px;
  display: block;
}

.category-item .category-svg svg path {
  transition: fill .25s ease, stroke .25s ease;
}

.category-item:hover .category-svg svg path[fill]:not([fill="none"]) {
  fill: #0e7e50;
}

.category-item:hover .category-svg svg path[stroke]:not([stroke="none"]) {
  stroke: #0e7e50;
}

.objects__item.slick-slide {
  border-radius: 16px;
  overflow: hidden;
}

.object__item_desc {
  background: #fff;
}

.object__item_img {
  height: 376px !important;
}

@media (max-width: 1360px) {
  .lm__img {
    width: 50px;
    height: 50px;
  }

  .lm__img img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1366px) {
  .reviews-carousel__head {
    padding: 0 15px;
  }

  .svc-page__inner,
  .svc-page__form {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }
}

@media (max-width: 1227px) {
  .fl-mobile__logotype img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1199px) {
  .objects__item.slick-slide {
    border-radius: 0;
  }

  .object__item_desc {
    background: transparent;
  }

  .object__item_img {
    border-radius: 8px;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .second-level-categories.homepage-categories .csl__item {
    border-radius: 8px;
  }
}

@media (max-width: 520px) {
  .object__item_img {
    height: 320px !important;
  }
}

/* ============================================================
   FAQ-блок на главной странице
   ============================================================ */
.faq-home {
  margin-top: 0;
  margin-bottom: 56px;
}

.faq-home__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.faq-home__head .page_title {
  margin: 0;
}

.faq-home__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0e7e50;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}

.faq-home__more-arrow {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  transition: transform .18s ease;
}

.faq-home__more:hover,
.faq-home__more:focus {
  color: #0a5e3b;
  text-decoration: none;
  outline: none;
}

.faq-home__more:hover .faq-home__more-arrow {
  transform: translateX(3px);
}

.faq-home__more:focus-visible {
  outline: 2px solid #0e7e50;
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-home__more--mobile {
  display: none;
}

.faq-home__items .faq-item {
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .faq-home {
    margin-bottom: 32px;
  }

  .faq-home__head .faq-home__more {
    display: none;
  }

  .faq-home__more--mobile {
    display: inline-flex;
    margin-top: 16px;
  }
}

/* ============================================================
   FAQ-страница (/faq) — табы разделов + аккордеоны вопросов
   ============================================================ */
.faq-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}

.faq-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  padding: 14px 16px;
  background: #f2f5f8;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
  color: #1a2733;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.faq-tab:hover,
.faq-tab:focus {
  background: #e7eef3;
  color: #0e7e50;
  text-decoration: none;
  outline: none;
}

.faq-tab:focus-visible {
  outline: 2px solid #0e7e50;
  outline-offset: 2px;
}

.faq-tab.is-active {
  background: #ffffff;
  border-color: #e3e7ec;
  border-bottom-color: #0e7e50;
  color: #0e7e50;
  font-weight: 600;
}

.faq-tab__title {
  display: block;
}

.faq-panels {
  margin-top: 16px;
  margin-bottom: 48px;
}

.faq-panel {
  display: none;
}

.faq-panel.is-active {
  display: block;
}

.faq-item {
  border: 1px solid #e3e7ec;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #ffffff;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.faq-item[open] {
  border-color: #0e7e50;
  box-shadow: 0 4px 16px rgba(14, 126, 80, .08);
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  color: #1a2733;
  user-select: none;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary::marker {
  display: none;
  content: '';
}

.faq-item__summary:hover {
  color: #0e7e50;
}

.faq-item__summary:focus-visible {
  outline: 2px solid #0e7e50;
  outline-offset: -2px;
  border-radius: 8px;
}

.faq-item__question {
  flex: 1 1 auto;
}

.faq-item__chevron {
  flex: 0 0 auto;
  color: #0e7e50;
  transition: transform .25s ease;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 4px 20px 20px;
  border-top: 1px solid #f2f5f8;
  color: #324050;
  font-size: 15px;
  line-height: 1.6;
}

.faq-item__answer p {
  margin: 0 0 12px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer ul,
.faq-item__answer ol {
  margin: 8px 0 12px;
  padding-left: 22px;
}

.faq-item__answer ul li,
.faq-item__answer ol li {
  margin-bottom: 6px;
}

.faq-item__answer ul ul {
  margin-top: 6px;
  margin-bottom: 6px;
  list-style: circle;
}

.faq-item__answer strong {
  color: #1a2733;
}

/* Без JS — позволяем активировать раздел через :target (CSS-fallback) */
.faq-panel:target {
  display: block;
}

.faq-panel:target~.faq-panel.is-active:not(:target) {
  display: none;
}

@media (max-width: 1199px) {
  .faq-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .faq-tabs {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 8px;
    padding-bottom: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
  }

  .faq-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .faq-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 170px;
    min-height: 60px;
    font-size: 13px;
    padding: 12px 14px;
  }
}

@media (max-width: 520px) {
  .faq-item__summary {
    font-size: 15px;
    padding: 14px 16px;
  }

  .faq-item__answer {
    padding: 4px 16px 16px;
    font-size: 14px;
  }
}

/* ==========================================================================
   Home videos — vertical reels carousel + lightbox
   ========================================================================== */

.home-videos {
  margin-top: 72px;
  margin-bottom: 40px;
}

.home-videos-swiper-wrap {
  position: relative;
}

.home-videos-swiper {
  position: relative;
  padding: 8px 0 40px;
}

.home-videos-swiper-wrap .home-videos-swiper__prev {
  left: -25px;
}

.home-videos-swiper-wrap .home-videos-swiper__next {
  right: -25px;
}

.home-videos-swiper .swiper-slide {
  width: 270px;
  height: auto;
}

.home-video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1c1c1c;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.home-video-card:hover,
.home-video-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 126, 80, .25);
  outline: none;
}

.home-video-card__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 126, 80, .92);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .35);
  transition: transform .25s ease, background .25s ease;
}

.home-video-card:hover .home-video-card__play,
.home-video-card:focus-visible .home-video-card__play {
  transform: scale(1.08);
  background: #0e7e50;
}

.home-video-card__play svg {
  width: 44px;
  height: 44px;
  margin-left: 3px;
}

.home-videos-swiper__pagination.swiper-pagination {
  bottom: 4px;
}

.home-videos-swiper__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cfd5dc;
  opacity: 1;
  transition: background .2s ease, transform .2s ease;
}

.home-videos-swiper__pagination .swiper-pagination-bullet-active {
  background: #0e7e50;
  transform: scale(1.25);
}

@media (max-width: 720px) {
  .home-videos-swiper .swiper-slide {
    width: 220px;
  }

  .home-video-card__play {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
  }

  .home-video-card__play svg {
    width: 38px;
    height: 38px;
  }

  .home-videos-swiper__prev,
  .home-videos-swiper__next {
    display: none;
  }
}

/* Lightbox */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  cursor: pointer;
}

.video-modal__dialog {
  position: relative;
  width: auto;
  max-width: min(95vw, 540px);
  max-height: 92vh;
}

.video-modal__player {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 92vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal__player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: -44px;
  right: -4px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: opacity .2s ease;
}

.video-modal__close:hover {
  opacity: .7;
}

@media (max-width: 520px) {
  .video-modal {
    padding: 56px 12px 12px;
  }

  .video-modal__dialog {
    max-width: 100%;
  }

  .video-modal__close {
    top: -44px;
    right: 0;
  }
}

body.video-modal-open {
  overflow: hidden;
}

/* ==========================================================================
   Service pages (5 templates: izgotovlenie, kmd, montazh, lazernaya, dostavka)
   Скоупим всё под .svc-page, чтобы не задевать другие части сайта.
   ========================================================================== */

.svc-page {
  --svc-dark: #1e2a38;
  --svc-dark2: #273545;
  --svc-green: #0e7e50;
  --svc-green2: #14a066;
  --svc-green-l: #e6f4ed;
  --svc-green-b: #a8d9be;
  --svc-bg: #f2f4f6;
  --svc-text: #1a2332;
  --svc-muted: #5a6478;
  --svc-muted2: #9aa3b0;
  --svc-border: #e0e4ea;
  --svc-border2: #ccd1db;
  --svc-radius: 8px;
  --svc-shadow: 0 1px 4px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .05);
  background: var(--svc-bg);
  color: var(--svc-text);
  border-top: 1px solid var(--svc-border);
}

.svc-page main {
  border-top: 0;
}

.svc-page,
.svc-page p,
.svc-page h1,
.svc-page h2,
.svc-page h3,
.svc-page h4,
.svc-page li,
.svc-page a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.svc-page__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  /* padding-left: 2rem;
  padding-right: 2rem; */
  box-sizing: border-box;
}

/* Breadcrumb — полнокраеводная белая полоса; внутренний .container 1320px центрирован */
.svc-page__crumbs {
  background: #fff;
  border-bottom: 1px solid var(--svc-border);
}

.svc-page__crumbs .breadcrumbs-container {
  padding-top: .55rem;
  padding-bottom: .55rem;
}

.svc-page__crumbs .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 12px;
}

/* Services nav */
.svc-nav {
  background: var(--svc-dark);
}

.svc-nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display: flex;
}

.svc-nav__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 1.25rem .8rem 1.15rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}

.svc-nav__tab:last-child {
  border-right: none;
}

.svc-nav__tab:hover {
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .05);
  text-decoration: none;
}

.svc-nav__tab.is-active {
  color: #fff;
  background: rgba(14, 126, 80, .18);
  border-bottom-color: var(--svc-green2);
}

.svc-nav__ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

.svc-nav__ico svg {
  display: block;
}

.svc-nav__tab:hover .svc-nav__ico {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
}

.svc-nav__tab.is-active .svc-nav__ico {
  background: rgba(14, 126, 80, .3);
  border-color: rgba(20, 160, 102, .5);
}

/* Page header */
.svc-page__header {
  background: #fff;
}

.svc-page__header-inner {
  padding-top: 2.2rem;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.svc-page__heading {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.svc-page .svc-page__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--svc-text);
  letter-spacing: -.6px;
  line-height: 1.1;
  margin: 0 0 .4rem;
  padding: 0;
  text-align: left;
  text-transform: none;
  font-family: 'Inter', system-ui, sans-serif;
}

.svc-page .svc-page__sub {
  font-size: 14px;
  color: var(--svc-muted);
  max-width: 580px;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  text-align: left;
}

.svc-page__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  border-radius: 7px;
  padding: .7rem 1.1rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--svc-green);
  white-space: nowrap;
  flex-shrink: 0;
}

.svc-page__badge svg {
  flex-shrink: 0;
}

.svc-page__badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Main */
.svc-page__main {
  padding-top: 2rem;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 0 !important;
}

/* Card */
.svc-card {
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  box-shadow: var(--svc-shadow);
  overflow: hidden;
  animation: svc-up .35s ease both;
}

.svc-card:nth-child(1) {
  animation-delay: .04s;
}

.svc-card:nth-child(2) {
  animation-delay: .10s;
}

.svc-card:nth-child(3) {
  animation-delay: .16s;
}

.svc-card:nth-child(4) {
  animation-delay: .22s;
}

.svc-card__head {
  padding: 1.5rem 1.8rem 0;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-card__head-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--svc-green);
}

.svc-card__head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--svc-text);
  letter-spacing: -.2px;
  margin: 0;
}

.svc-card__body {
  padding: 0 1.8rem 1.8rem;
}

/* Intro */
.svc-intro {
  font-size: 14.5px;
  color: var(--svc-muted);
  margin: 0 0 1.4rem;
  line-height: 1.7;
}

.svc-intro strong {
  color: var(--svc-text);
}

/* Products grid */
.svc-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.svc-product-tile {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color .2s, background .2s;
}

.svc-product-tile:hover {
  border-color: var(--svc-green-b);
  background: var(--svc-green-l);
}

.svc-product-tile__ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--svc-green);
}

.svc-product-tile__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--svc-text);
  line-height: 1.35;
  padding-top: 6px;
}

.svc-product-tile--accent {
  background: linear-gradient(135deg, var(--svc-green-l) 0%, #f0faf5 100%);
  border-color: var(--svc-green-b);
}

.svc-product-tile--accent .svc-product-tile__ico {
  background: var(--svc-green-l);
  border-color: var(--svc-green-b);
}

.svc-product-tile--accent .svc-product-tile__name {
  color: var(--svc-green);
  font-weight: 700;
}

/* Features grid */
.svc-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.svc-feature {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.svc-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--svc-green);
  border-radius: 7px 7px 0 0;
}

.svc-feature__num {
  font-size: 36px;
  font-weight: 800;
  color: rgba(14, 126, 80, .1);
  line-height: 1;
  position: absolute;
  top: .8rem;
  right: 1rem;
  font-variant-numeric: tabular-nums;
}

.svc-feature__icon {
  width: 38px;
  height: 38px;
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  color: var(--svc-green);
}

.svc-feature__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 .4rem;
}

.svc-feature__desc {
  font-size: 13px;
  color: var(--svc-muted);
  line-height: 1.55;
  margin: 0;
}

/* Reasons list */
.svc-reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.svc-reasons__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px solid var(--svc-border);
}

.svc-reasons__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.svc-reasons__num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: var(--svc-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.svc-reasons__text {
  font-size: 14px;
  color: var(--svc-muted);
  line-height: 1.6;
}

.svc-reasons__text strong {
  color: var(--svc-text);
  font-weight: 600;
}

/* Notice */
.svc-notice {
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  border-radius: 7px;
  padding: 1rem 1.3rem;
  font-size: 14px;
  color: var(--svc-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
  margin-top: 1rem;
}

.svc-notice strong {
  color: var(--svc-text);
}

.svc-notice p {
  margin: 0;
}

.svc-notice__ico {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #c2e8d5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--svc-green);
}

/* Form section — оверрайдим разметку существующего виджета под дизайн.
   ВАЖНО: только CSS — JS (маска телефона, ajax-сабмит, recaptcha) не трогаем.
   Селекторы намеренно повторяют структуру `.page-services .services-form .form-flex .X`
   из new-styles.css, чтобы не уступать в специфичности. */
.svc-page__form {
  max-width: 1320px;
  margin: 1.5rem auto;
  padding: 0;
  box-sizing: border-box;
}

/* Двухколоночная сетка: форма + фото */
.svc-page__form .services-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0;
  align-items: stretch;
}

/* Левая колонка — белая карточка с формой */
.svc-page__form .services-form .form-flex {
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  box-shadow: var(--svc-shadow);
  padding: 1.8rem;
  width: auto;
  max-width: none;
  overflow: hidden;
}

.svc-page__form .services-form h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--svc-text);
  letter-spacing: -.2px;
  margin: 0 0 1.2rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

/* Поля */
.svc-page__form .services-form .inputs-wrap {
  display: block;
}

.svc-page__form .services-form .form-group {
  margin: 0 0 .9rem;
  padding: 0;
}

.svc-page__form .services-form .form-flex .control-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--svc-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .3rem;
  padding: 0;
}

.svc-page__form .services-form .form-flex .control-label .required {
  color: var(--svc-green);
  text-decoration: none;
}

.svc-page__form .services-form .form-flex .form-control {
  width: 100%;
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-color: var(--svc-border);
  border-radius: 7px;
  padding: .65rem .9rem;
  font-family: inherit;
  font-size: 14px;
  color: var(--svc-text);
  height: auto;
  outline: none;
  box-shadow: none;
  transition: border-color .2s, background .2s;
}

.svc-page__form .services-form .form-flex textarea.form-control {
  height: 90px;
  resize: vertical;
}

.svc-page__form .services-form .form-flex .form-control:focus {
  border-color: var(--svc-green);
  background: #fff;
  box-shadow: none;
}

.svc-page__form .services-form .form-flex .form-control::placeholder {
  color: var(--svc-muted2);
}

/* Файл-инпут — пунктирная рамка по дизайну */
.svc-page__form .services-form .form-flex .form-footer {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: .9rem;
}

.svc-page__form .services-form .form-flex .file-upload {
  margin: 0;
  padding: 0;
}

.svc-page__form .services-form .form-flex .vision {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: default;
}

.svc-page__form .services-form .form-flex #count_file {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--svc-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .3rem;
}

.svc-page__form .services-form .form-flex .custom-file-upload {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  background: var(--svc-bg);
  border: 1px dashed var(--svc-border2);
  border-radius: 7px;
  padding: .6rem 1rem;
  margin: 0;
  width: auto;
  max-width: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--svc-muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.svc-page__form .services-form .form-flex .custom-file-upload::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='2'><path d='M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='2'><path d='M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}

.svc-page__form .services-form .form-flex .custom-file-upload:hover {
  border-color: var(--svc-green);
  color: var(--svc-green);
  background: var(--svc-green-l);
}

/* Captcha */
.svc-page__form .services-form .form-flex .form-captcha {
  margin: 0;
}

/* Submit-кнопка — прямоугольная с радиусом 7px (как .form-btn в дизайне) */
.svc-page__form .services-form .form-flex .service-send {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: var(--svc-green);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: .85rem 1.8rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  margin: 1rem 0 0;
  width: auto;
  max-width: none;
  transition: background .18s, transform .15s;
}

.svc-page__form .services-form .form-flex .service-send::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='2.5'><path d='M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='2.5'><path d='M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}

.svc-page__form .services-form .form-flex .service-send:hover {
  background: var(--svc-green2);
  transform: translateY(-1px);
}

/* Соглашение */
.svc-page__form .services-form .form-flex .terms-use {
  font-size: 12px;
  color: var(--svc-muted2);
  line-height: 1.5;
  margin: .8rem 0 0;
}

.svc-page__form .services-form .form-flex .terms-use span {
  color: inherit;
}

/* Фото-колонка */
.svc-page__form .services-form .form-img {
  position: relative;
  width: auto;
  max-width: none;
  background: var(--svc-dark);
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  overflow: hidden;
  min-height: 300px;
}

.svc-page__form .services-form .form-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .85;
}

.svc-page__form .services-form .form-img::after {
  content: var(--photo-caption, '');
  position: absolute;
  inset: 0;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(14, 40, 28, .7));
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  line-height: 1.4;
  pointer-events: none;
  white-space: pre-wrap;
  pointer-events: none;
}

@media (max-width: 900px) {
  .svc-page__form {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .svc-page__form .services-form {
    grid-template-columns: 1fr;
  }

  .svc-page__form .services-form .form-flex {
    padding: 1.3rem 1.1rem;
  }

  .svc-page__form .services-form .form-img {
    display: none;
  }
}

/* h2/h3 в карточках — сбросить базовые стили темы */
.svc-page .svc-card__head h2 {
  padding: 0;
  text-align: left;
  font-family: 'Inter', system-ui, sans-serif;
  text-transform: none;
}

.svc-page .svc-feature__title {
  padding: 0;
  text-align: left;
  font-family: 'Inter', system-ui, sans-serif;
  text-transform: none;
}

/* Gallery */
.svc-page__gallery-section {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.svc-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--svc-muted2);
  margin-bottom: 1rem;
  padding-left: 2px;
}

.svc-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.svc-gallery__item {
  border-radius: var(--svc-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--svc-dark2);
  border: 1px solid var(--svc-border);
  display: block;
}

.svc-gallery__item.svc-gallery__item--kmd {
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  border: 1px solid rgba(14, 126, 80, 0.3);
}

.svc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease, opacity .3s;
}

.svc-gallery__item:hover img {
  transform: scale(1.04);
  opacity: .9;
}

/* Steps — нумерованные этапы (зелёный квадратик с номером) */
.svc-steps {
  list-style: none;
  margin: 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.svc-steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px solid var(--svc-border);
  position: relative;
}

.svc-steps__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.svc-steps__num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--svc-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.svc-steps__text {
  font-size: 14px;
  color: var(--svc-muted);
  line-height: 1.6;
  padding-top: 3px;
}

.svc-steps__text strong {
  color: var(--svc-text);
  font-weight: 600;
}

/* Tech-grid — 3 колонки с иконкой + заголовок + описание */
.svc-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 1.5rem;
}

.svc-tech {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.2rem 1.3rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.svc-tech__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--svc-green);
}

.svc-tech__body {
  min-width: 0;
}

.svc-page .svc-tech__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 3px;
  padding: 0;
  line-height: 1.3;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

.svc-tech__desc {
  font-size: 12.5px;
  color: var(--svc-muted);
  line-height: 1.5;
  margin: 0;
}

/* Split-grid — 2 колонки с цветной полоской сверху (акцент / dark) */
.svc-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.svc-split {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.4rem 1.5rem;
  border-top: 3px solid var(--svc-dark);
  position: relative;
  overflow: hidden;
}

.svc-split--accent {
  border-top-color: var(--svc-green);
}

.svc-split__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--svc-muted2);
  margin-bottom: .5rem;
}

.svc-split--accent .svc-split__tag {
  color: var(--svc-green);
}

.svc-page .svc-split__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 .6rem;
  padding: 0;
  line-height: 1.3;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

.svc-split__desc {
  font-size: 13.5px;
  color: var(--svc-muted);
  line-height: 1.6;
  margin: 0;
}

/* Benefits-grid — 3 колонки, заголовок с inline-иконкой */
.svc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1.5rem;
}

.svc-benefit {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.2rem 1.3rem;
}

.svc-page .svc-benefit__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 .35rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
  line-height: 1.3;
}

.svc-benefit__title svg {
  color: var(--svc-green);
  flex-shrink: 0;
}

.svc-benefit__desc {
  font-size: 13px;
  color: var(--svc-muted);
  line-height: 1.55;
  margin: 0;
}

/* Модификатор галереи — 3 колонки вместо 4 */
.svc-gallery--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Split-hero — два панеля рядом (тёмный + зелёный) вместо обычного page-header */
.svc-split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.svc-hero-panel {
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svc-hero-panel--dark {
  background: var(--svc-dark);
}

.svc-hero-panel--green {
  background: #0a5c3a;
}

.svc-hero-panel::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #fff;
  opacity: .07;
  pointer-events: none;
}

.svc-hero-panel--dark::before {
  right: -80px;
  top: -80px;
}

.svc-hero-panel--green::before {
  left: -60px;
  bottom: -60px;
}

.svc-hero-panel--dark {
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.svc-hero-panel__tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.svc-hero-panel--green .svc-hero-panel__tag {
  color: rgba(255, 255, 255, .5);
}

.svc-hero-panel__tag::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.svc-page .svc-hero-panel__title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.4px;
  line-height: 1.15;
  margin: 0 0 .7rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

.svc-hero-panel__desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.65;
  max-width: 380px;
  margin: 0;
}

.svc-hero-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
  padding: .5rem .9rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  margin-top: 1.4rem;
  align-self: flex-start;
}

.svc-hero-panel--green .svc-hero-panel__badge {
  background: rgba(255, 255, 255, .12);
}

/* Card-head extras: dark icon variant + right-aligned label */
.svc-card__head-icon--dark {
  background: rgba(30, 42, 56, .08);
  border-color: rgba(30, 42, 56, .15);
  color: var(--svc-dark);
}

.svc-card__head-icon--dark svg {
  color: var(--svc-dark);
}

.svc-card__head-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--svc-muted2);
  margin-left: auto;
}

/* Card with green left accent */
.svc-card--accent {
  border-left: 3px solid var(--svc-green);
}

/* Cost-factors — 5-колоночные компактные карточки */
.svc-cost-factors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.svc-cost-factor {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1rem .9rem;
  text-align: center;
  transition: border-color .2s, background .2s;
}

.svc-cost-factor:hover {
  border-color: var(--svc-green-b);
  background: var(--svc-green-l);
}

.svc-cost-factor__ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--svc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .7rem;
  color: var(--svc-green);
}

.svc-cost-factor:hover .svc-cost-factor__ico {
  border-color: var(--svc-green-b);
}

.svc-page .svc-cost-factor__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 .25rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: center;
  text-transform: none;
  line-height: 1.3;
}

.svc-cost-factor__desc {
  font-size: 11.5px;
  color: var(--svc-muted);
  line-height: 1.45;
  margin: 0;
}

/* Process-flow — горизонтальный конвейер из 9 шагов */
.svc-process-flow {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 2rem;
}

.svc-process-flow::before {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(100% / 18);
  right: calc(100% / 18);
  height: 2px;
  background: var(--svc-border);
  z-index: 0;
}

.svc-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  position: relative;
  z-index: 1;
  padding: 0 4px;
}

.svc-process-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--svc-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--svc-muted2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
  position: relative;
  z-index: 1;
}

.svc-process-step.is-done .svc-process-step__num {
  background: var(--svc-dark);
  border-color: var(--svc-dark);
  color: #fff;
}

.svc-process-step.is-active .svc-process-step__num {
  background: var(--svc-green);
  border-color: var(--svc-green);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(14, 126, 80, .15);
}

.svc-process-step__label {
  font-size: 11px;
  color: var(--svc-muted);
  line-height: 1.35;
  text-align: center;
  font-weight: 500;
}

.svc-process-step.is-done .svc-process-step__label {
  color: var(--svc-text);
  font-weight: 600;
}

.svc-process-step.is-active .svc-process-step__label {
  color: var(--svc-green);
  font-weight: 700;
}

/* Results-row — три карточки с зелёной чек-меткой */
.svc-results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.svc-result {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.2rem 1.3rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.svc-result__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--svc-green);
}

.svc-result__text {
  font-size: 13.5px;
  color: var(--svc-muted);
  line-height: 1.55;
}

.svc-result__text strong {
  color: var(--svc-text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 13.5px;
}

/* Shef-steps — вертикальный список с зелёным квадратиком и заголовком */
.svc-shef-steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.svc-shef-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--svc-border);
}

.svc-shef-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.svc-shef-step__num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--svc-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-page .svc-shef-step__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 .3rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
  line-height: 1.3;
}

.svc-shef-step__desc {
  font-size: 13.5px;
  color: var(--svc-muted);
  line-height: 1.6;
  margin: 0;
}

/* Tech-hero — тёмный hero с градиентами и stat-карточками */
.svc-tech-hero {
  background: var(--svc-dark);
  position: relative;
  overflow: hidden;
}

.svc-tech-hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 126, 80, .15) 0%, transparent 70%);
  pointer-events: none;
}

.svc-tech-hero::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .04) 0%, transparent 70%);
  pointer-events: none;
}

.svc-tech-hero__inner {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

/* Фоновая картинка справа в hero лазерной резки */
/* .svc-tech-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  max-width: 820px;
  display: block;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
} */
.svc-tech-hero__media img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  display: block;

}

@media (max-width: 991px) {
  .svc-tech-hero__media {
    display: none;
  }
}

.svc-tech-hero__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--svc-green2);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-tech-hero__tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--svc-green2);
}

.svc-page .svc-tech-hero__title {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.8px;
  line-height: 1.1;
  margin: 0 0 1rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

.svc-tech-hero__desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .5);
  max-width: 600px;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.svc-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  overflow: hidden;
  max-width: 800px;
}

.svc-hero-stat {
  background: rgba(255, 255, 255, .04);
  padding: 1.2rem 1.3rem;
  transition: background .2s;
}

.svc-hero-stat:hover {
  background: rgba(255, 255, 255, .07);
}

.svc-hero-stat__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(14, 126, 80, .25);
  border: 1px solid rgba(20, 160, 102, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .7rem;
  color: var(--svc-green2);
}

.svc-page .svc-hero-stat__title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .25rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
  line-height: 1.3;
}

.svc-hero-stat__desc {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  line-height: 1.45;
  margin: 0;
}

/* Phases — три фазы со стрелками между ними */
.svc-phases {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.svc-phase {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  text-align: center;
  position: relative;
}

.svc-phase__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--svc-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
}

.svc-page .svc-phase__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 .4rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: center;
  text-transform: none;
  line-height: 1.3;
}

.svc-phase__desc {
  font-size: 13px;
  color: var(--svc-muted);
  line-height: 1.55;
  margin: 0;
}

.svc-phase__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.6rem;
  color: var(--svc-border2);
}

/* Calc-card — тёмный калькулятор стоимости */
.svc-calc-card {
  background: var(--svc-dark);
  border: none;
  border-radius: var(--svc-radius);
  overflow: hidden;
  position: relative;
  animation: svc-up .35s ease both;
}

.svc-calc-card::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 126, 80, .12), transparent 70%);
  pointer-events: none;
}

.svc-calc-card__header {
  padding: 2rem 2rem 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.svc-page .svc-calc-card__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

.svc-calc-card__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 126, 80, .25);
  border: 1px solid rgba(20, 160, 102, .35);
  border-radius: 6px;
  padding: .45rem .9rem;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--svc-green2);
}

.svc-calc-card__body {
  padding: 1.5rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.svc-calc-card__alert {
  margin: 1rem 2rem 0;
  padding: .8rem 1rem;
  border-radius: 7px;
  font-size: 13.5px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.svc-calc-card__alert--success {
  background: rgba(20, 160, 102, .15);
  border: 1px solid rgba(20, 160, 102, .35);
  color: #c5f0d8;
}

.svc-calc-card__alert--error {
  background: rgba(220, 80, 80, .15);
  border: 1px solid rgba(220, 80, 80, .35);
  color: #fcb6b6;
}

.svc-calc-captcha {
  margin: 1rem 0 0;
}

.svc-calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.svc-calc-grid:nth-of-type(2) {
  margin-bottom: 1.5rem;
}

.svc-calc-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .35rem;
}

.svc-calc-req {
  color: var(--svc-green2);
}

.svc-calc-input,
.svc-calc-select {
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  padding: .7rem .9rem;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
  height: auto;
  box-shadow: none;
}

.svc-calc-input::placeholder {
  color: rgba(255, 255, 255, .25);
}

.svc-calc-input:focus,
.svc-calc-select:focus {
  border-color: var(--svc-green);
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
}

.svc-calc-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}

.svc-calc-select option {
  background: var(--svc-dark);
  color: #fff;
}

.svc-calc-file {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .05);
  border: 1px dashed rgba(255, 255, 255, .15);
  border-radius: 7px;
  padding: .65rem 1rem;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: border-color .2s, color .2s;
  width: 100%;
  justify-content: center;
  margin: 0;
}

.svc-calc-file input[type='file'] {
  display: none;
}

.svc-calc-file:hover {
  border-color: var(--svc-green);
  color: var(--svc-green2);
}

.svc-calc-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 16px;
}

.svc-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--svc-green);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: .9rem 2rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background .18s, transform .15s;
  flex-shrink: 0;
}

.svc-calc-btn:hover {
  background: var(--svc-green2);
  transform: translateY(-1px);
}

.svc-calc-agree {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .3);
  line-height: 1.5;
  margin: 0;
}

.svc-calc-agree a {
  color: var(--svc-green2);
  text-decoration: none;
}

/* Info-grid — две карточки с тегами */
.svc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  animation: svc-up .35s .28s ease both;
}

.svc-info {
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  box-shadow: var(--svc-shadow);
  padding: 1.8rem;
}

.svc-page .svc-info__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 1rem;
  padding: 0;
  letter-spacing: -.2px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
  line-height: 1.3;
}

.svc-info__icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--svc-green);
}

.svc-info__desc {
  font-size: 14px;
  color: var(--svc-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.svc-info__desc strong {
  color: var(--svc-text);
}

.svc-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: .4rem;
}

.svc-app-tag {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 6px;
  padding: .5rem 1rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--svc-muted);
  transition: border-color .2s, color .2s, background .2s;
  cursor: default;
}

.svc-app-tag:hover {
  border-color: var(--svc-green-b);
  background: var(--svc-green-l);
  color: var(--svc-green);
}

.svc-products-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 1rem;
}

.svc-product-tag {
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  border-radius: 6px;
  padding: .65rem .9rem;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--svc-green);
  text-align: center;
  line-height: 1.35;
}

/* Hero-banner — full-width баннер с фоновой картинкой и оверлеем (доставка) */
.svc-hero-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
}

.svc-hero-banner__picture,
.svc-hero-banner__picture img {
  display: block;
  width: 100%;
}

.svc-hero-banner__picture img {
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.svc-hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 20, .72) 0%, rgba(10, 30, 20, .35) 55%, transparent 80%);
  display: flex;
  align-items: center;
}

.svc-hero-banner__text {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.svc-hero-banner__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--svc-green2);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-hero-banner__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--svc-green2);
}

.svc-page .svc-hero-banner__title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.8px;
  line-height: 1.1;
  margin: 0 0 .7rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

.svc-hero-banner__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  max-width: 400px;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}

.svc-hero-banner__stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.svc-hero-banner__stat {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: .6rem 1.1rem;
  text-align: center;
}

.svc-hero-banner__stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.5px;
}

.svc-hero-banner__stat-val span {
  color: var(--svc-green2);
}

.svc-hero-banner__stat-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, .45);
  margin-top: 3px;
  white-space: nowrap;
}

/* Two-col — общий 2-колоночный лэйаут (оплата / доставка) */
.svc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1rem;
}

/* Pay-box: способы оплаты */
.svc-pay {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.3rem 1.4rem;
  border-top: 3px solid var(--svc-dark);
}

.svc-pay__title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--svc-dark);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.svc-pay__title svg {
  color: var(--svc-green);
}

.svc-pay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.svc-pay__list li {
  font-size: 13.5px;
  color: var(--svc-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.svc-pay__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--svc-green);
  border-radius: 50%;
}

/* Notice — модификатор предупреждения (оранжевый) */
.svc-notice--warn {
  background: #fdf8f4;
  border-color: #f5cdb0;
}

.svc-notice--warn .svc-notice__ico {
  background: #feede0;
  color: #c05a10;
}

/* Dlv-box: варианты доставки */
.svc-dlv {
  background: var(--svc-bg);
  border: 1px solid var(--svc-border);
  border-radius: 7px;
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svc-dlv__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.svc-dlv__num {
  width: 26px;
  height: 26px;
  background: var(--svc-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-page .svc-dlv__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
  line-height: 1.3;
}

.svc-dlv__items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.svc-dlv__item {
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: 6px;
  padding: .85rem 1rem;
}

.svc-dlv__label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--svc-green);
  margin-bottom: 3px;
}

.svc-dlv__item p {
  font-size: 13px;
  color: var(--svc-muted);
  line-height: 1.5;
  margin: 0;
}

.svc-dlv__item p strong {
  color: var(--svc-text);
  font-weight: 600;
}

/* Cost-banner — растяжка во всю ширину под main */
.svc-cost-banner {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, rgba(14, 126, 80, .08) 100%);
  border-top: 1px solid rgba(14, 126, 80, .12);
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

.svc-cost-banner::before {
  content: '';
  position: absolute;
  left: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 126, 80, .06) 0%, transparent 70%);
  pointer-events: none;
}

.svc-cost-banner__inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
  flex: 1;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  padding: 3.5rem 0;
  gap: 2rem;
  position: relative;
  z-index: 2;

}

.svc-cost-banner__right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
}

.svc-cost-banner__right img {
  width: 100%;
}

.svc-cost-banner__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--svc-green);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-cost-banner__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--svc-green);
}

.svc-page .svc-cost-banner__title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--svc-text);
  letter-spacing: -.6px;
  line-height: 1.15;
  margin: 0 0 .7rem;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  text-transform: none;
}

.svc-cost-banner__desc {
  font-size: 14.5px;
  color: var(--svc-muted);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 1.6rem;
}

.svc-cost-banner__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.svc-cost-banner__chip {
  background: var(--svc-green-l);
  border: 1px solid var(--svc-green-b);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--svc-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.svc-cost-banner__chip svg {
  color: var(--svc-green);
}

.svc-cost-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--svc-green);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: .9rem 1.8rem;
  border-radius: 7px;
  transition: background .18s, transform .15s;
}

.svc-cost-banner__btn:hover {
  background: var(--svc-green2);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

@keyframes svc-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {

  /* .svc-page__inner { padding-left: 1.2rem; padding-right: 1.2rem; } */
  .svc-page__title {
    font-size: 26px;
  }

  .svc-products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-split-grid {
    grid-template-columns: 1fr;
  }

  .svc-split-hero {
    grid-template-columns: 1fr;
  }

  .svc-hero-panel--dark {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .svc-cost-factors {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-process-flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
  }

  .svc-process-flow::before {
    display: none;
  }

  .svc-results-row {
    grid-template-columns: 1fr;
  }

  .svc-shef-step {
    grid-template-columns: auto 1fr;
    gap: .9rem;
  }

  .svc-hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .svc-phases {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .svc-phase__arrow {
    display: none;
  }

  .svc-calc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-calc-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .9rem;
  }

  .svc-info-grid {
    grid-template-columns: 1fr;
  }

  .svc-products-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-two-col {
    grid-template-columns: 1fr;
  }

  .svc-hero-banner__picture img {
    height: 320px;
  }

  .svc-hero-banner__stats {
    gap: .6rem;
  }

  .svc-cost-banner__inner {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .svc-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-gallery--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-page__badges {
    display: none;
  }

  .svc-card__head-label {
    display: none;
  }

  .svc-nav__inner {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.2rem;
  }

  .svc-nav__inner::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .svc-nav__tab {
    min-width: 140px;
    font-size: 11px;
    padding: 1rem .6rem .9rem;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .svc-page__badge {
    display: none;
  }

  .svc-page__header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .svc-cost-banner__inner {
    display: block;
  }

  .svc-cost-banner__right {
    display: none;
  }
}

@media (max-width: 767px) {
  .svc-page .svc-page__title {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .svc-products-grid {
    grid-template-columns: 1fr;
  }

  .svc-features-grid {
    grid-template-columns: 1fr;
  }

  .svc-tech-grid {
    grid-template-columns: 1fr;
  }

  .svc-benefits-grid {
    grid-template-columns: 1fr;
  }

  .svc-cost-factors {
    grid-template-columns: 1fr 1fr;
  }

  .svc-process-flow {
    grid-template-columns: 1fr 1fr;
  }

  .svc-gallery--3 {
    grid-template-columns: 1fr;
  }

  .svc-hero-stats {
    grid-template-columns: 1fr;
  }

  .svc-calc-grid {
    grid-template-columns: 1fr;
  }

  .svc-products-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Header — верхний ряд: логотип + поиск + телефон + заказать звонок
   ========================================================================== */

:root {
  --hdr-icon-size: 40px;
  --hdr-icon-svg: 20px;
  --hdr-icon-bg: #f3f5f7;
  --hdr-icon-bg-hover: #0e7e50;
  --hdr-badge-bg: #0e7e50;
  --hdr-accent: #0e7e50;
  --hdr-text: #0b0b0b;
  --hdr-muted: #6b7280;
}

.header-wrap>header.container.header-top__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
}

@media (max-width: 1360px) {

  .header-wrap>header.container.header-top__inner,
  .header-bottom.container {
    display: none !important;
  }
}

.header-wrap>header.container.header-top__inner .logo-header {
  flex: 0 0 auto;
}

.header-wrap>header.container.header-top__inner .searcher {
  flex: 1 1 auto;
  min-width: 0;
}

.header-wrap>header.container.header-top__inner .header-contact {
  flex: 0 0 auto;
}

/* Контактные блоки (телефон / поддержка) */
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--hdr-text);
  transition: color .2s ease;
}

a.header-contact:hover {
  color: var(--hdr-accent);
}

.header-contact--phone .header-contact__value {
  color: var(--hdr-text);
  text-decoration: none;
  transition: color .2s ease;
}

.header-contact--phone .header-contact__value:hover {
  color: var(--hdr-accent);
}

.header-contact__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 126, 80, 0.08);
  border: 1.5px dashed rgba(14, 126, 80, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hdr-accent);
  flex-shrink: 0;
  transition: background .2s ease;
}

a.header-contact:hover .header-contact__icon {
  background: rgba(14, 126, 80, 0.15);
}

.header-contact__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.header-contact__body {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-contact__label {
  color: var(--hdr-muted);
  font-size: 13px;
  font-weight: 500;
}

.header-contact__value {
  color: var(--hdr-text);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.header-contact__value--secondary {
  font-weight: 500;
  font-size: 13px;
  color: var(--hdr-muted);
  margin-top: 2px;
}

.header-contact__value--accent {
  color: var(--hdr-accent);
  font-weight: 700;
}

.header-contact:hover .header-contact__value--accent {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Поиск — pill с круглой зелёной кнопкой-лупой */
.header-wrap .searcher .sp-form {
  width: 100%;
  margin: 0;
  display: flex;
}

.header-wrap .searcher .input-group {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 60px 6px 24px;
  display: flex;
  align-items: center;
  transition: border-color .2s ease, box-shadow .2s ease;
  flex-grow: 1;
}

.header-wrap .searcher .input-group:focus-within {
  border-color: var(--hdr-accent);
  box-shadow: 0 0 0 3px rgba(14, 126, 80, .12);
}

.header-wrap .searcher .form-control {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  height: 36px;
  font-size: 15px;
  padding: 0;
  box-shadow: none;
  color: var(--hdr-text);
}

.header-wrap .searcher .form-control::placeholder {
  color: #9ca3af;
}

.header-wrap .searcher .btn-search {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--hdr-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  padding: 0;
}

.header-wrap .searcher .btn-search:hover {
  background: #086c43;
}

.header-wrap .searcher .btn-search:active {
  transform: translateY(-50%) scale(0.96);
}

.header-wrap .searcher .btn-search img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   Header — нижний ряд: каталог + меню + избранное + ЛК + корзина
   ========================================================================== */

.header-bottom.container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header-bottom .catalog-link-main,
.header-bottom .header-favorite,
.header-bottom .header-lk,
.header-bottom #shopping-cart-widget {
  flex: 0 0 auto;
}

.header-bottom .catalog-link-main {
  width: fit-content;
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
  gap: 10px;
}

.header-bottom .catalog-link-main>span {
  margin: 0;
}

.header-bottom .header-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.header-bottom .header-nav .menu_header {
  height: auto;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.header-bottom .header-nav .menu_header li {
  height: auto;
  margin-right: 0;
  font-size: 15px;
}

.header-bottom .header-nav .menu_header li a {
  height: auto;
  width: auto;
  padding: 6px 0;
  white-space: nowrap;
}

/* ==========================================================================
   Header — компактные иконки: избранное / корзина / личный кабинет
   ========================================================================== */

.header-favorite .favorite-name,
#shopping-cart-widget .cart-name,
.header-lk .fullName {
  display: none !important;
}

.header-bottom .header-favorite .but-favorite,
.header-bottom #shopping-cart-widget .cart-header {
  width: var(--hdr-icon-size);
  height: var(--hdr-icon-size);
  border-radius: 50%;
  background: var(--hdr-icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background .2s ease;
  text-decoration: none;
  color: inherit;
  padding: 0;
}

.header-bottom .header-favorite .but-favorite svg,
.header-bottom #shopping-cart-widget .cart-header svg {
  width: var(--hdr-icon-svg);
  height: var(--hdr-icon-svg);
  display: block;
  color: var(--hdr-text);
  transition: color .2s ease, stroke .2s ease, fill .2s ease;
}

.header-bottom .header-favorite .but-favorite:hover svg,
.header-bottom #shopping-cart-widget .cart-header:hover svg {
  color: #fff;
}

.header-bottom .header-favorite .but-favorite:hover,
.header-bottom #shopping-cart-widget .cart-header:hover {
  background: var(--hdr-icon-bg-hover);
}

.header-bottom .header-favorite .but-favorite:hover svg path[stroke] {
  stroke: #fff;
}

.header-bottom .header-favorite .but-favorite:hover svg path[fill]:not([fill="none"]) {
  fill: #fff;
}

.header-bottom #shopping-cart-widget .cart-header:hover svg path[fill]:not([fill="none"]) {
  fill: #fff;
}

/* Бейдж-счётчик в правом верхнем углу иконки */
.header-bottom .header-favorite .but-favorite .but-favorite__count,
.header-bottom #shopping-cart-widget .cart-header .cart_bb {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--hdr-badge-bg);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 2px solid #fff;
  pointer-events: none;
  left: auto;
}

.header-bottom .header-favorite .but-favorite .but-favorite__count:not(.active),
.header-bottom #shopping-cart-widget .cart-header .cart_bb:not(.active) {
  display: none;
}

/* Сбрасываем легаси-фон у обёрток корзины (был серый прямоугольник) */
.header-bottom #shopping-cart-widget.shoppingCart-widget,
.header-bottom #shopping-cart-widget .but-cart {
  width: auto;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Цвет SVG-иконки корзины — по умолчанию тёмный (на мобиле родитель отдавал синий) */
.cart-header svg {
  color: #212121;
}

#shopping-cart-widget.but-cart,
.header-bottom #shopping-cart-widget {
  position: relative;
}

/* ==========================================================================
   Header — личный кабинет (гость / авторизован)
   ========================================================================== */

.header-lk {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  background-image: none;
}

.header-lk .header-lk__item {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
}

/* Гость — круглая SVG-кнопка + дропдаун */
.header-lk__guest {
  position: relative;
}

.header-lk__btn {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: var(--hdr-icon-size);
  height: var(--hdr-icon-size);
  border-radius: 50%;
  background: var(--hdr-icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.header-lk__btn svg {
  width: var(--hdr-icon-svg);
  height: var(--hdr-icon-svg);
  display: block;
  color: var(--hdr-text);
  transition: color .2s ease;
}

.header-lk__btn:hover,
.header-lk__guest.is-open .header-lk__btn {
  background: var(--hdr-icon-bg-hover);
}

.header-lk__btn:hover svg,
.header-lk__guest.is-open .header-lk__btn svg {
  color: #fff;
}

.header-lk__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 50;
}

.header-lk__guest.is-open .header-lk__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-lk__dropdown-item {
  display: block;
  padding: 10px 16px;
  color: var(--hdr-text);
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.header-lk__dropdown-item:hover {
  background: #f3f8f5;
  color: var(--hdr-accent);
}

/* Авторизован — круг с первой буквой имени или аватаром */
.header-lk .lk-visible-menu {
  width: var(--hdr-icon-size);
  height: var(--hdr-icon-size);
  border-radius: 50%;
  background: var(--hdr-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  transition: filter .2s ease;
}

.header-lk .lk-visible-menu:hover {
  filter: brightness(0.92);
}

.header-lk .lk-visible-menu__img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin-right: 0 !important;
}

.header-lk .lk-visible-menu__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Homepage — карточки каталога продукции (.hpc-grid / .hpc-card)
   ========================================================================== */

.hpc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.hpc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: 14px;
  text-decoration: none;
  color: #0b0b0b;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hpc-card:hover {
  border-color: #0e7e50;
  box-shadow: 0 6px 20px rgba(14, 126, 80, .10);
  transform: translateY(-2px);
}

.hpc-card__icon {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f3f5f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  transition: background .2s ease, color .2s ease;
}

.hpc-card__icon>svg,
.hpc-card__icon>img {
  width: 45px;
  height: 45px;
  display: block;
}

.hpc-card__icon img {
  object-fit: contain;
}

.hpc-card:hover .hpc-card__icon {
  background: rgba(14, 126, 80, .12);
  color: #0e7e50;
}

/* Перекрашиваем inline-svg-иконки на hover */
.hpc-card:hover .hpc-card__icon svg path[fill]:not([fill="none"]) {
  fill: #0e7e50;
  transition: fill .2s ease;
}

.hpc-card:hover .hpc-card__icon svg path[stroke]:not([stroke="none"]) {
  stroke: #0e7e50;
  transition: stroke .2s ease;
}

.hpc-card__title {
  flex: 1 1 auto;
  font-family: PLB, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0b0b0b;
  line-height: 1.3;
}

.hpc-card__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color .2s ease, transform .2s ease;
}

.hpc-card__arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hpc-card:hover .hpc-card__arrow {
  color: #0e7e50;
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .hpc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .hpc-grid {
    grid-template-columns: 1fr;
  }

  .hpc-card {
    padding: 14px 16px;
  }
}

/* ==========================================================================
   Homepage — баннер «Услуги и сервисы» (.hsv-banner)
   ========================================================================== */


.hsv-banner {
  margin-top: 32px;
  margin-bottom: 32px;
}

.hsv-banner__inner {
  background: #1a2438;
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.hsv-banner__intro {
  flex: 0 0 auto;
  max-width: 240px;
}

.hsv-banner__title {
  font-family: PLB, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #fff;
}

.hsv-banner__sub {
  font-size: 13px;
  line-height: 1.4;
  color: #94a3b8;
  margin: 0;
}

.hsv-banner__list {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.hsv-banner__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 12.5px;
  line-height: 1.3;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  flex-grow: 1;
  min-height: 55px;
}

.hsv-banner__item:hover {
  background: rgba(14, 126, 80, .18);
  border-color: rgba(14, 126, 80, .55);
  transform: translateY(-2px);
}

.hsv-banner__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #0e7e50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hsv-banner__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hsv-banner__label {
  white-space: normal;
  max-width: 170px;
  font-weight: 500;
  color: #fff;
}

@media (max-width: 1199px) {
  .hsv-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .hsv-banner__intro {
    max-width: none;
  }

  .hsv-banner__list {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hsv-banner__list {
    flex-direction: column;
  }

  .hsv-banner__item {
    width: 100%;
  }

  .hsv-banner__label {
    white-space: normal;
    .page_title--main
  }
}

/* ==========================================================================
   Homepage — производство (.hv-grid): большой квадрат + 4 в сетке 2×2
   На мобиле — горизонтальный скролл с 1.5 видимыми карточками, gap 8
   ========================================================================== */

.hv-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.hv-grid .hv-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1c1c1c;
  cursor: pointer;
  aspect-ratio: auto;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.hv-grid .hv-card--big {
  grid-column: 1;
  grid-row: 1 / span 2;
  aspect-ratio: 1 / 1;
}

.hv-grid .hv-card:hover,
.hv-grid .hv-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 126, 80, .25);
  outline: none;
}

.hv-grid .hv-card__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.hv-grid .hv-card:hover .hv-card__poster {
  transform: scale(1.04);
}

.hv-grid .hv-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e7e50;
  background: #fff;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
  transition: transform .25s ease, color .25s ease;
  pointer-events: none;
}

.hv-grid .hv-card__play svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hv-grid .hv-card:hover .hv-card__play,
.hv-grid .hv-card:focus-visible .hv-card__play {
  transform: scale(1.08);
  color: #14a76b;
}

/* Mobile — горизонтальный скролл, 1.5 карточки видны, gap 8 */
@media (max-width: 991px) {
  .hv-grid {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .hv-grid::-webkit-scrollbar {
    display: none;
  }

  .hv-grid .hv-card,
  .hv-grid .hv-card--big {
    flex: 0 0 calc((100% - 8px) / 1.5);
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16 / 9;
    scroll-snap-align: start;
  }
}

.tabs-hits .product-box__footer {
  display: flex !important;
}

.about-container {
  border-bottom: 0 !important;
}

@media (max-width: 520px) {

  .hv-grid .hv-card,
  .hv-grid .hv-card--big {
    aspect-ratio: 16 / 11;
  }

  .hv-grid .hv-card__play {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
  }
}

/* ============================================================
   News block on homepage (.nws-*) — redesign apr 2026
   Replaces old .last-news / .ln__item markup. The wrapper
   .news-section / .news-container in homepage/hp/page.php is
   kept; new styles fully override layout via .nws-block scope.
   ============================================================ */
.news-section {
  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: clamp(48px, 6vw, 60px);
  margin-bottom: clamp(48px, 6vw, 60px);
}

.news-section .container.news-container {
  padding-top: 0;
  padding-bottom: 20px;
}

.nws-block {
  --nws-green: #0e7e50;
  --nws-green-hover: #0a6440;
  --nws-text: #0f1419;
  --nws-muted: #6b7280;
  --nws-border: #e6e8ee;
  --nws-card-bg: #ffffff;
  --nws-bg-soft: #f5f6f8;
}

.nws-block__head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.nws-block__title {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--nws-text);
  margin: 0;
}

.nws-block__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 145px;
  height: 35px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--nws-border);
  color: var(--nws-green);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 20, 25, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.nws-block__all:hover,
.nws-block__all:focus-visible {
  border-color: var(--nws-green);
  color: var(--nws-green-hover);
  box-shadow: 0 4px 14px rgba(14, 126, 80, 0.18);
  text-decoration: none;
}

.nws-block__all-arrow {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.nws-block__all:hover .nws-block__all-arrow {
  transform: translateX(3px);
}

.nws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nws-card {
  display: flex;
  flex-direction: column;
  background: var(--nws-card-bg);
  border: 1px solid var(--nws-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nws-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 126, 80, 0.4);
  box-shadow: 0 18px 40px -18px rgba(15, 20, 25, 0.18);
}

.nws-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 42 / 25;
  overflow: hidden;
  background: var(--nws-bg-soft);
}

.nws-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.nws-card:hover .nws-card__img {
  transform: scale(1.04);
}

.nws-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1 1 auto;
}

.nws-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nws-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.nws-card__date-ico {
  flex-shrink: 0;
  color: var(--nws-muted);
}

.nws-card__title {
  font-family: inherit;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
  color: var(--nws-text);
}

.nws-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.nws-card__title a:hover {
  color: var(--nws-green);
  text-decoration: none;
}

.nws-card__text {
  margin: 0;
  color: var(--nws-muted);
  font-size: 15px;
  line-height: 1.55;
}

.nws-card__more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nws-green);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  align-self: flex-start;
  transition: color .2s ease, gap .2s ease;
}

.nws-card__more svg {
  transition: transform .2s ease;
}

.nws-card__more:hover {
  color: var(--nws-green-hover);
  text-decoration: none;
}

.nws-card__more:hover svg {
  transform: translateX(4px);
}

/* News listing page (/news) — same tile system, page-level layout */
.nws-page {
  --nws-green: #0e7e50;
  --nws-text: #0f1419;
  --nws-muted: #6b7280;
  --nws-border: #e6e8ee;
  padding-bottom: 60px;
}

.nws-page .container {
  padding-top: 20px;
}

.nws-page__title {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--nws-text);
  margin: 0 0 28px;
}

.nws-page .summary {
  color: var(--nws-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.nws-grid--page {
  margin-bottom: 32px;
}

.nws-page .pagination-box {
  margin-top: 12px;
}

/* Unified round pagination (news listing + product listings) */
.pagination-box ul.pagination,
.pagination-box-category ul.pagination {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pagination-box ul.pagination>li,
.pagination-box-category ul.pagination>li {
  display: inline-flex;
  margin: 0;
  border: 0;
  background: transparent;
}

.pagination-box ul.pagination>li>a,
.pagination-box ul.pagination>li>span,
.pagination-box-category ul.pagination>li>a,
.pagination-box-category ul.pagination>li>span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--hdr-text, #0b0b0b) !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: none !important;
  transition: background .15s ease, color .15s ease;
}

/* News listing keeps grey idle background */
.nws-page .pagination-box ul.pagination>li>a,
.nws-page .pagination-box ul.pagination>li>span {
  background: var(--hdr-icon-bg, #f3f5f7) !important;
}

.pagination-box ul.pagination>li>a:hover,
.pagination-box ul.pagination>li>a:focus,
.pagination-box-category ul.pagination>li>a:hover,
.pagination-box-category ul.pagination>li>a:focus {
  background: rgba(14, 126, 80, 0.08) !important;
  color: var(--hdr-accent, #0e7e50) !important;
}

.pagination-box ul.pagination>li.active>a,
.pagination-box ul.pagination>li.active>span,
.pagination-box-category ul.pagination>li.active>a,
.pagination-box-category ul.pagination>li.active>span {
  background: rgba(14, 126, 80, 0.08) !important;
  color: var(--hdr-accent, #0e7e50) !important;
}

.pagination-box ul.pagination>li.disabled>a,
.pagination-box ul.pagination>li.disabled>span,
.pagination-box-category ul.pagination>li.disabled>a,
.pagination-box-category ul.pagination>li.disabled>span {
  opacity: .4;
  pointer-events: none;
}

.pagination-box ul.pagination>li>a i,
.pagination-box ul.pagination>li>span i,
.pagination-box-category ul.pagination>li>a i,
.pagination-box-category ul.pagination>li>span i {
  font-style: normal;
  font-size: 10px;
  line-height: 1;
}

@media (max-width: 991px) {
  .nws-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .nws-card__body {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .news-section {
    margin-top: 40px;
  }

  .nws-block__head {
    margin-bottom: 22px;
    gap: 16px;
  }

  .nws-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nws-card__body {
    padding: 18px;
    gap: 10px;
  }

  .nws-card__title {
    font-size: 18px;
  }

  .nws-block__all {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* ============================================================
   Contact form section (.cf-*) — homepage redesign apr 2026
   Replaces .container-form / .form-info / .form-sender block.
   Background AVIFs to be supplied later — placeholders below.
   ============================================================ */
.cf-section {
  --cf-green: #0e7e50;
  --cf-green-hover: #0a6440;
  --cf-green-tint: rgba(14, 126, 80, 0.08);
  --cf-text: #0f1419;
  --cf-muted: #6b7280;
  --cf-border: #e6e8ee;
  --cf-bg-soft: #f5f6f8;
  --cf-card-bg: #ffffff;
  margin-top: 60px;
  margin-bottom: 60px;
}

.cf-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.cf-card {
  position: relative;
  background: var(--cf-card-bg);
  border: 1px solid var(--cf-border);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}

img.cf-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  display: block;
}

img.cf-card__bg--left {
  object-position: left center;
}

img.cf-card__bg--right {
  object-position: right center;
}

.cf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cf-card--info::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.92) 45%, #fff 70%);
}

.cf-card--cta::before {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.92) 45%, #fff 75%);
}

.cf-card__content {
  position: relative;
  z-index: 2;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
}

.cf-card--info .cf-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
}

.cf-card--info .cf-eyebrow,
.cf-card--info .cf-title,
.cf-card--info .cf-lead {
  grid-column: 1;
}

.cf-card--info .cf-list {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

.cf-eyebrow {
  display: inline-flex;
  color: var(--cf-green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.cf-title {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cf-text);
  margin: 0 0 14px;
}

.cf-lead {
  margin: 0;
  color: var(--cf-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 420px;
}

.cf-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cf-item__ico {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cf-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cf-green);
  box-shadow: 0 2px 8px rgba(15, 20, 25, 0.04);
}

.cf-item__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cf-item__label {
  color: var(--cf-muted);
  font-size: 14px;
  font-weight: 500;
}

.cf-item__value {
  color: var(--cf-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.cf-item__value--link {
  color: var(--cf-green);
  text-decoration: none;
  transition: color .2s ease;
}

.cf-item__value--link:hover {
  color: var(--cf-green-hover);
  text-decoration: none;
}

.cf-card--cta .cf-card__content {
  padding: 44px 40px;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  min-height: 100%;
}

.cf-cta-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cf-green-tint);
  color: var(--cf-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cf-cta-title {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--cf-text);
  margin: 0 0 4px;
}

.cf-cta-text {
  margin: 0 0 12px;
  color: var(--cf-muted);
  font-size: 15px;
  line-height: 1.55;
}

.cf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 12px;
  background: var(--cf-green);
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cf-cta-btn:hover,
.cf-cta-btn:focus {
  background: var(--cf-green-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(14, 126, 80, 0.55);
}

.cf-cta-btn svg {
  transition: transform .2s ease;
}

.cf-cta-btn span {
  white-space: nowrap;
}

.cf-cta-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .cf-row {
    grid-template-columns: 1fr;
  }

  .cf-card__content {
    padding: 32px 28px;
  }

  .cf-card--info .cf-card__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cf-card--info .cf-list {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .cf-section {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .cf-card {
    border-radius: 20px;
  }

  .cf-card__content {
    padding: 26px 22px;
  }

  .cf-card--cta .cf-card__content {
    padding: 26px 22px;
  }

  .cf-item__ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .cf-item__value {
    font-size: 16px;
  }

  .cf-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* ============================================================
   Mobile header — wrap search/favorite/cart icons into the same
   green circle used by the user avatar (.lk-visible-menu).
   ============================================================ */
.header-mobile .magnifer,
.header-mobile .but-favorite,
.header-mobile #cart-mobile .cart-header {
  width: var(--hdr-icon-size, 40px);
  height: var(--hdr-icon-size, 40px);
  border-radius: 50%;
  background: var(--hdr-icon-bg, #f3f5f7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  color: var(--hdr-text, #0b0b0b);
  text-decoration: none;
  padding: 0;
  transition: background .2s ease;
}

.header-mobile .magnifer {
  margin-left: auto;
}

.header-mobile .but-favorite,
.header-mobile #cart-mobile {
  margin-left: 8px;
}

.header-mobile .toggler {
  margin-left: 8px;
}

.header-mobile .magnifer:hover,
.header-mobile .but-favorite:hover,
.header-mobile #cart-mobile .cart-header:hover {
  background: var(--hdr-icon-bg-hover, #0e7e50);
}

.header-mobile .magnifer img {
  width: var(--hdr-icon-svg, 20px);
  height: var(--hdr-icon-svg, 20px);
  transition: filter .2s ease;
}

.header-mobile .magnifer:hover img {
  filter: brightness(0) invert(1);
}

.header-mobile .but-favorite svg,
.header-mobile #cart-mobile .cart-header svg {
  width: var(--hdr-icon-svg, 20px);
  height: var(--hdr-icon-svg, 20px);
  display: block;
  color: var(--hdr-text, #0b0b0b);
  transition: color .2s ease, stroke .2s ease, fill .2s ease;
}

.header-mobile .but-favorite:hover svg,
.header-mobile #cart-mobile .cart-header:hover svg {
  color: #fff;
}

.header-mobile .but-favorite:hover svg path[stroke] {
  stroke: #fff;
}

.header-mobile .but-favorite:hover svg path[fill]:not([fill="none"]) {
  fill: #fff;
}

.header-mobile #cart-mobile .cart-header:hover svg path[stroke] {
  stroke: #fff;
}

/* Cart inner wrapper — drop legacy box look so circle isn't broken */
.header-mobile #cart-mobile,
.header-mobile #cart-mobile .but-cart {
  width: auto;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.header-mobile #cart-mobile .cart-name,
.header-mobile #cart-mobile .cfn {
  display: none !important;
}

/* Counters: float on top-right corner of the icon */
.header-mobile .but-favorite .but-favorite__count,
.header-mobile #cart-mobile .cart-header .cart_bb {
  position: absolute;
  top: -5px;
  right: -5px;
  left: auto;
  width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--hdr-badge-bg, #0e7e50);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 2px solid #fff;
  pointer-events: none;
}

.header-mobile .but-favorite .but-favorite__count:not(.active),
.header-mobile #cart-mobile .cart-header .cart_bb:not(.active) {
  display: none;
}

@media (max-width:480px) {

  .header-mobile #cart-mobile .cart-header,
  .header-lk .lk-visible-menu {
    width: 36px;
    height: 36px;
  }

  .lm__name .tel-header-mobile {
    font-size: 12px;
  }

  .lm__name {
    font-size: 15px;
  }

  .lm__img {
    width: 40px;
    height: 40px;
  }
}

.form-white button,
.form-white input[type=submit],
.new-reg .but-black,
.catalog-link-main,
#CallbackEmail .contact-us,
#CallbackEmail .redButton,
#CallbackFormEmail .contact-us,
#CallbackFormEmail .redButton,
#CallbackProduct .contact-us,
#CallbackProduct .redButton,
#callbackModal .contact-us,
#callbackModal .redButton,
#reviewZayavkaModal .contact-us,
#reviewZayavkaModal .redButton,
.form-block .info-btn {
  border-radius: 4px;
}

.form-block .info-btn {
  color: #212121;
}

#pmYandex .modal-header {
  display: flex;
  justify-content: flex-end;
}

#pmYandex .modal-body iframe {
  height: 93% !important;
}

.dc__img img {
  width: 200px;
}

.page_title--main {
  margin-top: 72px;
}


@media (max-width: 767px) {

  .page_title--main,
  .home-videos {
    margin-top: 42px;
  }

  main {
    padding: 20px 0 48px;
  }

  .cf-section {
    margin-top: 0;

  }
}

/* ===========================================================================
   News rebranding page (.nrb-*)
   View: themes/default/views/news/news/rebranding.php
   =========================================================================== */
.nrb-root {
  --nrb-green: #0e7e50;
  --nrb-green-deep: #0a5e3b;
  --nrb-green-soft: #e8f3ed;
  --nrb-ink: #0f1614;
  --nrb-ink-2: #2a3431;
  --nrb-muted: #6b7771;
  --nrb-line: #e3e7e5;
  --nrb-bg: #ffffff;
  --nrb-bg-tint: #f5f7f6;
  --nrb-radius: 16px;
  --nrb-radius-sm: 10px;
  --nrb-container: 1320px;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--nrb-ink);
  background: var(--nrb-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

.nrb-root *,
.nrb-root *::before,
.nrb-root *::after {
  box-sizing: border-box;
}

.nrb-container {
  max-width: var(--nrb-container);
  margin: 0 auto;
  padding: 0 32px;
}

.nrb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nrb-green);
}

.nrb-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--nrb-green);
}

/* Hero */
.nrb-hero {
  position: relative;
  background: #0b1311;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.nrb-hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 17, 15, .96) 0%, rgba(8, 17, 15, .85) 38%, rgba(8, 17, 15, .45) 70%, rgba(8, 17, 15, .25) 100%),
    url("../images/photo-1565043589221-1a6fd9ae45c7.avif");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.nrb-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 90%);
}

.nrb-hero__inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 72px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nrb-hero__top {
  max-width: 780px;
}

.nrb-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 36px;
  letter-spacing: .02em;
}

.nrb-hero__crumbs a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color .2s ease;
}

.nrb-hero__crumbs a:hover {
  color: #3ed694;
}

.nrb-hero__crumbs__sep {
  color: rgba(255, 255, 255, .28);
  display: inline-flex;
  align-items: center;
}

.nrb-hero__crumbs__sep svg {
  width: 10px;
  height: 10px;
}

.nrb-hero__crumbs__current {
  color: #fff;
  font-weight: 500;
}

.nrb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--nrb-green);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nrb-hero__eyebrow svg {
  width: 14px;
  height: 14px;
}

.nrb-hero h1 {
  font-size: 72px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 28px 0 20px;
  text-wrap: balance;
  color: #fff;
}

.nrb-hero h1 .nrb-accent {
  color: #3ed694;
}

.nrb-hero__sub {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 640px;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 36px;
}

.nrb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nrb-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.nrb-chip svg {
  width: 16px;
  height: 16px;
  color: #3ed694;
}

.nrb-hero__meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
  letter-spacing: .04em;
}

.nrb-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nrb-hero__meta-item svg {
  width: 14px;
  height: 14px;
  color: #3ed694;
}

.nrb-hero__meta-cat {
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
}

/* Lead */
.nrb-lead {
  padding: 96px 0 72px;
  background: var(--nrb-bg);
}

.nrb-lead__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.nrb-lead__text {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--nrb-ink);
  margin-top: 20px;
  text-wrap: pretty;
}

.nrb-lead__text strong {
  color: var(--nrb-green);
  font-weight: 600;
}

/* Features */
.nrb-features {
  padding: 72px 0 96px;
  background: var(--nrb-bg-tint);
  border-top: 1px solid var(--nrb-line);
  border-bottom: 1px solid var(--nrb-line);
}

.nrb-features__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.nrb-features__head h2 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 14px 0 0;
  max-width: 640px;
}

.nrb-features__count {
  font-size: 13px;
  color: var(--nrb-muted);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.nrb-features__count b {
  color: var(--nrb-ink);
  font-weight: 600;
}

.nrb-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.nrb-feature {
  background: #fff;
  border: 1px solid var(--nrb-line);
  border-radius: var(--nrb-radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.nrb-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px -20px rgba(14, 126, 80, .25);
  border-color: var(--nrb-green);
}

.nrb-feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--nrb-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--nrb-green);
  background: var(--nrb-green-soft);
}

.nrb-feature__icon svg {
  width: 28px;
  height: 28px;
}

.nrb-feature__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nrb-muted);
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.nrb-feature h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}

.nrb-feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--nrb-muted);
  margin: 0;
}

/* Product (бордюры) */
.nrb-product {
  padding: 120px 0;
  background: var(--nrb-bg);
}

.nrb-product__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: center;
}

.nrb-product__text h2 {
  font-size: 54px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 16px 0 24px;
  text-wrap: balance;
}

.nrb-product__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--nrb-ink-2);
  margin: 0 0 36px;
  text-wrap: pretty;
}

.nrb-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nrb-bullets li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--nrb-bg-tint);
  border-left: 3px solid var(--nrb-green);
  border-radius: 0 var(--nrb-radius-sm) var(--nrb-radius-sm) 0;
}

.nrb-bullets__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nrb-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.nrb-bullets__icon svg {
  width: 16px;
  height: 16px;
}

.nrb-bullets__title {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
  color: var(--nrb-ink);
}

.nrb-bullets__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--nrb-muted);
}

.nrb-product__media {
  position: relative;
  border-radius: var(--nrb-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #1a201e;
}

.nrb-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nrb-product__media figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(8, 17, 15, .78);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--nrb-radius-sm);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nrb-product__media figcaption::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ed694;
  box-shadow: 0 0 0 4px rgba(62, 214, 148, .18);
}

.nrb-product__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--nrb-green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Applications (chip cloud) */
.nrb-apps {
  padding: 80px 0 96px;
  background: var(--nrb-bg-tint);
  border-top: 1px solid var(--nrb-line);
}

.nrb-apps h3 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 14px 0 36px;
  max-width: 760px;
}

.nrb-apps__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nrb-apps__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--nrb-line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--nrb-ink);
  transition: all .2s ease;
  cursor: default;
}

.nrb-apps__chip:hover {
  border-color: var(--nrb-green);
  color: var(--nrb-green);
  transform: translateY(-2px);
}

.nrb-apps__chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nrb-green);
  flex-shrink: 0;
}

/* Quote */
.nrb-quote-wrap {
  padding: 96px 0;
  background: var(--nrb-bg);
}

.nrb-quote {
  background: linear-gradient(135deg, var(--nrb-green-deep) 0%, #073e27 100%);
  border-radius: var(--nrb-radius);
  padding: 72px 80px 64px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.nrb-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #3ed694;
}

.nrb-quote__mark {
  position: absolute;
  top: -30px;
  right: 60px;
  font-family: 'Inter', serif;
  font-size: 280px;
  line-height: 1;
  font-weight: 700;
  color: rgba(62, 214, 148, .12);
  pointer-events: none;
  user-select: none;
}

.nrb-quote__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3ed694;
  margin-bottom: 24px;
}

.nrb-quote__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #3ed694;
}

.nrb-quote__text {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.005em;
  max-width: 880px;
  position: relative;
  text-wrap: pretty;
  margin: 0 0 36px;
}

.nrb-quote__author {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.nrb-quote__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ed694, #0e7e50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #0a3d27;
  letter-spacing: .02em;
}

.nrb-quote__name {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  display: block;
}

.nrb-quote__role {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-top: 2px;
  display: block;
}

/* Stats */
.nrb-stats {
  padding: 0 0 96px;
  background: var(--nrb-bg);
}

.nrb-stats__head {
  margin-bottom: 48px;
  max-width: 720px;
}

.nrb-stats__head h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}

.nrb-stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--nrb-line);
  border-radius: var(--nrb-radius);
  overflow: hidden;
  background: #fff;
}

.nrb-stat {
  padding: 40px 32px;
  border-right: 1px solid var(--nrb-line);
  position: relative;
}

.nrb-stat:last-child {
  border-right: none;
}

.nrb-stat__num {
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  color: var(--nrb-green);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.nrb-stat__num small {
  font-size: 24px;
  font-weight: 600;
  color: var(--nrb-green);
  letter-spacing: 0;
}

.nrb-stat__label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--nrb-muted);
}

.nrb-stat__index {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--nrb-muted);
  font-weight: 600;
}

/* CTA */
.nrb-cta-wrap {
  padding: 0 0 80px;
}

.nrb-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(62, 214, 148, .18) 0%, transparent 55%),
    linear-gradient(135deg, var(--nrb-green-deep) 0%, #062b1c 100%);
  border-radius: var(--nrb-radius);
  padding: 80px 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.nrb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: linear-gradient(135deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 70%);
}

.nrb-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.nrb-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3ed694;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nrb-cta__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #3ed694;
}

.nrb-cta h2 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 18px 0 18px;
  text-wrap: balance;
  color: #fff;
}

.nrb-cta__desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  margin: 0;
  max-width: 560px;
}

.nrb-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nrb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  letter-spacing: -.005em;
}

.nrb-btn--primary {
  background: #fff;
  color: var(--nrb-green-deep);
}

.nrb-btn--primary:hover {
  transform: translateY(-2px);
  background: #f1fbf6;
  color: var(--nrb-green-deep);
}

.nrb-btn--outline {
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  background: transparent;
}

.nrb-btn--outline:hover {
  border-color: #3ed694;
  color: #3ed694;
  transform: translateY(-2px);
}

.nrb-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nrb-cta__email {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .02em;
}

.nrb-cta__email a {
  color: #3ed694;
  text-decoration: none;
  font-weight: 500;
}

.nrb-cta__email a:hover {
  text-decoration: underline;
}

/* Back link */
.nrb-back {
  padding: 0 0 80px;
}

.nrb-back__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nrb-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  transition: color .2s ease, gap .2s ease;
}

.nrb-back__link:hover {
  color: var(--nrb-green);
  gap: 14px;
}

/* Adaptive */
@media (max-width: 1100px) {
  .nrb-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nrb-product__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nrb-product__media {
    aspect-ratio: 16/10;
    max-width: 560px;
  }

  .nrb-cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nrb-stats__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .nrb-stat:nth-child(2) {
    border-right: none;
  }

  .nrb-stat:nth-child(1),
  .nrb-stat:nth-child(2) {
    border-bottom: 1px solid var(--nrb-line);
  }
}

@media (max-width: 900px) {
  .nrb-container {
    padding: 0 24px;
  }

  .nrb-hero__inner {
    padding: 64px 0 48px;
    min-height: auto;
  }

  .nrb-hero h1 {
    font-size: 48px;
  }

  .nrb-hero__sub {
    font-size: 18px;
  }

  .nrb-hero__meta {
    margin-top: 40px;
    gap: 20px;
  }

  .nrb-hero__meta-cat {
    margin-left: 0;
  }

  .nrb-lead {
    padding: 64px 0 48px;
  }

  .nrb-lead__text {
    font-size: 20px;
  }

  .nrb-features {
    padding: 56px 0 72px;
  }

  .nrb-features__head h2 {
    font-size: 36px;
  }

  .nrb-feature {
    padding: 28px 24px;
  }

  .nrb-product {
    padding: 72px 0;
  }

  .nrb-product__text h2 {
    font-size: 38px;
  }

  .nrb-product__lead {
    font-size: 16px;
  }

  .nrb-apps {
    padding: 64px 0 72px;
  }

  .nrb-apps h3 {
    font-size: 28px;
  }

  .nrb-quote-wrap {
    padding: 64px 0;
  }

  .nrb-quote {
    padding: 48px 36px;
  }

  .nrb-quote__text {
    font-size: 20px;
  }

  .nrb-quote__mark {
    font-size: 200px;
    right: 24px;
  }

  .nrb-stats {
    padding: 0 0 72px;
  }

  .nrb-stats__head h2 {
    font-size: 32px;
  }

  .nrb-stat {
    padding: 32px 24px;
  }

  .nrb-stat__num {
    font-size: 48px;
  }

  .nrb-cta {
    padding: 56px 36px;
  }

  .nrb-cta h2 {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .nrb-container {
    padding: 0 18px;
  }

  .nrb-hero h1 {
    font-size: 36px;
  }

  .nrb-hero__sub {
    font-size: 16px;
  }

  .nrb-hero__eyebrow {
    font-size: 11px;
    padding: 8px 12px;
  }

  .nrb-lead__text {
    font-size: 18px;
  }

  .nrb-features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nrb-features__head h2 {
    font-size: 28px;
  }

  .nrb-product__text h2 {
    font-size: 30px;
  }

  .nrb-bullets li {
    padding: 14px 16px;
  }

  .nrb-apps h3 {
    font-size: 22px;
  }

  .nrb-apps__chip {
    font-size: 14px;
    padding: 10px 16px;
  }

  .nrb-quote {
    padding: 40px 24px;
  }

  .nrb-quote__text {
    font-size: 17px;
  }

  .nrb-quote__mark {
    font-size: 140px;
    top: -10px;
    right: 12px;
  }

  .nrb-stats__row {
    grid-template-columns: 1fr;
  }

  .nrb-stat {
    border-right: none !important;
    border-bottom: 1px solid var(--nrb-line);
  }

  .nrb-stat:last-child {
    border-bottom: none;
  }

  .nrb-stat__num {
    font-size: 42px;
  }

  .nrb-stats__head h2 {
    font-size: 26px;
  }

  .nrb-cta {
    padding: 44px 24px;
  }

  .nrb-cta h2 {
    font-size: 26px;
  }

  .nrb-cta__desc {
    font-size: 15px;
  }

  .nrb-btn {
    padding: 16px 20px;
    font-size: 15px;
  }
}

/* ===========================================================================
   Header menu — акцент пункта «Ребрендинг компании» (li.rebrending)
   =========================================================================== */
#menu_header .listItem.rebrending {
  position: relative;
}

#menu_header .listItem.rebrending::before,
#menu_header .listItem.rebrending::after {
  content: none !important;
  display: none !important;
}

#menu_header .listItem.rebrending .listItemLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e7e50 0%, #0a5e3b 100%);
  color: #fff !important;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 8px 22px -10px rgba(14, 126, 80, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  white-space: nowrap;
}

#menu_header .listItem.rebrending .listItemLink:hover,
#menu_header .listItem.rebrending .listItemLink:focus,
#menu_header .listItem.rebrending.active .listItemLink {
  text-decoration: none !important;
}

#menu_header .listItem.rebrending .listItemLink::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd84a;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 216, 74, .55);
  animation: rebrendingPulse 1.8s ease-in-out infinite;
}

#menu_header .listItem.rebrending .listItemLink:hover,
#menu_header .listItem.rebrending.active .listItemLink {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px -10px rgba(14, 126, 80, .7), inset 0 0 0 1px rgba(255, 255, 255, .14);
}

@keyframes rebrendingPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 216, 74, .55);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 216, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 216, 74, 0);
  }
}

@media (max-width: 991px) {
  #menu_header .listItem.rebrending .listItemLink {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* ============================================================================
   Reviews carousel — placeholder styles (TODO: replace after Claude Design)
   ============================================================================ */
.reviews-carousel-section {
  padding: 60px 0;
  position: relative;
}

.reviews-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.reviews-swiper {
  position: relative;
  padding-bottom: 48px;
  overflow: hidden;
}

.reviews-swiper .swiper-wrapper {
  align-items: stretch;
}

.reviews-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: auto;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  padding: 22px 22px 24px;
  box-sizing: border-box;
  box-shadow: 0 6px 18px -12px rgba(15, 28, 47, .14);
}

.reviews-card__rating {
  display: inline-flex;
  gap: 2px;
  color: #d9dde8;
}

.reviews-card__star.is-on {
  color: #f5b301;
}

.reviews-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #1f2530;
  flex: 1 1 auto;
}

.reviews-card__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #0e7e50;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.reviews-card__more:hover {
  color: #0a5e3b;
  transform: translateX(2px);
}

.reviews-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.reviews-card__avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #0e7e50;
  background: rgba(14, 126, 80, .14);
  text-transform: uppercase;
}

.reviews-card__avatar--initial {
  background: rgba(14, 126, 80, .14);
}

.reviews-card__author {
  font-weight: 600;
  font-size: 15px;
  color: #0f1c2f;
}

/* Reviews modal — «Читать полностью» */
.reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.reviews-modal.is-open {
  display: flex;
}

.reviews-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 47, .55);
  cursor: pointer;
}

.reviews-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 32px 32px 28px;
  box-shadow: 0 24px 60px -20px rgba(15, 28, 47, .35);
}

.reviews-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f2f4f8;
  font-size: 22px;
  line-height: 1;
  color: #0f1c2f;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.reviews-modal__close:hover {
  background: #0e7e50;
  color: #fff;
}

.reviews-modal__rating {
  display: inline-flex;
  gap: 3px;
  color: #d9dde8;
  margin-bottom: 14px;
}

.reviews-modal__text {
  font-size: 16px;
  line-height: 1.6;
  color: #1f2530;
}

.reviews-modal__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.reviews-modal__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 56px;
  background: rgba(14, 126, 80, .1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: #0e7e50;
}

.reviews-modal__author {
  font-weight: 600;
  font-size: 16px;
  color: #0f1c2f;
}

body.reviews-modal-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .reviews-modal__dialog {
    padding: 24px 20px 20px;
    border-radius: 14px;
  }

  .svc-page__crumbs .breadcrumbs-container {
    padding: 0;
  }

  .svc-page {
    border-top: 0;
  }
}

.reviews-swiper__pagination.swiper-pagination-bullets {
  bottom: 0;
}

.reviews-swiper__pagination .swiper-pagination-bullet-active {
  background: #0e7e50;
}

.all-objects.reviews-carousel__more {
  width: 166px;
  flex: 0 0 auto;
}

.reviews-carousel__more-accent {
  color: #FC3F1D;
}

@media (max-width: 1100px) {

  .reviews-swiper__prev,
  .reviews-swiper__next {
    display: none;
  }
}

@media (max-width: 767px) {
  .reviews-carousel-section {
    padding: 40px 0;
  }

  .reviews-card {
    padding: 18px 18px 20px;
    border-radius: 14px;
  }

  .reviews-carousel__head {
    flex-wrap: wrap;
  }
}

/* ============================================================================
   «Несколько слов о нас» — главная (вариант C от Claude Design)
   Структура: эйбрау + заголовок, гриd «текст + тёмная плашка-факт»,
   ниже — 4 карточки направлений с inline-SVG.
   Был jQuery «Читать весь текст / Скрыть» — убран, теперь готовая структура.
   ============================================================================ */
.aboutus-section {
  padding: clamp(48px, 6vw, 60px) 0;
  background: #f5f6f9;
}

.aboutus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0e7e50;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.aboutus-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #0e7e50;
  border-radius: 2px;
}

.aboutus-lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: #0f1c2f;
  font-weight: 500;
  margin: 0 0 20px;
  text-wrap: pretty;
}

.aboutus-lead b {
  color: #0e7e50;
  font-weight: 600;
}

.aboutus-text {
  color: #1f2530;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
  text-wrap: pretty;
}

.aboutus-subtitle {
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 600;
  color: #0f1c2f;
  margin: 48px 0 24px;
  letter-spacing: -0.005em;
}

/* Геро-сетка: текст + тёмная плашка-факт */
.aboutus-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: stretch;
}

.aboutus-side {
  background: #0f1c2f;
  color: #e7ebf3;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.aboutus-side::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(14, 126, 80, .35) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.aboutus-side__title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4dd29a;
  margin: 0;
  position: relative;
}

.aboutus-side__lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: #fff;
  font-weight: 500;
  margin: 0;
  position: relative;
  text-wrap: pretty;
}

.aboutus-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  position: relative;
}

.aboutus-stat__num {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.aboutus-stat__label {
  font-size: 12px;
  color: #a8b1c4;
  margin: 0;
  line-height: 1.4;
}

/* 4 карточки направлений */
.aboutus-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.aboutus-feature {
  background: #fff;
  border: 1px solid #d9dde8;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  box-shadow: 0 1px 0 rgba(15, 28, 47, .02);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.aboutus-feature:hover,
.aboutus-feature:focus-within {
  transform: translateY(-3px);
  border-color: #0e7e50;
  box-shadow: 0 14px 34px -14px rgba(15, 28, 47, .22);
}

.aboutus-feature:hover .aboutus-feature__icon,
.aboutus-feature:focus-within .aboutus-feature__icon {
  color: #0e7e50;
  background: #e7f3ec;
  border-color: #cfe6d8;
}

.aboutus-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f3f5f9;
  border: 1px solid #d9dde8;
  color: #4a5568;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.aboutus-feature__icon svg {
  width: 24px;
  height: 24px;
}

.aboutus-feature__title {
  font-size: 16px;
  font-weight: 600;
  color: #0f1c2f;
  margin: 0;
  line-height: 1.3;
}

.aboutus-feature__text {
  font-size: 14px;
  color: #5a6478;
  margin: 0;
  line-height: 1.55;
}

.aboutus-section :focus-visible {
  outline: 2px solid #0e7e50;
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .aboutus-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aboutus-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .aboutus-features {
    grid-template-columns: 1fr;
  }

  .aboutus-stats {
    grid-template-columns: 1fr 1fr;
  }
}

#CallbackEmail .modal-content,
#CallbackFormEmail .modal-content,
#CallbackProduct .modal-content,
#callbackModal .modal-content,
#reviewZayavkaModal .modal-content {
  border-radius: 18px !important;
}

/* ============================================================================
   Унификация крестиков закрытия модалок под стиль .reviews-modal__close
   Скоуп: #CallbackEmail / #CallbackFormEmail / #CallbackProduct /
          #callbackModal / #reviewZayavkaModal
   Перебиваем дефолты Bootstrap .close (opacity, text-shadow, position).
   ============================================================================ */
#CallbackEmail .close,
#CallbackFormEmail .close,
#CallbackProduct .close,
#callbackModal .close,
#reviewZayavkaModal .close,
#sendDrawingModal .close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #f2f4f8 !important;
  color: #0f1c2f !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .2s ease, color .2s ease !important;
  z-index: 5;
}

#CallbackEmail .close:hover,
#CallbackFormEmail .close:hover,
#CallbackProduct .close:hover,
#callbackModal .close:hover,
#reviewZayavkaModal .close:hover,
#sendDrawingModal .close:hover,
#CallbackEmail .close:focus,
#CallbackFormEmail .close:focus,
#CallbackProduct .close:focus,
#callbackModal .close:focus,
#reviewZayavkaModal .close:focus,
#sendDrawingModal .close:focus {
  background: #0e7e50 !important;
  color: #fff !important;
  outline: none !important;
}

#CallbackEmail .close>span,
#CallbackFormEmail .close>span,
#CallbackProduct .close>span,
#callbackModal .close>span,
#reviewZayavkaModal .close>span,
#sendDrawingModal .close>span {
  display: inline-block;
  font-size: inherit;
  line-height: 1;
  margin-top: -2px;
}


/* ============================================================
   VICTORY RIBBON — праздничная плашка над шапкой (9 мая)
   Включается через настройки Yupe → «Георгиевская лента».
   Лента position:fixed, поверх и десктоп-шапки, и фикс. мобайл-шапки.
   Body получает класс .has-victory-band, по нему сдвигаем шапку и контент.
   ============================================================ */
.victory-band {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  background: #0f1c2f;
  color: #d9dde8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.victory-band__text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: #ffffff;
}

.victory-band__star {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: #b88a3a;
  flex-shrink: 0;
}

.victory-band__star svg {
  width: 100%;
  height: 100%;
}

.victory-band__ribbon {
  flex: 1 1 auto;
  max-width: 200px;
  height: 10px;
  border-radius: 1px;
  background: linear-gradient(to bottom,
      #cc8a3a 0%, #cc8a3a 14%,
      #1a1a1a 14%, #1a1a1a 24%,
      #cc8a3a 24%, #cc8a3a 38%,
      #1a1a1a 38%, #1a1a1a 48%,
      #cc8a3a 48%, #cc8a3a 62%,
      #1a1a1a 62%, #1a1a1a 72%,
      #cc8a3a 72%, #cc8a3a 86%,
      #1a1a1a 86%, #1a1a1a 96%,
      #cc8a3a 96%, #cc8a3a 100%);
}

.news-longread {
  border-top: 1px solid #d9dde8;
}

.news-longread__hero {
  border-top: 0 !important;
  border-bottom: 0;
}

/* Сдвигаем содержимое страницы вниз на высоту ленты */
body.has-victory-band .wrapper {
  padding-top: 36px;
}

/* На ≤1360px фикс. .header-mobile (top:0, z:998) — поднимаем над ним ленту,
   а саму шапку сдвигаем под ленту. Контент уже имеет margin-top:80px от .header-mobile,
   bumpим до 80+36=116, padding-top на .wrapper отменяем (он уже учтён). */
@media (max-width: 1360px) {
  body.has-victory-band .wrapper {
    padding-top: 0;
  }

  body.has-victory-band .header-mobile {
    top: 36px;
  }

  body.has-victory-band .wrapper .content {
    margin-top: 116px;
  }
}

@media (max-width: 768px) {
  .victory-band {
    gap: 10px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .victory-band__ribbon {
    max-width: 70px;
    height: 8px;
  }

  .victory-band__text {
    gap: 8px;
  }

  .victory-band__star {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .victory-band__ribbon {
    max-width: 40px;
    height: 7px;
  }

  .victory-band__text {
    font-size: 10px;
  }
}

/* ============================================================
   Главная — hero. Desktop: видеофон. Mobile: свайпер баннеров.
   JS-переключение в custom.js до Swiper init — оставляет в DOM
   только активный блок (см. .home-hero-video / .home-hero-banners).
   ============================================================ */
.home-hero-video {
  position: relative;
  width: 100%;
  height: clamp(600px, 72vh, 780px);
  overflow: hidden;
  background: #000 center / cover no-repeat;
  background-image: url('../video/laser-poster.webp');
}

/* Декоративная «клеточка тетради» по краям hero — намёк на чертёж.
   Псевдоэлементы на overlay (а не на самом hero), чтобы сетка рисовалась
   поверх тёмной вуали-градиента, но под текстом. */
.home-hero-video__overlay::before,
.home-hero-video__overlay::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(0deg,
      transparent 0, transparent 27px,
      #fff 27px, #fff 28px),
    repeating-linear-gradient(90deg,
      transparent 0, transparent 27px,
      #fff 27px, #fff 28px);
}

.home-hero-video__overlay::after {
  right: 0;
  -webkit-mask-image: linear-gradient(90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.6) 35%,
      rgba(0, 0, 0, 1) 70%);
  mask-image: linear-gradient(90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.6) 35%,
      rgba(0, 0, 0, 1) 70%);
}

.home-hero-video__overlay::before {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg,
      rgba(0, 0, 0, 1) 30%,
      rgba(0, 0, 0, 0.6) 65%,
      rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg,
      rgba(0, 0, 0, 1) 30%,
      rgba(0, 0, 0, 0.6) 65%,
      rgba(0, 0, 0, 0) 100%);
}

.home-hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-video video {
    display: none;
  }
}

/* Верхний паддинг <main> на главной: убираем на десктопе (hero сразу прилегает
   к шапке), на мобиле — 20px, чтобы баннер-свайпер не упирался в навигацию. */
.homepage-main {
  padding-top: 0;
}

@media (max-width: 991.98px) {
  .homepage-main {
    padding-top: 20px;
  }
}

/* ------------------------------------------------------------
   Hero overlay: eyebrow + headline + sub + CTAs + scroll-down.
   Видим только на десктопе (видео и так монтируется ≥992px).
   ------------------------------------------------------------ */
.home-hero-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.55) 30%,
      rgba(0, 0, 0, 0.15) 60%,
      rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.home-hero-video__content {
  pointer-events: auto;
  padding-top: clamp(60px, 10vh, 110px);
  color: #fff;
}

.hhv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  line-height: 1;
}

.hhv-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0e7e50;
  box-shadow: 0 0 0 0 rgba(14, 126, 80, 0.6);
  animation: hhv-pulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes hhv-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 126, 80, 0.55);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(14, 126, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(14, 126, 80, 0);
  }
}

.hhv-title {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}

.hhv-sub {
  margin: 0 0 24px;
  max-width: 480px;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.hhv-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hhv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.hhv-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hhv-btn--primary,
.hhv-btn--primary:visited {
  background: #0e7e50;
  color: #fff;
  border: 1px solid #0e7e50;
}

.hhv-btn--primary:hover,
.hhv-btn--primary:focus {
  background: #0a6a43;
  border-color: #0a6a43;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.hhv-btn--ghost,
.hhv-btn--ghost:visited {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hhv-btn--ghost:hover,
.hhv-btn--ghost:focus {
  background: #fff;
  color: #0e7e50;
  border-color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.hhv-btn__arrow {
  transition: transform 0.2s;
}

.hhv-btn:hover .hhv-btn__arrow {
  transform: translateX(3px);
}

.hhv-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  animation: hhv-bounce 2.2s infinite;
}

.hhv-scroll:hover {
  color: #fff;
}

.hhv-scroll:focus {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hhv-scroll__chevron {
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@keyframes hhv-bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

/* Анимация входа: eyebrow → title → sub → CTAs */
.hhv-eyebrow,
.hhv-title,
.hhv-sub,
.hhv-cta {
  opacity: 0;
  transform: translateY(12px);
  animation: hhv-in 0.6s ease-out forwards;
}

.hhv-eyebrow {
  animation-delay: 0ms;
}

.hhv-title {
  animation-delay: 100ms;
}

.hhv-sub {
  animation-delay: 200ms;
}

.hhv-cta {
  animation-delay: 300ms;
}

@keyframes hhv-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hhv-eyebrow__dot,
  .hhv-scroll {
    animation: none;
  }

  .hhv-eyebrow,
  .hhv-title,
  .hhv-sub,
  .hhv-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}



/* ============================================================
   Модалка «Прислать чертёж» (#sendDrawingModal) и форма
   ============================================================ */
.drawing-modal .modal-dialog {
  margin: 30px auto;
}

.drawing-modal .modal-content,
.drawing-modal__content {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(15, 28, 47, 0.28);
  padding: 36px 36px 28px;
  background: #fff;
}

.drawing-modal__header {
  margin: 0 0 24px;
  padding-right: 50px;
}

.drawing-modal__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #0f1c2f;
  line-height: 1.2;
}

.drawing-modal__lead {
  margin: 0;
  .container-objects font-size: 14px;
  line-height: 1.55;
  color: #5e6a7d;
}

.drawing-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.drawing-form__field {
  display: flex;
  flex-direction: column;
}

.drawing-form__field--wide {
  grid-column: 1 / -1;
}

.drawing-form__label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0f1c2f;
  letter-spacing: 0.01em;
}

.drawing-form__req {
  color: #d44a4a;
  margin-left: 2px;
}

.drawing-form__input,
.drawing-form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d4dae3;
  border-radius: 10px;
  background: #fff;
  color: #0f1c2f;
  font-size: 15px;
  line-height: 1.4;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.drawing-form__input:focus,
.drawing-form__textarea:focus {
  outline: none;
  border-color: #0e7e50;
  box-shadow: 0 0 0 3px rgba(14, 126, 80, 0.15);
}

.drawing-form__textarea {
  resize: vertical;
  min-height: 76px;
}

.drawing-form__file-block {
  margin-top: 16px;
}

.drawing-form__file {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border: 1.5px dashed #c2c9d6;
  border-radius: 10px;
  background: #f7f9fc;
  color: #0f1c2f;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  margin: 0;
  box-sizing: border-box;
}

.drawing-form__file:hover {
  border-color: #0e7e50;
  background: #eef7f1;
  color: #0e7e50;
}

.drawing-form__file input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drawing-form__file-ico {
  flex-shrink: 0;
}

.drawing-form__file-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawing-form__file.is-filled {
  border-style: solid;
  border-color: #0e7e50;
  background: #eef7f1;
  color: #0e7e50;
}

.drawing-form__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #8a94a6;
}

.drawing-form__captcha {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.drawing-form__alert {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.drawing-form__alert--error {
  background: #fdecec;
  color: #a51b1b;
  border: 1px solid #f3c3c3;
}

.drawing-form__alert--success {
  background: #eef7f1;
  color: #0a6a43;
  border: 1px solid #b8dcc6;
}

.drawing-form__alert>div+div {
  margin-top: 4px;
}

.drawing-form__file-block+.drawing-form__field {
  margin-top: 14px;
}

.drawing-form__footer {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawing-form__submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: #0e7e50;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.drawing-form__submit:hover:not(:disabled) {
  background: #0a6a43;
  transform: translateY(-1px);
}

.drawing-form__submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.drawing-form__agree {
  margin: 0;
  font-size: 11px;
  color: #8a94a6;
  line-height: 1.45;
}

.drawing-form__agree a {
  color: #0e7e50;
  text-decoration: underline;
}

@media (max-width: 640px) {

  .drawing-modal .modal-content,
  .drawing-modal__content {
    padding: 24px 20px 20px;
  }

  .drawing-modal__title {
    font-size: 22px;
  }

  .drawing-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================================
   Stromsteel Works — секция «Реализованные объекты» на главной (.ssw-*)
   View: themes/default/views/page/widgets/PagesNewWidget/works.php
   JS init: custom.js (Swiper + autoplay + progress)
   =========================================================================== */
.ssw-section {
  --ssw-green: #0e7e50;
  --ssw-green-deep: #0a5e3b;
  --ssw-green-soft: #e8f3ed;
  --ssw-ink: #0f1614;
  --ssw-ink-2: #2a3431;
  --ssw-muted: #6b7771;
  --ssw-line: #e3e7e5;
  --ssw-card-bg: #ffffff;
  --ssw-radius: 18px;
  --ssw-radius-sm: 12px;

  padding: 0 0 30px;
  background: #ffffff;
  color: var(--ssw-ink);
  position: relative;
}

/* Шапка секции */
.ssw-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-top: 0 !important;
  border-bottom: 0 !important;
  height: auto !important;
}

.ssw-head__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ssw-head__h2 {
  margin: 0;
}

.ssw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: PLR, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ssw-green);
}

.ssw-eyebrow__line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--ssw-green);
}

.ssw-head__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ssw-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: PLR, sans-serif;
  color: var(--ssw-muted);
  font-size: 14px;
  letter-spacing: .05em;
  min-width: 64px;
}

.ssw-counter__current {
  font-family: PLB, sans-serif;
  font-size: 22px;
  line-height: 1;
  color: var(--ssw-ink);
  font-weight: 700;
  display: inline-block;
  min-width: 24px;
  text-align: right;
  transition: color .3s ease;
}

.ssw-counter__sep {
  opacity: .5;
}

.ssw-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: PLR, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ssw-green);
  letter-spacing: .02em;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--ssw-line);
  border-radius: 999px;
  background: #fff;
  transition: all .25s ease;
}

.ssw-all:hover,
.ssw-all:focus-visible {
  color: #fff;
  background: var(--ssw-green);
  border-color: var(--ssw-green);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(14, 126, 80, .18);
  outline: none;
}

.ssw-all svg {
  transition: transform .25s ease;
}

.ssw-all:hover svg {
  transform: translateX(3px);
}

/* Карусель и обёртка */
.ssw-carousel-wrap {
  position: relative;
}

.ssw-swiper {
  overflow: hidden;
  border-radius: var(--ssw-radius);
}

.ssw-swiper .swiper-wrapper {
  align-items: stretch;
}

.ssw-slide {
  height: auto;
}

/* Карточка */
.ssw-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  background: var(--ssw-card-bg);
  border: 1px solid var(--ssw-line);
  border-radius: var(--ssw-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 440px;
  box-shadow: 0 12px 32px rgba(14, 30, 22, .06);
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}

.ssw-card:hover {
  text-decoration: none;
  color: inherit;
  border-color: rgba(14, 126, 80, .25);
  box-shadow: 0 22px 48px rgba(14, 30, 22, .10);
}

.ssw-card__text {
  padding: 48px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.ssw-card__chips {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ssw-green);
}

.ssw-chip {
  display: inline-block;
  padding: 6px 12px;
  background: var(--ssw-green-soft);
  border-radius: 999px;
  line-height: 1.2;
}

.ssw-chip--accent {
  background: transparent;
  border: 1px solid rgba(14, 126, 80, .35);
  color: var(--ssw-green-deep);
}

.ssw-chip__sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--ssw-green);
  border-radius: 50%;
  opacity: .6;
}

.ssw-card__title {
  margin: 0;
  font-family: PLB, sans-serif;
  font-size: 30px;
  line-height: 1.18;
  color: var(--ssw-ink);
  letter-spacing: -.01em;
  transition: color .25s ease;
}

.ssw-card:hover .ssw-card__title {
  color: var(--ssw-green-deep);
}

.ssw-card__desc {
  margin: 0;
  color: var(--ssw-muted);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ssw-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: PLB, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ssw-green);
  letter-spacing: .02em;
}

.ssw-card__cta svg {
  transition: transform .3s ease;
}

.ssw-card:hover .ssw-card__cta svg {
  transform: translateX(5px);
}

.ssw-card__media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: #0b1311;
}

.ssw-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.ssw-card:hover .ssw-card__media img {
  transform: scale(1.04);
}

.ssw-card__media-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(11, 19, 17, 0) 0%, rgba(14, 126, 80, .18) 60%, rgba(11, 19, 17, .55) 100%);
  pointer-events: none;
}

/* Контролы карусели */
.ssw-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.ssw-progress {
  position: relative;
  width: 180px;
  height: 2px;
  background: var(--ssw-line);
  border-radius: 2px;
  overflow: hidden;
}

.ssw-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--ssw-green);
  border-radius: 2px;
  transition: width .15s linear;
}

.ssw-progress__fill.is-animating {
  transition: width 6s linear;
}

.ssw-nav-group {
  display: flex;
  gap: 10px;
}

.ssw-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ssw-line);
  background: #fff;
  color: var(--ssw-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}

.ssw-nav:hover,
.ssw-nav:focus-visible {
  background: var(--ssw-green);
  border-color: var(--ssw-green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(14, 126, 80, .22);
  outline: none;
}

.ssw-nav.swiper-button-disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ───── Tablet ───── */
@media (max-width: 1199px) {
  .ssw-card__text {
    padding: 40px;
    gap: 16px;
  }

  .ssw-card__title {
    font-size: 26px;
  }
}

@media (max-width: 991px) {

  /* .ssw-section{ padding:64px 0 80px; } */
  .ssw-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ssw-card__media {
    order: -1;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .ssw-card__text {
    padding: 32px;
  }

  .ssw-card__title {
    font-size: 24px;
  }
}

/* ───── Mobile ───── */
@media (max-width: 767px) {

  /* .ssw-section{ padding:48px 0 64px; } */
  .ssw-head {
    margin-bottom: 24px;
    align-items: flex-start;
    gap: 14px;
  }

  .ssw-head__meta {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .ssw-card__text {
    padding: 24px 22px 26px;
    gap: 14px;
  }

  .ssw-card__title {
    font-size: 22px;
  }

  .ssw-card__desc {
    font-size: 14px;
    -webkit-line-clamp: 4;
  }

  .ssw-controls {
    margin-top: 20px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .ssw-progress {
    flex: 1 1 100%;
    order: 2;
    width: auto;
  }

  .ssw-nav-group {
    order: 1;
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .ssw-card__chips {
    gap: 6px;
  }

  .ssw-chip {
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: .1em;
  }

  .ssw-all {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Перебиваем легаси-стили .widget-pages (style.min.css) — раньше блок был
   обёрнут в <section class="widget-pages"> с серым фоном и доп. паддингами.
   Сейчас обёртка убрана из page.php, но защищаемся на случай возврата. */
.widget-pages {
  background: transparent !important;
  padding: 0 !important;
}

/* ===========================================================================
   #tabs-div / .tabs-links — горизонтальный скролл вместо переноса.
   Категорий «Хиты продаж» может быть много (10–20+); wrap превращал блок
   в стену из 3–4 рядов. Теперь одна строка с пролистыванием.
   View: themes/default/views/store/widgets/CatalogWidget/category.php
   =========================================================================== */
.tabs-links {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #0e7e50 transparent;
  padding-bottom: 8px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent 100%);
}

.tabs-links:active {
  cursor: grabbing;
}

.tabs-links::-webkit-scrollbar {
  height: 4px;
}

.tabs-links::-webkit-scrollbar-track {
  background: transparent;
}

.tabs-links::-webkit-scrollbar-thumb {
  background: #0e7e50;
  border-radius: 2px;
}

.tabs-links::-webkit-scrollbar-thumb:hover {
  background: #0a5e3b;
}

.tabs-links .tabs-links_item {
  flex: 0 0 auto;
  white-space: nowrap;
}