/* ==========================================================================
   ГАЛЕРЕЯ СЕТОК — Единая дизайн-система v6 (Главная + Внутренние шаблоны)
   Строгая геометрия шапки 1280px, выравнивание высот секций, Конфигуратор товара
   ========================================================================== */

:root {
  --ink: #111317;
  --ink-soft: #1E242D;
  --muted: #576375;
  --muted-2: #475263;
  --white: #FFFFFF;
  --surface: #F4F6F9;
  --surface-2: #EEF1F6;
  --line: #DCE2EC;
  --line-soft: #E6ECF3;
  --hair: rgba(17, 19, 23, 0.08);

  --emerald: #0E7C52;
  --emerald-hover: #0A6140;
  --emerald-bright: #10B981;
  --sage: #E4F4EC;
  --sage-border: #B8E2CC;
  --sage-ink: #085437;

  --max-color: #5B4BFF;
  --max-bg: #F1EFFF;
  --max-border: #D6D1FF;

  --sand: #F7EFE1;
  --sand-ink: #573D12;
  --amber-bg: #FEF3C7;
  --amber-ink: #92400E;

  --graphite: #14161A;
  --graphite-hover: #252932;

  --r-hero: 28px;
  --r-card: 24px;
  --r-inner: 18px;
  --shadow: 0 10px 30px rgba(17, 19, 23, 0.05);
  --shadow-lg: 0 24px 64px rgba(17, 19, 23, 0.16);

  --container: 1280px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  flex-shrink: 0;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

s {
  color: #94A0B2;
}

small {
  font-size: inherit;
}

::selection {
  background: var(--sage);
  color: var(--sage-ink);
}

/* ---------- Сетка и секции ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 68px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--surface {
  background: var(--surface);
}

.hero__grid > *, .hero__stats > *, .p-hero__grid > *, .p-tech-grid > *,
.compat-grid > *, .calc__layout > *, .catalog-grid > *, .promo-grid > *,
.fabric-grid > *, .compare > *, .ral > *, .related-grid > *, .lead-block > *,
.price-layout > *, .prod > *, .certs-grid > *, .works-grid > *, .reels-track > *,
.reviews-grid > *, .steps > *, .faq > *, .articles > *, .seo-panel__grid > *,
.seo-cluster > *, .contacts > *, .geo > *, .footer-grid > * {
  min-width: 0;
}

/* ---------- Типографика и подписи ---------- */
.h1 {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}

.h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
}

.h3 {
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--ink);
}

.dim {
  color: #5C6678;
}

.item-sub {
  display: block;
  font-size: 13px;
  line-height: 1.38;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

.pill--sage {
  background: var(--sage);
  color: var(--sage-ink);
}

.pill--dark {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.pill--dark::before {
  background: #6EE7B7;
}

.pill--tiny {
  height: 28px;
  padding: 0 12px;
  font-size: 12.5px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head__text {
  max-width: 720px;
}

.section-head .pill {
  margin-bottom: 12px;
}

.section-head__aside {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Иконки Squircle ---------- */
.icon-squircle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.icon-squircle svg {
  width: 22px;
  height: 22px;
  margin: auto;
  color: var(--emerald);
}

.icon-squircle--sm {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 13px;
}

.icon-squircle--sm svg {
  width: 20px;
  height: 20px;
}

/* ---------- Кнопки-капсулы и пилюли 3 мессенджеров ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}

.btn > span:not(.btn__ico) {
  color: inherit;
}

.btn:active {
  transform: translateY(1px);
}

.btn__ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn__ico svg {
  width: 13px;
  height: 13px;
}

.btn--emerald {
  background: var(--emerald);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(14, 124, 82, 0.22);
}

.btn--emerald:hover {
  background: var(--emerald-hover);
}

.btn--dark {
  background: var(--graphite);
  color: #FFFFFF;
}

.btn--dark:hover {
  background: var(--graphite-hover);
}

.btn--outline {
  background: #FFFFFF;
  color: var(--ink);
  border-color: #C8D1DF;
  box-shadow: 0 4px 14px rgba(17, 19, 23, 0.04);
}

.btn--outline .btn__ico {
  background: var(--sage);
  color: var(--emerald);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: #FFFFFF;
}

.btn--outline:hover .btn__ico {
  background: var(--emerald);
  color: #FFFFFF;
}

.btn--light {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--line);
}

.btn--light:hover {
  border-color: #B4BFCE;
  background: #F9FAFC;
}

.btn--light .btn__ico {
  background: var(--surface);
  color: var(--ink);
}

.btn--sage {
  background: var(--sage);
  color: var(--sage-ink);
  border-color: var(--sage-border);
}

.btn--sage:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

.btn--sage .btn__ico {
  background: rgba(14, 124, 82, 0.14);
  color: var(--emerald);
}

.btn--sage:hover .btn__ico {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.btn--card {
  background: var(--sage);
  color: var(--sage-ink);
  border-color: #A7DCC0;
  font-weight: 700;
}

.btn--card .btn__ico {
  background: rgba(14, 124, 82, 0.14);
  color: var(--emerald);
}

.btn--card:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

.btn--card:hover .btn__ico {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.btn--block {
  width: 100%;
}

.btn--sm {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
  gap: 8px;
}

.btn--sm .btn__ico {
  width: 22px;
  height: 22px;
}

.btn--xs {
  height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  gap: 7px;
}

.btn--xs .btn__ico {
  width: 20px;
  height: 20px;
}

.btn--sm .btn__ico svg, .btn--xs .btn__ico svg {
  width: 11px;
  height: 11px;
}

/* Фирменные пилюли мессенджеров MAX / Telegram / WhatsApp */
.msgr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  white-space: nowrap;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease), border-color 0.18s var(--ease);
}

.msgr-pill:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.msgr-pill--max {
  background: var(--max-bg);
  border-color: var(--max-border);
  color: #4636E3;
}

.msgr-pill--max svg {
  color: var(--max-color);
}

.msgr-pill--tg {
  background: #EBF5FE;
  border-color: #C5E2FA;
  color: #0E65B5;
}

.msgr-pill--wa {
  background: #E9F9F0;
  border-color: #C2EED4;
  color: #0B693D;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--emerald);
  transition: transform 0.18s var(--ease);
}

.link-arrow:hover {
  color: var(--emerald);
}

.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   1. ШАПКА (Строгое совпадение с границами контейнера 1280px)
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow 0.2s var(--ease);
}

.hdr.is-scrolled {
  background: #FFFFFF;
  box-shadow: 0 8px 26px rgba(17, 19, 23, 0.06);
}

.hdr__top {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}

.hdr__top-in {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.hdr__loc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdr__loc b {
  color: var(--ink);
}

.hdr__top .sep {
  width: 1px;
  height: 13px;
  background: var(--line);
  flex-shrink: 0;
}

.hdr__open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2);
  white-space: nowrap;
  flex-shrink: 0;
}

.hdr__open i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  position: relative;
  flex-shrink: 0;
}

.hdr__open i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(14, 124, 82, 0.28);
  animation: hdrPulse 2.2s var(--ease) infinite;
}

@keyframes hdrPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}

.hdr__ya {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.hdr__ya i {
  color: #F59E0B;
  font-style: normal;
}

.hdr__top-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.hdr__top-links a {
  font-weight: 500;
}

.hdr__top-links a:hover {
  color: var(--emerald);
}

.hdr__main {
  width: 100%;
}

.hdr__inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hdr__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hdr__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2px;
}

.hdr__logo img {
  height: 32px;
  width: auto;
}

.hdr__catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--graphite);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease);
}

.hdr__catalog:hover,
.hdr__catalog[aria-expanded="true"] {
  background: var(--emerald);
}

.hdr__search {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s var(--ease);
}

.hdr__search:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: #FFFFFF;
}

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.hdr__nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s var(--ease);
}

.hdr__nav a:hover {
  color: var(--emerald);
}

.hdr__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hdr__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  white-space: nowrap;
}

.hdr__phone span {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hdr__phone small {
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  margin-top: 2px;
}

.hdr__msgr {
  display: flex;
  align-items: center;
  gap: 5px;
}

.msgr-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
}

.msgr-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.msgr-btn--max {
  background: var(--max-bg);
  border: 1px solid var(--max-border);
  color: var(--max-color);
}

.msgr-btn--tg {
  background: #E6F3FC;
  border: 1px solid #C2E1F7;
}

.msgr-btn--wa {
  background: #E6F9EE;
  border: 1px solid #C2EED4;
}

.hdr__cta {
  height: 42px;
  padding: 0 15px;
  font-size: 13.5px;
  gap: 8px;
}

.hdr__cta .btn__ico {
  width: 22px;
  height: 22px;
}

.hdr__mini,
.hdr__burger {
  display: none;
}

/* Выпадающее мега-меню */
.mega {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translate(-50%, 8px);
  width: min(1232px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: 28px 30px 22px;
  z-index: 140;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.mega.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega__col h4,
.mega__col .mega__col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mega__col ul {
  display: grid;
  gap: 2px;
}

.mega__col a {
  display: block;
  padding: 6px 9px;
  margin-left: -9px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.mega__col a:hover,
.mega__col a[aria-current="page"] {
  background: var(--sage);
  color: var(--sage-ink);
  font-weight: 700;
}

.mega__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted-2);
  flex-wrap: wrap;
}

.mega__foot strong {
  color: var(--ink);
}

.mega__foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mega__foot-links a {
  font-weight: 600;
  color: var(--emerald);
}

.mega__foot-links a:hover {
  text-decoration: underline;
}

/* Мобильная шторка */
.drawer {
  position: fixed;
  inset: 62px 0 0;
  z-index: 130;
  background: #FFFFFF;
  overflow-y: auto;
  padding: 16px 16px 104px;
  display: none;
}

.drawer.is-open {
  display: block;
}

.drawer__search-trigger {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.drawer__search-trigger svg {
  color: var(--ink);
}

.drawer__status {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer__phone {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.drawer__msgr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.drawer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 20px 0 8px;
  font-weight: 700;
}

.drawer ul {
  display: grid;
}

.drawer ul a {
  display: block;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}

.drawer .btn {
  margin-top: 22px;
}

/* ==========================================================================
   2. ПЕРВЫЙ ЭКРАН ГЛАВНОЙ (HERO)
   ========================================================================== */
.hero {
  padding: 22px 0 38px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 18px;
  align-items: stretch;
}

.hero__card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-hero);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 468px;
}

.hero__card .pill {
  align-self: flex-start;
  margin-bottom: 18px;
}

.hero__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted-2);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero__media {
  position: relative;
  border-radius: var(--r-hero);
  overflow: hidden;
  min-height: 468px;
  height: 100%;
  background: #EDEAE4;
}

.hero__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.26);
  transform-origin: 90% 42%;
}

.hero__glass {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.12);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.hero__glass .star {
  color: #F59E0B;
  font-size: 15px;
}

.hero__chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(17, 19, 23, 0.14);
}

.hero__chip img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--surface);
  padding: 4px;
  flex-shrink: 0;
}

.hero__chip b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  align-items: stretch;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.stat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stat__tag {
  min-height: 26px;
  height: auto;
  padding: 3px 10px;
  line-height: 1.2;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
}

.stat__body b {
  display: block;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* ==========================================================================
   2B. ШАБЛОН ТОВАРА / КАТЕГОРИИ: ХЛЕБНЫЕ КРОШКИ, ГАЛЕРЕЯ, КОНФИГУРАТОР, СРАВНЕНИЕ
   ========================================================================== */
.crumbs-bar {
  padding: 16px 0 6px;
}

.crumbs-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.crumbs li + li::before {
  content: "/";
  color: #B8C2D1;
}

.crumbs a:hover {
  color: var(--emerald);
}

.crumbs li[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.crumbs-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--sage-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.crumbs-stock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* Товарный первый экран — равная высота галереи и конфигуратора */
.p-hero {
  padding: 14px 0 42px;
}

.p-hero__grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 22px;
  align-items: stretch;
}

.p-gal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.p-gal__stage {
  position: relative;
  flex: 1;
  min-height: 420px;
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.p-gal__stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s var(--ease), transform 0.4s var(--ease);
}

.p-gal__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.p-gal__tag {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 22, 26, 0.78);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.p-gal__video-link {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 15px 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.16);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}

.p-gal__video-link:hover {
  transform: translateY(-1px);
  color: var(--emerald);
}

.p-gal__video-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--emerald);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-gal__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.p-thumb {
  background: var(--surface);
  border: 1.5px solid var(--line-soft);
  border-radius: 16px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  transition: all 0.18s var(--ease);
}

.p-thumb img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 11px;
  background: #FFFFFF;
}

.p-thumb span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px 2px;
}

.p-thumb:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.p-thumb.is-active {
  background: #FFFFFF;
  border-color: var(--emerald);
  box-shadow: 0 6px 18px rgba(14, 124, 82, 0.12);
}

.p-thumb.is-active span {
  color: var(--sage-ink);
}

/* Правая карточка конфигуратора товара */
.p-buybox {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-hero);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-buybox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.p-buybox__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.p-buybox__rating i {
  color: #F59E0B;
  font-style: normal;
}

.p-buybox__title {
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.1;
}

.p-buybox__lead {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

.p-cfg-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-cfg-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-2);
}

.p-cfg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.p-cfg-chip {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #FFFFFF;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s var(--ease);
}

.p-cfg-chip i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(17, 19, 23, 0.16);
  flex-shrink: 0;
}

.p-cfg-chip:hover {
  border-color: var(--emerald);
  color: var(--ink);
}

.p-cfg-chip.is-active {
  background: var(--sage);
  border-color: var(--emerald);
  color: var(--sage-ink);
  font-weight: 700;
}

.p-buybox__offer {
  margin-top: auto;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.p-buybox__price-lbl {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.p-buybox__price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.p-buybox__price-line strong {
  font-size: 32px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.p-buybox__price-line strong small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.p-buybox__price-line s {
  font-size: 15px;
  font-weight: 600;
}

.p-buybox__noprepay {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--sage-ink);
  font-size: 12px;
  font-weight: 700;
}

.p-buybox__actions {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 10px;
  margin-top: 16px;
}

.p-buybox__actions .btn {
  height: 48px;
  padding: 0 16px;
  font-size: 14px;
}

.p-buybox__msgr-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.p-buybox__msgr-row > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2);
}

.p-buybox__msgr-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-buybox__msgr-btns .msgr-pill {
  height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

/* Инженерное сравнение Pet Screen vs Обычная сетка + 3 узла защиты */
.p-tech-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 20px;
  align-items: stretch;
}

.cmp-card,
.anatomy-card {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cmp-card h3,
.anatomy-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.anatomy-card .pill {
  align-self: flex-start;
  margin-bottom: 12px;
}

.cmp-card > p,
.anatomy-card > p {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 8px;
  line-height: 1.5;
}

.cmp-table-wrap {
  margin-top: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
}

.cmp-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.cmp-table th,
.cmp-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.cmp-table tr:last-child td {
  border-bottom: 0;
}

.cmp-table thead th {
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.cmp-table thead th.is-accent {
  background: var(--sage);
  color: var(--sage-ink);
}

.cmp-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink-soft);
}

.cmp-table tbody td:last-child {
  color: var(--muted);
}

.cmp-table tbody td.is-accent {
  background: #F4FBF7;
  color: var(--sage-ink);
}

.anatomy-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 24px;
}

