/* ===== БАЗА ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
h2 { text-align: center; }

body{
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: #245E2A; text-decoration: none; }
a:hover{ color:#1F5A26; text-decoration: underline; }



.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== Responsive pictures (image pipeline) ===== */
.vb76-picture{ display:block; line-height:0; }
.vb76-picture > img{ display:block; width:100%; height:auto; }


/* ===== HERO ===== */
.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #23331f;
  position: relative;
  padding: 80px 0;
}

.hero .container {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px;
}
.hero .left { flex: 1 1 50%; }
.hero .right { flex: 1 1 40%; }
.hero h1 { font-size: 36px; margin-bottom: 20px; color: #fff; }
.hero p { margin: 10px 0; }

/* ===== BULLET POINTS ===== */
.bullet-points { display: flex; flex-direction: column; gap: 20px; max-width: 520px; list-style: none; }
.bullet-points li { display: flex; align-items: center; font-size: 18px; color: #fff; }
.bullet-points li svg{
  width: 22px;
  height: 22px;
  margin-right: 12px;
  flex: 0 0 22px;
  stroke: currentColor;
  fill: none;
}



/* ===== КНОПКИ ===== */
.btn { display: inline-block; background: #ffcb05; color: #000; padding: 12px 20px; margin-top: 20px; font-weight: bold; border-radius: 6px; transition: background .3s; }
.btn:hover { background: #e6b800; }
.btn.small { padding: 8px 14px; font-size: 14px; }



/* Стрелки и точки домашнего слайдера */
.prev, .next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,203,5,0.85); color: #000; border: none;
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.prev:hover, .next:hover { background: #ffcb05; }
.prev { left: 15px; } .next { right: 15px; }

.dots { text-align: center; margin-top: 15px; }
.dots span {
  display: inline-block; width: 10px; height: 10px; margin: 0 4px;
  background: #555; border-radius: 50%; cursor: pointer;
}
.dots .active { background: #ffcb05; }

/* ===== ОБЩИЕ СЕТКИ ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }



/* ===== PRODUCT PAGE ===== */
.product-container {
  display: flex; flex-wrap: wrap; gap: 20px;
  background: #fff; color: #000; padding: 20px; border-radius: 10px;
  margin-bottom: 40px;
}





/* Блок инфы */
.product-info { flex: 1 1 35%; min-width: 260px; }
.product-info h1 { color: #000; margin-bottom: 10px; }
.product-info .price { color: #4CAF50; font-size: 22px; font-weight: bold; margin-bottom: 15px; }



.blog-list {
  background: #f9f9f9;
  padding: 60px 20px;
}

.blog-categories {
  margin-bottom: 20px;
  text-align: center;
}
.blog-categories a {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ddd;
  color: #000;
  text-decoration: none;
}
.blog-categories a.active {
  background: #ffcb05;
  border-color: #ffcb05;
  color: #000;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card-body {
  padding: 15px;
}
.blog-card h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}
.blog-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}
.blog-date {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
}
.blog-tags {
  font-size: 12px;
  color: #999;
}

.pagination {
  margin-top: 30px;
  text-align: center;
}
.pagination a {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ddd;
  color: #000;
  text-decoration: none;
}
.pagination a.active {
  background: #ffcb05;
  border-color: #ffcb05;
  color: #000;
}

.blog-list .breadcrumbs {
  color: #555; /* более тёмный серый для читаемости */
}
.blog-list .breadcrumbs a {
  color: #ffcb05; /* фирменный жёлтый */
}
.blog-list .breadcrumbs a:hover {
  text-decoration: underline;
}

.blog-list h1 {
  color: #222;
  border-bottom: 3px solid #ffcb05;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.blog-post .breadcrumbs {
  color: #555; /* тёмно-серый для читаемости */
}
.blog-post .breadcrumbs a {
  color: #ffb800; /* насыщенный фирменный жёлтый */
}
.blog-post .breadcrumbs a:hover {
  text-decoration: underline;
}


/* ===== СТИЛИ ДЛЯ БЛОГА ===== */
.blog-post {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

.blog-post h1 {
  color: #000;
  border-bottom: 3px solid #ffcb05;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.blog-post h2 {
  margin-top: 30px;
  color: #111;
}

.blog-post h3 {
  margin-top: 15px;
  color: #222;
}

.blog-post p {
  color: #000;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 16px;
}

.blog-post ul {
  padding-left: 20px;
  margin-bottom: 15px;
  color: #000;
}




/* ====== КОНТЕНТ ====== */

.hero h1 { margin:0 0 12px; }
.card { background:#1f1f1f; border:1px solid #333; border-radius:10px; padding:16px; }
.card h3 { margin:0 0 8px; color:#ffcb05; }

/* ====== ФУТЕР ====== */
footer{
  background: linear-gradient(180deg, var(--green-900), #1A2E16);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.08);
}

footer .container{
  padding: 18px 16px;
}

footer a{
  color: rgba(255,255,255,.92);
}

footer a:hover{
  color:#fff;
  text-decoration: underline;
}

/* ===== Breadcrumbs: сделать на товарах обычными (как на листинге) ===== */
.product-page .breadcrumbs{
  margin: 10px 0 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  display: block;      /* убираем flex-раскладку */
  font-size: 16px;
  font-weight: 500;
  color: var(--green-800, #2f6b2f); /* зелёный как в шапке/теме */
}

.product-page .breadcrumbs a{
  color: inherit;      /* ссылки тем же цветом */
  text-decoration: none;
}

.product-page .breadcrumbs a:hover{
  text-decoration: underline;
}

.product-page .breadcrumbs .sep{
  color: rgba(0,0,0,.35);
  margin: 0 6px;
}

.product-page .breadcrumbs .current{
  color: inherit;      /* текущая тоже зелёная (как “обычная”) */
  font-weight: 500;
}


.product-page h2{ text-align:left; }


.project-chars-main {
  margin-top: 12px;
  font-size: 15px;
  color: #333;
  text-align: left;
}
.project-chars-main .char-item-main{
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
}
.project-chars-main .char-item-main:last-child{ border-bottom: none; }

.product-description h2{ margin: 0 0 10px; }
.product-text{ color:#222; font-size: 15px; line-height:1.7; }


/* Lightbox */
.custom-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  cursor: zoom-out;
  animation: fadeIn 0.3s ease;
  touch-action: pan-y;
}
.custom-lightbox img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.lightbox-counter {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 100000;
}
.custom-lightbox button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}
.custom-lightbox button:nth-child(3) { left: 20px; }
.custom-lightbox button:nth-child(4) { right: 20px; }
.custom-lightbox button:nth-child(5) { top: 20px; right: 20px; width: 40px; height: 40px; transform:none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 768px) {
  .custom-lightbox button { width: 40px; height: 40px; font-size: 20px; }
  .custom-lightbox button:nth-child(3) { left: 10px; }
  .custom-lightbox button:nth-child(4) { right: 10px; }
  .custom-lightbox button:nth-child(5) { top: 12px; right: 12px; }
}

/* =====================================================================
   SEVER DESIGN SYSTEM (DEFAULT THEME)
   ВАЖНО: Это теперь базовый дизайн сайта. Активный шаблон — sever.
   ===================================================================== */

:root{
  --bg: #F2F4F3;
  --card: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --border: rgba(31,41,55,.12);

  --green-900: #23411E;
  --green-800: #2F4B25;
  --green-700: #3A5F2D;
  --green-600: #4F7A34;
  --green-500: #5E8E34;
  --green-400: #94B352;
  --green-300: #A3C45E;
  --green-200: #D0E2A8;

  --accent: #94B352;
  --gold: #D7A100;
  --danger: #E53935;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-1: 0 10px 28px rgba(17,24,39,.08);
  --shadow-2: 0 18px 56px rgba(17,24,39,.12);

  --ring: rgba(148,179,82,.28);
  --ring-strong: rgba(148,179,82,.40);
}



h1, h2, h3{
  color: var(--green-900);
  letter-spacing: -0.01em;
}

p{ line-height: 1.55; }

/* ===== Hero ===== */
body.skin-sever .hero{
  background: url("/assets/img/hero-bg-sever.jpg") center/cover no-repeat;
  position: relative;
  padding: 80px 0;
}
body.skin-sever .hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(35,65,30,.84) 0%,
      rgba(35,65,30,.40) 62%,
      rgba(35,65,30,.14) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.06) 40%,
      rgba(0,0,0,.18) 100%
    );
  pointer-events:none;
}
body.skin-sever .hero .container{ position: relative; z-index: 1; }
body.skin-sever .hero h1{ color:#fff; text-shadow: 0 10px 26px rgba(0,0,0,.26); }
body.skin-sever .hero p{ color: rgba(255,255,255,.92); text-shadow: 0 8px 18px rgba(0,0,0,.18); }

/* bullet points — glass card */
body.skin-sever .bullet-points{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
  border-radius: 18px;
  padding: 18px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.skin-sever .bullet-points li{
  color: rgba(255,255,255,.96);
  line-height: 1.35;
  gap: 12px;
  align-items: flex-start;
}
body.skin-sever .bullet-points li svg{
  width: 22px;
  height: 22px;
  margin-right: 12px;
  flex: 0 0 22px;
  color: rgba(255,255,255,.92);
  filter: none;
}

/* ===== Timer / Акция ===== */


.countdown{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(148,179,82,.12);
  border: 1px solid rgba(148,179,82,.28);
  color: var(--green-900);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}


/* ===== Catalog filters ===== */
.filters{ text-align: center; margin-bottom: 18px; }

.filters button{
  background: rgba(255,255,255,.92);
  color: var(--green-900);
  border: 1px solid rgba(31,41,55,.14);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 900;
  margin: 5px;
  box-shadow: 0 10px 22px rgba(17,24,39,.06);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}
.filters button:hover{
  background: rgba(148,179,82,.12);
  border-color: rgba(148,179,82,.35);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17,24,39,.10);
}
.filters button.active{
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  color: #fff;
  border: 1px solid rgba(215,161,0,.45);
  box-shadow: 0 18px 44px rgba(35,65,30,.18);
}



/* чипы характеристик + ограничение */
.project-chars{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  max-height: 98px;
  overflow: hidden;
  color: rgba(31,41,55,.85);
}
.project-chars .char-item{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(148,179,82,.14);
  border: 1px solid rgba(148,179,82,.22);
  color: var(--green-900);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

/* ===== Callback ===== */
.callback{
  background: transparent;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
}

.callback .container{
  background: #fff;
  border: 1px solid rgba(31,41,55,.10);
  border-radius: 24px;
  box-shadow: var(--shadow-2);
  padding: 34px 22px;
}

.callback p{
  color: #6B7280;
  margin: 10px auto 18px;
  max-width: 720px;
}

.callback form{
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.callback input,
.callback textarea{
  background: #fff;
  border: 1px solid rgba(31,41,55,.14);
  border-radius: 14px;
  padding: 12px 12px;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(17,24,39,.04);
}

.callback textarea{
  min-height: 110px;
  resize: vertical;
}

.callback input:focus,
.callback textarea:focus{
  outline:none;
  border-color: rgba(148,179,82,.70);
  box-shadow: 0 0 0 4px var(--ring), 0 14px 34px rgba(17,24,39,.10);
}

.callback button{
  background: #ffcb05;
  color: #000;
  font-weight: bold;
  padding: 12px;
  border-radius: 14px;
  border:none;
}

.callback button:hover{
  background: #e6b800;
}




/* ===== Responsive safety ===== */
@media (max-width: 560px){
  .callback .container{ padding: 26px 16px; }
}



body.skin-sever .header-buttons .callback-btn{
  background: var(--gold) !important;
  color: #111827 !important;
  border-color: rgba(17,24,39,.10) !important;
  position: relative;
  overflow: hidden;
}

body.skin-sever .header-buttons .callback-btn:hover{
  filter: brightness(.98);
}

body.skin-sever .header-buttons .callback-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(215,161,0,.22);
}

body.skin-sever .header-buttons .callback-btn::after{
  content:"";
  position:absolute;
  top:-45%;
  left:-85%;
  width:55%;
  height:190%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.58) 45%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(18deg);
  opacity: 0;
  pointer-events:none;
  animation: vb76_sever_shimmer 6.5s ease-in-out infinite;
}

@keyframes vb76_sever_shimmer{
  0%   { transform: translateX(-140%) rotate(18deg); opacity: 0; }
  10%  { opacity: 0; }
  16%  { opacity: .72; }
  24%  { transform: translateX(290%) rotate(18deg); opacity: 0; }
  100% { transform: translateX(290%) rotate(18deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  body.skin-sever .header-buttons .callback-btn::after{ animation:none; }
}





/* =========================================================
   SEVER APPROVED LOCK (источник истины)
   Вставлять только в конец styles.css
   ========================================================= */

/* 0) Бренд рядом с лого — без underline */
body.skin-sever a.brand,
body.skin-sever a.brand:hover{
  text-decoration: none !important;
}

/* 1) Высота поиска: капсула и кнопка одинаковые */
body.skin-sever .header-search,
body.skin-sever .header-search input,
body.skin-sever .header-search button{ height: 46px; }
body.skin-sever .header-search{ display:flex; align-items:stretch; }
body.skin-sever .header-search button{
  line-height: 46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding-top:0; padding-bottom:0;
}



/* =========================================================
   Home (SEVER): блоки "Что входит в стоимость" + "Наши работы" (галерея)
   ========================================================= */
/* ---- Старт ---- */
/* =========================================================
   INCLUDED — финальный цельный блок без дублей
   ========================================================= */

/* секция */
body.skin-sever .included{
  padding: clamp(44px, 5vw, 72px) 0;
  text-align: center;
}

body.skin-sever .included .included-head{
  text-align: center;
  margin-bottom: 18px;
}

body.skin-sever .included .included-head h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 2.3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--green-900);
}

body.skin-sever .included .included-sub{
  margin: 0 auto;
  max-width: 78ch;
  color: var(--muted);
  line-height: 1.55;
}

/* табы */
body.skin-sever .included-tabs-wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 18px auto 20px;
}

body.skin-sever .included-tabs{
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(15,23,42,.08);
}

body.skin-sever .included .inc-tab{
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--green-900);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

body.skin-sever .included .inc-tab:hover{
  background: rgba(148,179,82,.14);
}

body.skin-sever .included .inc-tab.active{
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  color: #fff;
  box-shadow: 0 10px 22px rgba(35,65,30,.22);
}

body.skin-sever .included .inc-tab:focus-visible{
  outline: 3px solid rgba(148,179,82,.40);
  outline-offset: 2px;
}

/* панели */
body.skin-sever .included-panels{
  text-align: left;
}

body.skin-sever .included .inc-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.skin-sever .included .inc-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,41,55,.10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}

body.skin-sever .included .inc-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15,23,42,.12);
}

body.skin-sever .included .inc-mobile-toggle{
  display: none;
}

body.skin-sever .included .inc-media{
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 210px;
  overflow: hidden;
  background: #F6F7F6;
  border-bottom: 1px solid rgba(31,41,55,.08);
}

body.skin-sever .included .inc-media img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

body.skin-sever .included .inc-card-body{
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 14px 14px 16px;
}

body.skin-sever .included .inc-card h3{
  margin: 0 0 8px;
  min-height: 40px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

body.skin-sever .included .inc-card-body p{
  margin: 0;
  flex: 1 1 auto;
  color: #4B5563;
  font-size: 14px;
  line-height: 1.45;
}

/* доп. опции */
body.skin-sever .extras{
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.70));
  border: 1px solid rgba(31,41,55,.10);
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
  text-align: left;
}

body.skin-sever .extras .extras-head h3{
  margin: 0 0 6px;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

body.skin-sever .extras .extras-head p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

body.skin-sever .extras-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.skin-sever .extra-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(148,179,82,.14);
  border: 1px solid rgba(148,179,82,.22);
  color: var(--green-900);
  font-weight: 600;
  line-height: 1;
}

body.skin-sever .extra-chip::before{
  content: "+";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(35,65,30,.12);
  color: var(--green-900);
  font-weight: 800;
}

body.skin-sever .extras-actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* адаптив */
@media (max-width: 1024px){
  body.skin-sever .included .inc-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  body.skin-sever .included .inc-media{
    min-height: 200px;
  }

  body.skin-sever .included .inc-media img{
    min-height: 200px;
  }
}

@media (max-width: 768px){
  body.skin-sever .included .inc-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.skin-sever .included .inc-card{
    border-radius: 18px;
  }

  body.skin-sever .included .inc-mobile-toggle{
    width: 100%;
    display: grid;
    grid-template-columns: 88px minmax(0,1fr) 24px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
  }

  body.skin-sever .included .inc-mobile-thumb{
    display: block;
    width: 88px;
    height: 66px;
    border-radius: 12px;
    overflow: hidden;
    background: #F6F7F6;
    box-shadow: inset 0 0 0 1px rgba(31,41,55,.08);
  }

  body.skin-sever .included .inc-mobile-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  body.skin-sever .included .inc-mobile-summary{
    min-width: 0;
  }

  body.skin-sever .included .inc-mobile-title{
    display: block;
    color: var(--green-900);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.01em;
  }

  body.skin-sever .included .inc-mobile-arrow{
    width: 12px;
    height: 12px;
    justify-self: end;
    margin-right: 4px;
    border-right: 2px solid rgba(35,65,30,.72);
    border-bottom: 2px solid rgba(35,65,30,.72);
    transform: rotate(45deg);
    transition: transform .2s ease;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-mobile-arrow{
    transform: rotate(225deg);
    margin-top: 4px;
  }

  body.skin-sever .included .inc-media,
  body.skin-sever .included .inc-card-body{
    display: none;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-media,
  body.skin-sever .included .inc-card.is-mobile-open .inc-card-body{
    display: block;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-media{
    border-top: 1px solid rgba(31,41,55,.08);
    border-bottom: 0;
    aspect-ratio: auto;
    min-height: 220px;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-media img{
    width: 100%;
    height: 220px;
    min-height: 220px;
    object-fit: cover;
    display: block;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-card-body{
    padding: 14px 14px 16px;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-card-body h3{
    display: none;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-card-body p{
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #4B5563;
  }
}

@media (max-width: 640px){
  body.skin-sever .included-tabs{
    width: 100%;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  body.skin-sever .extras{
    padding: 14px;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-mobile-thumb{
    display: none;
  }

  body.skin-sever .included .inc-card.is-mobile-open .inc-mobile-toggle{
    grid-template-columns: 1fr 24px;
    gap: 12px;
  }
}

/* ---- Наши работы (галерея) ---- */
body.skin-sever .works{
  padding: clamp(44px, 5vw, 72px) 0;
}
body.skin-sever .works .section-head{
  text-align: center;
  margin-bottom: 18px;
}
body.skin-sever .works .section-head h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 2.3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--green-900);
}
body.skin-sever .works .section-head p{
  margin: 0 auto;
  max-width: 78ch;
  color: var(--muted);
  line-height: 1.55;
}

body.skin-sever .works-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 110px;
  gap: 14px;
}
body.skin-sever .work-tile{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(31,41,55,.10);
  box-shadow: 0 14px 34px rgba(15,23,42,.10);
  transform: translateZ(0);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  grid-column: span 4;
  grid-row: span 2;
  display: block;
  text-decoration: none;
  color: inherit;
}
body.skin-sever .work-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease;
}
body.skin-sever .work-tile::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
body.skin-sever .work-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(148,179,82,.35);
  box-shadow: 0 22px 46px rgba(15,23,42,.14);
}
body.skin-sever .work-tile:hover img{
  transform: scale(1.06);
}
body.skin-sever .work-tile:focus-visible{
  outline: 3px solid rgba(148,179,82,.45);
  outline-offset: 2px;
}
body.skin-sever .work-overlay{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 4px;
}
body.skin-sever .work-kicker{
  display: inline-flex;
  align-self: start;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(35,65,30,.60);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
body.skin-sever .work-title{
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-shadow: 0 8px 18px rgba(0,0,0,.35);
}

/* Мозаика (похоже на ambarkin: пару крупных, остальные ровные) */
body.skin-sever .work-tile:nth-child(1){
  grid-column: span 6;
  grid-row: span 4;
}
body.skin-sever .work-tile:nth-child(2){
  grid-column: span 6;
  grid-row: span 2;
}
body.skin-sever .work-tile:nth-child(3){
  grid-column: span 6;
  grid-row: span 2;
}

/* кнопки под галереей */
body.skin-sever .works-actions{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Адаптив */
@media (max-width: 1024px){

  body.skin-sever .works-grid{ grid-template-columns: repeat(6, minmax(0,1fr)); }
  body.skin-sever .work-tile{ grid-column: span 3; grid-row: span 2; }
  body.skin-sever .work-tile:nth-child(1){ grid-column: span 6; grid-row: span 4; }
  body.skin-sever .work-tile:nth-child(2),
  body.skin-sever .work-tile:nth-child(3){ grid-column: span 3; grid-row: span 2; }
}

@media (max-width: 640px){
  
  
  
  
  body.skin-sever .works-grid{
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }
  body.skin-sever .work-tile,
  body.skin-sever .work-tile:nth-child(1),
  body.skin-sever .work-tile:nth-child(2),
  body.skin-sever .work-tile:nth-child(3){
    grid-column: auto;
    grid-row: auto;
  }
}


/* =========================================================
   MOBILE FIX PACK (header + catalog)
   Цель:
   - убрать горизонтальный скролл/"вылет" карточек
   - починить поиск (не в квадратик), дать нормальную шапку
   - привести бургер к адекватному виду (3 линии, без псевдоэлементов)
   - вернуть переключатель скинов на мобиле (временно)
   ========================================================= */

/* safety: если где-то остались элементы шире экрана — не даём горизонтальный скролл */
html, body{ overflow-x: hidden; }
/* проверено */


/* === MOBILE FIX: catalog page overflow (особенно бытовки из-за длинных чипов) === */
@media (max-width: 680px){

  /* В pages/catalog.php у <main class="container"> стоит inline: padding:24px 0;
     он убивает боковые паддинги контейнера. Вернём их на мобиле. */
  body.skin-sever main.container{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* На странице каталога .projects-grid лежит прямо в main.container (без .catalog) */
  body.skin-sever main.container > .projects-grid{
    grid-template-columns: minmax(0, 1fr) !important; /* важно: minmax(0,...) убирает выталкивание */
    gap: 14px !important;
  }

  body.skin-sever main.container > .projects-grid > *{
    min-width: 0 !important;
  }

  /* Карточка не должна расширять страницу */
  body.skin-sever main.container > .projects-grid .catalog-card,
  body.skin-sever main.container > .projects-grid .catalog-card a{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Фото: не “сплющиваем”, а делаем адаптивную высоту */
  body.skin-sever main.container > .projects-grid .catalog-card img{
    width: 100%;
    height: min(70vw, 240px);
    object-fit: cover;
    display: block;
  }

}

/* =========================================
   SEVER: /catalog/ hub ("Разделы каталога") = как "Почему выбирают нас"
   Картинка сверху + жёлтая плашка снизу с заголовком
   Работает ТОЛЬКО для .catalog-card без .project-card
   ========================================= */


body.skin-sever{
  --hub-radius: var(--feature-radius, 18px);
  --hub-img-h:  var(--feature-img-h, 180px);
  --hub-bar-h:  var(--feature-bar-h, 58px);
  --hub-bar-bg: #ffcb05;
  --hub-bar-text: #111827;
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card){
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card)::before,
body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card)::after{
  content: none !important;
  display: none !important;
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card) > a{
  position: relative;
  display: block !important;
  padding: 0 !important;
  height: calc(var(--hub-img-h) + var(--hub-bar-h));
  border-radius: var(--hub-radius, 18px) !important;
  overflow: hidden !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0 0;
  background-color: #1A2E16;
  box-shadow: 0 14px 34px rgba(17,24,39,.10);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .15s ease, box-shadow .18s ease;
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card) > a:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(17,24,39,.14);
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card) > a::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: var(--hub-img-h);
  background: inherit;
  background-size: cover;
  background-position: center;
  border-radius: var(--hub-radius, 18px) var(--hub-radius, 18px) 0 0 !important;
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card) > a::after{
  content: none !important;
  display: none !important;
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card) h3{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--hub-bar-h);
  margin: 0 !important;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hub-bar-bg);
  color: var(--hub-bar-text) !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  border-radius: 0 0 var(--hub-radius, 18px) var(--hub-radius, 18px) !important;
  border-top: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 10px 18px rgba(17,24,39,.08);
  z-index: 2;
}

body.skin-sever main.container > section > .projects-grid > article.catalog-card:not(.project-card) p{
  display: none !important;
}

@media (max-width: 680px){
  body.skin-sever{
    --hub-img-h: 160px;
    --hub-bar-h: 56px;
  }
}








/* FIX: золотая окантовка должна обводить белую карточку формы, а не секцию на всю ширину */
.callback.form-between{
  background: transparent !important;
  border: 0 !important;
  padding: 60px 0 !important;   /* оставляем вертикальные отступы секции */
  margin: 30px 0 40px !important;
}

.callback.form-between .container{
  border: 2px solid #ffcb05;    /* золотая рамка */
  border-radius: 24px;          /* в тон карточке */
  background: #fff;             /* на всякий случай */
}

/* ===== Thankyou: contact CTA ===== */
.thankyou-contact{
  margin: 18px 0 26px;
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 92, 44, .10), rgba(16, 92, 44, .05));
  border: 1px solid rgba(16, 92, 44, .12);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.thankyou-contact__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.thankyou-contact__title{
  margin:0;
  font-size: 22px;
  line-height: 1.15;
}

.thankyou-contact__subtitle{
  margin:0;
  color: rgba(0,0,0,.65);
  font-size: 14px;
  max-width: 520px;
}

.thankyou-contact__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top: 10px;
}

.thankyou-contact__btn{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 14px 14px;
  border-radius: 16px;
  text-decoration:none;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.thankyou-contact__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,.10);
  border-color: rgba(16, 92, 44, .25);
}

.thankyou-contact__btn:focus-visible{
  outline: 3px solid rgba(16, 92, 44, .35);
  outline-offset: 3px;
}

.thankyou-contact__icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgb(16, 92, 44);
  background: rgba(16, 92, 44, .10);
  flex: 0 0 auto;
}

.thankyou-contact__text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width: 0;
}

