.js-thumb-gallery-style-1.js-thumb-gallery {
    border: none !important;
    padding: 0px 15px 5px 0 !important;
}

a.btn.btn-sm.label.label-info {
    border: 1px #dfdcdc solid;
}
/* NOTE: Menu styles moved to menu.css. List styles moved to global.css (checked/arrow). */
.seo-bottom-text {padding: 45px 0 0 0;}

/* 1) Верхний глобальный overlay не ловит клики */


/* 2) Если фиксированный header висит "стеклом" над контентом */
.header.fixed-header {
    pointer-events: none !important;
}
.header.fixed-header .ba-wrapper,
.header.fixed-header .ba-wrapper * {
    pointer-events: auto !important;
}

/* 3) Поднять iframe YouTube вместе с контекстом */
.com-content-article .row-fluid,
.com-content-article .row-fluid .span4 {
    position: relative;
}
.com-content-article iframe[src*="youtube.com"] {
    position: relative;
    z-index: 50 !important;
}


.ba-grid-column .ba-row > .ba-overlay, .ba-overlay {
    bottom: auto !important;
}






/* =========================================================
   MK: HERO + NAV
   ========================================================= */
.mk-hero{
  max-width:1200px;
  margin:0 auto;
  padding:20px 15px 10px;
  text-align:center;
}
.mk-hero__lead{
  max-width:1150px;
  margin:10px auto 0;
}
.mk-hero__grid{
  display:grid;
  grid-template-columns:0.9fr 1.05fr;
  gap:22px;
  margin-top:18px;
  align-items:stretch;
}
.mk-hero__left{ text-align:left; }
.mk-hero__cta{ margin-top:18px; }

.mk-hero__right{
  background:#fff;
  border:1px solid #ecf0f1;
  border-radius:14px;
  padding:18px 22px;
  text-align:left;
}
.mk-heroNote__title{ margin:0 0 10px; font-size:18px; }
.mk-heroNote__kv{ margin:0; padding:0; list-style:none; }
.mk-heroNote__kv li{
  display:grid;
  grid-template-columns:80px 1fr;
  gap:14px;
  padding:10px 0;
  border-bottom:1px solid #ecf0f1;
}
.mk-heroNote__kv li:last-child{ border-bottom:none; }
.mk-heroNote__k{ font-weight:700; color:#bf7d03; text-transform:lowercase; }
.mk-heroNote__v{ color:#2c3e50; }

@media (max-width:980px){
.mk-hero__grid{ grid-template-columns:1fr; }
}

/* необязательное: списки в hero */
.advantages-list{ margin:0; padding:0 0 0 0px; }
.advantages-list li{ margin:0 0 6px; }

/* =========================================================
   MK: CONSULTATION / INTRO BLOCKS
   ========================================================= */
.mk-consultation{ max-width:1200px; margin:18px auto 0; padding:0 15px; }
.mk-consultation .consultation-text{ width:100%; }

.mk-pick__cta{ margin-top:14px; }

/* =========================================================
   MK: LEVEL GRIDS (по умолчанию 3/2/1)
   ========================================================= */
.mk-level__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}
@media (max-width:1100px){
.mk-level__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:720px){
.mk-level__grid{ grid-template-columns:1fr; }
}

/* Проф. модели: 4 в ряд на десктопе */
@media (min-width:1101px){
.mk-level__grid.mk-level__grid--pro{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:18px;
  }
}

#mk-price, #mk-routers {margin: 60px 0;}
#mk-routers p {
    max-width: 1100px;
    margin: 0 auto 15px;
}

/* =========================================================
   MK: PRODUCT CARD (mk-prod)
   ========================================================= */
.mk-prod{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #ecf0f1;
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
}
.mk-prod::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:3px;
  height:100%;
  background:#bf7d03;
}

.mk-prod__top{ padding:14px 18px 4px; }
.mk-prod__h{ margin:0; }

.mk-prod__media{
  padding:0 18px 10px;
  height:240px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.mk-prod__media img{
  max-height:100%;
  max-width:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  border-radius:12px;
  transform:scale(1);
  transition:transform .45s ease;
}
@media (max-width:720px){
.mk-prod__media{ height:200px; }
}
@media (hover:hover) and (pointer:fine){
.mk-prod:hover .mk-prod__media img{ transform:scale(1.06); }
}

/* “1 раз” на мобиле при появлении */
.mk-prod__media.mk-mediaSeen img{
  animation:mkZoomOnce 1.35s ease 0.05s 1 both;
}
@keyframes mkZoomOnce{
  0%{ transform:scale(1); }
  55%{ transform:scale(1.06); }
  100%{ transform:scale(1); }
}

.mk-prod__body{
  padding:8px 18px 12px;
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
}

.mk-kvList{ margin:0 0 10px; padding:0; list-style:none; color:#2c3e50; }
.mk-kv{ font-weight:700; }

.mk-prod__cta{
  margin-top:auto;
  padding-top:10px;
}

/* QF/формы часто дают лишние маржины — сбиваем */
.mk-prod__cta p,
.mk-prod__cta form,
.mk-prod__cta div{ margin:0 !important; }

.mk-prod__cta .btn,
.mk-prod__cta a,
.mk-prod__cta button{ width:100%; }

/* заголовочные мелочи */
.mrt-h.mk-prod__h .mrt-h__main{ font-size:18px; }
.mrt-h.mk-prod__h .mrt-h__meta{ font-size:14px; color:#6b7b8c; }

/* =========================================================
   MK: MODEL LIST (arrow)
   Палочка всегда короткая, внутри; удлиняется при hover
   ========================================================= */





/* защита от “левых” бордеров из чужих стилей */










/* =========================================================
   MK: ROUTERS GRID (фрезеры) — без “лишних” модификаторов
   2 в ряд на десктопе, CTA внизу карточки
   ========================================================= */
.mk-routers__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
  max-width:1200px;
  margin:0 auto;
  padding:0 15px;
}
@media (max-width:720px){
.mk-routers__grid{ grid-template-columns:1fr; }
}

.mk-routers__grid > article.mrt-card.article-card.mk-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0 !important;
  padding:18px 18px 12px;
  box-sizing:border-box;
}

.mk-routers__grid > article.mrt-card.article-card.mk-card .mrt-h{ margin:0 0 10px; }
.mk-routers__grid > article.mrt-card.article-card.mk-card .mrt-card__media{ margin:0 0 10px; }
.mk-routers__grid > article.mrt-card.article-card.mk-card .mrt-list{ margin:0; }

.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta{
  margin-top:auto;
  padding-top:10px;
  padding-bottom:2px;
  display:flex;
  justify-content:center;
}
.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta p,
.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta form,
.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta div{ margin:0 !important; }

.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta .btn,
.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta a,
.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta button{
  min-width:260px;
  max-width:360px;
}




.mk-pick__title{
  text-align:center;
  margin:0 0 18px;
}

.mk-pick__row{
  display:flex;
  align-items:center;          /* вертикальное выравнивание */
  justify-content:space-between;
  gap:24px;                    /* расстояние между текстом и кнопкой */
}

.mk-pick__copy{
  flex:1 1 auto;
  min-width:0;                 /* чтобы текст нормально ужимался */
}

.mk-pick__action{
  flex:0 0 auto;               /* кнопка не растягивается */
}

/* мобилка/планшет: в столбик */
@media (max-width: 768px){
.mk-pick__row{
    flex-direction:column;
    align-items:stretch;
  }
  .mk-pick__action{
    display:flex;
    justify-content:center;
  }
  .mk-pick__title{
    margin-bottom:12px;
  }
}

.js-switcher-style-2 .js-swt-filter .cbp-filter-item.cbp-filter-item-active {background: #bf7d02 !important;}
.js-switcher-style-2.js-switch-position-top .cbp-filter-item-active:after {border-top-color: #bf7d02;}

@media screen and (max-width: 58em) {
.cbp-filter-item .js-swt-title {display: block !important;}
.js-switcher-style-2 .js-swt-filter .cbp-filter-item {padding: 0.5em 0.85em;}
}



/* =========================
   FIX: mk-routers cards overflow on mobile
   ========================= */

/* на всякий случай режем горизонтальный “вылет” внутри секции */
.mk-routers{
  overflow-x: clip;
}
@supports not (overflow: clip){
.mk-routers{ overflow-x: hidden; }
}

/* контейнер грида: на мобиле строго 1 колонка */
.mk-routers__grid{
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 720px){
.mk-routers__grid{
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* сама карточка: убиваем любые фикс-ширины/мин-ширины из mrt/article-card */
.mk-routers__grid > article.mrt-card.article-card.mk-card{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
  overflow: hidden; /* если внутри есть full-bleed блоки с отриц. маржинами */
}

/* типовой источник overflow: media/list с отрицательными маржинами/расширением */
.mk-routers__grid > article.mrt-card.article-card.mk-card .mrt-card__media,
.mk-routers__grid > article.mrt-card.article-card.mk-card .mrt-list{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* картинки — всегда адаптивные */
.mk-routers__grid > article.mrt-card.article-card.mk-card img{
  max-width: 100%;
  height: auto;
}

/* CTA: на мобиле пусть кнопка не задаёт ширину шире карточки */
@media (max-width: 720px){
.mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta .btn,
  .mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta a,
  .mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta button,
  .mk-routers__grid > article.mrt-card.article-card.mk-card .mk-card__cta input{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}










@media (min-width:992px){
.padding-right {padding-right: 40px;}
}



/* Контейнер только для варианта Миртелс */
.why-choose--mirtels {
  /* адаптивные отступы по бокам: 24px → 8vw → максимум 140px */
  padding-left: clamp(24px, 8vw, 140px) !important;
  padding-right: clamp(24px, 8vw, 140px) !important;
      margin-bottom: 60px !important;
}

/* БАЗОВАЯ СЕТКА КОЛОНОК */
.why-choose--mirtels [class*="column"]{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}

.why-choose--mirtels [class*="column"]:nth-child(3) p{
   font-size: larger;
      margin-block-start: 0;
}

/* ЦЕНТРАЛЬНАЯ КОЛОНКА ОСТАЁТСЯ АКЦЕНТНОЙ */
.why-choose--mirtels [class*="column"]:nth-child(3){
  position:relative;
  padding-inline: 0px; /* место под вертикальные разделители */
}

/* БОКОВЫЕ КОЛОНКИ — УЗЬЕ: больше внутренние поля + ограничение ширины текста */
.why-choose--mirtels [class*="column"]:not(:nth-child(3)){
  padding-inline: clamp(5px, 2vw, 16px);   /* увеличили «воздух» внутри */
}

.why-choose--mirtels [class*="column"]:not(:nth-child(3)) p{
  max-width: 26ch;        /* сужаем строку текста для лучшей читаемости */
  text-align: center;       /* если нужен строгий центр — поменяй на center */
}

/* ИКОНКИ: боковые чуть крупнее, центр — большой */
.why-choose--mirtels [class*="column"]:not(:nth-child(3)) svg{ width:56px; height:56px; }
.why-choose--mirtels [class*="column"]:nth-child(3) svg{ width:180px; height:auto; filter:drop-shadow(0 3px 6px rgba(0,0,0,.12)); }

/* ВЕРТИКАЛЬНЫЕ РАЗДЕЛИТЕЛИ ВОКРУГ ЦЕНТРА — СОБИРАЮТ КОМПОЗИЦИЮ */
.why-choose--mirtels [class*="column"]:nth-child(3)::before,
.why-choose--mirtels [class*="column"]:nth-child(3)::after{
  content:"";
  position:absolute;
  top:8px; bottom:8px; width:1px;
  background:linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.08));
  opacity:.6;
}
.why-choose--mirtels [class*="column"]:nth-child(3)::before{ left:0; }
.why-choose--mirtels [class*="column"]:nth-child(3)::after{ right:0; }

/* АДАПТИВ: на ноуте поля поменьше, на мобиле — стек */
@media (max-width: 1440px){
.why-choose--mirtels{
    padding-left: clamp(20px, 6vw, 100px);
    padding-right: clamp(20px, 6vw, 100px);
  }
  .why-choose--mirtels [class*="column"]:not(:nth-child(3)) p{ max-width: 28ch; }
}

@media (max-width: 991px){
.why-choose--mirtels [class*="column"]:not(:nth-child(3)) svg{ width:48px; height:48px; }
  .why-choose--mirtels [class*="column"]:nth-child(3) svg{ width:120px; }
  .why-choose--mirtels [class*="column"]:nth-child(3){ padding-inline:32px; }
  .why-choose--mirtels [class*="column"]:nth-child(3)::before,
  .why-choose--mirtels [class*="column"]:nth-child(3)::after{ opacity:.35; }
}

@media (max-width: 600px){
.why-choose--mirtels{
    padding-left: 16px; padding-right: 16px;
  }
  .why-choose--mirtels [class*="column"]{ align-items:flex-start; }
  .why-choose--mirtels [class*="column"]:nth-child(3)::before,
  .why-choose--mirtels [class*="column"]:nth-child(3)::after{ display:none; }
  .why-choose--mirtels [class*="column"]:not(:nth-child(3)) p{ max-width: 34ch; }
}
/* --- ДОПОЛНЕНИЕ для устойчивого адаптива --- */
@media (max-width: 991px){
.why-choose--mirtels [class*="column"] {
    flex: 1 1 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px){
.why-choose--mirtels [class*="column"] {
    margin-bottom: 28px;
  }
  .why-choose--mirtels [class*="column"]:nth-child(3)::before,
  .why-choose--mirtels [class*="column"]:nth-child(3)::after {
    display: none;
  }
}



.innovation-block {
  background: #ebebeb;
  border: 1px solid #d1d1d1;
  text-shadow: 0px 1px #ffffff;
  padding: 40px 60px;
  margin: 40px auto;
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
      font-size: medium;
}

/* Для больших экранов — 60–70% ширины */
@media (min-width: 1600px) {
.innovation-block {
    max-width: 70%;
  }
}

/* Для ноутбуков — 75–85% ширины */
@media (min-width: 1024px) and (max-width: 1599px) {
.innovation-block {
    max-width: 85%;
  }
}

/* Для мелких экранов — тень чуть слабее и без фиксированной ширины */
@media (max-width: 1023px) {
.innovation-block {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    padding: 30px 20px;
  }
}



/* --- Блок карточек изображений с увеличением --- */

/* Убираем паддинги у блока с картинкой */
.card-body--image {
  padding: 0 !important;
}

/* Добавляем паддинги только текстовой части */
.card-text {
  padding: 16px;
}

/* Контейнер для изображения */
.zoomable {
  position: relative;
  z-index: 0;
}
.zoomable::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0;
  border-top: 1px solid #ffffff; /* белая линия */
  box-shadow: 0 0px 0 1px #9c9c9c;        /* тонкая тень ниже для читаемости */
  pointer-events: none;
  z-index: 2; /* над фото и затемнением */
}

/* Переопределение только для центральной карточки: линия темнее */
.row-fluid > .span4:nth-child(2) .zoomable::before {
  border-top: 1px solid #bfbebe;          /* тёмная линия на светлом мраморе */
  box-shadow:0 0px 0 1px #ffffff;  /* лёгкий световой кант снизу для объёма */
}

/* Само изображение — во всю ширину карточки */
.zoomable img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Полупрозрачное затемнение и лупа */
.zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s ease;
  pointer-events: none;
  border-radius: 0;
}

/* Иконка лупы (SVG) */
.zoom-icon {
  width: 48px;
  height: 48px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Ховер-эффекты */
.zoomable:hover img {
  transform: scale(1.03);
  filter: brightness(0.75);
}

.zoomable:hover .zoom-overlay {
  opacity: 1;
}

.zoomable:hover .zoom-icon {
  transform: scale(1.08);
  opacity: 1;
}

/* Курсор при активном увеличении */
#img-modal.active {
  cursor: zoom-out;
}

/* --- Модальное окно для увеличенного изображения --- */
#img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#img-modal img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 0;
  transform: scale(0.98);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#img-modal.active {
  display: flex;
}

#img-modal.active img {
  transform: scale(1);
  opacity: 1;
}

/* --- Мобильные устройства --- */
@media (hover: none) and (pointer: coarse) {
.zoom-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.25);
  }

  .zoomable {
    cursor: pointer;
  }
}