.anatomy-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.anatomy-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 11px;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.anatomy-list b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.anatomy-card .btn {
  margin-top: auto;
}

/* 4-колоночная сетка совместимых конструкций */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.compat-grid .p-card__stage {
  height: 196px;
}

.compat-grid .p-card h3 {
  font-size: 17.5px;
}

.p-card__desc {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted-2);
  margin: 8px 4px 0;
}

/* Модификатор белой подложки карусели видео внутри серых секций */
.reels-block--white {
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

/* Кластеры внутренней SEO-перелинковки */
.seo-cluster {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.seo-cluster__group {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 22px 26px;
}

.seo-cluster__group h3,
.seo-cluster__group h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   3. КАЛЬКУЛЯТОР SETKI1.RU (Равная нижняя линия обеих колонок на десктопе)
   ========================================================================== */
.calc__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.calc__hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--sage-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.calc__hint svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
}

.calc__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 20px;
  align-items: stretch;
}

.calc__podium {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 16px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.calc__podium iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  min-height: 600px;
  border-radius: 16px;
}

.calc-side {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-side__card {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.calc-side__specs {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calc-side__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.calc-side__card h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
}

.calc-side__kicker {
  display: block;
  font-size: 12.5px;
  color: var(--emerald);
  font-weight: 600;
  margin-top: 2px;
}

.calc-side__form .pill {
  margin-bottom: 10px;
}

.calc-side__card p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted-2);
}

.calc-side__msgr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.calc-side__msgr .msgr-pill {
  padding: 0 8px;
  font-size: 12.5px;
}

.calc-side__form .field {
  margin-top: 12px;
}

.calc-side__form .btn {
  margin-top: 12px;
}

.calc-specs-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.calc-specs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-specs-list b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.calc-side__badge {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--sage-ink);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   4. КАТАЛОГ КОНСТРУКЦИЙ (9 ШТ.)
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.p-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.p-card:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1;
  box-shadow: 0 16px 38px rgba(17, 19, 23, 0.07);
}

.p-card__stage {
  position: relative;
  height: 228px;
  border-radius: var(--r-inner);
  background: radial-gradient(circle at 50% 52%, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 23, 0.04);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.p-card__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.p-card:hover .p-card__stage img {
  transform: scale(1.05);
}

.p-card__stage--tall {
  padding: 8px;
}

.p-card__stage--tall img {
  transform: scale(1.14);
}

.p-card:hover .p-card__stage--tall img {
  transform: scale(1.19);
}

.p-card__stage--usn {
  padding: 0;
}

.p-card__stage--usn img {
  object-fit: cover;
  object-position: 28% 72%;
  transform: scale(1.52);
}

.p-card:hover .p-card__stage--usn img {
  transform: scale(1.58);
}

.p-card__zoom-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
}

.p-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--emerald);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.p-card__badge--amber {
  background: var(--amber-bg);
  color: var(--amber-ink);
  border: 1px solid #FDE68A;
}

.p-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 16px 4px 0;
}

.p-card h3 a:hover {
  color: var(--emerald);
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 12px;
  margin: 12px 0 0;
}

.spec b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.p-card__spec-one {
  display: none;
}

.p-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto 4px 0;
  padding-top: 14px;
}

.p-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}

.p-card__price .now {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.p-card__price .now small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 3px;
}

.p-card__price s {
  font-size: 13px;
}

.show-more {
  display: none;
  width: 100%;
  margin-top: 14px;
}

/* ==========================================================================
   5. АКЦИИ
   ========================================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.promo {
  position: relative;
  border-radius: var(--r-card);
  padding: 26px;
  min-height: 288px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}

.promo--sage {
  background: #DCF2E6;
  border-color: #BCE4CE;
  color: #093826;
}

.promo--forest {
  background: linear-gradient(145deg, #0D3D2B 0%, #11593F 100%);
  color: #FFFFFF;
}

.promo--sand {
  background: var(--sand);
  border-color: #ECDCBF;
  color: var(--sand-ink);
}

.promo--white {
  background: #FFFFFF;
  border-color: var(--line-soft);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.promo__tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  font-weight: 700;
  align-self: flex-start;
}

.promo--forest .promo__tag {
  background: rgba(255, 255, 255, 0.14);
  color: #D1FAE5;
}

.promo--white .promo__tag {
  background: var(--surface);
  color: var(--muted-2);
}

.promo__value {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 20px 0 10px;
  font-variant-numeric: tabular-nums;
}

.promo h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.28;
  min-height: 2.56em;
}

.promo p {
  font-size: 13.5px;
  line-height: 1.48;
  margin-top: 8px;
  opacity: 0.85;
}

.promo__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.promo__btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: var(--emerald);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}

.promo__btn:hover {
  background: var(--emerald);
  transform: translateY(-1px);
}

.promo--forest .promo__btn {
  background: #FFFFFF;
  color: #0A3827;
}

.promo--forest .promo__btn:hover {
  background: #D1FAE5;
}

.promo__go {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.promo__go svg {
  width: 15px;
  height: 15px;
}

.promo__go:hover {
  transform: rotate(-10deg);
  background: #FFFFFF;
}

.promo--forest .promo__go {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

/* ==========================================================================
   6. ВИДЫ ПОЛОТЕН + ИНТЕРАКТИВНОЕ СРАВНЕНИЕ ДО / ПОСЛЕ
   ========================================================================== */
.fabric-filter,
.reels-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip-filter {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-2);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}

.chip-filter:hover {
  border-color: var(--emerald);
  color: var(--ink);
}

.chip-filter.is-active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

.fabric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.fabric {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: opacity 0.25s var(--ease), transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.fabric:hover {
  transform: translateY(-2px);
}

.fabric.is-dim {
  opacity: 0.38;
}

.fabric.is-rec {
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px var(--emerald);
}

.fabric__media {
  position: relative;
  height: 176px;
  border-radius: var(--r-inner);
  overflow: hidden;
  background: #1B222C;
}

.fabric__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 22, 29, 0.22) 0%, rgba(17, 22, 29, 0) 45%, rgba(17, 22, 29, 0.4) 100%);
}

.fabric__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.62);
  filter: contrast(1.08);
  transition: transform 0.35s var(--ease);
}

.fabric:hover .fabric__media img {
  transform: scale(1.68);
}

.fabric__media--ultravue img {
  transform: scale(1.34);
  filter: brightness(1.22) contrast(1.14) saturate(0.85);
}

.fabric:hover .fabric__media--ultravue img {
  transform: scale(1.4);
}

.fabric__media--bird img {
  transform: scale(1.86);
  object-position: 38% center;
}

.fabric:hover .fabric__media--bird img {
  transform: scale(1.92);
}

.fabric__media--diamond img {
  transform: scale(1.92);
  object-position: 38% center;
  filter: grayscale(1) contrast(1.42) brightness(0.92);
}

.fabric:hover .fabric__media--diamond img {
  transform: scale(1.98);
}

.fabric__media--solar img {
  transform: scale(1.64);
  filter: contrast(1.16) brightness(1.05) sepia(0.18) hue-rotate(175deg) saturate(1.35);
}

.fabric:hover .fabric__media--solar img {
  transform: scale(1.7);
}

.fabric__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.fabric__badge--emerald {
  background: var(--emerald);
  color: #FFFFFF;
}

.fabric__spec-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(17, 19, 23, 0.74);
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 600;
}

.fabric__rec {
  display: none;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--sage-ink);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.fabric.is-rec .fabric__rec {
  display: block;
}

.fabric h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.28;
  margin: 14px 4px 0;
  min-height: 2.56em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fabric h3 a:hover {
  color: var(--emerald);
}

.fabric__plate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px;
  margin: 10px 0 0;
}

.fabric__plate b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fabric__plate small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.fabric__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto 2px 0;
  padding-top: 12px;
}

.fabric__price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fabric__price small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 3px;
}

.compare {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-hero);
  padding: 22px;
  margin-top: 26px;
}

.compare__panel {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compare__panel .pill {
  align-self: flex-start;
  margin-bottom: 12px;
}

.compare__panel h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.compare__panel p {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 10px;
  line-height: 1.5;
}

.compare__tags {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.compare__tags span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}

.compare__tags span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

.compare__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.compare__stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
  height: 100%;
  background: #1F2937;
  user-select: none;
}

.compare__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.compare__before,
.compare__after {
  position: absolute;
  inset: 0;
}

.compare__after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.compare__after img {
  filter: brightness(1.06) saturate(1.08);
}

.compare__before img {
  filter: brightness(0.84) contrast(0.95) saturate(0.88);
}

.compare__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: rgba(20, 24, 31, 0.14);
  background-image:
    repeating-linear-gradient(0deg, rgba(17, 20, 26, 0.34) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(17, 20, 26, 0.34) 0 1px, transparent 1px 3px);
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2.5px;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  z-index: 4;
}

.compare__knob {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.28);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--emerald);
  z-index: 5;
}

.compare__labels {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.compare__labels span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  font-size: 12.5px;
  font-weight: 700;
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
}

/* ==========================================================================
   7. ШОУРУМ ПОКРАСКИ RAL (Пиксельное совпадение высоты фото и правой панели)
   ========================================================================== */
.ral {
  display: grid;
  grid-template-columns: 4.8fr 7.2fr;
  gap: 20px;
  align-items: stretch;
}

.ral__stage {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #FFFFFF;
  min-height: 460px;
  height: 100%;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.ral__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.18s ease, filter 0.22s ease;
}

.ral__label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.14);
}

.ral__label i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(17, 19, 23, 0.15);
  flex-shrink: 0;
}

.ral__label b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.ral__label small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.ral__panel {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow);
}

.ral__panel .pill {
  align-self: flex-start;
}

.ral__panel > p {
  font-size: 15px;
  color: var(--muted-2);
  max-width: 600px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s var(--ease);
}

.swatch i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(17, 19, 23, 0.15);
  flex-shrink: 0;
}

.swatch b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.swatch small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.swatch:hover {
  background: #EDF1F6;
}

.swatch.is-active {
  background: #FFFFFF;
  border-color: var(--emerald);
  box-shadow: 0 6px 18px rgba(14, 124, 82, 0.12);
}

.ral__perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ral__perk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
}

.ral__perk b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}

.ral__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.ral__palette {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.ral-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(17, 19, 23, 0.16);
}

/* ==========================================================================
   8. СМЕЖНЫЕ НАПРАВЛЕНИЯ
   ========================================================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.related {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E9EEF5;
  border-bottom: 1px solid var(--line-soft);
}

.related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.related:hover .related__media img {
  transform: scale(1.04);
}

.related__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related h3 {
  font-size: 19.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.related h3 a:hover {
  color: var(--emerald);
}

.related p {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 8px;
  margin-bottom: 14px;
  line-height: 1.5;
  flex: 1;
}

.related__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.related__chips a {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.16s var(--ease);
}

.related__chips a:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

.related__foot {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.related__price {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.related__price small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 3px;
}

/* ==========================================================================
   9. БЛОК ЗАМЕРА С ЧЕМОДАНЧИКОМ + ФОРМА
   ========================================================================== */
.lead-block {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #0A3828 0%, #0E6244 62%, #0F7652 100%);
  color: #FFFFFF;
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 432px;
  gap: 36px;
  align-items: center;
}

.lead-block::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.22) 0%, rgba(110, 231, 183, 0) 68%);
  pointer-events: none;
}

.lead-block > * {
  position: relative;
  z-index: 2;
}

.lead-block .pill {
  margin-bottom: 16px;
}

.lead-block .h2 {
  color: #FFFFFF;
}

.lead-block .h2 .dim {
  color: #A7F3D0;
}

.lead-block__sub {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
}

.lead-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 24px;
  max-width: 540px;
}

.lead-facts b {
  display: block;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.lead-facts small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.kit-collage {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 560px;
}

.kit-collage img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: #FFFFFF;
  flex-shrink: 0;
}

.kit-collage__txt {
  flex: 1 1 200px;
  padding-left: 4px;
}

.kit-collage__txt b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.kit-collage__txt small {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  margin-top: 2px;
}

.form-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(6, 28, 20, 0.28);
}

.form-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.form-card > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.field {
  margin-top: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.input::placeholder {
  color: #94A3B8;
}

.input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(14, 124, 82, 0.12);
}

.channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #EEF2F6;
  margin-top: 14px;
}

.channel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 6px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-2);
  white-space: nowrap;
  transition: all 0.18s var(--ease);
}

.channel input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.channel:has(input:checked) {
  background: #FFFFFF;
  color: var(--emerald);
  box-shadow: 0 2px 8px rgba(17, 19, 23, 0.1);
}

.form-card .btn {
  margin-top: 16px;
}

.consent {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.45;
  text-align: center;
}

.consent a {
  color: var(--ink-soft);
  text-decoration: underline;
}

/* ==========================================================================
   10. ТАБЫ И ПРАЙС-ЛИСТ (Единый нижний горизонт таблицы и правой карточки)
   ========================================================================== */
.tabs,
.filters,
.seo-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: #E9EEF5;
  margin-bottom: 20px;
  max-width: 100%;
}

.tab,
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-2);
  white-space: nowrap;
  transition: all 0.18s var(--ease);
}

.tab b {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--emerald);
}

.tab:hover,
.filter:hover {
  color: var(--ink);
}

.tab.is-active,
.filter.is-active {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(17, 19, 23, 0.08);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 368px;
  gap: 20px;
  align-items: stretch;
}

.price-main {
  display: flex;
  flex-direction: column;
}

#price .panel:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-table {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 10px;
  box-shadow: var(--shadow);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 15px 18px;
  border-radius: 16px;
  transition: background 0.15s var(--ease);
}

.price-row:nth-child(even) {
  background: #F8FAFC;
}

.price-row:hover {
  background: #EFF6F2;
}

.price-row__name b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}

.price-row__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-row__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.price-row__old {
  font-size: 13px;
}

.price-aside {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-aside .pill {
  align-self: flex-start;
  margin-bottom: 12px;
}

.price-aside h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
}

.price-aside > p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}

.price-aside ul {
  display: grid;
  gap: 15px;
  margin: 20px 0 24px;
}

.price-aside li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.price-aside li b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.price-aside .btn {
  margin-top: auto;
}

/* ==========================================================================
   11. ПРОИЗВОДСТВО И СКЛАД
   ========================================================================== */