.thankyou-contact__label{
  font-weight: 800;
  color: rgba(0,0,0,.88);
  line-height: 1.1;
}

.thankyou-contact__hint{
  font-size: 13px;
  color: rgba(0,0,0,.60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thankyou-contact__btn.is-primary{
  border-color: rgba(16, 92, 44, .22);
}

.thankyou-contact__btn.is-outline{
  background: transparent;
  border: 1px dashed rgba(16, 92, 44, .35);
  box-shadow: none;
}

.thankyou-contact__meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.thankyou-contact__pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
}

.thankyou-contact__small{
  font-size: 12px;
  color: rgba(0,0,0,.55);
}

@media (max-width: 900px){
  .thankyou-contact__head{
    flex-direction:column;
    align-items:flex-start;
  }
  .thankyou-contact__grid{
    grid-template-columns: 1fr;
  }
}

/* Thankyou: About section */
.about-section .about-card{
  display: block;
  margin-bottom: 16px;
}

/* Видео-сетка (сейчас у тебя они просто столбиком) */
.video-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.video-wrapper{
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.video-wrapper iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 980px){
  .video-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .video-gallery{ grid-template-columns: 1fr; }
}

/* Thankyou: отступы в блоке "О нас" */
.about-section{
  margin-top: 26px;      /* отступ до блока (если нужно) */
  padding-top: 10px;     /* отступ перед заголовком внутри секции */
  padding-bottom: 26px;  /* отступ после видео, чтобы не липло к футеру */
}

.about-section h2{
  margin-top: 0;
  margin-bottom: 16px;   /* отступ после заголовка */
}



/* отступ после видео-сетки */
.about-section .video-gallery{
  margin-bottom: 18px;
}

/* ===== Catalog SEO text (листинги) ===== */
.seo-text{
  margin-top: 28px;
}

/* центрируем и делаем “карточкой как в товарах” */
.seo-text .product-container.catalog-seo-card{
  max-width: 980px;
  margin: 0 auto;
  display: block;            /* product-container по умолчанию flex — тут лучше блоком */
  border-radius: 10px;       /* как в товарах */
}

/* аккуратная типографика и чтобы ничего не “выпирало” */
.seo-text .product-text{
  text-align: left;
}

.seo-text .product-text > :first-child{ margin-top: 0; }
.seo-text .product-text > :last-child{ margin-bottom: 0; }

/* списки: маркеры остаются нормальными, но не лезут за край */
.seo-text .product-text ul,
.seo-text .product-text ol{
  padding-left: 1.25em;
  margin: 0.7em 0 1em;
}

.seo-text .product-text li{
  margin: 0.35em 0;
}

/* картинки внутри SEO-текста */
.seo-text .product-text img{
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* мобилка: чуть меньше паддинги, чтобы не было “жирно” */
@media (max-width: 768px){
  .seo-text .product-container.catalog-seo-card{
    padding: 16px;
  }
}

/* ===== MODAL (promo/callback) ===== */
.modal{
  position: fixed;
  inset: 0;
  display: none;              /* ВАЖНО: скрыто по умолчанию */
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.6);
  z-index: 9999;
}

.modal .modal-content{
  width: min(520px, 100%);
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 20px 18px 16px;
  box-shadow: 0 18px 56px rgba(0,0,0,.28);
  position: relative;
}

.modal .close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

.modal form{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.modal input,
.modal textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(31,41,55,.18);
  border-radius: 12px;
  font-size: 15px;
  color: #111;
  background: #fff;
  box-sizing: border-box;
}

.modal .btn{
  margin-top: 6px;
}

/* ===== Callback modal: inner UI only (без дублей базовой .modal) ===== */
#callback-modal .modal-content{
  width: min(560px, 100%);
  border-radius: 22px;
  padding: 22px 18px 18px;
}