.pricing-section article h3.js-carousel-slide-title {font-size: 14px; font-weight: 500;}


.KEYSY{margin:60px 0;font-size: 15px;    text-align: center;    font-weight: 400;}


/* Изолированные стили для контактной секции */
.mirtels-contacts section {
  padding: 60px 20px;
}

.mirtels-contacts section:first-of-type {
  position: relative;
}

.mirtels-contacts section:first-of-type::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(226, 190, 2, 0.05) 0%, transparent 70%);
  animation: mirtels-float 8s ease-in-out infinite;
}

@keyframes mirtels-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.mirtels-contacts h2 {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
  position: relative;
}

.mirtels-contacts h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e2be02, #bf7d03);
  border-radius: 2px;
}

.mirtels-contacts h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Карточки контактов */
.mirtels-contacts .contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.mirtels-contacts .contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #e2be02, #ffa735, #bf7d03);
  border-radius: 20px 20px 0 0;
}

.mirtels-contacts .contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mirtels-contacts .contact-info {
  margin-top: 20px;
}

/* Контакты: элементы с адресом/телефоном/e-mail */
.mirtels-contacts .contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: start;
  padding: 10px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
}

.mirtels-contacts .contact-item:last-child {
  border-bottom: none;
}


.mirtels-contacts .contact-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  line-height: 1;
}