.prod {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.prod__text {
  display: flex;
  flex-direction: column;
}

.prod__text .pill {
  align-self: flex-start;
  margin-bottom: 14px;
}

.prod__text > p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.prod__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.prod__fact {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px 18px;
}

.prod__fact b {
  display: block;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.prod__actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.prod__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 100%;
  align-items: stretch;
}

.prod__photo {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  height: 100%;
  min-height: 440px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.prod__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod__photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   12. СЕРТИФИКАТЫ НА МАТЕРИАЛЫ
   ========================================================================== */
.certs-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
}

.certs-note svg {
  color: var(--emerald);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.cert-card {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-border);
  box-shadow: 0 18px 40px rgba(17, 19, 23, 0.09);
}

.cert-card__sheet {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: linear-gradient(180deg, #F4F7FB 0%, #E9EEF5 100%);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-card__scan {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  border-radius: 10px;
  background: #FFFFFF;
  z-index: 3;
  box-shadow: 0 8px 22px rgba(17, 19, 23, 0.08);
}

.cert-sheet-mock {
  position: relative;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #D6DFEC;
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(17, 19, 23, 0.06);
}

.cert-sheet-mock::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(14, 124, 82, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.cert-sheet-mock__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EEF2F7;
}

.cert-sheet-mock__emblem {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-sheet-mock__head small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.25;
}

.cert-sheet-mock strong {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.3;
}

.cert-sheet-mock em {
  display: inline-block;
  font-style: normal;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
}

.cert-sheet-mock__lines {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.cert-sheet-mock__lines i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #EDF1F7;
}

.cert-sheet-mock__lines i:nth-child(2) { width: 88%; }
.cert-sheet-mock__lines i:nth-child(3) { width: 94%; }
.cert-sheet-mock__lines i:nth-child(4) { width: 68%; }

.cert-sheet-mock__foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cert-sheet-mock__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
}

.cert-sheet-mock__stamp {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px dashed rgba(29, 107, 243, 0.55);
  color: rgba(29, 107, 243, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-12deg);
  flex-shrink: 0;
}

.cert-card__zoom {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--graphite);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(17, 19, 23, 0.24);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.cert-card:hover .cert-card__zoom {
  background: var(--emerald);
  transform: scale(1.08);
}

.cert-card__body {
  padding: 14px 4px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cert-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 5px;
}

.cert-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.28;
  min-height: 2.56em;
}

/* ==========================================================================
   13. ПРИМЕРЫ РАБОТ + РОВНЫЕ 4 КОЛОНКИ КАРУСЕЛИ 9:16
   ========================================================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.case {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section--surface .case {
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.case__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E2E8F0;
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.case:hover .case__media img {
  transform: scale(1.04);
}

.case__media--zoom img {
  transform: scale(1.32);
  object-position: center 75%;
}

.case:hover .case__media--zoom img {
  transform: scale(1.38);
}

.case__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
}

.case__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case__body b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

/* Витрина-карусель на 10+ вертикальных видео 9:16 */
.reels-block {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-hero);
  padding: 28px;
}

.reels-block--white {
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.reels-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.reels-head__text {
  max-width: 680px;
}

.reels-head__text .pill {
  margin-bottom: 12px;
}

.reels-head__text h2,
.reels-head__text h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.reels-head__text p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted-2);
}

.reels-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reels-nav__count {
  padding: 7px 13px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.reels-block--white .reels-nav__count {
  background: var(--surface);
}

.reels-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.reels-nav__btn:hover:not(:disabled) {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

.reels-nav__btn:disabled {
  opacity: 0.42;
  cursor: default;
}

.reels-filters {
  margin: 18px 0 20px;
}

.reels-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.reels-track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #141820;
  cursor: pointer;
  scroll-snap-align: start;
  user-select: none;
  box-shadow: 0 10px 26px rgba(17, 19, 23, 0.12);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(17, 19, 23, 0.2);
}

.reel-card video,
.reel-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s var(--ease);
}

.reel-card:hover video,
.reel-card:hover .reel-card__poster {
  transform: scale(1.04);
}

.reel-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 19, 23, 0) 0%, rgba(17, 19, 23, 0.06) 52%, rgba(17, 19, 23, 0.84) 100%);
}

.reel-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), 0 0 0 6px rgba(255, 255, 255, 0.18);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.reel-card:hover .reel-card__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--emerald);
  color: #FFFFFF;
}

.reel-card__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: #FFFFFF;
}

.reel-card__cat {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.24);
  border: 1px solid rgba(110, 231, 183, 0.38);
  backdrop-filter: blur(6px);
  color: #D1FAE5;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.reel-card__caption b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
}

.works-cta {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.works-cta__info b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.works-cta__info p {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 4px;
}

.works-cta__btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   14. ОТЗЫВЫ С ЯНДЕКС КАРТ
   ========================================================================== */
.reviews-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.reviews-top__score {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ya-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FC3F1D;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.reviews-top__score b {
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
}

.stars svg {
  width: 15px;
  height: 15px;
}

.reviews-top__score small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.reviews-top__mid .verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
}

.reviews-top__mid .verified svg {
  width: 18px;
  height: 18px;
  color: #1D6BF3;
}

.reviews-top__mid p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.review {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
}

.review__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--sage-ink);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.review__name {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
}

.review__level {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.review__stars {
  margin-left: auto;
  display: flex;
  gap: 2px;
  color: #F59E0B;
  flex-shrink: 0;
}

.review__stars svg {
  width: 13px;
  height: 13px;
}

.review__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 14px;
}

.review__meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

/* ==========================================================================
   15. 4 ЭТАПА РАБОТЫ + ЧАСТЫЕ ВОПРОСЫ (Выровненный низ колонок FAQ)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step__num {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  color: var(--sage-ink);
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 16px;
}

.step p {
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.5;
  margin-top: 6px;
}

.faq {
  display: grid;
  grid-template-columns: 376px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 36px;
  row-gap: 20px;
  margin-top: 52px;
  align-items: stretch;
}

.faq__intro {
  grid-column: 1;
  grid-row: 1;
}

.faq__intro .pill {
  margin-bottom: 14px;
}

.faq__intro > p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted-2);
}

.faq__ask {
  grid-column: 1;
  grid-row: 2;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.section--surface .faq__ask,
.section--surface .faq__item {
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.section--surface .faq__plus {
  background: var(--surface);
}

.faq__ask b {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.faq__ask p {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 6px;
  line-height: 1.5;
}

.faq__ask-actions {
  display: grid;
  gap: 8px;
}

.faq__msgr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.faq__msgr .msgr-pill {
  padding: 0 8px;
  font-size: 12.5px;
}

.faq__ask-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.faq__ask-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink, #1e293b);
}

.faq__ask-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(15, 122, 77, 0.1);
  color: #0f7a4d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq__ask-ico svg {
  width: 11px;
  height: 11px;
}

.faq__ask-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft, #eef2f7);
  font-size: 12.5px;
  color: var(--muted-2, #64748b);
}

.faq__ask-stars {
  color: #F2B01E;
  font-size: 12px;
  letter-spacing: 1px;
}

.faq__form {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft, #eef2f7);
}

.faq__field {
  display: grid;
  gap: 4px;
}

.faq__field > span {
  font-size: 12px;
  color: var(--muted-2, #64748b);
  font-weight: 600;
}

.faq__field textarea {
  width: 100%;
  resize: vertical;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid var(--line, #d5dbe3);
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  color: var(--ink, #1e293b);
  background: #fff;
}

.faq__form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.faq__form-row .input {
  width: 100%;
  min-width: 0;
}

.faq__list {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  align-content: start;
  gap: 10px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.faq__plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}

.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  border-radius: 2px;
}

.faq__plus::before {
  width: 12px;
  height: 2px;
}

.faq__plus::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.2s var(--ease);
}

.faq__item.is-open .faq__plus {
  background: var(--sage);
  transform: rotate(180deg);
}

.faq__item.is-open .faq__plus::before {
  background: var(--emerald);
}

.faq__item.is-open .faq__plus::after {
  opacity: 0;
}

.faq__a {
  display: none;
  padding: 0 22px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.faq__item.is-open .faq__a {
  display: block;
}

/* ==========================================================================
   16. СТАТЬИ И SEO-ВКЛАДКИ
   ========================================================================== */
.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.article {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease);
}

.article:hover {
  transform: translateY(-3px);
}

.article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article__body {
  padding: 16px 18px 20px;
  flex: 1;
}

.article__body span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 6px;
}

.article__body b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.38;
}

.seo-wrap {
  margin-top: 36px;
}

.seo-panel {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}

.seo-panel__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

.seo-panel h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.seo-panel p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted-2);
}

.seo-panel p + p {
  margin-top: 10px;
}

.seo-panel ul {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.seo-panel li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.seo-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.seo-toggle {
  display: none;
}

/* ==========================================================================
   17. КОНТАКТЫ, КАРТА И ГЕОГРАФИЯ МО
   ========================================================================== */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-line b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.requisites {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  font-size: 13px;
  color: var(--muted);
}

.requisites b {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
}

.map-card {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #FFFFFF;
  min-height: 430px;
  height: 100%;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.map-card__frame {
  position: absolute;
  inset: 0;
  background: #E2E8F0;
}

.map-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card__shield {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px;
  cursor: pointer;
  background: rgba(17, 19, 23, 0.02);
}

.map-card.is-active .map-card__shield {
  display: none;
}

.map-card__shield span {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(17, 19, 23, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.map-card__foot {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 10px 28px rgba(17, 19, 23, 0.12);
}

.map-card__foot b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.geo {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.geo__map img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
}

.geo__body h3 {
  font-size: 18px;
  font-weight: 700;
}

.geo__body p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.geo__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.geo__links a {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.16s var(--ease);
}

.geo__links a:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

/* ==========================================================================
   18. ФУТЕР
   ========================================================================== */
.site-footer {
  background: var(--graphite);
  color: #CBD5E1;
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-brand .logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94A3B8;
  margin-top: 14px;
  max-width: 310px;
}

.footer-contact {
  margin-top: 16px;
}

.footer-contact a {
  display: inline-block;
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-contact span {
  display: block;
  font-size: 13px;
  color: #94A3B8;
  margin-top: 4px;
}

.footer-msgr {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer-msgr a {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  transition: background 0.18s var(--ease);
}

.footer-msgr a:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: #CBD5E1;
  line-height: 1.35;
  transition: color 0.16s var(--ease);
}

.footer-col a:hover {
  color: #6EE7B7;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94A3B8;
}

.footer-bottom a {
  color: #CBD5E1;
  text-decoration: underline;
}

/* ==========================================================================
   19. МОДАЛКИ: ЗАЯВКА, ПОИСК, СЕРТИФИКАТЫ И STORIES-ПЛЕЕР 9:16
   ========================================================================== */
.rail-hint {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.rail-hint__dots {
  display: flex;
  gap: 5px;
}

.rail-hint__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all 0.2s var(--ease);
}

.rail-hint__dots i.is-on {
  width: 18px;
  border-radius: 999px;
  background: var(--emerald);
}

.thumbbar {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal--top {
  align-items: flex-start;
  padding-top: min(9vh, 80px);
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 23, 0.56);
  backdrop-filter: blur(5px);
}

.modal__card {
  position: relative;
  z-index: 2;
  width: min(460px, 100%);
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(17, 19, 23, 0.3);
}

.modal__card h3,
.modal__card .modal__title {
  font-size: 21px;
  font-weight: 700;
}

.modal__pick {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 13px;
  border-radius: 12px;
  background: var(--sage);
  color: var(--sage-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.modal__card > p {
  font-size: 13.5px;
  color: var(--muted-2);
  margin-top: 10px;
  line-height: 1.45;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}

/* Диалог живого поиска */
.search-dialog {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  max-height: min(80vh, 620px);
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(17, 19, 23, 0.32);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-dialog__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.search-dialog__ico {
  color: var(--emerald);
}

.search-dialog__input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}

.search-dialog__input::placeholder {
  color: #94A3B8;
  font-weight: 500;
}

.search-dialog__close {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  cursor: pointer;
}

.search-dialog__quick {
  padding: 14px 20px 10px;
  background: #FAFBFD;
  border-bottom: 1px solid var(--line-soft);
}

.search-dialog__quick small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 8px;
}

.search-dialog__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-dialog__chips button {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.16s var(--ease);
}

.search-dialog__chips button:hover {
  border-color: var(--emerald);
  background: var(--sage);
  color: var(--sage-ink);
}

.search-dialog__results {
  padding: 12px 14px 16px;
  overflow-y: auto;
  display: grid;
  gap: 6px;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.search-item:hover {
  background: var(--surface);
  border-color: var(--line-soft);
}

.search-item__cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.search-item__title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

.search-item__title mark {
  background: #D1FAE5;
  color: #064E3B;
  padding: 0 2px;
  border-radius: 4px;
}

.search-item__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-item__price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-soft);
  white-space: nowrap;
}

.search-empty {
  padding: 24px 16px;
  text-align: center;
}

.search-empty b {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
}

.search-empty p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 6px 0 14px;
}

/* Лайтбокс просмотра сертификата */
.cert-lightbox {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  background: #FFFFFF;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(17, 19, 23, 0.32);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.cert-lightbox__preview {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: var(--surface);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.cert-lightbox__preview > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.cert-lightbox__meta h3,
.cert-lightbox__meta .cert-lightbox__title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 12px;
  line-height: 1.25;
}

.cert-lightbox__meta p {
  font-size: 14.5px;
  color: var(--muted-2);
  margin-top: 10px;
  line-height: 1.55;
}

.cert-lightbox__actions {
  margin-top: 22px;
}

/* Всплывающий полноэкранный Stories-плеер 9:16 */
.stories-modal__backdrop {
  background: rgba(10, 13, 18, 0.88);
  backdrop-filter: blur(10px);
}

.stories-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: min(88vh, 780px);
  max-width: 100%;
}

.stories-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s var(--ease);
}

.stories-arrow:hover {
  background: #FFFFFF;
  color: var(--ink);
  transform: scale(1.06);
}

.stories-frame {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-width: 100vw;
  background: #0B0E13;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.stories-bars {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  gap: 4px;
}

.stories-bars span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.stories-bars i {
  display: block;
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 999px;
  transition: width 0.12s linear;
}

.stories-bars span.is-done i {
  width: 100%;
}

.stories-top {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 14px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
}

.stories-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.stories-brand__dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--emerald);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.stories-brand b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.15;
}

.stories-brand small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
}

.stories-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stories-ctrl-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s var(--ease);
}

.stories-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.stories-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #0B0E13;
}

.stories-tap {
  position: absolute;
  inset: 72px 0 156px 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 28% 44% 28%;
}

.stories-tap__zone {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.stories-paused-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(17, 19, 23, 0.74);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.stories-bottom {
  position: relative;
  z-index: 6;
  margin-top: auto;
  padding: 32px 16px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.94) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stories-meta__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.24);
  border: 1px solid rgba(110, 231, 183, 0.42);
  color: #A7F3D0;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stories-meta h3,
.stories-meta .stories-meta__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
}

.stories-cta {
  height: 48px;
  font-size: 14.5px;
  box-shadow: 0 10px 28px rgba(14, 124, 82, 0.42);
}

/* ==========================================================================
   АДАПТИВНОСТЬ (УЗКИЕ НОУТБУКИ И ПЛАНШЕТЫ)
   ========================================================================== */