#callback-modal h3{
  margin: 0 32px 8px 0;
  color: var(--green-900);
  font-size: 18px;
  line-height: 1.25;
}

#callback-modal p{
  margin: 0 0 14px;
  color: rgba(31,41,55,.78);
  line-height: 1.5;
}

#callback-modal .close{
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: rgba(17,24,39,.82);
}

#callback-modal .close:hover{
  background: rgba(31,41,55,.06);
}

#callback-form{
  margin-top: 12px;
}

#callback-form input[type="text"],
#callback-form input[type="tel"],
#callback-form input[type="time"]{
  min-height: 48px;
}

#callback-modal .cb-when{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

#callback-modal .cb-pill{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31,41,55,.12);
  background: #fff;
  color: var(--green-900);
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17,24,39,.05);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}

#callback-modal .cb-pill:hover{
  background: rgba(148,179,82,.10);
  border-color: rgba(148,179,82,.35);
  transform: translateY(-1px);
}

#callback-modal .cb-pill input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

#callback-modal .cb-pill::before{
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  border: 2px solid rgba(31,41,55,.24);
  background: #fff;
  box-shadow: inset 0 0 0 0 transparent;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

#callback-modal .cb-pill.is-active{
  background: rgba(148,179,82,.14);
  border-color: rgba(148,179,82,.42);
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
}

