/* Общие стили сайта combo-green.ru: главная и продуктовые страницы.
   Страница СТД-10 (/fuel/) собирается из своего дизайн-исходника и этот файл не использует.

   Палитра — из «ComboGreen Colors and Type» и токенов медиаресурса.
   Каждая страница выбирает свой режим атрибутом data-mode на <html>:
     light  — главная, светлый вариант (по умолчанию)
     dark   — главная, тёмный вариант (переключатель в шапке)
     wind   — ветер: ночной Ink Navy, сигнал Combo Blue
     solar  — солнце: дневной, сигнал Solar Amber
   Свой визуальный код продукта — это только набор значений ниже. */

:root {
  --cg-signal: #25ED44;
  --cg-control: #2651ED;
  --cg-resource: #FFA400;
  --cg-ink: #0A1130;
  --cg-slate: #7C8794;

  --font: "Montserrat", Arial, Helvetica, sans-serif;
  --font-figure: "IBM Plex Mono", SFMono-Regular, Consolas, monospace;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 7vw, 108px);
}

html, html[data-mode="light"] {
  --bg: #FFFFFF;
  --surface: #F5F6F3;
  --surface-2: #ECEEE9;
  --text: #0A1130;
  --muted: #56626E;
  --faint: #7C8794;
  --line: #E4E6E1;
  --line-strong: #C9CFD4;
  --accent: #2651ED;          /* ссылки и мелкие акценты */
  --accent-fill: #25ED44;     /* кнопка */
  --accent-on: #06280F;
  --header-bg: rgba(255, 255, 255, .9);
  --wordmark-light: none;
  --wordmark-dark: block;
  color-scheme: light;
}

html[data-mode="dark"] {
  --bg: #0A1130;
  --surface: #101B3E;
  --surface-2: #16234C;
  --text: #FFFFFF;
  --muted: #A9B2C4;
  --faint: #7C8794;
  --line: #1E2A55;
  --line-strong: #2C3A6B;
  --accent: #25ED44;
  --accent-fill: #25ED44;
  --accent-on: #06280F;
  --header-bg: rgba(10, 17, 48, .9);
  --wordmark-light: block;
  --wordmark-dark: none;
  color-scheme: dark;
}

/* Ветер: ночь, движение воздуха. Синий слишком тёмный для текста на navy,
   поэтому им заливаем, а для мелкого текста берём осветлённый. */
html[data-mode="wind"] {
  --bg: #0A1130;
  --surface: #101B3E;
  --surface-2: #16234C;
  --text: #FFFFFF;
  --muted: #A9B2C4;
  --faint: #7C8794;
  --line: #1E2A55;
  --line-strong: #2C3A6B;
  --accent: #8FA6FF;
  --accent-fill: #2651ED;
  --accent-on: #FFFFFF;
  --header-bg: rgba(10, 17, 48, .9);
  --wordmark-light: block;
  --wordmark-dark: none;
  color-scheme: dark;
}

/* Солнце: день, тепло. Amber только заливкой, текст на нём тёмный. */
html[data-mode="solar"] {
  --bg: #FFFFFF;
  --surface: #FDF6EA;
  --surface-2: #F8EBD3;
  --text: #0A1130;
  --muted: #56626E;
  --faint: #7C8794;
  --line: #EFE2CB;
  --line-strong: #E0CDA8;
  --accent: #A35F00;
  --accent-fill: #FFA400;
  --accent-on: #3B2500;
  --header-bg: rgba(255, 255, 255, .92);
  --wordmark-light: none;
  --wordmark-dark: block;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, dd { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cg-control); outline-offset: 3px; }
table { border-collapse: collapse; }