@media (max-width: 1240px) {
  .hdr__msgr,
  .hdr__top .hdr__open,
  .hdr__top .sep {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hdr__top,
  .hdr__catalog,
  .hdr__search,
  .hdr__nav,
  .hdr__phone,
  .hdr__msgr,
  .hdr__cta {
    display: none;
  }

  .hdr__inner {
    height: 62px;
  }

  .hdr__logo img {
    height: 28px;
    max-width: 132px;
  }

  .hdr__mini {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hdr__mini-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    color: var(--ink);
    cursor: pointer;
  }

  .hdr__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--graphite);
    border: 0;
    cursor: pointer;
  }

  .hdr__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    position: relative;
  }

  .hdr__burger span::before,
  .hdr__burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
  }

  .hdr__burger span::before { top: -5px; }
  .hdr__burger span::after { top: 5px; }

  .p-hero__grid,
  .p-tech-grid,
  .seo-cluster,
  .calc__layout,
  .price-layout,
  .prod,
  .ral,
  .lead-block,
  .contacts,
  .seo-panel__grid {
    grid-template-columns: 1fr;
  }

  .p-gal__stage {
    min-height: 360px;
  }

  .compat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reels-track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  .faq {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .faq__intro,
  .faq__list,
  .faq__ask {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }

  .ral__stage {
    min-height: 340px;
    max-height: 380px;
  }

  .prod__photo {
    min-height: 300px;
  }

  .calc-side {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .calc-side__specs {
    grid-column: 1 / -1;
  }

  .price-aside {
    height: auto;
  }

  .promo-grid,
  .certs-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fabric-grid,
  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .thumbbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.85fr 0.85fr;
    gap: 6px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-soft);
    box-shadow: 0 -6px 24px rgba(17, 19, 23, 0.08);
  }

  .thumbbar__btn {
    height: 46px;
    padding: 0 6px;
    border-radius: 13px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--ink);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }

  .thumbbar__btn svg {
    width: 17px;
    height: 17px;
    color: var(--emerald);
  }

  .thumbbar__btn--primary {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #FFFFFF;
  }

  .thumbbar__btn--primary svg {
    color: #FFFFFF;
  }

  .thumbbar__btn--max {
    background: var(--max-bg);
    border-color: var(--max-border);
    color: #4636E3;
  }

  .thumbbar__btn--max svg {
    color: var(--max-color);
  }
}

/* ==========================================================================
   МОБИЛЬНЫЙ СТАНДАРТ (<768px)
   ========================================================================== */