#callback-modal .cb-pill.is-active::before{
  border-color: var(--green-700);
  box-shadow: inset 0 0 0 4px var(--green-700);
}

#callback-modal .cb-time{
  margin-top: 2px;
}

#callback-modal .cb-time[hidden]{
  display: none !important;
}

#callback-modal .btn{
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 900;
}

@media (max-width: 640px){
  #callback-modal .modal-content{
    padding: 18px 14px 14px;
    border-radius: 18px;
  }

  #callback-modal .cb-when{
    grid-template-columns: 1fr;
  }

  #callback-modal .cb-pill{
    min-height: 48px;
    padding: 11px 12px;
  }

  #callback-modal h3{
    font-size: 17px;
  }
}

/* =========================
   FEATURES MODERN + MOBILE SWIPE
   ========================= */

.features-modern{
  padding: 56px 0 24px;
  background: linear-gradient(180deg, #F7F6F2 0%, #F3F1EB 100%);
}

.features-modern__head{
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.features-modern__head h2{
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.12;
  color: #26461F;
}

.features-modern__head p{
  margin: 0 auto;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(38,70,31,.72);
}

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

.feature-card--modern{
  width: auto !important;
  height: auto !important;
  background: #fff !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 42px rgba(17,24,39,.10) !important;
  position: relative;
}

.feature-card--modern::before,
.feature-card--modern::after{
  display: none !important;
}

.feature-gallery{
  position: relative;
  overflow: hidden;
  background: #E8ECE4;
}

.feature-track{
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform .35s ease;
}

.feature-slide{
  min-width: 100%;
  aspect-ratio: 16 / 10;
}

.feature-slide img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-indicators{
  position: absolute;
  left: 16px;
  bottom: 14px;
  gap: 6px;
  z-index: 2;
}

.feature-indicators span{
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: background .2s ease, transform .2s ease;
}

.feature-indicators span.is-active{
  background: #F2B705;
  transform: scaleX(1.06);
}

.feature-card__body{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 20px;
  background: #fff;
}

.feature-card__icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #F2B705;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(242,183,5,.24);
}

.feature-card__text h3{
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.16;
  color: #26461F;
}

.feature-card__text p{
  margin: 0;
  font-size: 16px;
  line-height: 1.42;
  color: rgba(38,70,31,.75);
}

.feature-card__badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin: 0 0 10px;
  border-radius: 999px;
  background: #F2B705;
  color: #26461F;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 1024px){
  .feature-cards--modern{
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }

  .features-modern__head h2{
    font-size: 34px;
  }

  .features-modern__head p{
    font-size: 16px;
  }
}