.shell { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section--surface { background: var(--surface); }
.section--band { background: #0A1130; color: #FFFFFF; --muted: #A9B2C4; --line: #1E2A55; }

/* ── Шапка ─────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 16px 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 138px; }
.brand__light { display: var(--wordmark-light); }
.brand__dark { display: var(--wordmark-dark); }
.brand__sep { width: 1px; height: 18px; background: var(--line-strong); }
.brand__channel { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
html[data-mode="solar"] .brand__channel { color: #A35F00; }
html[data-mode="light"] .brand__channel { color: #2651ED; }
.nav { display: flex; gap: 6px clamp(14px, 1.6vw, 28px); margin-left: auto; }
.nav a { white-space: nowrap;
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent-fill); }
.header__tools { display: flex; align-items: center; gap: 12px; flex: none; }
@media (max-width: 1040px) { .nav { display: none; } .header__tools { margin-left: auto; } }
@media (max-width: 430px) {
  .brand__sep, .brand__channel { display: none; }
  .brand img { width: 116px; }
  .header__tools { gap: 8px; }
  .header__tools .btn--sm { padding: 0 12px; }
}
/* На главной рядом с кнопкой ещё переключатель темы: на 320px кнопка не помещается,
   контакты остаются в обложке («Обсудить задачу»). */

.theme-switch { display: flex; border: 1px solid var(--line-strong); }
.theme-switch button {
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
  background: transparent; color: var(--faint); border: 0; cursor: pointer;
}
.theme-switch button svg { width: 16px; height: 16px; }
.theme-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* ── Кнопки ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; font-size: 15px; font-weight: 700; text-decoration: none;
  background: var(--accent-fill); color: var(--accent-on); border: 1px solid var(--accent-fill);
  transition: filter .12s ease-out;
}
.btn:hover { filter: brightness(1.08); color: var(--accent-on); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--text); border-color: var(--text); filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ── Типографика ───────────────────────────────────────── */
.eyebrow {
  position: relative; padding-left: 18px; margin-bottom: 18px;
  font-family: var(--font-figure); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 2px; background: var(--accent-fill); }
.h1 { font-size: clamp(28px, 6vw, 68px); overflow-wrap: break-word; font-weight: 900; line-height: 1.08; letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }
.h1--split { font-size: clamp(30px, 4.2vw, 52px); max-width: none; hyphens: manual; }
.h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; line-height: 1.1; letter-spacing: -.015em; max-width: 26ch; text-wrap: balance; }
.h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.lead { margin-top: 22px; max-width: 60ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); text-wrap: pretty; }
.prose { max-width: 68ch; color: var(--muted); }
.prose p + p { margin-top: 14px; }
.hl { color: var(--accent-fill); }
/* На светлом фоне сигнальные цвета как текст не читаются: даём их плашкой под словом. */
html[data-mode="light"] .hl { color: inherit; box-shadow: inset 0 -.22em 0 #25ED44; }
html[data-mode="solar"] .hl { color: inherit; box-shadow: inset 0 -.22em 0 #FFA400; }
.fig { font-family: var(--font-figure); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.head { margin-bottom: clamp(32px, 4vw, 52px); }
.note { margin-top: 18px; font-size: 13px; color: var(--faint); max-width: 80ch; }

/* ── Сетки и карточки ──────────────────────────────────── */
/* Линии между ячейками – рамками самих ячеек, а не просветом на фоне сетки:
   так в неполном последнем ряду не остаётся серых пустых квадратов. */
.grid { display: grid; gap: 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.grid > * { background: var(--bg); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--surface .grid > * { background: var(--surface); }
/* Число колонок задано ступенями, а не auto-fit: ряды всегда заполнены целиком. */
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 > :last-child:nth-child(odd), .grid-3 > :last-child:nth-child(odd), .grid-4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-4 > :last-child:nth-child(odd) { grid-column: auto; }
}
.cell { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.cell p { color: var(--muted); font-size: 15px; }
.num { font-family: var(--font-figure); font-size: 13px; color: var(--faint); }

.stats { margin-top: clamp(40px, 5vw, 60px); }
.stat { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.stat .fig { font-size: clamp(28px, 3.2vw, 40px); }
.stat span:last-child { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.45; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }

.figure img { width: 100%; border: 1px solid var(--line); }
.figure figcaption { margin-top: 10px; font-size: 13px; color: var(--faint); }
.tag {
  display: inline-block; padding: 3px 8px; font-family: var(--font-figure); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; background: var(--surface-2); color: var(--muted);
}

/* ── Обложка ───────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(56px, 7vw, 100px); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero > .shell { position: relative; z-index: 2; }
.directions { margin-top: clamp(40px, 5vw, 60px); }
.directions .cell { padding: 22px 22px; gap: 8px; }
.directions .h3 { font-size: 17px; }
.directions p { font-size: 14px; }
.hero__label { position: absolute; right: var(--gutter); bottom: 16px; z-index: 2; }

/* ── Раскрывающиеся блоки ──────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: grid;
  grid-template-columns: 56px 1fr auto; gap: 12px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-figure); font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq summary .h3 { font-size: 18px; }
.faq__body { padding: 0 0 26px 68px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.faq__body h4 { font-size: 12px; font-family: var(--font-figure); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; font-weight: 500; }
.faq__body p, .faq__body li { color: var(--muted); font-size: 15px; }
.faq__body .solution h4 { color: var(--accent); }
.faq__body ul { display: grid; gap: 6px; margin-top: 10px; }
.faq__body li { padding-left: 16px; position: relative; }
.faq__body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--accent-fill); }
@media (max-width: 600px) { .faq summary { grid-template-columns: 40px 1fr auto; } .faq__body { padding-left: 0; } }

.list { display: grid; gap: 8px; }
.list li { padding-left: 16px; position: relative; color: var(--muted); font-size: 15px; }
.list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--accent-fill); }

/* ── Таблица ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.table { width: 100%; font-size: 14px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; background: var(--surface); }
.table td.n { font-family: var(--font-figure); text-align: right; white-space: nowrap; }
.table th.n { text-align: right; }
@media (max-width: 560px) {
  .table { font-size: 13px; }
  .table th, .table td { padding: 10px 8px; }
  .table th { font-size: 11px; letter-spacing: .02em; }
  .table td.n { white-space: normal; }
}
.table tr:last-child td { border-bottom: 0; font-weight: 700; }

/* ── Документы ─────────────────────────────────────────── */
.docs a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; text-decoration: none; }
.docs a:hover .h3 { color: var(--accent); }
.docs .fig { font-size: 13px; color: var(--faint); }

/* ── Продукты на главной ───────────────────────────────── */
/* Всегда три в ряд или по одной: раскладка «2 + 1» ставит кнопки вразнобой. */
.grid-products { grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
.product { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 26px 26px; text-decoration: none; min-height: 100%; }
.product::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); }
.product__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); margin: 4px 0 6px; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease-out; }
.product:hover .product__media img { transform: scale(1.03); }
.product__channel { font-family: var(--font-figure); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product .h3 { font-size: 22px; font-weight: 900; }
.product p { color: var(--muted); font-size: 15px; }
/* Кнопка карточки: цвет продукта, надпись всегда тёмная. При наведении кнопка
   только подсвечивается, надпись цвет не меняет. margin-top:auto прижимает
   кнопку к низу карточки, поэтому во всех трёх карточках она на одной линии. */
.product__more { margin-top: auto; align-self: flex-start; background: var(--c); border-color: var(--c); color: #0A1130; }
.product:hover .product__more, .product__more:hover { filter: brightness(1.15); color: #0A1130; }

/* ── Контакты и подвал ─────────────────────────────────── */
.contact-card { background: var(--surface); border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-card a.fig { font-size: clamp(17px, 1.8vw, 21px); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.contact-card a.fig:hover { border-bottom-color: var(--text); }
.contact-card p { font-size: 14px; color: var(--muted); }

.footer { background: #0A1130; color: #FFFFFF; border-top: 1px solid #1E2A55; padding-block: 44px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 12px; font-family: var(--font-figure); letter-spacing: .14em; text-transform: uppercase; color: #7C8794; font-weight: 500; margin-bottom: 4px; }
.footer a { text-decoration: none; color: #A9B2C4; font-size: 14px; }
.footer a:hover { color: #FFFFFF; }
.footer p { font-size: 13px; color: #7C8794; }
.footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid #1E2A55; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.footer__emblem { width: 96px; min-width: 96px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; flex: none; align-self: flex-start; }

/* Продукты в подвале – главная навигация между страницами, поэтому ярче остального */
.footer__col--products a { color: #FFFFFF; font-size: 16px; font-weight: 700; }
.footer__col--products a:hover { color: #25ED44; }
.footer__col--products a[aria-current="page"] { color: #25ED44; }


.product { transition: background-color .2s ease-out; }

.product:hover { background: var(--surface); }

.product:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }

/* ── Выделение слова: плашка рисуется слева направо ────── */
.hl { background: linear-gradient(var(--hl-bar, transparent), var(--hl-bar, transparent)) 0 100% / 100% .2em no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
html[data-mode="dark"] .hl { --hl-bar: rgba(37, 237, 68, .35); }
html[data-mode="light"] .hl { --hl-bar: #25ED44; box-shadow: none; }
html[data-mode="solar"] .hl { --hl-bar: #FFA400; box-shadow: none; }

/* ── Движение: появление при загрузке и при прокрутке ──── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes cg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes cg-draw { from { background-size: 0 .2em; } to { background-size: 100% .2em; } }
  .hero .eyebrow, .hero .h1, .hero .lead, .hero .actions, .hero .directions { animation: cg-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .h1 { animation-delay: .08s; }
  .hero .lead { animation-delay: .16s; }
  .hero .actions { animation-delay: .24s; }
  .hero .directions { animation-delay: .34s; }
  .hero .hl { animation: cg-draw .9s .65s cubic-bezier(.3, .7, .2, 1) both; }
  .js-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js-reveal.is-in { opacity: 1; transform: none; }
}


/* ── Обложка главной: три «стихии» справа ──────────────── */
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__art { display: none; }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: clamp(380px, 38vw, 480px); }
  .tile { position: relative; display: block; overflow: hidden; background: var(--surface-2); border-top: 6px solid var(--c); text-decoration: none; transition: border-top-width .2s ease-out; }
  .tile:nth-child(1) { margin-bottom: 44px; }
  .tile:nth-child(3) { margin-top: 44px; }
  .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 17, 48, .82) 0%, rgba(10, 17, 48, 0) 46%); pointer-events: none; }
  .tile__label { position: absolute; left: 14px; right: 10px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 2px; color: #FFFFFF; font-size: 13px; font-weight: 600; }
  .tile__label b { font-family: var(--font-figure); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
  .tile:hover { border-top-width: 10px; }
  .tile:hover img { transform: scale(1.05); }
  .tile:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .tile { animation: cg-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .tile:nth-child(1) { animation-delay: .3s; }
  .hero .tile:nth-child(2) { animation-delay: .42s; }
  .hero .tile:nth-child(3) { animation-delay: .54s; }
}

/* Таблица сравнения: последняя колонка (ComboGreen) выделена */
.table--compare td:first-child { max-width: 340px; }
.table--compare .hl-col { background: var(--surface-2); font-weight: 700; }
.table--compare tbody tr:last-child td { font-weight: 500; }
.table--compare tbody tr:last-child td.hl-col { font-weight: 700; }
@media (max-width: 560px) {
  .table--compare thead { display: none; }
  .table--compare, .table--compare tbody, .table--compare tr, .table--compare td { display: block; width: 100%; }
  .table--compare tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table--compare tr:last-child { border-bottom: 0; }
  .table--compare td { padding: 0; border: 0; }
  .table--compare td:first-child { max-width: none; margin-bottom: 8px; font-weight: 700; }
  .table--compare td.n { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; text-align: right; font-weight: 500; white-space: normal; }
  .table--compare td.n::before { content: attr(data-label); font-family: var(--font); font-size: 13px; color: var(--muted); text-align: left; }
  .table--compare td.hl-col { background: var(--surface-2); padding: 5px 8px; margin: 2px -8px 0; width: calc(100% + 16px); font-weight: 700; }
  .table--compare td.hl-col::before { color: var(--text); font-weight: 700; }
}

/* Модельный ряд */
.model { gap: 14px; }
.model__name { font-size: 26px; font-weight: 900; letter-spacing: .02em; }
.model__size { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.model__size .fig { font-size: 20px; color: var(--text); }
.model__k { margin: 0 0 6px; font-family: var(--font-figure); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }

/* Страница с длинным меню разделов: в шапке оно помещается только на широком экране, иначе – в кнопке меню */
@media (max-width: 1279px) { .nav--many { display: none; } .nav--many ~ .header__tools { margin-left: auto; } }

/* Три направления теперь в блоке «Наши продукты», над карточками */
.directions { margin-top: 0; margin-bottom: clamp(24px, 3vw, 40px); }
@media (prefers-reduced-motion: no-preference) {
  .js-reveal:not(.is-in) .hl { background-size: 0 .2em; }
  .js-reveal.is-in .hl { animation: cg-draw .9s .35s cubic-bezier(.3, .7, .2, 1) both; }
}

/* ── Продукты: горизонтальные карточки (фото слева, текст справа) ── */
.grid-products { grid-template-columns: 1fr; }
.product {
  display: grid; grid-template-columns: 1fr; gap: 14px; align-content: start;
  padding: 26px 26px 26px 32px;
}
.product::before { top: 0; bottom: 0; left: 0; right: auto; width: 6px; height: auto; transition: width .2s ease-out; }
.product:hover::before { width: 10px; }
.product__media { margin: 0; aspect-ratio: 16 / 10; }
.product__more { margin-top: 10px; }
@media (min-width: 760px) {
  .product {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "media channel" "media title" "media text" "media btn";
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(24px, 4vw, 48px); row-gap: 12px; align-items: start;
  }
  .product__channel { grid-area: channel; align-self: end; }
  .product__media { grid-area: media; align-self: stretch; aspect-ratio: auto; min-height: 220px; }
  .product .h3 { grid-area: title; font-size: clamp(22px, 2.4vw, 28px); }
  .product > p { grid-area: text; max-width: 52ch; font-size: 16px; }
  .product__more { grid-area: btn; align-self: end; justify-self: start; margin-top: 8px; }
}

/* Надзаголовки («ООО КомбоГрин РУС», «Наши продукты») крупнее, стиль прежний */
.eyebrow { padding-left: 24px; margin-bottom: 20px; font-size: clamp(14px, 1.25vw, 16px); letter-spacing: .12em; }
.eyebrow::before { width: 14px; top: .62em; }

/* ── Галерея на тёмном фоне: фото в своём ряду, без светлой подложки ── */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; overflow: hidden; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure:nth-child(1), .gallery figure:nth-child(2), .gallery figure:nth-child(3), .gallery figure:nth-child(4) { aspect-ratio: 1 / 1; }
.gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 398fr 393fr 363fr 331fr; }
  .gallery figure:nth-child(1), .gallery figure:nth-child(2), .gallery figure:nth-child(3), .gallery figure:nth-child(4) { aspect-ratio: auto; height: clamp(220px, 24vw, 300px); }
  .gallery figure:nth-child(5) { grid-column: 1 / 3; aspect-ratio: auto; height: clamp(240px, 27vw, 340px); }
  .gallery figure:nth-child(6) { grid-column: 3 / 5; aspect-ratio: auto; height: clamp(240px, 27vw, 340px); }
}

/* ── Медиаресурс: «живая» зелёная точка и плашка «Скоро» ── */
.eyebrow--live { padding-left: 26px; }
.eyebrow--live::before {
  width: 10px; height: 10px; top: .42em; border-radius: 50%; background: #25ED44;
  box-shadow: 0 0 0 0 rgba(37, 237, 68, .55), 0 0 12px 2px rgba(37, 237, 68, .45);
}
.soon { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 8px; border: 1px solid #2C3A6B; color: #FFFFFF; font-family: var(--font-figure); font-size: 15px; letter-spacing: .02em; }
.soon__tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; background: #25ED44; color: #06280F; font-family: var(--font); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes cg-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 237, 68, .5), 0 0 12px 2px rgba(37, 237, 68, .45); } 70% { box-shadow: 0 0 0 10px rgba(37, 237, 68, 0), 0 0 12px 2px rgba(37, 237, 68, .45); } 100% { box-shadow: 0 0 0 0 rgba(37, 237, 68, 0), 0 0 12px 2px rgba(37, 237, 68, .45); } }
  .eyebrow--live::before { animation: cg-pulse 2.2s ease-out infinite; }
}

/* Широкая таблица-картинка без рамки (прозрачный фон): на узком экране листается вбок */
.figure--wide .figure__scroll { overflow-x: auto; }
.figure--wide img { border: 0; min-width: 780px; }

/* Знак ® рядом с ComboGreen: маленький, над строкой, не раздвигает строки */
sup.reg { font-size: .5em; line-height: 0; vertical-align: .85em; margin-left: .06em; font-weight: inherit; letter-spacing: 0; }

/* Переключатель оформления живёт в меню (кнопка с тремя полосками) */
.cg-menu__theme { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 6px; font-size: 13px; color: var(--muted); border-top: 1px solid rgba(127, 127, 127, .2); margin-top: 4px; }