@media (max-width: 767px) {
  .container {
    padding-inline: 16px;
  }

  .section {
    padding: 44px 0;
  }

  .section--tight {
    padding: 28px 0;
  }

  .section-head {
    margin-bottom: 18px;
    gap: 12px;
  }

  .h1 {
    font-size: 28px;
  }

  .h2 {
    font-size: 23px;
  }

  .certs-note {
    font-size: 12px;
    white-space: normal;
    border-radius: 14px;
  }

  /* Хлебные крошки и Товарный первый экран на смартфоне */
  .crumbs-bar {
    padding: 10px 0 4px;
  }

  .crumbs-stock {
    display: none;
  }

  .crumbs ol {
    font-size: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .crumbs ol::-webkit-scrollbar {
    display: none;
  }

  .p-hero {
    padding: 8px 0 28px;
  }

  .p-hero__grid {
    gap: 14px;
  }

  .p-gal__stage {
    min-height: 250px;
    height: 250px;
    border-radius: 22px;
  }

  .p-gal__badges {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .p-gal__video-link {
    left: 10px;
    bottom: 10px;
    height: 36px;
    font-size: 12px;
    padding: 0 12px 0 6px;
  }

  .p-gal__thumbs {
    gap: 6px;
  }

  .p-thumb {
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
  }

  .p-thumb img {
    height: 52px;
    border-radius: 8px;
  }

  .p-thumb span {
    font-size: 12px;
  }

  .p-buybox {
    padding: 20px 16px;
    border-radius: 22px;
    gap: 14px;
  }

  .p-buybox__title {
    font-size: 25px;
  }

  .p-buybox__lead {
    font-size: 14px;
  }

  .p-cfg-chip {
    height: 36px;
    padding: 0 11px;
    font-size: 12px;
    border-radius: 10px;
  }

  .p-buybox__offer {
    padding: 16px;
    border-radius: 18px;
  }

  .p-buybox__price-line strong {
    font-size: 26px;
  }

  .p-buybox__noprepay {
    margin-left: 0;
  }

  .p-buybox__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .p-buybox__actions .btn {
    width: 100%;
  }

  .p-buybox__msgr-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .p-buybox__msgr-btns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  /* Таблица сравнения и анатомия на смартфоне */
  .cmp-card,
  .anatomy-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .cmp-card h3,
  .anatomy-card h3 {
    font-size: 18.5px;
  }

  .cmp-table-wrap {
    overflow-x: auto;
  }

  .cmp-table th,
  .cmp-table td {
    padding: 10px 11px;
    font-size: 12.5px;
  }

  .compat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .compat-grid .p-card__stage {
    height: 132px;
  }

  .p-card__desc {
    font-size: 13px;
    margin: 5px 2px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .seo-cluster__group {
    padding: 18px 16px;
    border-radius: 20px;
  }

  /* Hero Главной */
  .hero {
    padding: 12px 0 28px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__media {
    order: -1;
    min-height: 242px;
    height: 242px;
    border-radius: 22px;
  }

  .hero__media > img {
    transform: scale(1.24);
    transform-origin: 90% 38%;
  }

  .hero__chip {
    display: none;
  }

  .hero__glass {
    top: 12px;
    right: 12px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero__card {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .hero__lead {
    font-size: 14.5px;
    margin-top: 12px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .hero__actions .btn {
    width: 100%;
    height: 48px;
  }

  .hero__note {
    margin-top: 12px;
    font-size: 12px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .stat {
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .stat .icon-squircle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
  }

  .stat .icon-squircle svg {
    width: 18px;
    height: 18px;
  }

  .stat {
    padding: 12px;
  }
  .stat__top {
    gap: 6px;
  }
  .stat .icon-squircle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .stat .icon-squircle svg {
    width: 16px;
    height: 16px;
  }
  .stat__tag {
    font-size: 10.5px;
    min-height: 22px;
    height: auto;
    padding: 2px 6px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .stat__body b {
    font-size: 21px;
  }

  .stat__body .item-sub {
    font-size: 12px;
  }

  /* Калькулятор */
  .calc__hint {
    font-size: 12.5px;
    padding: 8px 12px;
    white-space: normal;
    border-radius: 14px;
  }

  .calc__podium {
    padding: 8px;
    border-radius: 20px;
  }

  .calc__podium iframe {
    min-height: 640px;
  }

  .calc-side {
    grid-template-columns: 1fr;
  }

  .calc-side__form,
  .calc-side__specs {
    display: none;
  }

  .calc-side__photo {
    padding: 16px;
    border-radius: 20px;
  }

  /* Фильтры и табы в 1 строку со свайпом */
  .fabric-filter,
  .reels-filters,
  .tabs,
  .filters,
  .seo-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: -16px;
    padding-right: 16px;
  }

  .fabric-filter,
  .reels-filters {
    border-radius: 0;
    padding-bottom: 4px;
  }

  .tabs,
  .filters,
  .seo-tabs {
    width: calc(100% + 16px);
    border-radius: 16px 0 0 16px;
  }

  .fabric-filter::-webkit-scrollbar,
  .reels-filters::-webkit-scrollbar,
  .tabs::-webkit-scrollbar,
  .filters::-webkit-scrollbar,
  .seo-tabs::-webkit-scrollbar {
    display: none;
  }

  .chip-filter,
  .tab,
  .filter {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  /* Каталог и Полотна */
  .catalog-grid,
  .fabric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #catalog .p-card:nth-child(n+7),
  #polotna .fabric:nth-child(n+5) {
    display: none;
  }

  #catalog.is-expanded .p-card,
  #polotna.is-expanded .fabric {
    display: flex;
  }

  .show-more {
    display: inline-flex;
  }

  .p-card,
  .fabric {
    padding: 10px;
    border-radius: 18px;
  }

  .p-card__stage,
  .fabric__media {
    height: 132px;
    border-radius: 13px;
    padding: 8px;
  }

  .p-card__stage--usn {
    padding: 0;
  }

  .p-card__zoom-tag {
    display: none;
  }

  .p-card__badge,
  .fabric__badge {
    top: 6px;
    left: 6px;
    height: 22px;
    padding: 0 8px;
    font-size: 12px;
  }

  .fabric__spec-tag {
    right: 6px;
    bottom: 6px;
    font-size: 12px;
    padding: 3px 6px;
  }

  .p-card h3,
  .compat-grid .p-card h3,
  .fabric h3 {
    font-size: 14px;
    line-height: 1.28;
    margin: 10px 2px 0;
    min-height: 2.55em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .specs {
    display: none;
  }

  .p-card__spec-one {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted);
    margin: 5px 2px 0;
  }

  .fabric__plate {
    grid-template-columns: 1fr 1fr;
    padding: 7px 8px;
    margin-top: 8px;
    border-radius: 10px;
  }

  .fabric__plate .hide-m {
    display: none;
  }

  .fabric__plate b {
    font-size: 12px;
  }

  .fabric__plate small {
    font-size: 12px;
  }

  .p-card__foot,
  .fabric__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: auto 0 0;
    padding-top: 10px;
  }

  .p-card__price .now,
  .fabric__price {
    font-size: 16.5px;
  }

  .p-card__foot .btn,
  .fabric__foot .btn {
    width: 100%;
    height: 36px;
    font-size: 13px;
    padding: 0 10px;
  }

  /* Горизонтальные свайп-слайдеры */
  .promo-grid,
  .related-grid,
  .certs-grid,
  .reviews-grid,
  .articles {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: -16px;
    padding-right: 16px;
    padding-bottom: 4px;
  }

  .certs-grid {
    grid-auto-columns: 74%;
  }

  .promo-grid::-webkit-scrollbar,
  .related-grid::-webkit-scrollbar,
  .certs-grid::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar,
  .articles::-webkit-scrollbar {
    display: none;
  }

  .promo, .related, .cert-card, .review, .article {
    scroll-snap-align: start;
  }

  .promo {
    min-height: 244px;
    padding: 20px;
  }

  .promo__value {
    font-size: 36px;
    margin: 14px 0 8px;
  }

  .rail-hint {
    display: flex;
  }

  /* Витрина Reels 9:16 на смартфоне */
  .reels-block {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .reels-head__text h2,
.reels-head__text h3 {
    font-size: 20px;
  }

  .reels-nav {
    display: none;
  }

  .reels-track {
    grid-auto-columns: 68%;
    gap: 12px;
    margin-right: -16px;
    padding-right: 16px;
  }

  /* Полноэкранный Stories-плеер на телефоне */
  .stories-modal {
    padding: 0;
  }

  .stories-shell {
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }

  .stories-arrow {
    display: none;
  }

  .stories-frame {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .stories-bottom {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  /* Сравнение До / После */
  .compare {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 22px;
    gap: 14px;
  }

  .compare__stage {
    order: -1;
    min-height: 220px;
    height: 220px;
    border-radius: 16px;
  }

  .compare__panel {
    padding: 18px;
    border-radius: 18px;
  }

  .compare__panel h3 {
    font-size: 18px;
  }

  .compare__actions .btn {
    width: 100%;
  }

  /* Шоурум RAL */
  .ral__stage {
    min-height: 240px;
    height: 240px;
    border-radius: 22px;
  }

  .ral__panel {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .swatch {
    width: 100%;
    height: 48px;
    padding: 0 11px;
  }

  .ral__perks {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ral__foot .btn {
    width: 100%;
  }

  /* Лид-блок замера */
  .lead-block {
    padding: 24px 16px;
    border-radius: 24px;
    gap: 22px;
  }

  .lead-facts b {
    font-size: 22px;
  }

  .kit-collage {
    padding: 12px;
    gap: 8px;
  }

  .kit-collage img {
    width: 44px;
    height: 44px;
  }

  .form-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .channel {
    font-size: 12px;
    padding: 0 3px;
  }

  /* Прайс-лист */
  .price-table {
    padding: 6px;
    border-radius: 20px;
  }

  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 13px 12px;
  }

  .price-row__name {
    grid-column: 1 / -1;
  }

  .price-row__name b {
    font-size: 14.5px;
  }

  .price-row__price {
    font-size: 16.5px;
  }

  .price-aside {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .price-aside ul {
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
    margin: 14px 0 16px;
  }

  .price-aside li {
    flex-direction: column;
    gap: 6px;
  }

  .price-aside li b {
    font-size: 13px;
  }

  /* Производство и склад */
  .prod__fact {
    padding: 14px;
  }

  .prod__fact b {
    font-size: 22px;
  }

  .prod__actions {
    flex-direction: column;
  }

  .prod__actions .btn {
    width: 100%;
  }

  .prod__media {
    gap: 10px;
  }

  .prod__photo {
    min-height: 200px;
    height: 200px;
    border-radius: 18px;
  }

  .prod__photo figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    min-height: 40px;
    padding: 6px 9px;
    font-size: 12px;
    border-radius: 10px;
  }

  /* Примеры работ */
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .case {
    border-radius: 18px;
  }

  .case__body {
    padding: 10px 12px 12px;
  }

  .case__body b {
    font-size: 13.5px;
    min-height: 2.55em;
  }

  .works-cta {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .works-cta__btns {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .works-cta__btns .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .works-cta__btns .msgr-pill {
    padding: 0 6px;
    font-size: 12px;
  }

  /* Отзывы */
  .reviews-top {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
  }

  .reviews-top__score b {
    font-size: 38px;
  }

  .reviews-top .btn {
    width: 100%;
  }

  /* Шаги 01-04 и FAQ */
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .step {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .step .icon-squircle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
  }

  .step h3 {
    font-size: 14.5px;
    margin-top: 12px;
  }

  .step p {
    font-size: 12.5px;
  }

  .faq {
    margin-top: 34px;
    gap: 16px;
  }

  .faq__q {
    padding: 16px;
    font-size: 14.5px;
  }

  .faq__a {
    padding: 0 16px 16px;
    font-size: 13.5px;
  }

  .faq__ask {
    padding: 18px 16px;
    border-radius: 20px;
  }

  /* SEO-панель */
  .seo-panel {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .seo-panel.is-collapsed .seo-panel__content {
    max-height: 168px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }

  .seo-toggle {
    display: inline-flex;
    width: 100%;
    height: 42px;
    margin-top: 10px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #FFFFFF;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
  }

  /* Контакты и Карта */
  .contact-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .contact-actions .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .contact-actions .msgr-pill {
    padding: 0 6px;
    font-size: 12px;
  }

  .requisites {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 22px;
  }

  .map-card__frame {
    position: relative;
    height: 260px;
    width: 100%;
  }

  .map-card__shield {
    padding: 10px;
  }

  .map-card__foot {
    position: static;
    border-radius: 0;
    box-shadow: none;
    background: #FFFFFF;
    border-top: 1px solid var(--line-soft);
    padding: 14px 16px;
  }

  .map-card__foot .btn {
    width: 100%;
  }

  .geo {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 14px;
    border-radius: 22px;
  }

  .geo__map img {
    max-width: 140px;
    margin: 0;
  }

  .geo__links {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    grid-auto-columns: max-content;
    overflow-x: auto;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
  }

  .geo__links::-webkit-scrollbar {
    display: none;
  }

  /* Лайтбокс и Поиск на смартфоне */
  .modal--top {
    padding: 10px;
  }

  .cert-lightbox {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .cert-lightbox__preview {
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
  }

  .cert-lightbox__actions .btn {
    width: 100%;
  }

  .site-footer {
    padding: 40px 0 calc(92px + env(safe-area-inset-bottom));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 26px;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  .channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* Page-builder table block */
.table-wrap{overflow-x:auto;border:1px solid var(--line,#e6e9ef);border-radius:14px;background:#fff}
.table{width:100%;border-collapse:collapse;font-size:15px}
.table th,.table td{padding:12px 14px;border-bottom:1px solid var(--line,#e6e9ef);text-align:left;vertical-align:top}
.table th{background:#f7f9fc;font-weight:700;color:#1e293b;white-space:nowrap}
.table tr:last-child td{border-bottom:0}
.table tbody tr:hover td{background:#fafcff}
@media(max-width:700px){.table th,.table td{padding:10px 10px;font-size:13.5px}}

/* ---------- Works spotlight: фиксированная высота (товарные и плиссе) ---------- */
.works-fixed .case-spotlight__media { min-height: 400px; }
.works-fixed .case-spotlight__body h3 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.works-fixed .case-spotlight__points > div > span {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}


/* ==========================================================================
   НИЖНЯЯ ПАНЕЛЬ (новая): 4 кнопки + меню «Написать»
   ========================================================================== */
@media (max-width: 1100px) {
  .thumbbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
  }

  .thumbbar__btn {
    height: 54px;
    padding: 0 4px;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    background: #FFFFFF;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    text-align: center;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }

  .thumbbar__btn:active {
    transform: scale(0.96);
  }

  .thumbbar__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--emerald);
  }

  .thumbbar__ico svg {
    width: 21px;
    height: 21px;
    color: currentColor;
  }

  .thumbbar__btn--primary {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(31, 111, 79, 0.26);
  }

  .thumbbar__btn--primary .thumbbar__ico {
    color: #FFFFFF;
  }

  .thumbbar__send-menu {
    position: absolute;
    right: 12px;
    bottom: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 190px;
    padding: 8px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid var(--line-soft);
    box-shadow: 0 20px 44px rgba(17, 19, 23, 0.2);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .thumbbar__send-menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .thumbbar__send-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
  }

  .thumbbar__send-item:hover,
  .thumbbar__send-item:focus-visible {
    background: var(--surface);
  }

  .thumbbar__send-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    flex: 0 0 26px;
  }

  .thumbbar__send-ico svg,
  .thumbbar__send-ico img {
    width: 18px;
    height: 18px;
  }

  .thumbbar__send-ico--max {
    background: rgba(70, 54, 227, 0.1);
    color: #4636E3;
  }

  .thumbbar__send-ico--tg {
    background: rgba(41, 161, 220, 0.12);
  }

  .thumbbar__send-ico--mail {
    background: var(--sage);
    color: var(--sage-ink);
  }
}


/* ==========================================================================
   МОБИЛЬНОЕ МЕНЮ (drawer): аккордеон с группами
   ========================================================================== */
.drawer__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 6px;
  scrollbar-width: none;
}

.drawer__chips::-webkit-scrollbar { display: none; }

.drawer__chip {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.drawer__group {
  border-top: 1px solid var(--line-soft);
}

.drawer__group > summary,
.drawer__sub > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.drawer__group > summary::-webkit-details-marker,
.drawer__sub > summary::-webkit-details-marker { display: none; }

.drawer__group > summary {
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
}

.drawer__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--sage-ink);
}

.drawer__ico svg { width: 17px; height: 17px; }

.drawer__name { flex: 1 1 auto; }

.drawer__count {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 8px;
}

.drawer__chev {
  display: inline-flex;
  flex: 0 0 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.drawer__chev svg { width: 18px; height: 18px; }

.drawer__group[open] > summary .drawer__chev,
.drawer__sub[open] > summary .drawer__chev {
  transform: rotate(90deg);
}

.drawer__body { padding: 0 0 8px 40px; }

.drawer__sub { border-top: 1px dashed var(--line-soft); }

.drawer__sub > summary {
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 600;
}

.drawer__sub > summary .drawer__count { font-size: 12px; }

.drawer__sub ul { padding: 0 0 6px; }

.drawer__sub ul a { padding: 9px 0; font-size: 14px; }

.drawer__body > ul a { padding: 10px 0; font-size: 14px; }

/* Нижняя панель: перенос подписей в узких кнопках */
@media (max-width: 1100px) {
  .thumbbar__btn {
    white-space: normal;
    font-size: 12px;
    line-height: 1.12;
    padding: 0 3px;
  }
  .thumbbar__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* ==========================================================================
   НИЖНЯЯ ПАНЕЛЬ (v2): современный floating-бар в стиле приложений
   ========================================================================== */
@media (max-width: 1100px) {
  .thumbbar {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: auto;
    grid-template-columns: 1.36fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 6px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(17, 19, 23, 0.07);
    box-shadow: 0 12px 32px rgba(17, 19, 23, 0.16), 0 2px 6px rgba(17, 19, 23, 0.05);
  }

  .thumbbar__btn {
    height: 58px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--muted);
    transition: background 0.18s ease, transform 0.12s ease;
  }

  .thumbbar__btn:active {
    transform: scale(0.965);
  }

  .thumbbar__ico {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: transparent;
    color: var(--emerald);
    transition: background 0.18s ease, color 0.18s ease;
  }

  .thumbbar__ico svg {
    width: 22px;
    height: 22px;
  }

  .thumbbar__label {
    text-align: center;
    line-height: 1.15;
  }

  .thumbbar__btn--primary {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.12;
    text-align: left;
    background: linear-gradient(158deg, #2E8B64 0%, #1F6F4F 58%, #1A5F43 100%);
    box-shadow: 0 10px 24px rgba(31, 111, 79, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .thumbbar__btn--primary .thumbbar__ico {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
  }

  .thumbbar__btn--primary .thumbbar__label {
    text-align: left;
    max-width: 62px;
  }

  /* больше места под плавающий бар */
  .site-footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .drawer {
    padding-bottom: 132px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Блокировка прокрутки при открытых оверлеях: блокируем html, а не только body */
html.is-scroll-locked,
html.is-scroll-locked body {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

html.is-scroll-locked .drawer,
html.is-scroll-locked .modal__card,
html.is-scroll-locked .search-modal {
  touch-action: pan-y;
}


/* ==========================================================================
   СЕТКА КАРТОЧЕК КАТЕГОРИЙ
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 44px 16px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--emerald);
  box-shadow: 0 10px 24px rgba(17, 19, 23, 0.08);
}

.cat-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.cat-card__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.cat-card__arrow {
  position: absolute;
  right: 14px;
  top: 16px;
  display: inline-flex;
  color: var(--emerald);
}

.cat-card__arrow svg { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .cat-grid { grid-template-columns: 1fr; gap: 10px; }
}


/* ==========================================================================
   МОБИЛЬНОЕ МЕНЮ: заголовок-ссылка + кнопка раскрытия
   ========================================================================== */
.drawer__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.drawer__head-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.drawer__head-link .drawer__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer__head-link:hover .drawer__name { color: var(--emerald); }

.drawer__toggle {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.drawer__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.drawer__toggle[aria-expanded="true"] {
  background: var(--sage);
  color: var(--sage-ink);
}

.drawer__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

.drawer__toggle--sm {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.drawer__sub-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px dashed var(--line-soft);
}

.drawer__sub-link {
  flex: 1 1 auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.drawer__sub-link:hover { color: var(--emerald); }

.drawer__body[hidden],
.drawer__sub ul[hidden] {
  display: none;
}


/* ==========================================================================
   МОБИЛЬНЫЙ АУДИТ: доступность и мелкие правки
   ========================================================================== */
@media (max-width: 1100px) {
  /* логотип — увеличиваем площадь нажатия */
  .hdr__logo {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  /* иконки-мессенджеры в карточке товара — тап-таргет */
  .msgr-mini {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
  }

  /* компактные бейджи-ссылки */
  .pill--tiny {
    min-height: 32px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
  }

  /* мелкие подписи под изображениями */
  figcaption {
    font-size: 12px;
    line-height: 1.45;
  }

  /* кнопки действий в карточках */
  .btn--xs {
    min-height: 40px;
  }

  /* чтобы якорные ссылки не уходили под нижнюю панель */
  html {
    scroll-padding-bottom: 96px;
  }
}

/* Мобильный аудит: уточняющие правки */
@media (max-width: 1100px) {
  .fabric figcaption,
  .p-gal figcaption,
  figcaption { font-size: 12px; line-height: 1.45; }
  .chip-filter,
  .tab,
  .p-cfg-chip { min-height: 40px; }
}

/* Мобильный аудит: финальные правки (перекрываем tpl-*.css) */
@media (max-width: 1100px) {
  figcaption { font-size: 12px !important; line-height: 1.45 !important; }
  .msgr-mini { min-height: 38px !important; padding: 0 12px !important; }
  .brand-chip,
  .chip-filter,
  .tab,
  .p-cfg-chip { min-height: 40px !important; }
  .pill--tiny { min-height: 34px !important; }
}


/* ==========================================================================
   ПОЛНОЭКРАННОЕ МОБИЛЬНОЕ МЕНЮ
   ========================================================================== */
@media (max-width: 1100px) {
  .drawer {
    inset: 0;
    padding: 0 16px calc(132px + env(safe-area-inset-bottom));
    padding-top: env(safe-area-inset-top);
  }

  .drawer__top {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 62px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line-soft);
  }

  .drawer__logo {
    display: inline-flex;
    align-items: center;
    height: 40px;
  }

  .drawer__logo img {
    height: 26px;
    width: auto;
  }

  .drawer__close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.16s ease;
  }

  .drawer__close:active {
    background: var(--sage);
  }

  .drawer__close svg {
    width: 18px;
    height: 18px;
  }
}


/* ==========================================================================
   МОБИЛЬНЫЕ АККОРДЕОНЫ («Показать все») + сжатый футер
   Контент остаётся в DOM — индексируется поисковиками.
   ========================================================================== */
.m-more { display: none; }

@media (max-width: 1100px) {
  .m-collapsible {
    overflow: hidden;
    position: relative;
    transition: max-height 0.28s ease;
  }

  .m-collapsible.is-collapsed {
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }

  .m-collapsible.is-collapsed.m-c--brand { max-height: 300px; }
  .m-collapsible.is-collapsed.m-c--districts { max-height: 360px; }
  .m-collapsible.is-collapsed.m-c--pills { max-height: 150px; }
  .m-collapsible.is-collapsed.m-c--compat { max-height: 340px; }
  .m-collapsible.is-collapsed.m-c--cat { max-height: 420px; }
  .m-collapsible.is-collapsed.m-c--footer { max-height: 175px; }

  .m-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin: 10px 0 4px;
    padding: 0 16px;
    border-radius: 13px;
    border: 1px solid var(--line-soft);
    background: #FFFFFF;
    color: var(--emerald);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .m-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
  }

  .m-more.is-open svg {
    transform: rotate(-90deg);
  }

  /* футер на мобильных: компактнее */
  .site-footer {
    padding-top: 34px;
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-col h4 {
    margin-bottom: 4px;
  }

  .footer-col a {
    padding: 6px 0;
  }

  .footer-bottom {
    margin-top: 20px;
    font-size: 12px;
  }
}


/* Футер-аккордеон на мобильных */
@media (max-width: 1100px) {
  .footer-acc h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    user-select: none;
  }

  .footer-acc__chev {
    flex: 0 0 16px;
    opacity: 0.7;
    transition: transform 0.2s ease;
  }

  .footer-acc.is-open .footer-acc__chev {
    transform: rotate(90deg);
  }

  .footer-acc ul,
  .footer-acc nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .footer-acc.is-open ul,
  .footer-acc.is-open nav {
    max-height: 620px;
  }

  .footer-acc ul a,
  .footer-acc nav a {
    padding: 8px 0;
  }
}


/* Прайс-таблицы на мобильных */
@media (max-width: 1100px) {
  .m-collapsible.is-collapsed.m-c--price { max-height: 340px; }

  .m-c--price .price-row:last-child {
    border-bottom: 0;
  }
}


/* Дополнительные блоки в мобильных аккордеонах */
@media (max-width: 1100px) {
  .m-collapsible.is-collapsed.m-c--honest { max-height: 380px; }
  .m-collapsible.is-collapsed.m-c--cluster { max-height: 160px; }
  .m-collapsible.is-collapsed.m-c--districts { max-height: 200px; }
}


/* FAQ внутри статей */
.article-faq {
  display: block;
  margin: 18px 0 8px;
}

.article-faq .faq__item {
  margin-bottom: 10px;
}

.article-faq .faq__q {
  font-size: 15.5px;
  padding: 16px 18px;
}

.article-faq .faq__a {
  font-size: 14px;
  padding: 0 18px 16px;
}

.article-body .article-faq .faq__b,
.article-body .article-faq p {
  margin: 0;
}


/* ---------- Технический SEO: заголовки-заменители, consent, honeypot ---------- */
.mega__col .col-title { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.drawer .col-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 20px 0 8px; font-weight: 700; }
.footer-col .col-title { font-size: 12px; font-weight: 700; color: #FFFFFF; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.footer-acc .col-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; margin-bottom: 0; border-bottom: 1px solid rgba(255,255,255,.12); cursor: pointer; user-select: none; }
.seo-cluster__group .cluster-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.consent-check { display: block; position: relative; padding-left: 22px; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 10px 0 0; cursor: pointer; text-align: left; }
.consent-check input { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; margin: 0; accent-color: var(--emerald); cursor: pointer; }
.consent-check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent-check a:hover { color: var(--ink); }

/* SEO-текст под hero (вставлен для семантики) */
.hero-keywords-text{max-width:980px;margin:18px auto 0;padding:0 24px;font-size:13.5px;line-height:1.55;color:#64748B}
.hero-keywords-text p{margin:0}

/* кнопки внутри текстовых блоков: принудительный белый текст */
.content-prose .btn--emerald,
.content-prose .btn--emerald > span { color: #FFFFFF; }
.content-prose .btn--dark,
.content-prose .btn--dark > span { color: #FFFFFF; }
.content-prose .btn { text-decoration: none; margin: 8px 0; }
.content-prose ul.links-list { padding-left: 20px; margin: 10px 0; }
.content-prose ul.links-list li { margin: 6px 0; }

.footer-legal{padding:14px 0 0;margin-top:10px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#9AA6B8;text-align:center}
.footer-legal a{color:#C7F0DD;text-decoration:underline}
.footer-legal a:hover{color:#FFFFFF}
/* ==========================================================================
   CMS SYNC UPGRADE: A11Y FOCUS, MEGA-MENU, SEARCH POLISH, MAX/TG ICONS
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.site-footer a:focus-visible,
.promo--forest a:focus-visible,
.promo--forest button:focus-visible {
  outline-color: #6EE7B7;
}

.msgr-btn--max svg,
.msgr-btn--tg svg {
  width: 20px;
  height: 20px;
  display: block;
}

.calc__podium {
  padding: 10px;
}

.calc-side .msgr-pill {
  padding: 0 10px;
  font-size: 12.5px;
  gap: 5px;
}

.btn--row-pick {
  min-width: 40px;
  width: 40px;
  height: 38px;
  padding: 0;
  justify-content: center;
  gap: 0;
}

.btn--row-pick svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.geo__links button {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s var(--ease);
}

.geo__links button:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

/* Mega-menu upgrade */
.mega {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 28px 18px;
}

.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(17, 19, 23, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}

.mega-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega__col .mega__col-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.mega__col .mega__col-title svg {
  color: var(--emerald);
  flex-shrink: 0;
}

.mega__col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 9px;
}

.mega__badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--sage-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.mega__badge--promo {
  background: #FEF3C7;
  color: #92400E;
}

.mega__sublabel {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 12px 0 6px;
}

.mega__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mega__chips a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  margin-left: 0;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.mega__chips a:hover {
  background: var(--sage);
  border-color: var(--sage-border);
  color: var(--sage-ink);
}

/* Burger -> X animation */
.hdr__burger[aria-expanded="true"] span {
  background: transparent;
}
.hdr__burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.hdr__burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Search UI polish & keyboard nav */
.search-dialog__bar {
  transition: box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}

.search-dialog__bar:focus-within {
  border-bottom-color: var(--emerald);
  box-shadow: inset 0 -2px 0 var(--emerald);
}

.search-dialog__input:focus-visible {
  outline: none;
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}

.search-meta__keys {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-meta kbd {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.search-item.is-selected {
  background: var(--sage);
  border-color: var(--sage-border);
}

.search-item.is-selected .search-item__title {
  color: var(--sage-ink);
}

@media (max-width: 767px) {
  .search-meta__keys {
    display: none;
  }

  .btn--xs,
  .btn--row-pick,
  .p-card__more {
    min-height: 44px;
    height: auto;
  }

  .btn--row-pick {
    min-width: 44px;
    width: 44px;
  }
}


/* Wave 3 Compact Technical Specs & Conditions Card */
.wave3-expert-note {
  margin-top: 28px;
  padding: 24px 26px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft, #E2E8F0);
  border-radius: 22px;
  box-shadow: var(--shadow, 0 8px 24px rgba(17, 19, 23, 0.04));
}
.section:not(.section--surface) .wave3-expert-note {
  background: var(--surface, #F6F8F7);
  box-shadow: none;
}
.wave3-expert-note__title {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink, #14161A);
  margin: 0 0 16px;
}
.wave3-expert-note p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-soft, #2B303A);
}
.wave3-expert-note p:last-of-type {
  margin-bottom: 0;
}
.wave3-expert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-bottom: 14px;
}
.wave3-expert-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface, #F6F8F7);
  border: 1px solid var(--line-soft, #E2E8F0);
}
.section:not(.section--surface) .wave3-expert-card {
  background: #FFFFFF;
}
.wave3-expert-card__kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emerald, #059669);
  margin-bottom: 6px;
}
.wave3-expert-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.56;
  color: var(--ink-soft, #2B303A);
}
.expert-more {
  margin-top: 16px;
  border-top: 1px solid var(--line-soft, #E2E8F0);
  padding-top: 14px;
}
.expert-more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emerald, #059669);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.08);
  transition: background 0.18s ease;
}
.expert-more > summary::-webkit-details-marker { display: none; }
.expert-more > summary:hover { background: rgba(5, 150, 105, 0.14); }
.expert-more > summary::after {
  content: "↓";
  font-size: 13px;
  transition: transform 0.2s ease;
}
.expert-more[open] > summary::after {
  transform: rotate(180deg);
}
.expert-more__body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}
.expert-more__body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted-2, #475569);
}
.expert-more__body .wave3-expert-note__list {
  grid-column: 1 / -1;
  margin-top: 4px;
}
@media (max-width: 767px) {
  .wave3-expert-grid,
  .expert-more__body {
    grid-template-columns: 1fr;
  }
}
.wave3-spec-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 0;
}
.wave3-spec-dl__row {
  padding: 12px 14px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft, #E2E8F0);
}
.section--surface .wave3-spec-dl__row {
  background: var(--surface, #F6F8F7);
}
.wave3-spec-dl__row dt {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--emerald, #059669);
  margin: 0 0 5px;
}
.wave3-spec-dl__row dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft, #2B303A);
}
.wave3-expert-note__list {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  list-style: disc;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-2, #475569);
}
.wave3-expert-note__list li::marker {
  color: var(--emerald, #059669);
}
@media (max-width: 767px) {
  .wave3-expert-note { padding: 18px 16px; border-radius: 18px; }
  .wave3-spec-dl { grid-template-columns: 1fr; gap: 10px; }
}


/* Mobile Audit 2026-12-01 Pill & Tap Polish */
@media (max-width: 767px) {
  .pill {
    max-width: 100%;
    white-space: normal;
    height: auto;
    min-height: 28px;
    padding: 5px 12px;
    line-height: 1.3;
  }
  .toc__toggle {
    min-width: 40px;
    min-height: 40px;
  }
  .geo-pills a, .geo-tabs button, .chip-btn {
    min-height: 38px;
  }
}


/* === WAVE 9 VISUAL QA FIXES === */
/* 1. Single-card honest-grid spans full width (fixes 50% empty right column on 16 pages) */
.honest-grid:has(> :only-child) {
  grid-template-columns: 1fr !important;
}
.honest-grid > :only-child {
  grid-column: 1 / -1;
}

/* 2. .svc-tags-bar flex layout so green CTA pill never clips on desktop */
.svc-tags-bar__list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.svc-tags-bar__list a {
  width: auto !important;
  flex: 0 0 auto;
  padding: 8px 14px !important;
  white-space: nowrap;
}

/* 3. Price estimate total inline (fixes ≈ floating above 0 ₽ on /price) */
.estimate-panel__total strong {
  display: inline !important;
}

/* 4. Hub cat-card links must never inherit raw prose green underline */
.content-prose a.cat-card,
.content-prose a.cat-card *,
.cat-grid a.cat-card,
.cat-grid a.cat-card * {
  text-decoration: none !important;
}
.content-prose a.cat-card {
  color: inherit !important;
}
.content-prose a.cat-card .cat-card__title {
  color: var(--ink, #14161A) !important;
}
.content-prose a.cat-card .cat-card__desc {
  color: var(--muted-2, #475569) !important;
}

/* 5. Homepage FAQ sidebar alignment & price-aside checkmarks */
.faq__ask {
  align-self: start;
}
.price-aside ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}
.price-aside ul li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft, #2B303A);
}
.price-aside ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald, #059669);
  font-weight: 800;
}
.price-aside ul li:has(.icon-squircle) {
  padding-left: 0;
  align-items: center;
}
.price-aside ul li:has(.icon-squircle)::before {
  content: none;
  display: none;
}

/* 6. Prevent rail-hint dots overflow & keep /otzyvy #reviewsGrid clean vertical grid on mobile */
.rail-hint {
  max-width: 100%;
  overflow: hidden;
}
.rail-hint__dots {
  flex-wrap: nowrap;
  max-width: 160px;
  overflow: hidden;
}
#reviewsGrid.reviews-grid {
  overflow: visible !important;
  scroll-snap-type: none !important;
}

/* 7. Clean blog tables & centered figures across all 78 blog articles */
.article-body .blog-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: 14px;
  border: 1px solid var(--line-soft, #E2E8F0);
  background: #FFFFFF;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.article-body table th,
.article-body table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft, #E2E8F0);
  text-align: left;
  vertical-align: top;
}
.article-body table th {
  background: var(--surface, #F6F8F7);
  font-weight: 700;
  color: var(--ink, #14161A);
}
.article-body figure {
  margin: 22px auto;
  text-align: center;
}
.article-body figure img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* 8. Breadcrumbs clean ellipsis on mobile */
.crumbs ol {
  max-width: 100%;
  overflow: hidden;
}
.crumbs li:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* 9. Mobile-specific fixes */
@media (max-width: 767px) {
  /* Fix remont-okon mobile +50px overflow in #services .addons-grid */
  .addons-grid {
    grid-template-columns: 1fr !important;
  }
  .addon-card__foot {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  /* Keep 3 channel buttons in 1 row down to 340px */
  .channels {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .channel {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 12.5px !important;
  }
  /* Unclamp case spotlight text on tpl=5 mobile so copy is never cut off mid-sentence */
  .works-curtains .case-spotlight__points > div > span {
    -webkit-line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
  }
  /* Keep /otzyvy #reviewsGrid vertical on mobile */
  #reviewsGrid.reviews-grid {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    overflow-x: visible !important;
  }
  /* Geo #hits tabs single scrollable row on mobile */
  #hits .tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  #hits .tabs .tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  /* Keep /articles pagination < 1 2 3 4 5 6 > on a single row */
  .journal-pager {
    gap: 5px !important;
    flex-wrap: nowrap !important;
  }
  .journal-pager button,
  .journal-pager a {
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
  }
}


/* === WAVE 9 PKG 5 POLISH === */
.job-card ul { padding-left: 18px; margin: 8px 0 0; }
.job-card ul li { margin-bottom: 4px; }
@media (min-width: 768px) {
  .jobs-grid > .job-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.article-body .blog-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; }
.article-body .blog-table-wrap table { min-width: 480px; width: 100%; border-collapse: collapse; }
@media (max-width: 640px) {
  .cat-grid[style*="repeat(2"] { grid-template-columns: 1fr !important; }
}


/* === WAVE 11 ULTRAVUE COMPARE POLISH === */
.compare__stage img {
  object-position: center center !important;
}
.compare__before img {
  filter: brightness(0.80) contrast(0.92) saturate(0.82) !important;
}
.compare__after img {
  filter: brightness(1.04) contrast(1.03) saturate(1.06) !important;
}
.compare__mesh {
  background-color: rgba(24, 29, 36, 0.20) !important;
  background-image:
    repeating-linear-gradient(0deg, rgba(17, 20, 26, 0.44) 0 1px, transparent 1px 3.5px),
    repeating-linear-gradient(90deg, rgba(17, 20, 26, 0.44) 0 1px, transparent 1px 3.5px) !important;
}


/* === WAVE 12 LAYOUT & WIDGET POLISH === */
/* Point 1: Calculator wrapper mobile minimal padding & no inner overflow clip */
#calculator .calc__podium {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}
@media (max-width: 600px) {
  /* Стандартные 16px поля для заголовков, встроенных калькуляторов и боковой карточки */
  #calculator .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* Расширяем только iframe-подиум виджета и убираем двойную белую рамку */
  #calculator .calc__podium {
    margin-left: -10px;
    margin-right: -10px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}

/* Point 3: Crisp .wave3-expert-note ul bullet dots & comfortable spacing */
.wave3-expert-note {
  margin-top: 28px;
}
.wave3-expert-note ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 16px 0 18px !important;
  display: grid;
  gap: 8px;
}
.wave3-expert-note ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2, #374151);
}
.wave3-expert-note ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald, #0E7C52);
}

/* Point 4: Fix .case__tag 2-line pill clipping & clean .ba-pair alignment in #works */
.ba-card__media .case__tag,
.case .case__tag,
.case-spotlight__media .case__tag {
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.28 !important;
  padding: 5px 10px !important;
  border-radius: 10px !important;
  max-width: calc(100% - 20px) !important;
  white-space: normal !important;
  text-align: left !important;
  display: inline-block !important;
}
.ba-pair__row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
}
.ba-pair__row > span {
  flex-shrink: 0 !important;
  margin-top: 1px;
}

/* Point 5: Sleek phone SVG icon spacing inside all tel: buttons */
a.btn[href^="tel:"],
.faq__ask a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn__phone-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--emerald, #0E7C52);
}
.btn--emerald .btn__phone-ico,
.btn--dark .btn__phone-ico {
  color: currentColor;
}


/* === WAVE 12 ULTRAVUE V2 === */
/* Both before/after WebP images carry physically accurate mesh strictly inside the glass opening (white frame stays untouched!) */
.compare__before img,
.compare__after img {
  filter: none !important;
  object-position: center center !important;
}
.compare__mesh {
  display: none !important;
}
.compare__label {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}
.compare__swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(17, 20, 26, 0.25);
  display: inline-block;
}
.compare__swatch--std {
  background-color: #d7dde3;
  background-image:
    repeating-linear-gradient(0deg, #4b5563 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, #4b5563 0 2px, transparent 2px 5px);
}
.compare__swatch--uv {
  background-color: #eff6ff;
  background-image:
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.45) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.45) 0 1px, transparent 1px 5px);
}
.compare__foot-notes {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}
.compare__foot-notes span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 20, 26, 0.68);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
@media (max-width: 600px) {
  .compare__labels {
    top: 10px;
    left: 8px;
    right: 8px;
    gap: 10px;
  }
  .compare__labels span {
    font-size: 10.5px;
    line-height: 1.25;
    padding: 4px 7px;
    max-width: calc(50% - 14px);
    gap: 5px;
  }
  .compare__swatch { width: 12px; height: 12px; }
  .compare__foot-notes {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 10px;
  }
  .compare__foot-notes span {
    font-size: 10px;
    line-height: 1.25;
    padding: 3px 7px;
    max-width: calc(50% - 14px);
  }
  /* Запрещаем перенос знака ₽ на новую строку в бейджах видео-карусели */
  .reel-card__cat {
    font-size: 10.5px;
    padding: 3px 8px;
    line-height: 1.3;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Аккуратное выравнивание чипсов городов МО по центру */
  .geo__links a {
    justify-content: center;
    text-align: center;
  }
}


/* === WAVE 14 CUSTOM 404 PAGE === */
.err404-sec { padding-top: 36px; padding-bottom: 56px; }
.err404-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border-radius: 26px;
  background: var(--surface, #F4F7F5);
  border: 1px solid var(--line-soft, #E2E8F0);
}
.err404-hero__text { max-width: 680px; }
.err404-title { margin-top: 12px; }
.err404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.err404-badge {
  font-size: 112px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(14, 124, 82, 0.14);
  user-select: none;
  flex-shrink: 0;
}
.err404-head { margin-top: 40px; margin-bottom: 20px; }
.err404-head p { color: var(--muted, #525866); margin-top: 6px; font-size: 15px; }
.err404-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.err404-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line-soft, #E2E8F0);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.err404-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(17, 20, 26, 0.08);
  border-color: rgba(14, 124, 82, 0.35);
}
.err404-card__media {
  position: relative;
  height: 196px;
  overflow: hidden;
  background: #EEF2F0;
}
.err404-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.err404-card__media .pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--emerald, #0E7C52);
  font-weight: 700;
}
.err404-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.err404-card__body h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; color: var(--ink, #111317); }
.err404-card__body p { font-size: 14px; line-height: 1.5; color: var(--muted, #525866); margin: 0 0 16px; flex: 1; }
.err404-quick {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft, #E2E8F0);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 14px;
}
.err404-quick span { font-weight: 700; color: var(--ink, #111317); }
.err404-quick a { color: var(--emerald, #0E7C52); font-weight: 600; text-decoration: none; }
.err404-quick a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .err404-grid { grid-template-columns: 1fr; }
  .err404-hero { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .err404-badge { font-size: 64px; order: -1; }
  .err404-actions .btn { width: 100%; }
}

/* === WAVE 16 HOMEPAGE & SITEWIDE DESIGN POLISH === */
h1, .h1, h2, .h2 {
  text-wrap: balance;
}
#reels .reels-head__text h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.hero__chip {
  padding: 8px 14px 8px 10px;
  left: 14px;
  bottom: 14px;
  gap: 10px;
}
.hero__chip img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
@media (max-width: 680px) {
  .reels-filter,
  .works__tabs,
  .filter-bar {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
    padding-right: 28px;
  }
}

/* ============================================================================
   WAVE 17 — ГЛАВНАЯ v2 (утверждённый визуальный ритм и де-карточизация)
   ============================================================================ */
body.home-v2 {
  --v2-surface: #ECF0F5;
  --v2-linen: #F5F0E7;
  --v2-linen-line: #E6DDD0;
  --v2-graphite: #14161A;
  --v2-graphite-line: rgba(255, 255, 255, 0.12);
}

body.home-v2 .section {
  padding-block: 84px;
}

body.home-v2 .section--surface {
  background: var(--v2-surface);
  border-top: 1px solid rgba(17, 19, 23, 0.055);
  border-bottom: 1px solid rgba(17, 19, 23, 0.055);
}

body.home-v2 .section-head {
  margin-bottom: 34px;
}

/* Убираем дублирующие пилюли над самодостаточными заголовками */
body.home-v2 #catalog .section-head .pill,
body.home-v2 #akcii .section-head .pill,
body.home-v2 #polotna .section-head .pill,
body.home-v2 #directions .section-head .pill,
body.home-v2 #certs .section-head .pill,
body.home-v2 #works .section-head .pill,
body.home-v2 #reviews .section-head .pill,
body.home-v2 #steps .section-head .pill,
body.home-v2 #faq .faq__intro .pill,
body.home-v2 #seo .section-head .pill,
body.home-v2 #contacts .section-head .pill {
  display: none;
}

body.home-v2 #calculator .section-head .pill,
body.home-v2 #reels .section-head .pill,
body.home-v2 #price .section-head .pill {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--emerald);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
body.home-v2 #calculator .section-head .pill::before,
body.home-v2 #reels .section-head .pill::before,
body.home-v2 #price .section-head .pill::before {
  width: 6px;
  height: 6px;
}

/* Шапка на главной: сдержанная контурная CTA, чтобы главный фокус был в Hero */
body.home-v2 .hdr__right .btn--emerald {
  background: transparent;
  color: var(--emerald);
  border: 1.5px solid #B5DFCA;
  box-shadow: none;
}
body.home-v2 .hdr__right .btn--emerald .btn__ico {
  background: var(--sage);
  color: var(--emerald);
}
body.home-v2 .hdr__right .btn--emerald:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}
body.home-v2 .hdr__right .btn--emerald:hover .btn__ico {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* Hero без серой коробки + единая горизонтальная полоса фактов */
body.home-v2 .hero {
  padding-top: 28px;
  padding-bottom: 56px;
  background: var(--white);
}
body.home-v2 .hero__grid {
  gap: 40px;
  align-items: center;
}
body.home-v2 .hero__card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 12px 12px 12px 0;
}
body.home-v2 .hero__card .pill--sage {
  background: #EDF7F1;
  border: 1px solid #CFEAD9;
  color: #0B5E3E;
  font-weight: 700;
  margin-bottom: 20px;
}
body.home-v2 .hero__card .h1 {
  font-size: clamp(36px, 3.85vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  margin-bottom: 20px;
}
body.home-v2 .hero__card .h1 .dim {
  color: #3D4A5C;
}
body.home-v2 .hero__lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: #3F4B5B;
  max-width: 52ch;
}
body.home-v2 .hero__actions {
  margin-top: 28px;
}
body.home-v2 .hero__actions .btn--emerald {
  box-shadow: 0 14px 30px rgba(14, 124, 82, 0.24);
}
body.home-v2 .hero__media {
  border-radius: 26px;
  box-shadow: 0 24px 56px rgba(17, 19, 23, 0.10);
}
body.home-v2 .hero__stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #F7F9FB;
  border: 1px solid #E3E9F0;
  border-radius: 20px;
  overflow: hidden;
}
body.home-v2 .hero__stats .stat {
  background: transparent;
  border: none;
  border-right: 1px solid #E3E9F0;
  border-radius: 0;
  box-shadow: none;
  padding: 22px 24px;
  transition: background 0.2s var(--ease);
}
body.home-v2 .hero__stats .stat:last-child {
  border-right: none;
}
body.home-v2 .hero__stats .stat:hover {
  background: #FFFFFF;
  transform: none;
}
body.home-v2 .hero__stats .stat__top {
  margin-bottom: 12px;
  justify-content: flex-start;
  gap: 10px;
}
body.home-v2 .hero__stats .stat__top .icon-squircle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
body.home-v2 .hero__stats .stat__tag {
  background: transparent;
  border: none;
  padding: 0;
  height: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--emerald);
}
body.home-v2 .hero__stats .stat__val {
  font-size: 24px;
  letter-spacing: -0.025em;
}

/* Каталог конструкций (6+3 на десктопе) */
body.home-v2 #catalog .p-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.07);
  box-shadow: 0 6px 20px rgba(17, 19, 23, 0.035);
}
body.home-v2 #catalog .p-card:hover {
  border-color: rgba(14, 124, 82, 0.28);
  box-shadow: 0 18px 40px rgba(17, 19, 23, 0.07);
}
@media (min-width: 769px) {
  body.home-v2 #catalog .p-card.v2-extra-hidden,
  body.home-v2 #reviews .review.v2-extra-hidden {
    display: none;
  }
}
body.home-v2 .v2-expand-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  body.home-v2 .v2-expand-wrap {
    display: none !important;
  }
}
body.home-v2 .v2-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #CFD8E3;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
body.home-v2 .v2-expand-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: #F4FBF7;
}
body.home-v2 .v2-expand-btn small {
  color: var(--muted);
  font-weight: 500;
}

/* Витрина полотен (#polotna) — разведена с каталогом конструкций */
body.home-v2 #polotna .fabric {
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.07);
  border-radius: 20px;
  padding: 14px 14px 18px;
  box-shadow: 0 4px 16px rgba(17, 19, 23, 0.03);
}
body.home-v2 #polotna .fabric__media {
  border-radius: 14px;
  aspect-ratio: 16 / 10.5;
}
body.home-v2 #polotna .fabric__plate {
  background: transparent;
  border: none;
  border-top: 1px solid #E7ECF2;
  border-bottom: 1px solid #E7ECF2;
  border-radius: 0;
  padding: 10px 2px;
  margin: 10px 0 12px;
}
body.home-v2 #polotna .fabric__foot .btn--card {
  background: transparent;
  border: 1px solid #CBD6E2;
  color: var(--ink);
  font-weight: 700;
}
body.home-v2 #polotna .fabric__foot .btn--card:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

/* Тёплый архитектурный блок цветов RAL (#colors) */
body.home-v2 #colors {
  background: var(--v2-linen);
  border-top: 1px solid var(--v2-linen-line);
  border-bottom: 1px solid var(--v2-linen-line);
  padding-block: 88px;
}
body.home-v2 #colors .ral {
  gap: 44px;
  align-items: center;
}
body.home-v2 #colors .ral__stage {
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(45, 34, 20, 0.14);
}
body.home-v2 #colors .ral__panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
body.home-v2 #colors .ral__panel .pill {
  background: rgba(14, 124, 82, 0.10);
  border: none;
  color: #0B5E3E;
  font-weight: 700;
}
body.home-v2 #colors .swatch {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(87, 61, 18, 0.14);
}
body.home-v2 #colors .swatch:hover,
body.home-v2 #colors .swatch.is-active {
  background: #FFFFFF;
  border-color: var(--emerald);
  box-shadow: 0 8px 20px rgba(45, 34, 20, 0.08);
}
body.home-v2 #colors .ral__perks > div {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(87, 61, 18, 0.10);
}

/* Тёмно-графитовый индустриальный блок производства (#production) */
body.home-v2 #production {
  background:
    radial-gradient(680px 420px at 85% 20%, rgba(16, 185, 129, 0.14), transparent 70%),
    var(--v2-graphite);
  color: #FFFFFF;
  padding-block: 96px;
}
body.home-v2 #production .prod__text .pill {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.30);
  color: #6EE7B7;
}
body.home-v2 #production .prod__text .pill::before {
  background: #10B981;
}
body.home-v2 #production .h2 {
  color: #FFFFFF;
}
body.home-v2 #production .h2 .dim {
  color: #9BA7B8;
}
body.home-v2 #production .prod__text > p {
  color: #C3CCD9;
  font-size: 16px;
}
body.home-v2 #production .prod__facts {
  gap: 0;
  border-top: 1px solid var(--v2-graphite-line);
  margin: 28px 0 32px;
}
body.home-v2 #production .prod__fact {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--v2-graphite-line);
  border-radius: 0;
  padding: 18px 18px 18px 0;
}
body.home-v2 #production .prod__fact:nth-child(2n) {
  padding-left: 22px;
  border-left: 1px solid var(--v2-graphite-line);
}
body.home-v2 #production .prod__fact b {
  color: #FFFFFF;
  font-size: 26px;
  letter-spacing: -0.025em;
}
body.home-v2 #production .prod__fact .item-sub {
  color: #9BA7B8;
}
body.home-v2 #production .btn--emerald {
  background: #129463;
  color: #FFFFFF;
  box-shadow: 0 14px 32px rgba(18, 148, 99, 0.32);
}
body.home-v2 #production .btn--emerald .btn__ico {
  background: rgba(255, 255, 255, 0.20);
  color: #FFFFFF;
}
body.home-v2 #production .btn--emerald:hover {
  background: #15A971;
}
body.home-v2 #production .btn--light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}
body.home-v2 #production .btn--light:hover {
  background: rgba(255, 255, 255, 0.16);
}
body.home-v2 #production .prod__photo {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}
body.home-v2 #production .prod__photo figcaption {
  background: rgba(20, 22, 26, 0.84);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Компактные сертификаты (#certs) */
body.home-v2 #certs {
  padding-block: 68px;
}
body.home-v2 #certs .certs {
  gap: 18px;
}
body.home-v2 #certs .cert {
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(17, 19, 23, 0.04);
}