@media (max-width: 768px){
  .features-modern{
    padding: 42px 0 12px;
  }

  .features-modern__head{
    margin-bottom: 18px;
    text-align: center;
  }

  .features-modern__head h2{
    font-size: 28px;
    margin-bottom: 8px;
  }

  .features-modern__head p{
    font-size: 15px;
    line-height: 1.42;
    max-width: 320px;
  }

  .feature-cards--modern{
    gap: 16px;
  }

  .feature-gallery{
    overflow: hidden;
    touch-action: pan-y;
  }

  .feature-slide{
    aspect-ratio: 16 / 9;
  }

  .feature-card__body{
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .feature-card__icon{
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .feature-card__text h3{
    font-size: 18px;
    margin-bottom: 6px;
  }

  .feature-card__text p{
    font-size: 14px;
    line-height: 1.4;
  }

  .feature-indicators{
    left: 12px;
    bottom: 10px;
    gap: 5px;
  }

  .feature-indicators span{
    width: 22px;
    height: 4px;
    background: rgba(255,255,255,.42);
  }

  .feature-indicators span.is-active{
    background: #F2B705;
  }
}


/* Safe-merge patch: home features admin/mobile indicators */
.feature-indicators[hidden]{display:none !important;}
.feature-indicators{display:none;}
@media (max-width: 768px){
  .feature-indicators{display:flex;}
}


/* =========================
   HOME FEATURES — TIMELINE VERSION
   ручная малая метка + бейдж в одну линию
   ========================= */
.feature-card__body--timeline{
  display:block;
  padding:20px 20px 22px;
  position:relative;
  background:#fff;
}

.feature-card__body--timeline::before{
  content:"";
  position:absolute;
  left:20px;
  top:20px;
  bottom:22px;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,#F2B705 0%,#D99A00 100%);
  box-shadow:0 8px 18px rgba(242,183,5,.18);
}

.feature-card__meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding-left:22px;
  margin-bottom:12px;
}

.feature-card__eyebrow,
.feature-card__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  box-sizing:border-box;
  line-height:1;
  white-space:nowrap;
  vertical-align:middle;
}