.mirtels-contacts .contact-icon > * {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.mirtels-contacts .contact-text {
  align-self: start;
  display: block;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.mirtels-contacts .strong {
  font-weight: 600;
  color: #333;
}

/* Региональные представительства */
.mirtels-contacts .regional-list {
  list-style: none;
  margin-top: 20px;
}

.mirtels-contacts .regional-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "ico city"
    "ico phone";
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 5px;
  position: relative;
  transition: all 0.3s ease;
  border-left: 2px solid #e2be02;
}

.mirtels-contacts .regional-item:hover {
  background: #fffae1;
  transform: translateX(10px);
  border-left-color: #bf7d03;
}

.mirtels-contacts .regional-item > :first-child {
  grid-area: ico;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mirtels-contacts .city-name {
  grid-area: city;
  font-weight: 600;
  color: #333;
}

.mirtels-contacts .phone-link {
  grid-area: phone;
  color: #bf7d03;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mirtels-contacts .phone-link:hover {
  color: #e2be02;
  text-decoration: underline;
}

/* Инфографика статистики */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 25px 15px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e2be02, #bf7d03);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

/* Финальная секция */
.mirtels-contacts section:last-of-type {
  background: #ffffff;
  color: #333;
  text-align: center;
  position: relative;
  padding: 40px 20px;
}

.mirtels-contacts section:last-of-type p {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.mirtels-contacts section:last-of-type::before {
  display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
.mirtels-contacts .row-fluid .span6 {
    width: 100%;
    margin-bottom: 30px;
  }

  .mirtels-contacts h2 {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  .mirtels-contacts .contact-card {
    padding: 25px;
  }

  .mirtels-contacts section:last-of-type p {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .mirtels-contacts .contact-item {
    column-gap: 12px;
  }

  .mirtels-contacts .regional-item {
    column-gap: 12px;
  }
}


/* ===== /gravery-kupit — секция .mrt-links ===== */
.mrt-links{
  --mrt-white:#fff;
  --mrt-gray-700:#3a3a3a;
  --mrt-card-bg:#dcdfe2;

  --mrt-h2-size:clamp(20px,2vw,30px);
  --mrt-h3-size:clamp(15px,1.3vw,18px);
  --mrt-p-size:clamp(13px,1vw,15px);
}

/* Заголовок секции */
.mrt-links > h2{
  font-size:var(--mrt-h2-size);
  font-weight:600;
  line-height:1.25;
  margin:0 0 clamp(14px,1.2vw,20px);
  color:var(--mrt-gray-700);
}

/* Сетка */
.mrt-links .mrt-links__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}

/* Карточка */
.mrt-links .mrt-links__col{
  position:relative;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  min-width:0;
  background:var(--mrt-card-bg);
  border-radius:16px;
  overflow:hidden;
  border:none;
  padding:clamp(18px,1.6vw,28px);
  margin:0;
}

/* Внутренняя двойная рамка карточки */
.mrt-links .mrt-links__col::before{
  content:"";
  position:absolute;
  inset:9px;
  border:1px solid #ebebeb;
  box-shadow:inset 0 0 0 1px #cecdcd;
  border-radius:12px;
  pointer-events:none;
}

/* Заголовок карточки */
.mrt-links .mrt-links__h3{
  font-size:var(--mrt-h3-size);
  font-weight:500;
  line-height:1.3;
  color:#696969;
  text-shadow:1px 1px #ffffff;
  margin:clamp(28px,2.2vw,32px) 0 20px;
}

/* Текст карточки */
.mrt-links .mrt-links__p{
  font-size:var(--mrt-p-size);
  line-height:1.6;
  color:#908f8f;
  margin:0 0 12px;
  padding:0 12px;
}

/* Медиа-блок */
.mrt-links .mrt-links__figure{
  position:relative;
  margin:auto auto 30px auto;
  width:100%;
  max-width:300px;
  border-radius:12px;
  overflow:hidden;
}

/* Внутренняя белая рамка у изображения */
.mrt-links .mrt-links__figure::after{
  content:"";
  position:absolute;
  inset:5px;
  border:3px solid var(--mrt-white);
  border-radius:8px;
  pointer-events:none;
}

/* Ссылка на изображении */
.mrt-links .mrt-links__figure a{
  display:block;
}

/* Изображение */
.mrt-links .mrt-links__img{
  display:block;
  width:100%;
  height:auto;
  border:0;
  border-radius:12px;
  object-fit:cover;
}

/* Планшет */
@media (max-width:991px){
  .mrt-links .mrt-links__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .mrt-links .mrt-links__figure{
    max-height:220px;
  }
}

/* Мобильный */
@media (max-width:640px){
  .mrt-links .mrt-links__grid{
    grid-template-columns:1fr;
  }

  .mrt-links .mrt-links__figure{
    max-height:200px;
  }
}

/* Страховка от глобальных стилей */
.mrt-links img{
  border:none !important;
}









/* ========================= Секция: Формы для обращения ========================= */ 
/* Контейнер секции: общий фон, ограничение ширины, центрирование */ 
.mrt-forms{ max-width:960px; margin:28px auto; background:#f1f3f5; border-radius:12px; padding:24px; } 

@media (max-width:767px){
.mrt-forms{ padding:18px; border-radius:10px; }
} 

/* Сетки строк внутри секции */ 
.mrt-forms__grid{ row-gap:22px; } 

/* Заголовки h3 */ 
.mrt-forms__h3{ margin:0; font-weight:800; line-height:1.25; font-size:clamp(16px,1.1vw,20px); } 
/* Заголовочная «крышка» + тонкий двойной разделитель */ 
.mrt-forms__cap{ position:relative; padding-bottom:12px; margin-bottom:10px; } 
.mrt-forms__sep{ position:absolute; left:0; right:0; bottom:0; height:0px; background:transparent; } 
.mrt-forms__sep::before, .mrt-forms__sep::after{ content:""; position:absolute; left:0; right:0; height:1px; } 
.mrt-forms__sep::before{ top:0; background:#ffffff; } 
.mrt-forms__sep::after { bottom:0; background:#ced4d6; } 

/* Текст и списки */ .mrt-forms__lead{ margin:6px 0 0; line-height:1.6; } 
.mrt-forms__list{ margin:8px 0 0; list-style: none;} .mrt-forms__list li{ margin:8px 0; } 

/* Разделение правой колонки второй строки на десктопе */ 
@media (min-width:992px){
.mrt-forms__aside{ border-left:1px solid #d9dde2; padding-left:20px; }
} 

/* CTA между двумя row-fluid: гарантированно ≥ 40px */ 
.mrt-forms__cta{ text-align:center; margin:40px 0 80px 0; }







/* Левый блок характеристик: без маркеров, 2 строки "ключ/значение" */
.mrt-spec{margin:0;padding:0;max-width:36em}
.mrt-spec__key{
  display:inline-block;                 /* подчёркивание только по длине текста */
  font-weight:800; line-height:1.25;
  font-size:1.06em;
  border-bottom:1px solid #d9dde2;      /* тонкое подчёркивание */
  padding-bottom:2px;
}
.mrt-spec__val{
  margin:6px 0 18px 0;                  /* выражённый отступ между пунктами */
  color:#828b95; line-height:1.5;
  font-size:.97em;                      /* светлее и немного мельче */
}
.mrt-spec__val:last-child{margin-bottom:0}

@media (max-width:979px){
.mrt-spec{max-width:unset}
  .mrt-spec__val{margin:6px 0 14px 0}
}


/* секция */
.mrt-impact{
  background:#e9ecef;
  border-radius:12px;
  padding:28px 24px;
}

/* сетка и внутренние отступы */
.mrt-impact__grid{ /* не ломает row-fluid, только внутренние отступы */
  row-gap:20px;
}

/* колонки-правки на десктопе — тонкая вертикальная разделительная линия */
@media (min-width: 992px){
.mrt-impact__col{
    border-left:1px solid #d6dade;
    padding-left:20px;
  }
  .mrt-impact__col:first-of-type{ border-left:none; padding-left:0; }
}

/* заголовки внутри блока */
.mrt-impact__h3{
  margin:0 0 12px;
  line-height:1.25;
}
.mrt-impact__h4{
  margin:0 0 10px;
  font-weight:600;
}

/* левый блок — лид-параграф */
.mrt-impact__lead{
  font-size: 1.06rem;      /* + ~6% к базовому */
  line-height: 1.6;
  max-width: 46ch;         /* комфортная длина строки */
  margin: 6px 0 0;
}
.mrt-impact__lead1 {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 6px 0 0;
}

/* Правый столбец: «Расходные материалы» — */
.mrt-impact__consumables .mrt-impact__tags{
  list-style: none !important;
  margin: 6px 0 0;
  padding-left: 0 !important;
}

/* строка с иконкой и текстом — центр по вертикали */
.mrt-impact__consumables .mrt-impact__tag{
  display:flex;
  align-items:center;   /* центр относительно иконки */
  gap:12px;
  line-height:1.1;      /* плотнее, чтобы не «прыгал» базис */
}

/* сам текст «Алмазные иглы» */
.mrt-impact__label{
  color:#858585;                 /* белый */
  font-size:1.28rem;          /* крупнее */
  font-weight:700;
  line-height:1;              /* точная центровка с иконкой */
  text-shadow:0 1px 0 #ffffff;/* тонкая жёсткая тень (тёмно-серая) */
}

/* если иконка внутри шорткода в квадрате 32–40px — зафиксируем высоту строки */
.mrt-impact__consumables .mrt-impact__tag > *:first-child{
  display:inline-flex;        /* не трогаем вид, только выравнивание */
  align-items:center;
  justify-content:center;
  min-width:32px;             /* подстраховка, чтобы текст всегда центрировался */
  min-height:32px;
}


/* мобильные корректировки */
@media (max-width: 767px){
.mrt-impact__lead{ max-width: none; }
}

/* компактнее на мобильных */
@media (max-width: 767px){
.mrt-impact{ padding:20px 16px; border-radius:10px; }
  .mrt-impact__list li{ margin:6px 0; }
}

/* ===== Универсальный заголовок карточки ===== */
.mrt-h{ margin:0 0 14px; line-height:1.15; }
.mrt-h__main{ font-weight:700; display:inline-block; }
.mrt-h__sep{
  display:block;        /* вместо inline */
  width:100%;
  height:1px;           /* тонкая полоса */
  background:#d9dde2;   /* тот же нейтральный серый */
  margin:6px 0;         /* отступы сверху/снизу */
  border:0;
}

/* чуть поджать подзаголовок после линии, если нужно */
.mrt-h__meta{
  display:block;
  margin-top:6px;       /* можно 4–8px по вкусу */
  font-size:.82em;
  font-weight:500;
  color:#828b95;
  letter-spacing:.2px;
}

/* ===== Карточка и медиазона (для выравнивания списков) ===== */
.mrt-card{ display:flex; flex-direction:column; }
.mrt-card__media{
  height:320px;                /* единая высота => списки стартуют на одной линии */
  margin:10px 0 12px;
  display:flex; align-items:center; justify-content:center;
}
.mrt-card__media img{
  max-width:100%; max-height:100%; object-fit:contain; display:block;
}

/* при необходимости подправим высоту на мобильных */
@media (max-width: 991px){
.mrt-card__media{ height:260px; }
}

/* ===== Список и «бейдж» до двоеточия ===== */
.mrt-list{ margin:0; }
.mrt-list li{ margin:6px 0; }
.mrt-kv{
  background:#eef1f4;          /* светло-серый фон */
  padding:2px 6px;
  border-radius:4px;
  margin-right:6px;
  /*white-space:nowrap;*/
}


/* =========================
Секция: Уникальные преимущества (только здесь)
========================= */

/* Базовый контейнер секции (оставляем фон, скругление, паддинги) */
.mrt-impact{
  background:#e9ecef;
  border-radius:12px;
  padding:28px 24px;
}
@media (max-width:767px){
.mrt-impact{ padding:20px 16px; border-radius:10px; }
}

/* Внутренний вертикальный ритм сетки */
.mrt-impact__grid{ row-gap:20px; }

/* Заголовки внутри секции — делаем мельче */
.mrt-impact--benefits .mrt-impact__h3{
  margin:0;
  line-height:1.25;
  font-weight:800;
  font-size:clamp(16px,1.15vw,19px);
  /* фиксируем 2 строки, чтобы не «прыгали» высоты */
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* "Крышка" заголовка: фиксированная высота = 2 строки h3 + отступ под линию.
Разделитель прибит к низу крышки => всегда на одном уровне во всех колонках. */
.mrt-impact--benefits .mrt-cap{
  position:relative;
  height:72px;              /* под 2 строки заголовка */
  margin:0 0 10px 0;
}
.mrt-impact--benefits .mrt-cap__sep{
  position:absolute; left:0; right:0; bottom:0;
  height:3px; background:transparent;
}
.mrt-impact--benefits .mrt-cap__sep::before,
.mrt-impact--benefits .mrt-cap__sep::after{
  content:""; position:absolute; left:0; right:0; height:1px;
}
.mrt-impact--benefits .mrt-cap__sep::before{ top:0;    background:#e7eaef; }
.mrt-impact--benefits .mrt-cap__sep::after { bottom:0; background:#cfd6de; }

/* Отступы основного текста в колонках */
.mrt-impact--benefits .mrt-impact__intro > p,
.mrt-impact--benefits .mrt-impact__intro > ul{ margin-top:10px; }

/* ==== Список с иконками (без маркеров .arrow) ==== */
.mrt-impact--benefits .mrt-ul--icons{
  list-style:none; padding:0; margin:10px 0 0;
}

/* на всякий случай гасим маркеры от .arrow */
.mrt-impact--benefits .mrt-ul--icons li::before,
.mrt-impact--benefits .mrt-ul--icons li::marker{
  content:none !important; display:none !important;
}


.mrt-impact--benefits .mrt-ul--icons li{
  display:grid;
  grid-template-columns:36px 1fr; /* колонка под иконку + колонка под текст */
  align-items:center;             /* вертикально центрируем иконку и текст */
  column-gap:20px;
  margin:12px 0;
  padding-left:0;
  line-height: normal;
}

.mrt-impact--benefits .js-icon {
  display: block;
  margin: 0;
}













/* Контакты — минимализм без рамок */
.contacts{color:#1b1b1d;}
.contacts h2{margin:0 0 12px; line-height:1.25;}
.contacts-list{list-style:none; margin:0; padding:0; display:grid; gap:10px;}
.contact-item{display:flex; align-items:baseline; gap:8px;}
.contact-item i{font-size:18px; color:#1b1b1d; opacity:.9; margin-right:2px;}
.contact-label{font-weight:700;}
.contacts a{text-decoration:none;}
.contacts a:hover{text-decoration:underline;}

/* Партнёр — лёгкий фон + тонкая рамка */
.partner-card{background:#fafafa; border:1px solid #E6E7EA; border-radius:14px; padding:24px;}
.partner-title{margin:0; font-weight:600; font-size:20px; line-height:1.4; color:#1b1b1d;}
.partner-separator{border-top:1px solid #E6E7EA; margin:10px 0 14px;}
.partner-card p{margin:0; color:rgba(27,27,29,.7);}


/* ЛИпкие кнопки */
/* Обёртка с кнопками */
.sticky-cta{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;     /* одна над другой */
  align-items: flex-end;      /* прижать к правому краю */
  gap: 8px;                   /* интервал — в 2 раза меньше */
  z-index: 2147483647;
  pointer-events: none;       /* кликаются только сами кнопки */
}
.sticky-cta__item{ pointer-events: auto; }
.sticky-cta__item a{ display:block; }
.sticky-cta__item a.qf3modal.default {margin: 0 auto;}

/* Мобилка: у низа экрана, по центру, на всю ширину */
@media (max-width: 640px){
.sticky-cta{
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center;
    gap: 12px;                /* можно увеличить/уменьшить при желании */
  }
}

/* чтобы фикс-блок не перекрывал контент внизу */
.page-wrap, .wrapper, body{
  padding-bottom: 110px;
}
@media (max-width: 640px){
.page-wrap, .wrapper, body{ padding-bottom: 150px; }
}






.stepflow{--bg:#e9ecef;--txt:#333;--strong:#000;--line:#e3e1d4;--num:#b8bcc4}
.stepflow{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom: 40px;}
.stepflow-title{margin:0 0 12px;text-align:center;font-weight:800;color:#2c3a45;font-size:22px}

.stepflow-list{display:flex;gap:18px}
@media (max-width:760px){
.stepflow-list{flex-direction:column}
}

.stepflow-item{
  position:relative;flex:1 1 0;display:flex;flex-direction:column;gap:8px;
  background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 14px 24px;
}
/* номер: абсолют, в правом-нижнем, с вылетом */
.stepflow-num{
  position:absolute;right:-8px;bottom:-8px;width:32px;height:32px;border-radius:50%;
  background:var(--num);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px
}

/* шапка шага: иконка + заголовок в одну линию */
.stepflow-headrow{display:flex;align-items:center;gap:10px}
.stepflow-icon{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center}
.stepflow-icon48{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center}
.stepflow-icon svg{width:28px;height:28px;stroke:var(--strong);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stepflow-head{margin:0;font-weight:700;color:var(--strong);font-size:16px;line-height:1.2}

/* описание — мелким шрифтом, во всю ширину блока */
.stepflow-desc{margin:0;padding-right:6px;color:var(--txt);font-size:14px;line-height:1.45}








.prodscale{
  --ps-accent:#e2be02; --ps-text:#333; --ps-strong:#000; --ps-line:#e9ecef;
  --ps-metric-w: 230px; /* единая ширина правой колонки для выравнивания разделителя */
}

.prodscale-heading { 
  border: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.prodscale .prodscale-heading{margin: 30px 0 10px;  }

.prodscale .prodscale-row{
  display:flex; align-items:center; gap:18px;
  padding:16px 0; border-top:1px solid var(--ps-line);
}
.prodscale .prodscale-row:first-child{ border-top:0; }

/* Левая иконка-заглушка — 1.5x */
.prodscale .prodscale-icon{
  width:84px; height:84px; flex:0 0 auto;
}

/* Центр: текст */
.prodscale .prodscale-content{ flex:1; min-width:0; }
.prodscale .prodscale-title{
  margin:0 0 6px; font-weight:700; color:var(--ps-strong); font-size:16px; line-height:1.25;
}
.prodscale .prodscale-desc{
  margin:0; color:var(--ps-text); font-size:14px; line-height:1.45;
}

/* Правый столбец с единой шириной и общим вертикальным разделителем */
.prodscale .prodscale-metric{
  flex:0 0 var(--ps-metric-w);
  display:flex; justify-content:flex-end; align-items:center;
  padding-left:16px; border-left:1px solid var(--ps-line); text-align:right; white-space:nowrap;
}
.prodscale .prodscale-pre{ color:var(--ps-text); font-weight:400; margin-right:6px; }
.prodscale .prodscale-num{ font-size:24px; font-weight:700; color:var(--ps-accent); line-height:1; }
.prodscale .prodscale-unit{ color:var(--ps-text); font-weight:400; margin-left:6px; }

/* Адаптив: число переносим под текст, разделитель убираем 
@media (max-width: 767.98px){
.prodscale .prodscale-row{ align-items:flex-start; }
.prodscale .prodscale-icon{ width:72px; height:72px; }
.prodscale .prodscale-metric{
flex:0 0 auto; border-left:0; padding-left:0; margin-top:6px; justify-content:flex-start;
}
.prodscale .prodscale-num{ font-size:20px; }
}*/



@media (max-width: 760px){
.prodscale .prodscale-metric{ display:none !important; }

  .prodscale .prodscale-row{
    display:grid;
    grid-template-columns: auto 1fr;           /* иконка + заголовок */
    grid-template-areas:
      "icon title"
      "desc desc";
    align-items:center;                        /* выравнивание по вертикали */
    gap:12px 14px;
  }

  .prodscale .prodscale-icon{
    grid-area: icon;
    width:60px; 
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .prodscale .prodscale-content{ display:contents; }

  .prodscale .prodscale-title{
    grid-area: title;
    margin:0;
    font-size:16px;
    line-height:1.3;
    display:flex;
    align-items:center;    /* заголовок выравнивается с иконкой */
  }

  .prodscale .prodscale-desc{
    grid-area: desc;
    margin:8px 0 0;
    font-size:14px;
    line-height:1.5;
  }
}








.stoneflow-wrap{
  --sf-text:#333; --sf-strong:#000; --sf-line:#e9ecef;
}
.stoneflow-wrap .stoneflow-item{
  display:flex; align-items:center; gap:20px;
  padding:16px 0; border-top:1px solid var(--sf-line);
}
.stoneflow-wrap .stoneflow-item:first-child{ border-top:0; }

.stoneflow-wrap .stoneflow-icon{
  width:110px; height:110px;
  background:#ddd; border:1px solid #ccc;
  overflow:hidden; flex:0 0 auto;
}
.stoneflow-wrap .stoneflow-icon img{
  display:block; width:100%; height:100%; object-fit:cover;
}

.stoneflow-wrap .stoneflow-content{ flex:1; min-width:0; }
.stoneflow-wrap .stoneflow-title{
  margin:0 0 6px; font-weight:700; color:var(--sf-strong);
  font-size:16px; line-height:1.25;
}
.stoneflow-wrap .stoneflow-desc{
  margin:0; color:var(--sf-text); font-size:14px; line-height:1.45;
}

@media (max-width:767.98px){
.stoneflow-wrap .stoneflow-icon{ width:90px; height:90px; }
  .stoneflow-wrap .stoneflow-title{ font-size:15px; }
}


















/* ==== Калькулятор подбора станка — строгий деловой стиль (mobile-first) ==== */
.qf_centr {
  text-align: center;
  background: #626262;
  padding: 25px 0;
  color: #fff;
  margin-bottom: 30px !important;
}
.qf3form.default.qfmodalform {max-width: 900px;}
/* ==== Карточка «Рекомендуемая модель» ==== */
.calculator-machine-card{
  background:#f3f4f6;    padding-bottom: 10px;
}

.calculator-machine-header {
  display: flex;flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -16px -18px 25px -18px !important;
  background: #626262;
  padding: 15px 35px;
}

.calculator-model-name{
  font-weight: 700;
  color: #ffffff;
  background: #7b7b7b;
  border: 1px solid #a5a5a5;
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  text-align: center;
}
.calculator-recommended-badge {
  flex: 0 0 auto;
  font-weight: 500;
  color: #a5a5a5;}

.calculator-highlight {
  background: #fffae1;
  border-radius: 6px;
  padding: 0 4px;
}

.calculator-features-list{
  list-style:none;
  margin: 0 30px 30px 30px !important;
  padding:0;
  display:grid;
  gap:12px;

}

.calculator-feature-item
{
  background: #ffffff;
  border-radius: 10px;
  padding: 15px 25px;;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  position: relative;
  margin:5px 0;
}

.calculator-feature-item::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #e2be02, #bf7d03, #ffa735);
}

.calculator-feature-title {
  padding: 5px 0;
}
.calculator-feature-description{
  line-height:1.45;
  color:#333333;
}

/* ==== Адаптивная раскладка ==== */

/* На планшете поля можно расположить в две колонки, кроме карточки и кнопки */
@media (min-width:900px){
form .qf3.qfselect,
  form .qf3.qftext{
    grid-template-columns: 220px 1fr; /* label | control */
    align-items:center;
  }
  .qf3label{ margin:0; }
  .qf3btn .btn.btn-primary{ width:auto; min-width:220px; }
}

/* Кнопка отправки (локально к этому блоку) */
.qf3btn .btn.btn-primary,
.qf3btn input[type="button"].btn.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:46px;
  padding:12px 16px;
  font-weight:600;
  font-size:15px;
  border-radius:10px;
  border:1px solid #bf7d03;
  color:#000000;
  background:linear-gradient(90deg,#e2be02,#ffa735);
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  cursor:pointer;
  transition:transform .08s ease, box-shadow .12s ease, filter .12s ease;
}
.qf3btn .btn.btn-primary:hover{
  box-shadow:0 6px 20px rgba(0,0,0,.12);
  filter:saturate(1.02);
}
.qf3btn .btn.btn-primary:active{
  transform:translateY(1px);
}










/* ====== Список ТОП-моделей (мобильный-first, 5 колонок ≥1280px) ====== */

.topList{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* Карточка */
.topList .topListItem{
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 12px;
  border: 1px solid #e3e1d4;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  background:
    linear-gradient(90deg, #e2be02, #ffa735) top / 100% 2px no-repeat,
    #ffffff;
  background-clip: padding-box, border-box;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  overflow: hidden;
}

.topList .topListItem:hover,
.topList .topListItem:focus-within{
  border-color: #e2be02;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

/* Кликабельная зона по всей карточке */
.topList .topListItem a{
  display: block;
  color: inherit;
  text-decoration: none;
}
.topList .topListItem a::after{
  content: "";
  position: absolute;
  inset: 0;
}

/* Медиа */
.topList .topListItem img{
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e3e1d4;
  background: #e9ecef;
}

/* Имя товара */
.topList .topListItem .topListItemName{
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: clamp(15px, 3.8vw, 16px);
  line-height: 1.35;
  color: #333333;
}

/* Описание — 3 строки, одинаковая высота */
.topList .topListItem [itemprop="description"]{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 8px;
  color: #444444;
  font-size: 14px;
  line-height: 1.45;
  min-height: calc(1.45em * 3);
}

/* Категория — бейдж */
.topList .topListItem .topListItemCategory{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1;
  color: #222222;
  background: #e9ecef;
  border: 1px solid #e3e1d4;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Фокус для доступности */
.topList .topListItem a:focus-visible{
  outline: 3px solid #ffa735;
  outline-offset: 3px;
  border-radius: 8px;
}

/* ====== Адаптив ====== */
@media (min-width: 600px){
.topList{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px){
.topList{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px){
/* ровно 5 в ряд на десктопе */
  .topList{ grid-template-columns: repeat(5, 1fr); }
  .topList .topListItem .topListItemName{ font-size: 16px; }
}

/* ====== Предпочтения по сниженной анимации ====== */
@media (prefers-reduced-motion: reduce){
.topList .topListItem{
    transition: none;
    transform: none;
  }
}





/***********      Для страницы Гравировальный станок по камню    ***********/
/* Секция "Почему выбирают гравировальные станки Mirtels" */


/* Основной заголовок секции */






/* Карточки преимуществ */













/* Список преимуществ */
.features-list-elegant {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.feature-item-elegant {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #CDCECE;
}

.feature-item-elegant:last-child {
  border-bottom: none;
}

.feature-icon-elegant {
  width: 38px;
  height: 38px;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-text-elegant {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

/* Стили для SVG иконок */
.feature-icon-elegant svg {
  width: 38px;
  height: 38px;
  display: block;
}





/* Улучшенные списки */












/* Выделение текста */


/* Секция "Заказать гравировальный станок по камню" */
.order-section {
  padding: 60px 20px;
  margin: 0 -30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Основной заголовок секции заказа */
.order-section .main-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 20px;
  position: relative;
}

.order-section .main-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
}

.order-section .main-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #e2be02, #bf7d03);
  border-radius: 2px;
}

/* Карточки для секции заказа */
.order-section .span6 article {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* border-left: 4px solid #e2be02;*/
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.order-section .span6 article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #e2be02, #bf7d03, #ffa735);
}

.order-section .span6 article:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.order-section .span6 article h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ecf0f1;
  position: relative;
}

.order-section .span6 article h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #e2be02;
}

.order-section .span6 article h4 {
  font-size: 18px;
  font-weight: 600;
  color: #bf7d03;
  margin: 25px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #ecf0f1;
}

.order-section .span6 article p {
  margin-bottom: 20px;
  color: #34495e;
  font-size: 16px;
  line-height: 1.6;
}


/* Нумерованный список для этапов заказа */
.order-section .span6 article ol {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-section .span6 article ol li {
  counter-increment: step-counter;
  position: relative;
  padding: 20px 0 20px 60px;
  margin-bottom: 15px;
  color: #2c3e50;
  font-size: 16px;
  line-height: 1.6;
  border-bottom: 1px solid #f8f9fa;
  transition: all 0.3s ease;
}

.order-section .span6 article ol li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.order-section .span6 article ol li:hover {
  padding-left: 70px;
  background: #fffae1;
  border-radius: 8px;
}

.order-section .span6 article ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #e2be02, #bf7d03);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.order-section .span6 article ol li:hover::before {
  transform: translateY(-50%) scale(1.1);
}

/* Обычные списки для контактной информации */
.order-section .span6 article ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-section .span6 article ul li {
  position: relative;
  padding: 10px 0 10px 25px;
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.order-section .span6 article ul li:hover {
  padding-left: 35px;
  color: #bf7d03;
}

.order-section .span6 article ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #e2be02;
  font-size: 18px;
  font-weight: bold;
}

/* Выделение текста */
.order-section .span6 article .bold {
  font-weight: 600;
  color: #bf7d03;
  margin-right: 8px;
}

/* Контактная информация */
.order-section .span6 article [itemprop="telephone"],
.order-section .span6 article [itemprop="email"] {
  color: #bf7d03;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.order-section .span6 article [itemprop="telephone"]:hover,
.order-section .span6 article [itemprop="email"]:hover {
  color: #e2be02;
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
.order-section .span6 article ol li {
    padding: 15px 0 15px 50px;
    font-size: 15px;
  }

  .order-section .span6 article ol li::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
.order-section .span6 article ol li {
    padding: 12px 0 12px 45px;
    font-size: 14px;
  }

  .order-section .span6 article ol li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
} 


/* Секция Цены на гравировальные станки по камню */
.pricing-section {
  padding: 60px 20px;
  margin: 0 -30px;
  background: #f8f9fa;
}



/* Карточки статей */
.pricing-section article {
  background: #ffffff;
  border-radius: 8px;
  padding: 40px 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-left: 2px solid #e2be02;
  transition: all 0.3s ease;
  height: 100%;
}

.pricing-section article:hover {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Заголовки статей */
.pricing-section article h3, .header_video {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ecf0f1;
}

/* Параграфы */
.pricing-section article p {
  margin-bottom: 20px;
  color: #34495e;
  font-size: 16px;
  line-height: 1.6;
}

/* Стильные деловые списки */












/* Выделение текста */
.pricing-section .bold {
  font-weight: 600;
  color: #2c3e50;
  margin-right: 8px;
}


/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
.pricing-section {
    padding: 40px 16px;
    margin: 0 -16px;
  }

  .pricing-section h2 {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .pricing-section article {
    padding: 30px 20px;
    margin-bottom: 25px;
  }

  .pricing-section article h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
.pricing-section {
    padding: 30px 12px;
    margin: 0 -12px;
  }

  .pricing-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .pricing-section article {
    padding: 25px 16px;
    margin-bottom: 20px;
  }

  .pricing-section article h3 {
    font-size: 20px;
    margin-bottom: 18px;
  }
}




/* Секция "Как выбрать гравировальный станок по камню" */
.stone-engraving-section {
  /* background: #f8f9fa;*/
  padding: 60px 0px;
  margin-bottom: 60px;
}

.stone-engraving-section.style1 {padding: 0px 0px;margin-bottom: 0px;}

.main-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 3px solid #ffffff;
  position: relative;
}

.main-header h2,  
.main-header h4  {
  font-size: 32px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
}

.main-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #2c3e50, #ffffff);
  border-radius: 2px;
}

.article-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-left: 2px solid #e2be02;
  transition: all 0.3s ease;
  height: 100%;
}

.article-card:hover {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.article-card h3, .advantages-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ecf0f1;
}

.article-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #bf7d03;
  margin: 25px 0 15px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #ecf0f1;
}


.article-card p {
  margin-bottom: 20px;
  color: #34495e;
  font-size: 16px;
  line-height: 1.6;
}

.article-card strong {
  color: #bf7d03;
  font-weight: 600;
}

.article-card .bold {
  font-weight: 600;
  color: #2c3e50;
  margin-right: 8px;
}

.price-highlight {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-right: 8px;
  border-left: 3px solid #e2be02;
}














.consultation-block {
  max-width: 1200px;
  margin: 0 auto !important;
  background: linear-gradient(135deg, #fffae1 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(51, 51, 51, 0.1);
  padding: 24px;
  border: 2px solid #e2be02;
  position: relative;
  overflow: hidden;
}

.consultation-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e2be02, #bf7d03, #ffa735);
}

.consultation-block::after {
  content: '';
  display: table;
  clear: both;
}

.consultation-text {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  font-weight: 500;
  text-align: center;
  display: flex !important;
  align-items: center;
  min-height: 60px;
  position: relative;
  padding-right: 16px;
  
  justify-content: space-evenly;
    align-content: flex-end;
    flex-wrap: wrap;
}

.consultation-text h3 {
  font-size: 20px;
  line-height: normal;
}

.span4.consultation-block.vaignMiddle {justify-content: center;}
.span4.consultation-block.vaignMiddle .consultation-text {  text-align: center;}
.span5.consultation-block.vaignMiddle {display: flex; justify-content: center;}
.span5.consultation-block.vaignMiddle .consultation-text {  text-align: center;}

/* Мобильная версия */
@media (max-width: 768px) {
.consultation-block {
    padding: 20px 16px;
    margin: 0 10px;
  }

  .consultation-text {
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    min-height: auto;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2be02;
    padding-right: 0;
    display: block !important;
  }
}

@media (max-width: 480px) {
.consultation-block {
    margin: 0 5px;
    padding: 16px 12px;
  }

  .consultation-text {
    font-size: 15px;
    padding-bottom: 12px;
  }
}



/* ===============================
   Секция: типы/области применения
   =============================== */

/* Контейнер секции */
.engraving-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Header */
.engraving-header {
  background: linear-gradient(135deg, #e2be02 0%, #bf7d03 100%);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.engraving-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Основной контент */
.engraving-content {
  padding: 0 16px 24px;
}

/* ===== СЕТКА ===== */

/* Базовая сетка для всех .span3 / .span4 внутри engraving-container */
.engraving-container .row-fluid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.engraving-container .row-fluid > .span3,
.engraving-container .row-fluid > .span4 {
  float: none;          /* гасим бутстраповский float */
  display: block;
  padding: 0 10px;
  min-width: 0;
}

/* Десктоп: .span3 — 4 колонки, .span4 — 3 колонки */
.engraving-container .row-fluid > .span3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.engraving-container .row-fluid > .span4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

/* Планшеты: по 2 колонки (и для span3, и для span4) */
@media (max-width: 991px) {
.engraving-container .row-fluid {
    margin: 0 -8px;
  }

  .engraving-container .row-fluid > .span3,
  .engraving-container .row-fluid > .span4 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8px;
  }
}

/* Мобильные: по одной карточке на строку */
@media (max-width: 767px) {
.engraving-container .row-fluid {
    margin: 0;
  }

  .engraving-container .row-fluid > .span3,
  .engraving-container .row-fluid > .span4 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
}

/* Выравнивание высоты карточек только в блоках engraving-content */
.engraving-content .machine-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.engraving-content .card-body {
  flex: 1;
}

/* ===== Карточки ===== */

.machine-card {
  background: #ffffff;
  border-radius: 16px;
  margin: 20px 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* Шапка карточки */
.card-header {
  background: #e9ecef;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #9b8b6d, #ffffff);
}

.card-header h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #696969;
  text-shadow: 0 1px 0 #ffffff;
}

/* Только для блока "Области применения" */
.engraving-content .card-header {
  background: #e9ecef;
  padding: 12px 16px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.engraving-content .card-header h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #696969;
  text-shadow: 0 1px 0 #ffffff;
  line-height: 1.2;
}

@media (max-width: 768px) {
.card-header h3 {
    font-size: 20px;
  }
}

/* Тело карточки */
.card-body {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #333;
}

/* Список преимуществ (там, где используется) */
.advantages-list {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.advantages-list li {
  background: #f8f9fa;
  margin: 8px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 2px solid #bf7d03;
  line-height: 1.5;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 40px;
}

.advantages-list li::before {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffa735;
  border: 1px solid #ffa735;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.advantages-list li:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

/* Внутренние мини-секции (если используются) */
.application-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  margin-top: auto;
}

.application-label {
  font-weight: 600;
  color: #ffa735;
  font-size: 16px;
  margin-bottom: 8px;
  display: inline-block;
}

.application-text {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

/* Микроадаптив */
@media (max-width: 400px) {
.engraving-header {
    padding: 20px 16px;
  }

  .engraving-header h2 {
    font-size: 22px;
  }

  .engraving-content {
    padding: 0 12px 20px;
  }

  .card-body {
    padding: 20px 16px;
  }
}

/* Анимация появления карточек */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.machine-card {
  animation: fadeInUp 0.6s ease-out;
}

.span4:nth-child(1) .machine-card { animation-delay: 0.1s; }
.span4:nth-child(2) .machine-card { animation-delay: 0.2s; }
.span4:nth-child(3) .machine-card { animation-delay: 0.3s; }

.span3:nth-child(1) .machine-card { animation-delay: 0.1s; }
.span3:nth-child(2) .machine-card { animation-delay: 0.2s; }
.span3:nth-child(3) .machine-card { animation-delay: 0.3s; }
.span3:nth-child(4) .machine-card { animation-delay: 0.4s; }

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffa735, #ff8c5a);
  transform-origin: left;
  z-index: 1000;
}


/***********      Для страницы LT60120D    ***********/

.section-style {
  padding: 50px 40px;
  position: relative;
}

.section-style:nth-child(even) {
  background: #f8f9fa;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #333;
  font-weight: 600;
}

.section-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffa735, #ff8456);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.section-icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.feature-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #ffa735;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffa735, #ff8456);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffa735, #ff8456);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.feature-description {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.section-text {
  color: #333;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: justify;
}

.tech-specs {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.spec-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  fill: #ffa735;
}

.spec-label {
  font-weight: 600;
  color: #333;
  margin-right: 10px;
}

.spec-value {
  color: #666;
}

@media (max-width: 768px) {
body {
    padding: 10px;
  }

  body:not(.com_gridbox) .body {padding: 0 0px!important;}

  .container {border-radius: 15px;}

  .section {padding: 25px 0px;}



  .section-title {
    flex-direction: column;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .section-icon {
    margin-right: 0;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
  }

  .section-icon svg {
    width: 25px;
    height: 25px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  .section-text {
    font-size: 1rem;
    text-align: left;
  }

  .tech-specs {
    padding: 20px;
    margin-top: 20px;
  }
  .spec-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .spec-item > div:first-child {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }

  .spec-icon {
    margin-bottom: 0;
    margin-right: 15px;
  }

  .spec-label {
    margin-bottom: 0;
    margin-right: 0;
  }

  .spec-value {
    margin-left: 39px; /* 24px (иконка) + 15px (отступ) */
  }
}


/******         Для страницы            *******/

.advantages-section {
  margin: 40px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.advantage-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #ffa735;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-left-color: #333;
}

.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.advantage-card h3 {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 15px;
  font-weight: 600;
}

.advantage-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
.advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantage-card {
    padding: 20px;
  }
}




/*********        ЧаВо          **********/

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom:80px;
}

.faq-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,140,0,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.faq-header h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-header p {
  color: rgba(255, 140, 0, 0.9);
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.faq-content {
  padding: 2rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 16px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-question::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-question:hover::before {
  opacity: 1;
}

.faq-question h3 {
  font-size: 1.2rem;
  color: #1a1a1a;
  font-weight: 600;
  flex: 1;
  position: relative;
  z-index: 2;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: linear-gradient(45deg, #ff8c00, #ffa500);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.faq-icon::before {
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 2rem 2rem 2rem;
  color: #495057;
  line-height: 1.7;
  font-size: 1rem;
}


.faq-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1a1a1a, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
.faq-header {
    padding: 2rem 1rem;
  }

  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-content {
    padding: 1rem;
  }

  .faq-question {
    padding: 1rem 1.5rem;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Дополнительные акценты для лучшей интеграции с Mirtels */
.faq-item.active .faq-question {
  border-left: 4px solid #ff8c00;
}

.faq-question:hover {
  border-left: 4px solid #ffa500;
}

/* Стиль для технических терминов */
.tech-term {
  background: rgba(255, 140, 0, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 500;
  color: #1a1a1a;
}


/************        ТАблица на странице каталог         **************/


.table-container {
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  -webkit-overflow-scrolling: touch;
  position: relative;
  /* Добавляем для предотвращения дергания */
  transform: translateZ(0);
  will-change: scroll-position;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  font-size: 14px;
  /* Принудительное создание нового слоя */
  transform: translateZ(0);
}

.table-container th {
  padding: 8px 6px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #ffffff;
  font-size: 12px;
  line-height: 1.2;
}

.table-container th:first-child {
  position: sticky;
  left: 0;
  z-index: 11;
  background: #ffffff;
  /* Улучшения для sticky */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.table-container td {
  padding: 8px 6px;
  border: 1px solid #ffffff;
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
  line-height: 1.3;
}

.table-container .category-header {
  font-weight: bold;
  text-align: left;
  padding-left: 10px;
  font-size: 13px;
}

.table-container .param-name {
  background-color: #ecf0f1;
  font-weight: bold;
  text-align: left;
  padding-left: 10px;
  font-size: 12px;
  min-width: 180px;
}

.table-container .sticky-col {
  position: sticky;
  left: 0;
  z-index: 5;
  border-right: 2px solid #ffffff;
  background-color: inherit;
  /* Ключевые исправления для мобильных */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Добавляем box-shadow для четкой границы */
  box-shadow: 2px 0 4px rgba(0,0,0,0.1);
}

.table-container .param-name.sticky-col {
  background-color: #ecf0f1;
}

th.sticky-col {
  background-color: #2c3e50;
  /* Усиливаем тень для заголовка */
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
}

.table-container tr:nth-child(even) td:not(.category-header):not(.param-name) {
  background-color: #f8f9fa;
}

.table-container tr:hover td:not(.category-header) {
  background-color: #e8f4f8;
}

/* Мобильная адаптация */
@media screen and (max-width: 768px) {
.table-container {
    border-radius: 4px;
    /* Дополнительные оптимизации для мобильных */
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  .table-container table {
    min-width: 600px;
    font-size: 11px;
  }

  .table-container th {
    padding: 6px 4px;
    font-size: 10px;
  }

  .table-container td {
    padding: 6px 4px;
    font-size: 10px;
    line-height: 1.2;
  }

  .param-name {
    min-width: 120px;
    font-size: 10px;
    padding-left: 8px;
  }

  .param-name.sticky-col {
    min-width: 120px;
    font-size: 10px;
    padding-left: 8px;
  }

  .category-header {
    font-size: 11px;
    padding-left: 8px;
  }

  .category-header.sticky-col {
    font-size: 11px;
    padding-left: 8px;
  }

  /* Усиливаем sticky для мобильных */
  .sticky-col {
    position: -webkit-sticky;
    position: sticky;
    /* Убираем border-right, заменяем на box-shadow */
    border-right: none;
    box-shadow: 2px 0 4px rgba(0,0,0,0.2);
  }
}

/* Очень маленькие экраны */
@media screen and (max-width: 480px) {
.table-container {
    margin: 0 -5px;
  }

  .table-container table {
    min-width: 500px;
  }

  .table-container th, .table-container td {
    padding: 4px 3px;
  }

  .param-name {
    min-width: 100px;
    font-size: 9px;
  }

  .sticky-col {
    /* Увеличиваем тень для лучшей видимости */
    box-shadow: 3px 0 6px rgba(0,0,0,0.25);
  }
}

/* Подсказка для мобильных */
.mobile-hint {
  display: none;
  background-color: #e3ac00;
  color: white;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
.mobile-hint {
    display: block;
  }
}

/* Дополнительные стили для плавности */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.highlight {
  background-color: #e0b25e;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
}

.equipment-series {
  background-color: #e3e1d4;
  padding: 20px 30px;
  margin: 15px;
  FONT-WEIGHT: 200;
  border-left: 4px solid #646262;
}
.advantages {
  background-color: #fffae1;
  padding: 15px;
  border-radius: 8px;
}
.cta-section {
  background-color: #3498db;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin: 30px 0;
}
ul {
  list-style-type: disc;
  margin-left: 20px;
}
.breadcrumb {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 20px;
}
.contact-info {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
}


/*Остальное*/


.box_exit_popup {padding:0; position: relative;}
.box_exit_popup img {border:1px solid #ffffff; padding:0;}
.popup_text {
  position: absolute;
  left: 50%;
  top: 130px;
  bottom: 50px;
  right: 55px;
  padding: 0 20px;
}
.popup_text h3 {
  line-height: 110%;
  font-size: 22px;
}
.popup_text a {
  background: #e6a003;
  padding: 10px 45px;
  border-radius: 20px;
  position: relative;
  color: #000;
  font-weight: 600;
}

.popup_text a:hover {
  background: #000;    color: #e6a003;
}

.clearer40{clear:both; width:100%; height:40px;}
.orange{color: #ca9700;}
.bold {font-weight:600;}

ul.documents {
  list-style: none;
  padding: 0;
  margin: 0;
}
.documents span {
  display:table-cell;
  padding: 0 0 0 20px;
  vertical-align: middle;
  padding: 5px 0 5px 0px;
}

.documents i.fa {
  display: table-cell;
  vertical-align: middle;
  font-size: 22px;
  padding: 5px 10px 5px 0px;
}

.documents a {
  display:table-row;
  text-decoration: underline;
  color: #464141;
  font-size: 15px;
  line-height: 18px;
}


a.qf3modal.default {
  display: block;
  background: #bf7d02;
  text-align: center;
  padding: 15px 20px;
  color: #fff;
  max-width: 255px;
  margin: 10px auto;
  font-size: 18px;
  font-weight: 500;
}

a.qf3modal.default:hover {
  background: #333333;
}

.note {
  -webkit-border-radius: 3px;
  border-radius: 3px;
  margin: 0 0 1.5em 0;
  overflow: hidden;
  padding: 20px;
  position: relative;
  background-color: rgb(218 127 59 / 5%);
}

.note p{color: #218BB2;}


.note:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 18px;
  margin-top: -21px;
  margin-left: -66px;
  transform: rotate(-45deg);
  background-color: #da8d3b;
}

.note-style5 {
  border: none;
  position: relative;
}

.note.style2 {
  background-color: #bf7d02;
  border-color: #9e6700;
}
.note.style2 p{color: #ffffff !important;}


ul.tags.list-inline {margin: 50px 0 0 0;}

.tags.list-inline li {display: inline-block; margin: 0 2px 5px 0;}

.tags.list-inline li a.btn {
  padding: 5px;
  text-transform: none;
  font-size: 12px;
  color: #a9a9a9;
  font-weight: 400;
  text-shadow: 1px 1px #fff;
  background-color: #ebebeb;
}
.tags.list-inline li a.btn:hover {
  color: #6c6c6c;
  text-shadow: 1px 1px #dad9d9;
  background-color: #bababa;
}





.qf3form.default {
  padding: 0;
  background: transparent;
}

.qf3form.default .qf3btn input {
  display: inline-block;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  text-decoration: none;
  border-radius: 0;
  border: 0;
  background: #bf7d02;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  padding: 15px 45px;
  height: auto;
  color: #fff;
}

.qf3form.default .qf3btn input:hover, .qf3form.default .qf3btn input:focus {
  text-decoration: none;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
  color: #fff;
  background: #4f5861
}

.qf3form.default .qf3btn input:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px
}


.qf3form.default .qf3 {
  padding: 1.2em 0;
}



figure.item-image {margin: 0;}

.blog-item h2 {font-size: 18px; line-height: 22px;font-weight: 500;}
.blog-item h2 a{color: #fff;}

.com-content-category-blog__item.blog-item {
  position: relative;
  margin-bottom: 15px;
}

.blog-item .page-header {
  margin: 18px 0 27px;
  padding: 8px;
  background: #000000a6;
}

.item-content {
  position: absolute;
  top: 15px;
  left: 28px;
  background: #00000094;
  right: 28px;
  bottom: 15px;
}

.item-content
p.readmore {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
}

.item-content
a.btn.btn-secondary {
  position: relative;
  display: block;
  background-color: #fafafa94;
}

input[id^="spoiler"]{
  display: none;
}
input[id^="spoiler"] + label {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  background: #ececec;
  color: #878585;
  text-align: left;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .6s;
  box-sizing: border-box;
}

input[id^="spoiler"]:checked + label {
  color: #333;
  background: #ccc;
}
input[id^="spoiler"] ~ .spoiler {
  height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 2px auto 0; 
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all .6s;
}
input[id^="spoiler"]:checked + label + .spoiler{
  height: auto;
  opacity: 1;
  padding: 10px;
  margin-bottom: 10px;
}



button.btn.search-btn [class*="icon"] {
  display: block  !important;
}
.jt-search-wrap .search-btn {
  background-color: #fff;
  color: rgb(31 30 30);
}


@media (min-width: 560px){
.sf2-body {margin-top: 70px;}
  .sf2-body div#simpleForm2_310_vashe_imja, .sf2-body div#simpleForm2_310_vash_e-mail, 
  .sf2-body div#simpleForm2_310_vash_telefon {
    width: 33%;
    float: left;
  }
  input.inputtext {width: 98%;}
}
.head-module {
  font-size: 22px;
  font-weight: 600;
}
.footerlink:hover{color: #bf7d02;text-decoration: underline;}

.simpleForm2 textarea {
  width: 100%;
  height: 100px;
}

.sf2Style-default button.sf2-element[type="submit"] {
  background: #bf7d02 !important;
  color: #fff;
  font-weight: 500;
  display: block;
  width: 100%;
  padding: 25px 0;
  margin: 27px 0;
  border-radius: 0;
}

.sf2Style-default button.sf2-element[type="submit"]:hover {background: #141313;}

@media (min-width: 768px){
div#simpleForm2_310_a314b5dfd20eb6562ac2b599f191fad8 {width: 50%;float: left;}
  div#simpleForm2_310_verification_code {width: 50%;float: left;}
  /*.jt-search-wrap .btn.search-btn {top: 3em;}*/
}

.s5_module_box_2 {
  border-bottom: solid 8px #CCC;
  text-align: center;
  background: #efeeee;  
  padding: 15px;
  margin: -10px;
}
.icon_title {
  text-align: center;
  font-size: 1.03em;
  line-height: 150%;
  text-transform: uppercase;
  font-weight: 500;
  color: #565656;
  padding: 20px 0 00;
  position: relative;
  margin: 1px;
}

.icon_title a {
  color: #565656;
  text-decoration: none;
}

.icon_title a:hover{text-decoration: none;}
.s5_module_box_2:hover{background:#cccccc;  border-bottom: solid 8px #121111;-webkit-transition: all .3s ease-in-out; transition: all .3s ease-in-out;}

.s5_module_box_2:hover .icon_title a {
  color: #bf7d02;
  text-decoration: none;
}

.s5_module_box_2 a, .s5_module_box_2 a:hover {text-decoration: none;}

.catalog .s5_module_box_2 h3.icon_title:before {
  position: absolute;
  content: '';
  border: 10px solid transparent;
  border-bottom-color: #efeeee;
  left: 50%;
  z-index: 11;
  top: -20px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}


table.tehnic{
  border-left:#916204 1px solid;
  border-top:#916204 1px solid;	
  width:100%;
}

table.tehnic th{
  background: #efc674;
  border-left: #916204 1px solid;
  border-top: #916204 1px solid;
  border-right: #916204 1px solid;
  padding: 15px 5px;
  color: #fff;
}
table.tehnic tr:last-child th {border-bottom: #916204 1px solid;}
table.tehnic tr:first-child th:last {border-right: #916204 1px solid;}

table.tehnic td{
  border-right:#d6dde2 1px solid;
  border-bottom:#d6dde2 1px solid;
  padding: 15px 5px;
}

table.tehnic tr:nth-child(2), table.tehnic tr:nth-child(4), table.tehnic tr:nth-child(6), table.tehnic tr:nth-child(8), table.tehnic tr:nth-child(10), 
table.tehnic tr:nth-child(12), table.tehnic tr:nth-child(14), table.tehnic tr:nth-child(16), table.tehnic tr:nth-child(18), table.tehnic tr:nth-child(20){
  background:#eceff1;	
}

table.tehnic tr:first-child th {
  padding: 15px 5px;
  background: #e29702;
}

table.tehnic tr:last-child td{border-bottom:#916204 1px solid;}

table.tehnic tr td:last-child{border-right:#916204 1px solid;}

table.tehnic tr:hover{
  background:#302f2c;
  color: #fff;
}

p.name_company {font-weight: bold;}
.heading_style5 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.heading_style5 span{
  font-size: 22px;
  line-height: 22px;
  color: #666;
  position: relative;
  display: inline-block;
  padding: 0 10px;
}

.heading_style5 span:before {
  left: 100%;
  content: '';
  position: absolute;
  width: 1200px;
  height: 100%;
  background-image: url('/templates/mirtels/images/strip-pattern.svg');
}

.heading_style5 span:after {
  right: 100%;
  content: '';
  position: absolute;
  width: 1200px;
  height: 100%;
  background-image: url('/templates/mirtels/images/strip-pattern.svg');
}
.jmap_filetree span.folder {display: none !important;}


.breadcrumbs a.pathway{
  padding-right: 20px;position: relative;
}
.breadcrumbs a.pathway:after {
  content: ">>";
  display: block;
  position: absolute;
  top: -5px;
  right: 5px;
  font-size: 11px;
  color: #919191;
  letter-spacing: -2px;
}
ul.sigFreeClassic li.sigFreeThumb a.sigFreeLink, ul.sigFreeClassic li.sigFreeThumb a.sigFreeLink:hover {
  background-color: transparent;
}
ul.sigFreeClassic li.sigFreeThumb {margin: 0 10px 10px 0;}




body:not(.com_gridbox) .body {margin: 30px 0 !important;padding: 0 30px;}


@media (min-width: 1200px){
.com_content .row-fluid{margin: 0px;width: auto !important}
  .row-fluid:before,.row-fluid:after{display: table;content: "";line-height: 0}
  .row-fluid:after{clear: both}
  .row-fluid [class*="span"]{display: block;width: 100%;box-sizing: border-box;float: left;margin-left: 0;padding: 0 15px}
  .row-fluid .span12{width: 100%}.row-fluid .span11{width: 91.66666667%}.row-fluid .span10{width: 83.33333333%}
  .row-fluid .span9{width: 75%}
  .row-fluid .span8{width: 66.66666667%}
  .row-fluid .span7{width: 58.33333333%}.row-fluid .span6{width: 50%}
  .row-fluid .span5{width: 41.66666667%}
  .row-fluid .span4{width: 33.33333333%}
  .row-fluid .span3{width: 25%}
  .row-fluid .span2{width: 16.66666667%}
  .row-fluid .span1{width: 8.33333333%}

  .divider [class*="span"] {border-right: 1px solid #ccc;}
  .divider [class*="span"]:last-child {border-right: none;}
}

@media (min-width: 768px) and (max-width: 979px){
.row{margin-left: -20px}.row:before,.row:after{display: table;content: "";line-height: 0}
  .row:after{clear: both}[class*="span"]{float: left;min-height: 1px;margin-left: 20px}
  .span12{width: 724px}
  .span11{width: 662px}
  .span10{width: 600px}
  .span9{width: 538px}
  .span8{width: 476px}
  .span7{width: 414px}
  .span6{width: 352px}
  .span5{width: 290px}
  .span4{width: 228px}
  .span3{width: 166px}
  .span2{width: 104px}
  .span1{width: 42px}
}

@media (max-width: 767px){
.row-fluid{width: auto !important}
  .row-fluid [class*="span"]{float: none;display: block;width: 100%;margin-left: 0;box-sizing: border-box}
  .span12,.row-fluid .span12{width: 100%;box-sizing: border-box}
}

@media (max-width: 1024px){
.header .ba-col-10, .header [class*="ba-col"].ba-tb-la-10 {width: 16%;}
}

@media (min-width: 1025px) and (max-width: 1400px){
#item-179497138805 > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > li.nav-item.item-470.default {
    display: block;
  }
  #item-179497138805 > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > li.nav-item.item-470.default a {
    text-align: center;
  }
  #item-179497138805 > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul {
    border-right: 1px dotted #a39d9d;
  }
}


@media (min-width: 1200px){
.com_content .row-fluid {
    margin: 0px;
    width: auto !important;
  }
  #item-179497138805 > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul {
    border-right: none;
  }
}


ul, ol, table{color: #020202;}

.row-fluid {
  display: flex;
  flex-wrap: wrap;
}

.span6, .span4 {
  display: flex !important;
  flex-direction: column !important;
}


@media (max-width: 767px) {
.ba-gridbox-page.row-fluid {
    display: block;
    width: auto !important;
}
}



/* По умолчанию (десктопы, всё > планшета) */
.phone_hidden {
  display: block;      /* или нужный тебе display */
}

.phone_display {
  display: none;
}

/* Планшеты и телефоны: меняем местами */
@media (max-width: 991px) {
.phone_hidden {
    display: none;
  }

  .phone_display {
    display: block;    /* или inline / inline-block – как нужно по верстке */
  }
}

.home-hero-consultation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.home-hero-consultation__text {
    width: 100%;
    text-align: center;
}

.home-hero-consultation__actions {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 14px;
    width: auto;
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.home-hero-consultation__actions a.qf3modal.default {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    padding: 16px 26px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.home-hero-consultation__actions a.qf3modal.default:hover,
.home-hero-consultation__actions a.qf3modal.default:focus,
.home-hero-consultation__actions a.qf3modal.default:active,
.home-hero-consultation__actions a.qf3modal.default:visited {
    text-decoration: none !important;
    border-bottom: none !important;
}

@media (max-width: 991px) {
    .home-hero-consultation__actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .home-hero-consultation__actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-hero-consultation__actions a.qf3modal.default {
        width: auto !important;
        max-width: 100% !important;
    }
}


/* ==========================================================================
   BUYFLOW — 2 ряда по 3 круга со стрелками.
   Планшеты: по 2 в ряд; мобайл: по одному (стрелка вниз).
   Иконки: встроенные SVG (тонкий светло-серый штрих).
   ========================================================================== */

.buyflow {
  padding: 3rem 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.buyflow h2 {
  margin: 0;
  text-align: center;
  font-size: 1.9rem;
}

/* ----- Ряд ----- */
.buyflow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: nowrap;
}

/* ----- Круг-шаг ----- */
.buyflow-step {
  width: 240px;
  height: 240px;
  background: #f8f8f8;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  position: relative;
  transition: transform .25s ease;
}

.buyflow-step:hover {
  transform: translateY(-4px);
}

.buyflow-step > * {
  max-width: 82%;
  margin-left: auto;
  margin-right: auto;
}

.buyflow-step h4 {
  font-weight: 700;
  font-size: clamp(1rem, 1.05vw + .9rem, 1.15rem);
  line-height: 1.2;
  margin: .25rem 0 .5rem 0;
  color: #111;
}

.buyflow-step p {
  font-size: clamp(.9rem, .5vw + .8rem, 1rem);
  line-height: 1.45;
  color: #666;
  margin: 0;
}

/* ----- Иконка ----- */
.buyflow-step::before {
  content: "";
  width: 52px;
  height: 52px;
  margin-bottom: .7rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .95;
}

/* ===== ИКОНКИ ===== */
/* Ряд 1: 1 — консультация, 3 — тест, 5 — коммерческое предложение */

.buyflow-row:first-of-type .buyflow-step:nth-of-type(1)::before {
  /* chat */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M4 5h12a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H11l-4 3v-3H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/>\
<path d='M7 9h7M7 12h4'/>\
</svg>");
}

.buyflow-row:first-of-type .buyflow-step:nth-of-type(3)::before {
  /* search */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'>\
<circle cx='11' cy='11' r='6'/>\
<path d='M20 20l-3.5-3.5'/>\
</svg>");
}

.buyflow-row:first-of-type .buyflow-step:nth-of-type(5)::before {
  /* file-check */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M6 2h9l5 5v15H6z'/>\
<path d='M15 2v6h6'/>\
<path d='M9 17h6'/>\
<path d='M9 13l2 2 4-4'/>\
</svg>");
}

/* Ряд 2: 1 — договор/отгрузка, 3 — ввод в эксплуатацию, 5 — первый поток заказов */

.buyflow-row:nth-of-type(2) .buyflow-step:nth-of-type(1)::before {
  /* truck */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'>\
<rect x='3' y='8' width='10' height='7' rx='2'/>\
<path d='M13 11h3l2 3v1h-5z'/>\
<circle cx='7' cy='18' r='1.6'/><circle cx='18' cy='18' r='1.6'/>\
</svg>");
}

.buyflow-row:nth-of-type(2) .buyflow-step:nth-of-type(3)::before {
  /* cog */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'>\
<circle cx='12' cy='12' r='3'/>\
<path d='M12 3v2M12 19v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M3 12h2M19 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/>\
</svg>");
}

.buyflow-row:nth-of-type(2) .buyflow-step:nth-of-type(5)::before {
  /* bar-chart */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M3 20h18'/>\
<rect x='5' y='12' width='3' height='6'/>\
<rect x='10.5' y='9' width='3' height='9'/>\
<rect x='16' y='6' width='3' height='12'/>\
</svg>");
}

/* ----- Стрелка ----- */
.buyflow-arrow {
  position: relative;
  width: 56px;
  height: 2px;
  background: #111;
  flex-shrink: 0;
}

.buyflow-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  transform: translateY(-50%) rotate(45deg);
}

/* ----- Планшеты ----- */
@media (max-width: 992px) {
  .buyflow-row {
    flex-wrap: wrap;
    gap: 2rem 3rem;
  }

  .buyflow-step {
    width: 220px;
    height: 220px;
  }

  .buyflow-step > * {
    max-width: 84%;
  }

  .buyflow-arrow {
    width: 40px;
  }
}

/* ----- Мобайл ----- */
@media (max-width: 600px) {
  .buyflow-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .buyflow-step {
    width: 220px;
    height: 220px;
  }

  .buyflow-arrow {
    width: 2px;
    height: 44px;
    background: #111;
  }

  .buyflow-arrow::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    transform: translateX(-50%) rotate(135deg);
  }
}

/* =========================================================
   BUYFLOW — Технология печати
   Локальное переопределение только для .buyflow.tehnology
   ========================================================= */

.buyflow.tehnology {
  gap: 2rem;
}

.buyflow.tehnology .buyflow-row {
  margin-top: -8px;
}

.buyflow.tehnology .buyflow-step::before {
  background-image: none !important;
  width: auto;
  height: auto;
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  color: #bf7d03;
  opacity: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.buyflow.tehnology .buyflow-step:nth-of-type(1)::before {
  content: "I";
}

.buyflow.tehnology .buyflow-step:nth-of-type(2)::before {
  content: "II";
}

.buyflow.tehnology .buyflow-step:nth-of-type(3)::before {
  content: "III";
}

.buyflow.tehnology .buyflow-step p {
  max-width: 16ch;
}

.buyflow.tehnology .width900 {
  max-width: 900px;
  margin: 0 auto;
}

.buyflow.tehnology .width900 p {
  text-align: center;
}

@media (max-width: 600px) {
  .buyflow.tehnology .buyflow-step::before {
    font-size: 30px;
    margin-bottom: 8px;
  }

  .buyflow.tehnology .width900 p {
    text-align: left;
  }
}



.home-trust-strip {
    margin: 44px 0 56px;
}

.home-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.home-trust-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 22px 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.42);
    box-sizing: border-box;
}

.home-trust-strip__title {
    margin: 0 0 16px;
    min-height: 50px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 500;
    color: #6e6e6e;
    text-wrap: balance;
}

.home-trust-strip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
    flex: 0 0 auto;
}

.home-trust-strip__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-trust-strip__text {
    font-size: 14px;
    letter-spacing: 0.1px;
    line-height: 1.55;
    color: #737578;
    font-style: italic;
    text-align: left;
}

@media (max-width: 1279px) {
    .home-trust-strip__grid {
        gap: 18px;
    }

    .home-trust-strip__item {
        padding: 20px 16px 18px;
    }

    .home-trust-strip__title {
        font-size: 19px;
        min-height: 46px;
    }

    .home-trust-strip__icon {
        width: 88px;
        height: 88px;
    }

    .home-trust-strip__text {
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .home-trust-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-trust-strip__title {
        min-height: 44px;
    }
}

@media (max-width: 767px) {
    .home-trust-strip {
        margin: 34px 0 44px;
    }

    .home-trust-strip__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-trust-strip__item {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .home-trust-strip__title {
        min-height: 0;
        margin-bottom: 12px;
        font-size: 18px;
    }

    .home-trust-strip__icon {
        width: 74px;
        height: 74px;
        margin-bottom: 12px;
    }

    .home-trust-strip__text {
        font-size: 15px;
        line-height: 1.5;
    }
}


/* =========================================================
   BENEFITS — "Что вы получаете с Миртелс"
   ========================================================= */

.benefits {
  padding: 4rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

.benefits h2 {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 2.5rem;
  font-weight: 700;
  color: #111;
  position: relative;
  letter-spacing: 0.3px;
}

.benefits h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #ffb347 0%, #ff8800 100%);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ----- Список ----- */
.benefits ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits li {
  position: relative;
  font-size: 1.06rem;
  line-height: 1.65;
  padding-left: 2.4rem;
  color: #333;
  transition: color 0.25s ease;
}

.benefits li:hover {
  color: #111;
}

/* Акцентная метка */
.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #ffb347 0%, #ff8800 100%);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 136, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefits li:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 136, 0, 0.45);
}

/* Выделение ключевых слов */
.benefits .bold {
  font-weight: 700;
  color: #111;
}

/* ----- CTA под списком ----- */
.benefits-cta {
  text-align: center;
  margin: 3.5rem auto 0;
  padding: 2.5rem 2rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7f0 0%, #fff 90%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  max-width: 880px;
}

.benefits-cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  margin: 0 0 1.8rem;
}

.benefits-cta strong {
  font-weight: 700;
  color: #000;
}

.benefits-cta em {
  font-style: normal;
  color: #555;
}

.benefits-cta .btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----- Адаптив ----- */
@media (max-width: 768px) {
  .benefits {
    padding: 3rem 1.5rem 4rem;
  }

  .benefits h2 {
    font-size: 1.6rem;
  }

  .benefits li {
    font-size: 1rem;
    padding-left: 2rem;
  }

  .benefits-cta {
    margin-top: 3rem;
    padding: 2rem 1.5rem;
  }

  .benefits-cta p {
    font-size: 1rem;
    line-height: 1.6;
  }
}




.home-directions {
    margin: 56px 0 72px;
}

.home-directions__container {
    width: 100%;
}

/* Общие заголовки */

.home-directions__heading,
.home-directions__title {
    margin: 0;
    font-size: clamp(28px, 2.2vw, 42px);
    line-height: 1.15;
    font-weight: 500;
    color: #1b1b1d;
    text-align: center;
}

.home-directions__subtitle {
    max-width: 900px;
    margin: 14px auto 0;
    font-size: 18px;
    line-height: 1.55;
    color: #5d6673;
    text-align: center;
}

/* Блок 3 */

.home-directions__hero {
    margin-bottom: 54px;
}

.home-directions__hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.home-directions__hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 30px 30px 28px;
    border: 1px solid rgba(214, 167, 20, 0.45);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.18) 100%),
        #f8f3e2;
    box-sizing: border-box;
    overflow: hidden;
}

.home-directions__hero-card::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(214, 167, 20, 0.08);
}

.home-directions__hero-card::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 18px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid rgba(27, 27, 29, 0.08);
    background: rgba(255,255,255,0.32);
}

.home-directions__hero-topline {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b58000;
}

.home-directions__hero-title {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    font-size: clamp(28px, 2vw, 38px);
    line-height: 1.12;
    font-weight: 500;
    color: #1b1b1d;
}

.home-directions__hero-text {
    position: relative;
    z-index: 1;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.65;
    color: #4a515c;
}

.home-directions__hero-cta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
}

.home-directions__hero-cta .qf3modal.default {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 14px 26px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    .home-directions__hero-cta {
        justify-content: center;
        padding-top: 18px;
    }

    .home-directions__hero-cta .qf3modal.default {
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
    }
}

/* Блоки 4 и 5 */

.home-directions__section + .home-directions__section {
    margin-top: 54px;
}

.home-directions__section-head {
    margin-bottom: 26px;
}

.home-directions__grid {
    display: grid;
    gap: 20px;
}

.home-directions__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-directions__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-directions__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
    border: 1px solid rgba(27, 27, 29, 0.10);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.44);
    box-sizing: border-box;
}

.home-directions__card-label {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b58000;
}

.home-directions__card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
}

.home-directions__card-image picture,
.home-directions__card-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-directions__card-image img {
    object-fit: contain;
}

.home-directions__card-title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    color: #1b1b1d;
}

.home-directions__card-text {
    font-size: 16px;
    line-height: 1.62;
    color: #58616d;
}

.home-directions__card-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding-top: 20px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    color: #1b1b1d;
    text-decoration: none;
}

.home-directions__card-link::after {
    content: "";
    width: 22px;
    height: 1px;
    margin-left: 10px;
    background: #d6a714;
}

.home-directions__section-cta {
    margin-top: 24px;
    text-align: center;
}

.home-directions__section-cta .qf3modal.default {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 14px 26px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.2 !important;
}

/* Планшет */

@media (max-width: 1199px) {
    .home-directions__hero-card {
        min-height: 290px;
        padding: 26px 24px 24px;
    }

    .home-directions__grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-directions__card-image {
        height: 210px;
    }
}

/* Планшет узкий */

@media (max-width: 991px) {
    .home-directions {
        margin: 44px 0 58px;
    }

    .home-directions__hero-grid {
        grid-template-columns: 1fr;
    }

    .home-directions__grid--2 {
        grid-template-columns: 1fr;
    }

    .home-directions__subtitle {
        font-size: 17px;
    }
}

/* Мобильный */

@media (max-width: 767px) {
    .home-directions {
        margin: 34px 0 46px;
    }

    .home-directions__hero {
        margin-bottom: 40px;
    }

    .home-directions__hero-grid,
    .home-directions__grid {
        gap: 14px;
    }

    .home-directions__hero-card {
        min-height: 0;
        padding: 22px 18px 20px;
        border-radius: 18px;
    }

    .home-directions__hero-title {
        font-size: 26px;
    }

    .home-directions__hero-text {
        font-size: 15px;
        line-height: 1.55;
    }

    .home-directions__hero-cta {
        justify-content: center;
        padding-top: 18px;
        text-align: center;
    }

    .home-directions__hero-cta > * {
        margin-left: 0 !important;
    }

    .home-directions__hero-cta p,
    .home-directions__hero-cta div,
    .home-directions__hero-cta span {
        margin: 0;
        text-align: center;
    }

    .home-directions__hero-cta .qf3modal.default,
    .home-directions__section-cta .qf3modal.default {
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .home-directions__section + .home-directions__section {
        margin-top: 40px;
    }

    .home-directions__section-head {
        margin-bottom: 18px;
    }

    .home-directions__subtitle {
        font-size: 15px;
        line-height: 1.5;
    }

    .home-directions__grid--4,
    .home-directions__grid--2 {
        grid-template-columns: 1fr;
    }

    .home-directions__card {
        padding: 20px 16px 18px;
        border-radius: 16px;
    }

    .home-directions__card-image {
        height: 180px;
        margin: 0 0 16px;
    }

    .home-directions__card-title {
        font-size: 21px;
    }

    .home-directions__card-text {
        font-size: 15px;
        line-height: 1.55;
    }

    .home-directions__section-cta {
        margin-top: 18px;
    }
}


.home-directions__grid--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-directions__grid--categories .home-directions__card {
    position: relative;
    overflow: hidden;
    padding: 26px 24px 22px;
    border: 1px solid rgba(214, 167, 20, 0.45);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.18) 100%),
        #f8f3e2;
}

.home-directions__grid--categories .home-directions__card::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(214, 167, 20, 0.08);
}

.home-directions__grid--categories .home-directions__card::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 18px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid rgba(27, 27, 29, 0.08);
    background: rgba(255,255,255,0.32);
}

.home-directions__grid--categories .home-directions__card > * {
    position: relative;
    z-index: 1;
}

.home-directions__grid--categories .home-directions__card-image {
    height: 210px;
}

@media (max-width: 1199px) {
    .home-directions__grid--categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-directions__grid--categories {
        grid-template-columns: 1fr;
    }

    .home-directions__grid--categories .home-directions__card {
        padding: 20px 16px 18px;
        border-radius: 16px;
    }

    .home-directions__grid--categories .home-directions__card-image {
        height: 180px;
    }
}

.home-directions__grid.home-directions__grid--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .home-directions__grid.home-directions__grid--categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-directions__grid.home-directions__grid--categories {
        grid-template-columns: 1fr;
    }
}




/*=============== product-intro ===============*/
.product-intro {
  width: 100%;
}

.product-intro__header {
  margin: 0 0 32px;
}

.product-intro__layout {
  display: block;
}

.product-intro__image {
  margin: 0 0 24px;
}

.product-intro__image picture {
  display: block;
  margin: 0 0 20px;
}

.product-intro__image img {
  display: block;
  width: 100%;
  height: auto;
}

.photo_gallery_product_intro {
  /*max-width: 360px;*/
  padding:15px 15px 0 15px;
  margin: 0 auto;
}

.product-intro__content {
  display: block;
}

.product-intro__block {
  margin: 0 0 24px;
}

.product-intro__block:last-child {
  margin-bottom: 0;
}

.product-intro__block p {
  margin: 0 0 16px;
}

.product-intro__block p:last-child {
  margin-bottom: 0;
}

.product-intro__block ul {
  margin: 0 0 6px;
  padding-left: 0;
}

.product-intro__block ul:last-child {
  margin-bottom: 0;
}

.product-intro__block li {
  margin: 0 0 10px;
}

.product-intro__block li:last-child {
  margin-bottom: 0;
}

.advantages-list--2col {
  column-count: 2;
  column-gap: 32px;
}

.advantages-list--2col li {
  break-inside: avoid;
}

.product-intro__block--note-top {
  padding: 16px;
  background: #efefef;
}

.product-intro__note-inner {
  height: 100%;
  padding: 28px 34px;
  border: 1px solid #bf7d03;
  border-radius: 18px;
  box-sizing: border-box;
}

.product-intro__caps {
  text-transform: uppercase;
}

.product-intro__materials-grid {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(260px, max-content));
  gap: 12px 14px;
  margin: 0 auto 16px;
}

.product-intro__block--materials {
  text-align: center;
}

.product-intro__block--materials > p {
  text-align: left;
}

.product-intro__materials-grid .price-highlight {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  /*text-align: center;
  justify-content: center;*/
}

@media (max-width: 767px) {
  .advantages-list--2col {
    column-count: 1;
  }

  .product-intro__materials-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .product-intro__layout {
    display: grid;
    grid-template-columns: minmax(320px, 560px) minmax(0, 1fr);
    gap: 25px;
    align-items: start;
  }

  .product-intro__image {
    margin: 0;
  }

  .product-intro__content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 28px 32px;
    align-items: stretch;
  }

  .product-intro__block {
    margin: 0;
  }

  .product-intro__block--intro {
    grid-column: 1;
    grid-row: 1;
  }

  .product-intro__block--note-top {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    display: flex;
  }

  .product-intro__block--main {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .product-intro__block--materials {
    grid-column: 1;
    grid-row: 3;
  }

  .product-intro__block--note-bottom {
    grid-column: 2;
    grid-row: 3;
  }
}


.product-tasks {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 28px 24px 60px;
  background: #f1f3f5;
  border-radius: 12px;
  box-sizing: border-box;
}

.product-tasks h2 {
  margin: 0 0 14px;
  text-align: center;
}

.product-tasks > p {
  margin: 0 0 26px;
  text-align: center;
}

.product-tasks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
  align-items: start;
}

.product-tasks__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 10px;
  min-width: 0;
}

.product-tasks__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.product-tasks__icon picture {
  display: block;
  width: 100%;
  height: 100%;
}

.product-tasks__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-tasks__title {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  max-width: 22ch;
}

/* планшет: 3×2 сохраняем, только секция уже */
@media (max-width: 991px) {
  .product-tasks {
    max-width: 760px;
    padding: 24px 20px 26px;
  }

  .product-tasks__grid {
    gap: 22px 18px;
  }

  .product-tasks__icon {
    width: 50px;
    height: 50px;
  }
}

/* мобильный: 2×3 */
@media (max-width: 767px) {
  .product-tasks {
    padding: 22px 16px 24px;
    border-radius: 10px;
  }

  .product-tasks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .product-tasks__icon {
    width: 44px;
    height: 44px;
  }

  .product-tasks__title {
    font-size: 12px;
    max-width: 18ch;
  }
}

/* очень узкий экран: по одному */
@media (max-width: 430px) {
  .product-tasks__grid {
    grid-template-columns: 1fr;
  }

  .product-tasks__title {
    max-width: none;
  }
}


/* =========================================================
   FORCE user.css over parent template for machine-card
   ========================================================= */

/* сама карточка */
.machine-card.card,
.machine-card {
  background: #ffffff;
  border-radius: 16px;
  margin: 20px 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* если элемент одновременно и .card, подменяем bootstrap-переменные */
.machine-card.card {
  --card-border-radius: 16px;
  --card-inner-border-radius: 16px;
  --card-cap-bg: #e9ecef;
  --card-cap-color: inherit;
  --card-cap-padding-y: 20px;
  --card-cap-padding-x: 20px;
  --card-spacer-y: 24px;
  --card-spacer-x: 20px;
  --card-border-color: transparent;
  border: 0;
}

/* hover */
.machine-card.card:hover,
.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* шапка карточки */
.machine-card.card > .card-header,
.machine-card > .card-header {
  background: #e9ecef;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  margin-bottom: 0;
}

/* верхняя декоративная полоска */
.machine-card.card > .card-header::before,
.machine-card > .card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #9b8b6d, #ffffff);
}

/* заголовок внутри шапки */
.machine-card.card > .card-header h3,
.machine-card > .card-header h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #696969;
  text-shadow: 0 1px 0 #ffffff;
      text-align: center;
}

/* вариант только для engraving-content */
.engraving-content .machine-card.card > .card-header,
.engraving-content .machine-card > .card-header {
  background: #e9ecef;
  padding: 12px 16px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* h3 только для engraving-content */
.engraving-content .machine-card.card > .card-header h3,
.engraving-content .machine-card > .card-header h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #696969;
  text-shadow: 0 1px 0 #ffffff;
  line-height: 1.2;
}

/* тело карточки */
.machine-card.card > .card-body,
.machine-card > .card-body {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* выравнивание высоты в engraving-content */
.engraving-content .machine-card.card > .card-body,
.engraving-content .machine-card > .card-body {
  flex: 1 1 auto;
}

/* радиусы шапки */
.machine-card.card > .card-header:first-child,
.machine-card > .card-header:first-child {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* перебиваем bootstrap card-group */
.card-group > .machine-card.card:not(:last-child) > .card-header,
.card-group > .machine-card:not(:last-child) > .card-header {
  border-top-right-radius: 16px;
}

.card-group > .machine-card.card:not(:first-child) > .card-header,
.card-group > .machine-card:not(:first-child) > .card-header {
  border-top-left-radius: 16px;
}

/* мобильный размер заголовка */
@media (max-width: 768px) {
  .machine-card.card > .card-header h3,
  .machine-card > .card-header h3 {
    font-size: 20px;
  }
}


.product-intro__note-inner h3 {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}


/* =========================================================
   A3-C20 — pricing-section on grid
   ========================================================= */

.pricing-section--a3c20 {
  padding: 60px 20px;
  margin: 0 -30px;
  background: #f8f9fa;
}

.pricing-section--a3c20 .pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  gap: 30px;
  align-items: start;
  max-width: 1600px;
  margin: 0 auto;
}

.pricing-section--a3c20 .pricing-grid__media {
  min-width: 0;
}

.pricing-section--a3c20 .pricing-grid__media img {
  display: block;
  width: 100%;
  height: auto;
}

.pricing-section--a3c20 .pricing-grid__content {
  min-width: 0;
}

.pricing-section--a3c20 h2 {
  margin: 0 0 24px;
}

.pricing-section--a3c20 .arrow {
  margin: 0 0 30px;
}

.pricing-section--a3c20 .arrow li {
  margin-bottom: 20px;
}

.pricing-section--a3c20 .arrow h3.price-highlight {
  display: inline-block;
  margin: 0 0 8px;
}

.pricing-section--a3c20 .arrow p {
  margin: 0;
}

/* =========================================================
   A3-C20 — spec table fix
   Убираем поведение каталожной таблицы только здесь
   ========================================================= */

.pricing-section--a3c20 .pricing-spec-table {
  overflow-x: visible;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pricing-section--a3c20 .pricing-spec-table table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.pricing-section--a3c20 .pricing-spec-table__col-1 {
  width: 58%;
}

.pricing-section--a3c20 .pricing-spec-table__col-2 {
  width: 42%;
}

.pricing-section--a3c20 .pricing-spec-table th,
.pricing-section--a3c20 .pricing-spec-table td {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.pricing-section--a3c20 .pricing-spec-table th:first-child,
.pricing-section--a3c20 .pricing-spec-table .sticky-col,
.pricing-section--a3c20 .pricing-spec-table .param-name.sticky-col {
  position: static;
  left: auto;
  box-shadow: none;
  border-right: 0;
}

.pricing-section--a3c20 .pricing-spec-table .param-name {
  min-width: 0;
  width: auto;
  background-color: #ecf0f1;
  font-weight: bold;
  text-align: left;
  padding-left: 10px;
  font-size: 12px;
}

/* =========================================================
   Adaptive
   ========================================================= */

@media (max-width: 1200px) {
  .pricing-section--a3c20 .pricing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .pricing-section--a3c20 .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-section--a3c20 .pricing-grid__media {
    order: 1;
  }

  .pricing-section--a3c20 .pricing-grid__content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .pricing-section--a3c20 {
    padding: 40px 16px;
    margin: 0 -16px;
  }

  .pricing-section--a3c20 h2 {
    margin-bottom: 20px;
  }

  .pricing-section--a3c20 .pricing-spec-table table {
    table-layout: auto;
  }

  .pricing-section--a3c20 .pricing-spec-table__col-1,
  .pricing-section--a3c20 .pricing-spec-table__col-2 {
    width: auto;
  }
}

@media (max-width: 480px) {
  .pricing-section--a3c20 {
    padding: 30px 12px;
    margin: 0 -12px;
  }
}


/* =========================================================
   Варианты технологии переноса деколи
   ========================================================= */

.engraving-content .engraving-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.engraving-content .engraving-card {
  margin: 0;
  display: flex;
  height: 100%;
}

.engraving-content .engraving-card__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.engraving-content .engraving-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.engraving-content .engraving-card__body p {
  margin: 0;
}

.engraving-content .engraving-card h3 {
  margin: 0 0 14px;
}

.engraving-content__note {
  margin: 24px 0 0;
  text-align: center;
}

@media (max-width: 991px) {
  .engraving-content .engraving-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .engraving-content .engraving-grid > :last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .engraving-content .engraving-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .engraving-content .engraving-grid > :last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .engraving-content__note {
    text-align: left;
  }
}

/* =========================================
   Варианты технологии переноса деколи
   Локальная верстка
   ========================================= */

.engraving-container--decal-tech .decal-tech {
  max-width: 1200px;
  margin: 0 auto;
}

.engraving-container--decal-tech .decal-tech__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.engraving-container--decal-tech .decal-tech__card {
  display: flex;
  margin: 0;
  min-width: 0;
  height: 100%;
  background: #efefef;
  padding: 16px;
  box-sizing: border-box;
}

.engraving-container--decal-tech .decal-tech__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 34px;
  border: 1px solid #bf7d03;
  border-radius: 18px;
  box-sizing: border-box;
  background: transparent;
}

.engraving-container--decal-tech .decal-tech__title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
}

.engraving-container--decal-tech .decal-tech__body {
  flex: 1 1 auto;
}

.engraving-container--decal-tech .decal-tech__body p {
  margin: 0;
}

.engraving-container--decal-tech .decal-tech__note {
  margin: 24px 0 0;
  text-align: center;
}

/* tablet */
@media (max-width: 991px) {
  .engraving-container--decal-tech .decal-tech__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .engraving-container--decal-tech .decal-tech__grid > :last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* mobile */
@media (max-width: 767px) {
  .engraving-container--decal-tech .decal-tech__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .engraving-container--decal-tech .decal-tech__grid > :last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .engraving-container--decal-tech .decal-tech__card {
    padding: 12px;
  }

  .engraving-container--decal-tech .decal-tech__inner {
    padding: 22px 20px;
  }

  .engraving-container--decal-tech .decal-tech__title {
    font-size: 20px;
  }

  .engraving-container--decal-tech .decal-tech__note {
    text-align: left;
  }
}


.work-process-section {
  margin-top: 40px;
}

.work-process-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

.work-process-grid__col {
  min-width: 0;
}

.work-process-grid__col h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.work-process-grid__col p {
  margin: 0 0 16px;
}

.work-process-grid__col ul {
  margin: 0 0 18px;
}

.work-process-grid__col > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .work-process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-process-grid__col h2 {
    font-size: 20px;
  }
}


.pricing-section--packages .packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-section--packages .packages-grid__item {
  min-width: 0;
  height: 100%;
  margin: 0;
}

.pricing-section--packages .packages-grid__item > section {
  height: 100%;
}

.pricing-section--packages .packages-grid__item h3 {
  margin: 0 0 18px;
}

.pricing-section--packages .packages-grid__item ul {
  margin: 0;
}

@media (max-width: 991px) {
  .pricing-section--packages .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-section--packages .packages-grid__item:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .pricing-section--packages .packages-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pricing-section--packages .packages-grid__item:last-child {
    grid-column: auto;
    max-width: none;
    width: auto;
    margin: 0;
  }
}


.pricing-section--support .support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-section--support .support-grid__col {
  min-width: 0;
}

.pricing-section--support .support-grid__col--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-content: start;
}

.pricing-section--support .support-grid__col--single {
  display: flex;
}

.pricing-section--support .support-grid__col--single .machine-card {
  width: 100%;
  height: 100%;
}

.pricing-section--support .support-grid__col--stack .machine-card {
  margin: 0;
}

.pricing-section--support .support-grid__col--single .machine-card {
  margin: 0;
}

@media (max-width: 900px) {
  .pricing-section--support .support-grid {
    grid-template-columns: 1fr;
  }

  .pricing-section--support .support-grid__col--single {
    display: block;
  }
}

.catalog-products {
  margin: 0;
}

.catalog-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.catalog-products__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 22px;
  background: #f7f7f7;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.catalog-products__card:hover {
  transform: translateY(-2px);
  border-color: #d8b36a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.catalog-products__card-label {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8a8f98;
}

.catalog-products__card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  margin: 0 0 18px;
  padding: 18px;
  background: #ffffff;
  text-decoration: none;
  box-sizing: border-box;
}

.catalog-products__card-image img {
  display: block;
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
}

.catalog-products__card-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

.catalog-products__card-title a {
  color: #1f3b64;
  text-decoration: none;
}

.catalog-products__card-title a:hover {
  color: #bf7d03;
}

.catalog-products__card-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #2f3440;
}

.catalog-products__card-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: #1f3b64;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background .25s ease;
}

.catalog-products__card-link:hover {
  background: #bf7d03;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .catalog-products__grid {
    grid-template-columns: 1fr;
  }

  .catalog-products__card-title {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .catalog-products__card {
    padding: 18px;
  }

  .catalog-products__card-image {
    min-height: 220px;
    padding: 14px;
  }

  .catalog-products__card-image img {
    max-height: 220px;
  }

  .catalog-products__card-title {
    font-size: 22px;
  }

  .catalog-products__card-text {
    font-size: 14px;
  }
}

.format-options {
    padding: 40px 0;
}

.grid-2__item iframe{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  height:auto;
  border:0;
}

@media (max-width:768px){
  .grid-2{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   HOME: CHOICE GUIDE — "С чего начать выбор оборудования"
   ========================================================= */

.home-choice-guide {
    margin: 46px 0 58px;
    padding: 34px 32px 32px;
    border: 1px solid rgba(27, 27, 29, 0.10);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.30) 100%),
        #f4f5f6;
    box-sizing: border-box;
}

.home-choice-guide__head {
    max-width: 980px;
    margin: 0 auto 28px;
    text-align: center;
}

.home-choice-guide__title {
    margin: 0;
    font-size: clamp(28px, 2.2vw, 42px);
    line-height: 1.15;
    font-weight: 500;
    color: #1b1b1d;
}

.home-choice-guide__intro {
    max-width: 920px;
    margin: 14px auto 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5d6673;
}

.home-choice-guide__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.home-choice-guide__step {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr;
    min-width: 0;
    min-height: 250px;
    padding: 24px 22px 22px;
    border: 1px solid rgba(27, 27, 29, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    box-sizing: border-box;
    overflow: hidden;
}

.home-choice-guide__step::before {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(214, 167, 20, 0.10);
    pointer-events: none;
}

.home-choice-guide__number {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #b58000;
}

.home-choice-guide__step-title {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    color: #1b1b1d;
}

.home-choice-guide__text {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.58;
    color: #5d6673;
}

.home-choice-guide__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.home-choice-guide__summary-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border: 1px solid rgba(214, 167, 20, 0.30);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.54);
    box-sizing: border-box;
}

.home-choice-guide__summary-label {
    display: inline-grid;
    place-items: center;
    min-width: 92px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(214, 167, 20, 0.14);
    color: #8b6200;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
}

.home-choice-guide__summary-text {
    font-size: 15px;
    line-height: 1.55;
    color: #4a515c;
}


/* =========================================================
   HOME: FEATURED MODELS — "Новинки и ключевые решения"
   ========================================================= */

.home-featured-models {
    margin: 58px 0 68px;
}

.home-featured-models__head {
    max-width: 980px;
    margin: 0 auto 28px;
    text-align: center;
}

.home-featured-models__title {
    margin: 0;
    font-size: clamp(28px, 2.2vw, 42px);
    line-height: 1.15;
    font-weight: 500;
    color: #1b1b1d;
}

.home-featured-models__intro {
    max-width: 920px;
    margin: 14px auto 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5d6673;
}

.home-featured-models__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.home-featured-models__card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr;
    min-width: 0;
    min-height: 100%;
    padding: 22px;
    border: 1px solid rgba(27, 27, 29, 0.10);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.58);
    box-sizing: border-box;
    overflow: hidden;
}

.home-featured-models__card::before {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(214, 167, 20, 0.10);
    pointer-events: none;
}

.home-featured-models__badge {
    position: relative;
    z-index: 1;
    justify-self: start;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(214, 167, 20, 0.14);
    color: #8b6200;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
}

.home-featured-models__image {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 250px;
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid rgba(27, 27, 29, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-sizing: border-box;
    text-decoration: none;
    overflow: hidden;

    --featured-img-width: 92%;
    --featured-img-height: 92%;
    --featured-img-x: center;
    --featured-img-y: center;
}

.home-featured-models__image::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    background: #ffffff;
    z-index: 0;
}

.home-featured-models__image img {
    position: relative;
    z-index: 1;
    display: block;
    width: var(--featured-img-width);
    height: var(--featured-img-height);
    object-fit: contain;
    object-position: var(--featured-img-x) var(--featured-img-y);
    transition: transform 0.35s ease;
}

/* Индивидуальная подгонка изображений:
   1 — A3-C20
   2 — NEO TC60120N
   3 — Monumentus M120 */

.home-featured-models__card:nth-child(1) .home-featured-models__image {
    --featured-img-width: 78%;
    --featured-img-height: 90%;
    --featured-img-x: center;
    --featured-img-y: center;
}

.home-featured-models__card:nth-child(2) .home-featured-models__image {
    --featured-img-width: 88%;
    --featured-img-height: 82%;
    --featured-img-x: center;
    --featured-img-y: center;
}

.home-featured-models__card:nth-child(3) .home-featured-models__image {
    --featured-img-width: 78%;
    --featured-img-height: 86%;
    --featured-img-x: center;
    --featured-img-y: center;
}

.home-featured-models__card:nth-child(3):hover .home-featured-models__image img {
    transform: none;
}

.home-featured-models__card:hover .home-featured-models__image img {
    transform: scale(1.03);
}

.home-featured-models__body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    min-width: 0;
}

.home-featured-models__name {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 500;
    color: #1b1b1d;
}

.home-featured-models__text {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.58;
    color: #5d6673;
}

.home-featured-models__specs {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.45;
    color: #4a515c;
}

.home-featured-models__specs li {
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(244, 245, 246, 0.78);
}

.home-featured-models__specs span {
    font-weight: 600;
    color: #1b1b1d;
}

.home-featured-models__link {
    align-self: end;
    justify-self: start;
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    color: #1b1b1d;
    text-decoration: none;
}

.home-featured-models__link::after {
    content: "";
    display: block;
    width: 22px;
    height: 1px;
    background: #d6a714;
}

.home-featured-models__link:hover,
.home-featured-models__link:focus {
    color: #bf7d02;
    text-decoration: none;
}


/* =========================================================
   ADAPTIVE
   ========================================================= */

@media (max-width: 1199px) {
    .home-featured-models__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-featured-models__image {
        height: 230px;
    }
}

@media (max-width: 991px) {
    .home-featured-models {
        margin: 48px 0 56px;
    }

    .home-featured-models__intro {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .home-featured-models {
        margin: 38px 0 46px;
    }

    .home-featured-models__head {
        margin-bottom: 20px;
    }

    .home-featured-models__intro {
        font-size: 15px;
        line-height: 1.55;
    }

    .home-featured-models__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-featured-models__card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .home-featured-models__image {
        height: 210px;
        border-radius: 16px;
    }

    .home-featured-models__name {
        font-size: 20px;
    }

    .home-featured-models__text {
        font-size: 15px;
        line-height: 1.52;
    }
}


/* =========================================================
   HOME: WHY MIRTELS — "Почему выбирают Миртелс"
   ========================================================= */

.home-why-mirtels {
    margin: 58px 0 68px;
}

.home-why-mirtels__head {
    max-width: 980px;
    margin: 0 auto 28px;
    text-align: center;
}

.home-why-mirtels__title {
    margin: 0;
    font-size: clamp(28px, 2.2vw, 42px);
    line-height: 1.15;
    font-weight: 500;
    color: #1b1b1d;
}

.home-why-mirtels__intro {
    max-width: 840px;
    margin: 14px auto 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5d6673;
}

.home-why-mirtels__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.home-why-mirtels__card {
    grid-column: span 2;
    display: grid;
    grid-template-rows: auto 240px 1fr;
    min-width: 0;
    min-height: 100%;
    border: 1px solid rgba(27, 27, 29, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 14px 34px rgba(27, 27, 29, 0.05);
    overflow: hidden;
    box-sizing: border-box;
}

.home-why-mirtels__card:nth-child(4) {
    grid-column: 2 / span 2;
}

.home-why-mirtels__card:nth-child(5) {
    grid-column: 4 / span 2;
}

.home-why-mirtels__card-title {
    display: grid;
    place-items: center;
    min-height: 64px;
    margin: 0;
    padding: 14px 18px;
    background: #e9ecef;
    color: #666b72;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
}

.home-why-mirtels__icon {
    display: grid;
    place-items: center;
    padding: 24px 22px 18px;
    box-sizing: border-box;
}

.home-why-mirtels__icon img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.home-why-mirtels__text {
    padding: 0 24px 28px;
    font-size: 16px;
    line-height: 1.65;
    color: #4a515c;
    text-align: left;
}

/* Планшет */

@media (max-width: 1199px) {
    .home-why-mirtels__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-why-mirtels__card,
    .home-why-mirtels__card:nth-child(4),
    .home-why-mirtels__card:nth-child(5) {
        grid-column: auto;
    }

    .home-why-mirtels__card {
        grid-template-rows: auto 230px 1fr;
    }

    .home-why-mirtels__icon img {
        width: 190px;
        height: 190px;
    }
}

/* Узкий планшет */

@media (max-width: 991px) {
    .home-why-mirtels {
        margin: 48px 0 56px;
    }

    .home-why-mirtels__intro {
        font-size: 17px;
    }
}

/* Мобильный */

@media (max-width: 767px) {
    .home-why-mirtels {
        margin: 38px 0 46px;
    }

    .home-why-mirtels__head {
        margin-bottom: 20px;
    }

    .home-why-mirtels__intro {
        font-size: 15px;
        line-height: 1.55;
    }

    .home-why-mirtels__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-why-mirtels__card {
        grid-template-rows: auto 180px 1fr;
        border-radius: 16px;
    }

    .home-why-mirtels__card-title {
        min-height: 0;
        padding: 13px 16px;
        font-size: 17px;
    }

    .home-why-mirtels__icon {
        padding: 18px 16px 12px;
    }

    .home-why-mirtels__icon img {
        width: 150px;
        height: 150px;
    }

    .home-why-mirtels__text {
        padding: 0 18px 22px;
        font-size: 15px;
        line-height: 1.55;
    }
}

/* =========================================================
   HOME: PRODUCTION — "Что можно производить"
   ========================================================= */

.home-production {
    margin: 58px 0 68px;
}

/* Внешняя сетка: 2 колонки — камень / керамика */
.home-production > .home-directions__grid {
    gap: 28px;
    align-items: stretch;
}

/* Отдельная плашка направления */
.home-production__group {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(27, 27, 29, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 14px 34px rgba(27, 27, 29, 0.04);
    box-sizing: border-box;
}

/* Заголовок внутри направления */
.home-production__group-title {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    color: #1b1b1d;
}

/* Внутренняя сетка: 2 × 3 */
.home-production__group > .home-directions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* Маленькая фото-плитка */
.home-production__item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.home-production__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.home-production__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-production__item-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    align-items: center;
    min-height: 42px;
    margin: 0;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    color: #1b1b1d;
    text-align: center;
    box-sizing: border-box;
}

/* Планшет */

@media (max-width: 991px) {
    .home-production {
        margin: 48px 0 56px;
    }

    .home-production > .home-directions__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-production__group > .home-directions__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Мобильный */

@media (max-width: 767px) {
    .home-production {
        margin: 38px 0 46px;
    }

    .home-production > .home-directions__grid {
        gap: 20px;
    }

    .home-production__group {
        padding: 16px;
        border-radius: 18px;
    }

    .home-production__group-title {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .home-production__group > .home-directions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }


    .home-production__item-title {
        min-height: 38px;
        padding: 7px 8px;
        background: rgba(255, 255, 255, 0.4);
        font-size: 13px;
    }
}

/* Очень узкие экраны */

@media (max-width: 420px) {
    .home-production__group > .home-directions__grid {
        grid-template-columns: 1fr;
    }

    .home-production__image {
        aspect-ratio: 1 / 1;
    }

    .home-production__item-title {
        min-height: 0;
        padding: 9px 8px;
        font-size: 14px;
    }
}