/* Таймлайн этапов работы (#steps) */
body.home-v2 #steps .steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
body.home-v2 #steps .steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, #0E7C52 0%, #B8D9C8 65%, #DCE3EC 100%);
  z-index: 0;
}
body.home-v2 #steps .step {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
body.home-v2 #steps .step__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
body.home-v2 #steps .step__top .icon-squircle {
  display: none;
}
body.home-v2 #steps .step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #B8DFCB;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(14, 124, 82, 0.08);
}
body.home-v2 #steps .step:first-child .step__num {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}
body.home-v2 #steps .step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
body.home-v2 #steps .step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
body.home-v2 #steps .faq {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid #E3E9F0;
}

/* Адаптив Главной v2 */
@media (max-width: 960px) {
  body.home-v2 .section {
    padding-block: 56px;
  }
  body.home-v2 #colors,
  body.home-v2 #production {
    padding-block: 60px;
  }
  body.home-v2 .hero {
    padding-top: 16px;
    padding-bottom: 36px;
  }
  body.home-v2 .hero__card {
    padding: 0;
  }
  body.home-v2 .hero__card .h1 {
    font-size: 32px;
  }
  body.home-v2 .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }
  body.home-v2 .hero__stats .stat {
    padding: 14px 12px;
    border-bottom: 1px solid #E3E9F0;
    min-width: 0;
  }
  body.home-v2 .hero__stats .stat:nth-child(2n) {
    border-right: none;
  }
  body.home-v2 .hero__stats .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
  body.home-v2 .hero__stats .stat__top {
    gap: 7px;
    margin-bottom: 10px;
  }
  body.home-v2 .hero__stats .stat__top .icon-squircle {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  body.home-v2 .hero__stats .stat__top .icon-squircle svg {
    width: 15px;
    height: 15px;
  }
  body.home-v2 .hero__stats .stat__tag {
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }
  body.home-v2 .hero__stats .stat__val {
    font-size: 20px;
  }
  body.home-v2 #steps .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-left: 26px;
  }
  body.home-v2 #steps .steps::before {
    top: 16px;
    bottom: 16px;
    left: 11px;
    right: auto;
    width: 1.5px;
    height: auto;
    background: linear-gradient(180deg, #0E7C52 0%, #B8D9C8 70%, #DCE3EC 100%);
  }
  body.home-v2 #steps .step__top {
    margin-bottom: 8px;
  }
  body.home-v2 #steps .step__num {
    height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
  }
  body.home-v2 #steps .faq {
    margin-top: 44px;
    padding-top: 36px;
  }
  body.home-v2 #production .prod__fact:nth-child(2n) {
    padding-left: 14px;
  }
  body.home-v2 #production .prod__photo figcaption {
    font-size: 11.5px;
    line-height: 1.3;
    padding: 8px 10px;
  }
}