.feature-card__eyebrow{
  padding:0 12px;
  border-radius:999px;
  background:rgba(38,70,31,.07);
  color:#26461F;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.feature-card__badge{
  padding:0 14px;
  margin:0;
  border-radius:999px;
  background:#F2B705;
  color:#26461F;
  font-size:13px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(242,183,5,.20);
}

.feature-card__text{
  padding-left:22px;
}

.feature-card__text h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.16;
  color:#26461F;
}

.feature-card__text p{
  margin:0;
  font-size:16px;
  line-height:1.45;
  color:rgba(38,70,31,.74);
}

.feature-card__icon{
  display:none !important;
}

@media (max-width:768px){
  .feature-card__body--timeline{
    padding:16px 16px 18px;
  }

  .feature-card__body--timeline::before{
    left:16px;
    top:16px;
    bottom:18px;
  }

  .feature-card__meta{
    padding-left:18px;
    gap:8px;
    margin-bottom:10px;
  }

  .feature-card__eyebrow,
  .feature-card__badge{
    min-height:26px;
  }

  .feature-card__eyebrow{
    padding:0 10px;
    font-size:11px;
  }

  .feature-card__badge{
    padding:0 12px;
    font-size:12px;
  }

  .feature-card__text{
    padding-left:18px;
  }
}