/* ============================================================================
   ГАЛЕРЕЯ СЕТОК — ЕДИНАЯ ДИЗАЙН-СИСТЕМА v2 ДЛЯ ВСЕХ ВНУТРЕННИХ ШАБЛОНОВ
   Синхронизирует все 11 внутренних шаблонов с утверждённой Главной v2:
   4 архитектурные среды (#FFFFFF, #ECF0F5, тёплый #F5F0E7, графит #14161A),
   чистый Hero без "коробок в коробке", снятие лишних пилюль, таймлайн этапов.
   ============================================================================ */

body.site-v2 {
  --v2-surface: #ECF0F5;
  --v2-linen: #F5F0E7;
  --v2-linen-line: #E6DDD0;
  --v2-graphite: #14161A;
  --v2-graphite-line: rgba(255, 255, 255, 0.12);
}

/* --- 0. Шапка: единая с Главной v2 сдержанная контурная CTA --- */
body.site-v2 .hdr__right .btn--emerald {
  background: transparent;
  color: var(--emerald);
  border: 1.5px solid #B5DFCA;
  box-shadow: none;
}
body.site-v2 .hdr__right .btn--emerald .btn__ico {
  background: var(--sage);
  color: var(--emerald);
}
body.site-v2 .hdr__right .btn--emerald:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}
body.site-v2 .hdr__right .btn--emerald:hover .btn__ico {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* --- 1. Хлебные крошки: аккуратные и не режутся грубо на мобильных --- */
body.site-v2 .crumbs-bar {
  background: transparent;
  border-bottom: none;
  padding: 16px 0 6px;
}
body.site-v2 .crumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow: hidden;
  max-width: 100%;
  font-size: 13px;
  color: var(--muted);
}
body.site-v2 .crumbs li {
  white-space: nowrap;
  flex-shrink: 0;
}
body.site-v2 .crumbs li:last-child {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 600;
}
body.site-v2 .crumbs li:last-child::before {
  margin-right: 8px;
}

/* --- 2. Ритм секций и контраст фонов (#FFFFFF <-> #ECF0F5) --- */
body.site-v2 .section {
  padding-block: 76px;
}
body.site-v2 .section--tight {
  padding-block: 40px 56px;
}
body.site-v2 .section--surface {
  background: var(--v2-surface);
  border-top: 1px solid rgba(17, 19, 23, 0.055);
  border-bottom: 1px solid rgba(17, 19, 23, 0.055);
}
body.site-v2 .section-head {
  margin-bottom: 32px;
}

/* --- 3. Снимаем "эпидемию пилюль" и дублирующие топ-бар плашки --- */
body.site-v2 .info-meta {
  display: none;
}
body.site-v2 #works .section-head .pill,
body.site-v2 #reviews .section-head .pill,
body.site-v2 #stepsSection .section-head .pill,
body.site-v2 #steps .section-head .pill,
body.site-v2 #faq .faq__intro .pill,
body.site-v2 #articleFaq .section-head .pill,
body.site-v2 #related .section-head .pill,
body.site-v2 #solutions .section-head .pill,
body.site-v2 #journalSection .section-head .pill,
body.site-v2 #akcii-grid .section-head .pill,
body.site-v2 #akcii-how .section-head .pill,
body.site-v2 #services .section-head .pill,
body.site-v2 #symptomChecker .section-head .pill,
body.site-v2 #hits .section-head .pill,
body.site-v2 #cities .section-head .pill,
body.site-v2 #tariffs .section-head .pill,
body.site-v2 #payment .section-head .pill,
body.site-v2 #garantii .section-head .pill,
body.site-v2 #route .section-head .pill,
body.site-v2 #requisites .section-head .pill,
body.site-v2 #price-mesh .section-head .pill,
body.site-v2 #price-fabrics .section-head .pill,
body.site-v2 #price-plisse .section-head .pill,
body.site-v2 #price-repair .section-head .pill,
body.site-v2 #price-logistics .section-head .pill,
body.site-v2 #contacts .section-head .pill {
  display: none;
}

/* Оставшиеся смысловые маркеры — чистые, без "наклейки" */
body.site-v2 #calculator .section-head .pill,
body.site-v2 #reels .section-head .pill,
body.site-v2 #price .section-head .pill,
body.site-v2 #delivery .section-head .pill {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--emerald);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

/* Убираем дублирующую кнопку телефона справа в Hero на /aktsii, /price, /contacts */
body.site-v2 #aktsii .section-head__aside,
body.site-v2 #price .section-head__aside,
body.site-v2 #contacts .section-head__aside {
  display: none;
}

/* --- 4. Товарный и сервисный Hero (.p-hero — tpl=3, 4, 5, 6): убираем серую "коробку в коробке" --- */
body.site-v2 .p-hero {
  padding-top: 18px;
  padding-bottom: 52px;
  background: var(--white);
}
body.site-v2 .p-hero__grid {
  gap: 38px;
  align-items: start;
}
body.site-v2 .p-gal__stage {
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(17, 19, 23, 0.10);
}
/* Правая панель Hero дышит на белом, акцент только на белой карточке цены/формы */
body.site-v2 .p-buybox {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 4px 0;
}
body.site-v2 .p-buybox__offer {
  background: #F6F8FB;
  border: 1px solid #DFE6EF;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(17, 19, 23, 0.045);
}
body.site-v2 .p-buybox__consent,
body.site-v2 .p-buybox .form-consent {
  text-align: left;
  justify-content: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}
body.site-v2 .p-buybox__note {
  text-align: left;
}
/* 4 карточки преимуществ под p-hero (curtains, service: .p-specs-strip) -> единая полоса как на Главной v2 */
body.site-v2 .p-hero .p-specs-strip {
  margin-top: 32px;
  background: #F7F9FB;
  border: 1px solid #E3E9F0;
  border-radius: 20px;
  gap: 0;
  overflow: hidden;
}
body.site-v2 .p-hero .p-specs-strip .p-spec-item {
  background: transparent;
  border: none;
  border-right: 1px solid #E3E9F0;
  border-radius: 0;
  box-shadow: none;
  padding: 18px 20px;
}
body.site-v2 .p-hero .p-specs-strip .p-spec-item:last-child {
  border-right: none;
}

/* --- 5. Тёплый архитектурный лён (#F5F0E7): #colors (RAL) и #palette (ткани штор плиссе) --- */
body.site-v2 #colors,
body.site-v2 #palette {
  background: var(--v2-linen);
  border-top: 1px solid var(--v2-linen-line);
  border-bottom: 1px solid var(--v2-linen-line);
  padding-block: 84px;
}
body.site-v2 #colors .ral__panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
body.site-v2 #colors .ral__stage {
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(45, 34, 20, 0.14);
}
body.site-v2 #colors .swatch {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(87, 61, 18, 0.14);
}
body.site-v2 #colors .swatch.is-active,
body.site-v2 #colors .swatch:hover {
  background: #FFFFFF;
  border-color: var(--emerald);
}
body.site-v2 #colors .ral__perks > div {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(87, 61, 18, 0.10);
}

/* --- 6. Тёмно-графитовый индустриальный акцент (#14161A): #production, #prodSpecs, #honestService --- */
body.site-v2 #production,
body.site-v2 #prodSpecs,
body.site-v2 #honestService {
  background:
    radial-gradient(680px 420px at 85% 20%, rgba(16, 185, 129, 0.14), transparent 70%),
    var(--v2-graphite);
  color: #FFFFFF;
  padding-block: 88px;
}
body.site-v2 #production .h2,
body.site-v2 #prodSpecs .h2,
body.site-v2 #honestService .h2,
body.site-v2 #prodSpecs h3,
body.site-v2 #honestService h3,
body.site-v2 #prodSpecs b,
body.site-v2 #honestService b {
  color: #FFFFFF;
}
body.site-v2 #production .h2 .dim,
body.site-v2 #prodSpecs .h2 .dim,
body.site-v2 #honestService .h2 .dim,
body.site-v2 #prodSpecs p,
body.site-v2 #honestService p,
body.site-v2 #prodSpecs small,
body.site-v2 #honestService small,
body.site-v2 #prodSpecs li,
body.site-v2 #honestService li {
  color: #B9C4D4;
}
body.site-v2 #production .pill,
body.site-v2 #prodSpecs .pill,
body.site-v2 #honestService .pill {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.30);
  color: #6EE7B7;
}
body.site-v2 #prodSpecs .spec-card,
body.site-v2 #prodSpecs .card,
body.site-v2 #prodSpecs article,
body.site-v2 #honestService .card,
body.site-v2 #honestService article,
body.site-v2 #honestService .honest-card,
body.site-v2 #honestService .honest__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #FFFFFF;
  box-shadow: none;
}
/* Тёмное стекло для табов и панели в #prodSpecs */
body.site-v2 #prodSpecs .tabs {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.site-v2 #prodSpecs .tab {
  color: #B9C4D4;
}
body.site-v2 #prodSpecs .tab b {
  color: #6EE7B7;
}
body.site-v2 #prodSpecs .tab.is-active {
  background: #129463;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(18, 148, 99, 0.30);
}
body.site-v2 #prodSpecs .tab.is-active b {
  color: #FFFFFF;
}
body.site-v2 #prodSpecs .seo-panel {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
body.site-v2 #prodSpecs .seo-panel__grid ul {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
body.site-v2 #prodSpecs .seo-panel__grid ul li {
  color: #E2E8F0;
}
body.site-v2 #prodSpecs .tabs::after,
body.site-v2 #prodSpecsTabs .tabs::after {
  background: linear-gradient(90deg, rgba(20, 22, 26, 0) 0%, #1B1F26 92%) !important;
}
body.site-v2 #prodSpecs .seo-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}
body.site-v2 #prodSpecs .seo-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(110, 231, 183, 0.45);
}
/* Тёмное стекло для списков и полосы экономии в #honestService */
body.site-v2 #honestService .honest-list li {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
body.site-v2 #honestService .honest-list--bad .honest-ico {
  background: rgba(239, 68, 68, 0.16);
  color: #FCA5A5;
}
body.site-v2 #honestService .honest-list--good .honest-ico {
  background: rgba(16, 185, 129, 0.18);
  color: #6EE7B7;
}
body.site-v2 #honestService .honest-card__badge--warn {
  background: rgba(239, 68, 68, 0.18);
  color: #FCA5A5;
}
body.site-v2 #honestService .vs-replace-bar {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
body.site-v2 #honestService .vs-mini--muted {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.site-v2 #honestService .vs-mini--muted strong {
  color: #CBD5E1;
}
body.site-v2 #honestService .vs-mini--muted span {
  color: #94A3B8;
}
body.site-v2 #honestService .vs-mini--emerald {
  background: linear-gradient(135deg, #129463 0%, #0D6E49 100%);
  box-shadow: 0 14px 32px rgba(18, 148, 99, 0.28);
}
body.site-v2 #honestService .vs-mini--emerald span,
body.site-v2 #honestService .vs-mini--emerald strong,
body.site-v2 #honestService .vs-mini--emerald em {
  color: #FFFFFF;
}
body.site-v2 #honestService .vs-mini__cta {
  background: #FFFFFF;
  color: #085437 !important;
}
body.site-v2 #honestService .mob-expand,
body.site-v2 #honestService .mob-more-btn,
body.site-v2 #honestService button[class*="more"],
body.site-v2 #honestService .show-more-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}
body.site-v2 #prodSpecs .icon-squircle,
body.site-v2 #honestService .icon-squircle {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.32);
  color: #6EE7B7;
}
body.site-v2 #prodSpecs .btn--light,
body.site-v2 #honestService .btn--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* --- 7. Этапы работы (#stepsSection и #steps) -> единый горизонтальный таймлайн v2 --- */
body.site-v2 #stepsSection .steps,
body.site-v2 #steps .steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
body.site-v2 #stepsSection .steps::before,
body.site-v2 #steps .steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, #0E7C52 0%, #B8D9C8 65%, #DCE3EC 100%);
  z-index: 0;
}
body.site-v2 #stepsSection .step,
body.site-v2 #steps .step {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
body.site-v2 #stepsSection .step__top .icon-squircle,
body.site-v2 #steps .step__top .icon-squircle {
  display: none;
}
body.site-v2 #stepsSection .step__num,
body.site-v2 #steps .step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #B8DFCB;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(14, 124, 82, 0.08);
}
body.site-v2 #stepsSection .step:first-child .step__num,
body.site-v2 #steps .step:first-child .step__num {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

/* --- 8. Отзывы (#reviews): 3 в 1 ряд на десктопе + кнопка раскрытия --- */
@media (min-width: 769px) {
  body.site-v2 #reviews .review.v2-extra-hidden {
    display: none;
  }
}
body.site-v2 .v2-expand-wrap {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  body.site-v2 .v2-expand-wrap {
    display: none !important;
  }
}
body.site-v2 .v2-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #CFD8E3;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
body.site-v2 .v2-expand-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: #F4FBF7;
}
body.site-v2 .v2-expand-btn small {
  color: var(--muted);
  font-weight: 500;
}

/* --- 9. Блог хаб (tpl=8 /articles) и статьи --- */
body.site-v2 .blog-stats {
  gap: 0;
  background: #F7F9FB;
  border: 1px solid #E3E9F0;
  border-radius: 20px;
  overflow: hidden;
}
body.site-v2 .blog-stat {
  background: transparent;
  border: none;
  border-right: 1px solid #E3E9F0;
  border-radius: 0;
  box-shadow: none;
}
body.site-v2 .blog-stat:last-child {
  border-right: none;
}
/* Статья: убираем куцые чипы 01 Введение / 02 Заключение (дублируют полное Содержание) */
body.site-v2 .article-hero-card__jumps,
body.site-v2 .article-hero-card__toc,
body.site-v2 .article-hero-card__anchors,
body.site-v2 .article-hero-card__chips {
  display: none;
}
body.site-v2 .article-hero-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 0 18px;
}

/* --- 10. Акции (tpl=9): убираем пустой блок 2-х доп. спецпредложений + промо-шапка на карточке акции --- */
body.site-v2 .promo-extra-stub {
  display: none;
}
body.site-v2 .v2-promo-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: center;
}
body.site-v2 .v2-promo-badge-card {
  background: linear-gradient(145deg, #0D5E3F 0%, #093D29 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 22px 48px rgba(9, 61, 41, 0.22);
}
body.site-v2 .v2-promo-badge-card__eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
body.site-v2 .v2-promo-badge-card__val {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
body.site-v2 .v2-promo-badge-card__sub {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

/* --- 11. Каталожные хабы (tpl=12 /moskitnye-setki и др.): премиальные плитки разделов --- */
body.site-v2 .cat-grid {
  gap: 16px;
  margin: 28px 0 24px;
}
body.site-v2 .cat-card {
  background: #FFFFFF;
  border: 1px solid #DDE5EE;
  border-radius: 20px;
  padding: 20px 68px 20px 22px;
  box-shadow: 0 6px 20px rgba(17, 19, 23, 0.035);
  transition: all 0.2s var(--ease);
}
body.site-v2 .cat-card:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(14, 124, 82, 0.10);
}
body.site-v2 .cat-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}
body.site-v2 .cat-card:hover .cat-card__arrow {
  background: var(--emerald);
  color: #FFFFFF;
}

/* --- 12. Инструменты (tpl=13 /conf и /m) --- */
body.site-v2 .v2-conf-single-head > .section--tight {
  padding-bottom: 18px;
}
body.site-v2 .v2-conf-single-head #calculator {
  padding-top: 12px;
}
body.site-v2 .v2-conf-single-head #calculator .calc__head,
body.site-v2 .v2-conf-single-head #calculator .section-head {
  display: none;
}
body.site-v2 .v2-iframe-loader {
  position: relative;
  background: #F6F8FB;
  border-radius: 20px;
  min-height: 460px;
}
body.site-v2 .v2-iframe-loader::before {
  content: "Загрузка рабочего калькулятора…";
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  z-index: 0;
}
body.site-v2 .v2-iframe-loader iframe {
  position: relative;
  z-index: 1;
}

/* --- 13. Мобильный адаптив <= 960px --- */
@media (max-width: 960px) {
  body.site-v2 .section {
    padding-block: 52px;
  }
  body.site-v2 #colors,
  body.site-v2 #palette,
  body.site-v2 #production,
  body.site-v2 #prodSpecs,
  body.site-v2 #honestService {
    padding-block: 56px;
  }
  body.site-v2 #prodSpecs .tabs {
    width: 100%;
    margin-right: 0;
    border-radius: 16px;
    padding-right: 28px;
  }
  body.site-v2 .p-hero {
    padding-top: 8px;
    padding-bottom: 36px;
  }
  body.site-v2 .p-gal__stage {
    aspect-ratio: 4 / 3;
    max-height: 270px;
  }
  body.site-v2 .p-gal__stage img {
    height: 100%;
    object-fit: cover;
  }
  body.site-v2 .p-hero .p-specs-strip .p-spec-item {
    border-right: none;
    border-bottom: 1px solid #E3E9F0;
    padding: 14px 16px;
  }
  body.site-v2 .p-hero .p-specs-strip .p-spec-item:last-child {
    border-bottom: none;
  }
  body.site-v2 .blog-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  body.site-v2 .blog-stat {
    border-bottom: 1px solid #E3E9F0;
  }
  body.site-v2 .blog-stat:nth-child(2n) {
    border-right: none;
  }
  body.site-v2 .blog-stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
  body.site-v2 .v2-promo-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.site-v2 .v2-promo-badge-card {
    padding: 22px 20px;
  }
  body.site-v2 .v2-promo-badge-card__val {
    font-size: 40px;
  }
  body.site-v2 #stepsSection .steps,
  body.site-v2 #steps .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 26px;
  }
  body.site-v2 #stepsSection .steps::before,
  body.site-v2 #steps .steps::before {
    top: 16px;
    bottom: 16px;
    left: 11px;
    right: auto;
    width: 1.5px;
    height: auto;
    background: linear-gradient(180deg, #0E7C52 0%, #B8D9C8 70%, #DCE3EC 100%);
  }
  body.site-v2 #stepsSection .step__num,
  body.site-v2 #steps .step__num {
    height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
  }
}

/* --- 14. Таблицы цен (.matrix-table tr.is-highlight) и страховка для table.price-table --- */
.matrix-table tbody tr.is-highlight,
.matrix-table tbody tr.is-highlight:nth-child(even) {
  background: rgba(14, 124, 82, 0.08) !important;
}
.matrix-table tbody tr.is-highlight td {
  font-weight: 700;
  color: var(--sage-ink);
}
.matrix-table tbody tr.is-highlight td:first-child,
.matrix-table tbody tr.is-highlight:nth-child(even) td:first-child {
  background: #EDF8F3 !important;
}
.matrix-table tbody tr.is-highlight:hover {
  background: rgba(14, 124, 82, 0.13);
}
table.price-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  padding: 0;
  border: none;
  box-shadow: none;
}
