/* 1RoboMarket — страницы брендов: хаб брендов (Ш-04), страница бренда (Ш-05), коммерческая страница ROBO (Ш-06).
   Подключать после css/styles.css и css/catalog.css.
   Страницы: catalog-brands.html, catalog-brands-pudu.html, catalog-brands-gausium.html,
   catalog-brands-waybot.html, catalog-brands-r2b.html, catalog-brands-robo.html. */

/* ================= ХАБ БРЕНДОВ ================= */

/* ---------- первый экран: полка с флагманами пяти брендов ---------- */
@media (min-width: 960px) {
  .hero-page--hub .hero-page__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
.bshelf { --stand: clamp(132px, 17vw, 250px); position: relative; justify-self: center; width: min(100%, 640px); }
.bshelf__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.bshelf__list::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -2%;
  right: -2%;
  top: calc(var(--stand) - clamp(22px, 2.4vw, 34px));
  height: clamp(34px, 3.6vw, 52px);
  border-radius: 50%;
  background: radial-gradient(ellipse 72% 70% at 50% 34%, #FFFFFF 0%, #F8F6FF 52%, #DED6FA 100%);
  box-shadow: 0 26px 52px -24px rgba(90, 34, 211, .5);
}
.bshelf__item { position: relative; z-index: 1; min-width: 0; }
.bshelf__item--lead { z-index: 2; }
.bshelf__link { display: grid; justify-items: center; gap: clamp(10px, 1.4vw, 18px); color: var(--c-ink); text-decoration: none; }
.bshelf__stand { position: relative; display: block; width: 100%; height: var(--stand); }
.bshelf__robot {
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 1vw, 14px);
  height: var(--h, 70%);
  max-width: 132%;
  translate: -50% 0;
  transition: transform .45s var(--ease-out);
}
.bshelf__robot::after { left: 10%; right: 10%; bottom: -4%; }
.bshelf__link:hover .bshelf__robot { transform: translateY(-6px); }
.bshelf__name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  box-shadow: var(--shadow-rest);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s;
}
.bshelf__link:hover .bshelf__name { background: var(--c-violet); color: var(--c-surface); }
.bshelf__note { margin-top: 16px; color: var(--c-ink-muted); font-size: .8125rem; line-height: 1.45; text-align: center; }
@media (max-width: 639px) {
  .bshelf__name { min-height: 30px; padding: 0 7px; font-size: .6875rem; letter-spacing: 0; }
}

/* ---------- бренды в каталоге: строки-справочник внутри белой панели ---------- */
.bdir { display: grid; border-top: 1px solid var(--c-line); }
.bdir__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  grid-template-areas: "thumb main go" "text text text" "meta meta meta";
  gap: 12px 16px;
  align-items: center;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--c-line);
}
.bdir__thumb { grid-area: thumb; position: relative; height: 84px; margin-top: 10px; border-radius: var(--r-sm); background: var(--c-lavender-tile); }
.bdir__robot { position: absolute; left: 50%; bottom: 8%; height: 118%; max-width: 92%; translate: -50% 0; transition: transform .45s var(--ease-out); }
.bdir__row:hover .bdir__robot { transform: translateY(-4px); }
.bdir__main { grid-area: main; display: grid; gap: 4px; min-width: 0; }
.bdir__name {
  justify-self: start;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-decoration: none;
}
.bdir__name:hover { color: var(--c-violet-deep); }
.bdir__count { color: var(--c-ink); font-size: .9375rem; }
.bdir__series { color: var(--c-ink-muted); font-size: .875rem; line-height: 1.4; }
.bdir__text { grid-area: text; color: var(--c-ink-muted); line-height: 1.55; max-width: 60ch; }
.bdir__meta { grid-area: meta; display: grid; gap: 8px; align-content: start; }
.bdir__meta .t-label { color: var(--c-ink-muted); }
.bdir__go { grid-area: go; }
.bdir__more { margin-top: 18px; color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.5; }
@media (min-width: 1100px) {
  .bdir__row {
    grid-template-columns: 116px minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr) 44px;
    grid-template-areas: "thumb main text meta go";
    gap: 28px;
    padding: 18px 0;
  }
  .bdir__thumb { height: 100px; margin-top: 14px; }
}

/* ---------- сервис и доступность: таблица по брендам ---------- */
.avail-wrap { display: grid; gap: var(--grid-gap); align-items: start; }
.avail {
  padding: clamp(8px, 1.6vw, 20px) var(--panel-pad); /* по бокам — общий отступ панелей (polish 14.10.2026, пункт 38) */
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: var(--shadow-rest);
}
.avail__table { width: 100%; border-collapse: collapse; }
.avail__table caption { padding: 12px 0 8px; color: var(--c-ink); font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.3; text-align: left; caption-side: top; } /* как .dtable caption (пункт 115) */
.avail__table thead th {
  padding: 10px 16px 12px 0;
  color: var(--c-ink-muted);
  font-size: var(--t-label-size);
  font-weight: var(--t-label-weight);
  letter-spacing: .03em;
  text-align: left;
}
.avail__table tbody th,
.avail__table td {
  padding: 18px 20px 18px 0;
  border-top: 1px solid var(--c-line);
  vertical-align: top;
  text-align: left;
  font-size: .9688rem;
  line-height: 1.5;
}
.avail__table tbody th { width: 14%; }
.avail__brand { color: var(--c-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.avail__brand:hover { color: var(--c-violet-deep); }
.avail__aside { display: grid; gap: 4px; padding: var(--panel-pad); border-radius: var(--r-xl); background: var(--c-lavender-tile); }
.avail__aside .t-title { margin-bottom: 8px; }
.avail__aside .checklist__list li { line-height: 1.45; font-size: .9688rem; }
@media (min-width: 1200px) {
  .avail-wrap { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
}
@media (max-width: 859px) {
  .avail__table, .avail__table tbody, .avail__table tr, .avail__table th, .avail__table td { display: block; }
  .avail__table thead { display: none; }
  .avail__table tr { padding: 16px 0; border-top: 1px solid var(--c-line); }
  .avail__table tbody tr:first-child { border-top: 0; }
  .avail__table tbody th, .avail__table td { width: auto; padding: 0; border: 0; }
  .avail__table caption { display: block; }
  .avail__table td { margin-top: 10px; }
  .avail__table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--c-ink-muted);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
  }
}

/* ---------- критерии сравнения производителей на ночной полосе ---------- */
.crit { display: grid; gap: 0 clamp(24px, 3vw, 48px); margin-top: clamp(24px, 3vw, 40px); }
.crit__item { display: grid; gap: 6px; align-content: start; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.crit__name { display: flex; gap: 10px; align-items: flex-start; color: var(--c-surface); font-weight: 650; line-height: 1.35; }
.crit__name .i { margin-top: 1px; color: var(--c-aqua); }
.crit__text { color: var(--c-on-night-muted); font-size: .9375rem; line-height: 1.55; padding-left: calc(1.25em + 10px); }
@media (min-width: 720px) { .crit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .crit { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nband--crit .nband__grid { align-items: start; }
.nband--crit .nband__lead { max-width: 64ch; }

/* ---------- сравнение брендов: тепловая таблица «бренд × тип уборки» ---------- */
.cover { min-width: 0; margin: 0; padding: var(--panel-pad); border-radius: var(--r-xl); background: var(--c-surface); box-shadow: var(--shadow-rest); }
.cover__scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--c-violet-light) transparent; }
.cover__table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 4px; table-layout: fixed; } /* 640: подписи колонок помещаются, не слипаются (пункты 58, 59) */
.cover__cap { padding: 0 4px 10px; color: var(--c-ink-muted); font-size: .875rem; line-height: 1.45; } /* подпись над прокруткой, а не внутри таблицы (пункт 58) */
.cover__table thead th {
  padding: 0 4px 8px;
  color: var(--c-ink-muted);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: center;
  vertical-align: bottom;
}
.cover__table thead th:first-child { width: 16%; text-align: left; }
.cover__table thead th:last-child { width: 9%; }
.cover__table tbody th { padding: 0 8px 0 4px; text-align: left; }
.cover__table tbody th a { color: var(--c-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.cover__table tbody th a:hover { color: var(--c-violet-deep); }
.cover__c {
  height: 54px;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-size: 1.0625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  cursor: default;
  transition: box-shadow .2s var(--ease-out);
}
.cover__c:hover { box-shadow: inset 0 0 0 2px var(--c-ink); }
.cover__c--0 { color: var(--c-ink-muted); font-weight: 450; box-shadow: inset 0 0 0 1px var(--c-line); }
.cover__c--0:hover { box-shadow: inset 0 0 0 1px var(--c-line); }
.cover__c--1 { background: #E6DFFD; }
.cover__c--2 { background: #C3AEF8; }
.cover__c--3 { background: var(--c-violet); color: var(--c-surface); }
.cover__c--3:hover { box-shadow: inset 0 0 0 2px var(--c-night); }
.cover__total { color: var(--c-ink); font-weight: 650; font-variant-numeric: tabular-nums; text-align: center; }
.cover__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 12px; padding: 0 4px; }
.cover__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--c-ink-muted); font-size: .8125rem; }
.cover__legend li { display: inline-flex; align-items: center; gap: 8px; }
.cover__sw { width: 18px; height: 18px; border-radius: 5px; }
.cover__sw--1 { background: #E6DFFD; }
.cover__sw--2 { background: #C3AEF8; }
.cover__sw--3 { background: var(--c-violet); }
.cover__note { color: var(--c-ink-muted); font-size: .8125rem; line-height: 1.45; max-width: 64ch; }

/* ================= СТРАНИЦА БРЕНДА ================= */

/* ---------- первый экран: флагман на светящейся плитке + паспорт бренда ---------- */
.bhero { position: relative; justify-self: center; width: min(100%, 560px); padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 84px); }
.bhero__tile {
  position: relative;
  aspect-ratio: 1 / .7;
  border-radius: var(--r-xl);
  background:
    radial-gradient(58% 34% at 62% 90%, #FFFFFF 0%, rgba(255, 255, 255, 0) 74%),
    radial-gradient(70% 66% at 82% 8%, rgba(113, 55, 237, .42), rgba(113, 55, 237, 0) 70%),
    linear-gradient(180deg, #D9CDFC 0%, #F5F2FF 100%);
  box-shadow: inset 0 0 0 1px rgba(113, 55, 237, .14), 0 30px 60px -34px rgba(90, 34, 211, .55);
}
.bhero__robot { position: absolute; left: 64%; bottom: 10%; height: var(--h, 104%); max-width: 62%; translate: -50% 0; }
.bhero__robot::after { left: 12%; right: 12%; bottom: -3%; height: 8%; background: radial-gradient(closest-side, rgba(20, 18, 43, .34), rgba(20, 18, 43, 0)); }
.bhero__pass {
  position: absolute;
  z-index: 2;
  left: -6%;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 22px;
  width: min(80%, 420px);
  padding: 16px 20px 18px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  box-shadow: var(--shadow-lift);
}
.bhero__pass div { display: grid; align-content: start; gap: 2px; }
.bhero__pass div:first-child { grid-row: span 2; padding-right: 20px; border-right: 1px solid var(--c-line); }
.bhero__pass div:nth-child(n+4) { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--c-line); }
.bhero__pass dt { color: var(--c-ink-muted); font-size: .75rem; line-height: 1.3; }
.bhero__pass dd { margin: 0; font-weight: 650; font-size: .9375rem; line-height: 1.35; }
.bhero__pass dd.t-figure { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 800; }
.bhero__cap { position: absolute; z-index: 3; left: 18px; top: 16px; max-width: 26%; color: var(--c-ink); font-size: .75rem; line-height: 1.35; }
@media (max-width: 1099px) and (min-width: 960px) { .bhero__pass { left: 0; width: 88%; } }
@media (max-width: 639px) {
  .bhero { padding-top: 48px; padding-bottom: 0; }
  .bhero__tile { aspect-ratio: 1 / .78; }
  .bhero__robot { left: 50%; max-width: 70%; height: var(--h, 104%); }
  .bhero__pass { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 10px 0; gap: 10px 16px; padding: 14px 16px 16px; }
}

/* сетка моделей бренда: пять карточек в ряд на широком экране */
@media (min-width: 1200px) {
  .mgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mgrid--5 .mcard__facts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------- линейка бренда: серии внутри белой панели ---------- */
.series { display: grid; border-top: 1px solid var(--c-line); }
.series__row { display: grid; gap: 10px 32px; padding: clamp(18px, 2vw, 24px) 0; border-bottom: 1px solid var(--c-line); }
.series__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + .7vw, 1.625rem); line-height: 1.15; letter-spacing: -.015em; }
.series__kind { display: block; margin-top: 4px; color: var(--c-violet); font-family: var(--font-text); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.series__text { color: var(--c-ink-muted); line-height: 1.55; max-width: 60ch; }
.series__models { display: grid; gap: 8px; align-content: start; }
.series__models .t-label { color: var(--c-ink-muted); }
.series__cat { justify-self: start; white-space: normal; font-size: .9375rem; }
.series__foot { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--c-ink-muted); font-size: .875rem; line-height: 1.5; max-width: 96ch; }
.series__foot .i { margin-top: 1px; color: var(--c-violet); }
@media (min-width: 1100px) {
  .series__row { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); align-items: start; }
}

/* ---------- ограничения: заголовок сверху, карточки — модель, суть, пояснение (решение 29.10.2026) ---------- */
.limits { display: grid; gap: var(--grid-gap); }
.limits__item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 24px 26px; border-radius: var(--r-xl); background: var(--c-surface); box-shadow: var(--shadow-rest); }
.limits__model { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--c-lavender-tile); color: var(--c-violet-deep); font-size: .75rem; font-weight: 650; white-space: nowrap; }
.limits__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.limits__text { color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.55; }
@media (min-width: 720px) { .limits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .limits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* 6 или 9 карточек — по три в ряд, чтобы последний ряд не оставался неполным */
  .limits:has(> .limits__item:last-child:nth-child(3n)):not(:has(> .limits__item:last-child:nth-child(4n))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- сервис и поставка: ночная полоса с проверочным листом ---------- */
.nband--svc .nband__grid { align-items: start; }
@media (min-width: 960px) {
  .nband--svc .nband__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.svc-known { display: grid; gap: 0; margin-top: 24px; }
.svc-known li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.svc-known li:first-child { border-top: 0; padding-top: 4px; }
.svc-known .i { grid-row: span 2; margin-top: 2px; color: var(--c-aqua); }
.svc-known__what { color: var(--c-surface); font-weight: 600; line-height: 1.4; }
.svc-known__how { grid-column: 2; color: var(--c-on-night-muted); font-size: .9375rem; line-height: 1.5; }
.svc-known .unverified { margin-left: 6px; vertical-align: 1px; }
.bcheck { padding: clamp(20px, 2.4vw, 32px); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); background: var(--c-night-raised); }
.bcheck .t-title { color: var(--c-surface); }
.bcheck__list { display: grid; margin-top: 8px; }
.bcheck__list li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.bcheck__list li:first-child { border-top: 0; }
.bcheck__what { color: var(--c-surface); font-weight: 600; }
.bcheck__how { color: var(--c-on-night-muted); font-size: .9375rem; line-height: 1.45; }

/* ---------- сравнения: таблица без фото, колонка бренда выделена ---------- */
.cmp--text .cmp__model { padding-top: 6px; }
.cmp--text .cmp__model .cmp__name { font-size: clamp(1rem, .92rem + .35vw, 1.1875rem); }
.cmp--text .cmp__model--self { position: relative; }
.cmp--text .cmp__model--self::before { content: ""; position: absolute; left: 6px; right: 6px; top: -2px; height: 3px; border-radius: 3px; background: var(--c-violet); }
.cmp--text td.cmp__self { background: rgba(113, 55, 237, .045); }
/* polish 14.10.2026 (пункт 10): на телефоне таблица остаётся таблицей с прокруткой — колонка бренда выделена так же, полоса по полям ячейки */
@media (max-width: 759px) {
  .cmp--text .cmp__model--self::before { left: 10px; right: 8px; }
}

/* ---------- цена и КП: список «что войдёт в предложение» ---------- */
.leadsec__panel h2 .accent { color: inherit; }

/* ================= ROBO (РУБИ) ================= */

/* ---------- светлый первый экран, как у других брендов: семья РУБИ на подиуме (правка 14.10.2026, пункт 5) ---------- */
.hero-page--robo { padding-bottom: clamp(40px, 5vw, 72px); } /* без запаса под наезд (правка 13.10.2026) */
.hero-page--robo h1 { max-width: 15ch; font-size: clamp(2.125rem, 1.1rem + 2.6vw, 3.75rem); }
.hero-page--robo .crumbs { margin-bottom: clamp(8px, 1.4vw, 20px); }
.hero-page--robo .hero-fact { box-shadow: var(--shadow-lift); } /* плашка ROBO — как паспорт бренда на других страницах */
.rstage { position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 1 / .98; }
.rstage__podium {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 7%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse 70% 70% at 50% 38%, var(--c-surface) 0%, var(--c-lavender-tile) 46%, color-mix(in srgb, var(--c-lavender-tile), var(--c-violet) 22%) 100%);
  box-shadow: 0 26px 60px -18px rgba(113, 55, 237, .75);
}
.rstage__robot { position: absolute; }
.rstage__robot::after { background: radial-gradient(closest-side, rgba(20, 18, 43, .45), rgba(20, 18, 43, 0)); }
.rstage__robot--s { left: 50%; z-index: 2; bottom: 12%; height: 64%; translate: -50% 0; }
.rstage__robot--m { left: 5%; z-index: 1; bottom: 17%; height: 40%; }
.rstage__robot--b { right: 2%; z-index: 1; bottom: 17%; height: 30%; }
.rstage .hero-fact--1 { top: 0; left: 0; }
.rstage .hero-fact--2 { right: 0; top: 7%; bottom: auto; }
.rstage .hero-fact__figure { font-size: clamp(1.25rem, .9rem + 1vw, 1.875rem); white-space: nowrap; }
@media (max-width: 639px) {
  .rstage { aspect-ratio: 1 / 1.02; }
  .rstage .hero-fact__figure { font-size: 1.125rem; }
  .rstage .hero-fact--2 { top: 8%; }
}

/* ---------- модели РУБИ: строка, которая заходит на первый экран ---------- */
.rmodels-sec { position: relative; z-index: 3; margin-top: var(--sec-space); } /* общий шаг между блоками */
.rmodels { display: grid; gap: var(--grid-gap); align-items: start; }
.rmodels__intro {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: var(--panel-pad); /* один отступ панелей (polish 14.10.2026, пункт 38) */
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: 0 2px 4px rgba(20, 18, 43, .08), 0 28px 56px -20px rgba(20, 18, 43, .30);
}
.rmodels__intro h2 { font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.75rem); scroll-margin-top: 120px; }
.rmodels__intro p { color: var(--c-ink-muted); line-height: 1.55; }
.rmodels__intro .link-more { white-space: normal; }
.rmodels__links { display: grid; gap: 0; margin-top: 6px; border-top: 1px solid var(--c-line); }
.rmodels__links li { border-bottom: 1px solid var(--c-line); }
.rmodels__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 44px var(--grid-gap); padding-top: 28px; }
.rmodels .mcard { box-shadow: 0 2px 4px rgba(20, 18, 43, .08), 0 28px 56px -24px rgba(20, 18, 43, .34); }
.rmodels .compare-bar { margin-top: 20px; }
@media (min-width: 1100px) {
  .rmodels__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mcard__status { color: var(--c-ink-muted); font-size: .875rem; line-height: 1.45; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--c-line); }

/* ---------- назначение и сценарии: две модели рядом ---------- */
.rfit { display: grid; gap: var(--grid-gap); }
.rfit__col { display: grid; align-content: start; gap: 18px; padding: var(--panel-pad); border-radius: var(--r-xl); background: var(--c-surface); box-shadow: var(--shadow-rest); }
.rfit__col--m { background: var(--c-lavender-tile); box-shadow: none; }
.rfit__head { display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 10vw, 132px); gap: 16px; align-items: end; }
.rfit__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.05; letter-spacing: -.02em; }
.rfit__name a { color: var(--c-ink); text-decoration: none; }
.rfit__name a:hover { color: var(--c-violet-deep); }
.rfit__type { margin-top: 6px; color: var(--c-ink-muted); line-height: 1.45; }
.rfit__obj { position: relative; height: clamp(96px, 10vw, 132px); }
.rfit__robot { position: absolute; left: 50%; bottom: 6%; height: 104%; max-width: 100%; translate: -50% 0; }
.rfit__label { color: var(--c-ink-muted); }
.rfit__objects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rfit__objects a, .rfit__objects span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
  color: var(--c-ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.rfit__col--m .rfit__objects span { background: transparent; box-shadow: inset 0 0 0 1px rgba(113, 55, 237, .22); }
.rfit__objects a { box-shadow: inset 0 0 0 1px rgba(113, 55, 237, .4); }
.rfit__objects a::after { content: ""; width: 16px; height: 16px; background: var(--c-violet); -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.rfit__objects a:hover { background: var(--c-violet); color: var(--c-surface); }
.rfit__objects a:hover::after { background: var(--c-surface); }
.rfit__pair { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.rfit__col--m .rfit__pair { border-top-color: rgba(113, 55, 237, .16); }
.rfit__pair p:last-child { color: var(--c-ink-muted); font-size: .9688rem; line-height: 1.55; }
.rfit__pair .rfit__label { margin-bottom: 4px; }
.rfit__b { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--grid-gap); color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.5; max-width: 96ch; }
.rfit__b .i { margin-top: 2px; color: var(--c-violet); }
@media (min-width: 760px) { .rfit__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1100px) { .rfit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FMS и сервис: две колонки на ночной полосе ---------- */
.nband--fms .nband__grid { align-items: start; }
@media (min-width: 960px) {
  .nband--fms .nband__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ---------- официальный производитель ---------- */
.maker { display: grid; gap: var(--grid-gap); align-items: start; }
.maker__text { display: grid; align-content: start; gap: 16px; }
.maker__text p { max-width: 64ch; }
.maker__text p + p { color: var(--c-ink-muted); }
.maker__roles { width: 100%; margin-top: 8px; border-collapse: collapse; }
.maker__roles th, .maker__roles td { padding: 14px 16px 14px 0; border-top: 1px solid var(--c-line); text-align: left; vertical-align: top; line-height: 1.5; font-size: .9688rem; }
.maker__roles thead th { padding-top: 0; border-top: 0; color: var(--c-ink-muted); font-size: var(--t-label-size); font-weight: var(--t-label-weight); letter-spacing: .03em; }
.maker__roles tbody th { width: 34%; font-weight: 650; }
.maker__roles td { color: var(--c-ink-muted); }
.maker__go {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: var(--panel-pad); /* один отступ панелей (polish 14.10.2026, пункт 38) */
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(113, 55, 237, .16), rgba(113, 55, 237, 0) 70%),
    var(--c-lavender-tile);
}
.maker__domain { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -.03em; color: var(--c-ink); }
.maker__go p { color: var(--c-ink); max-width: 40ch; }
.maker__go .maker__domain { color: var(--c-ink); }
.maker__go .btn { justify-self: start; margin-top: 12px; }
@media (min-width: 1100px) {
  .maker { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (max-width: 639px) {
  .maker__roles tbody th { width: 44%; }
}

/* подпись таблицы «тип уборки × модели» на телефоне — во всю ширину (в catalog.css при display:block она сжимается) */
@media (max-width: 899px) {
  .matrix__table caption { display: block; width: auto; }
}

/* ---------- две модели серии и пояснение рядом (R2B) ---------- */
.duo { display: grid; gap: var(--grid-gap); align-items: start; }
.duo__aside { display: grid; gap: 12px; padding: var(--panel-pad); border-radius: var(--r-xl); background: var(--c-lavender-tile); }
.duo__aside p:not(.t-title) { color: var(--c-ink-muted); line-height: 1.55; }
.duo__aside .link-more { white-space: normal; }
@media (min-width: 960px) {
  .duo { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .duo .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo__aside { margin-top: 28px; }
}

/* ---------- polish 14.10.2026: ROBO на планшете — плашка ROBO по центру над подиумом, а не между текстом и картинкой (пункт 73) ---------- */
@media (min-width: 480px) and (max-width: 959px) {
  .rstage .hero-fact--1 { left: 50%; translate: -50% 0; }
}

/* ---------- polish 14.10.2026: паспорт бренда — названия моделей не рвутся, «·» в конце строки; узкая плашка — в одну колонку (пункт 67) ---------- */
.bhero__models { text-wrap: balance; }
.bhero__models span { white-space: nowrap; }
@media (max-width: 639px), (min-width: 960px) and (max-width: 1279px) {
  .bhero__pass { grid-template-columns: minmax(0, 1fr); }
  .bhero__pass div:first-child { grid-row: auto; padding-right: 0; border-right: 0; }
  .bhero__pass div:nth-child(2) { padding-top: 10px; border-top: 1px solid var(--c-line); }
}

/* ---------- polish 14.10.2026: фильтр с одной группой «Тип уборки» — на всю ширину панели, чипы в одну строку (пункт 70) ---------- */
@media (min-width: 960px) {
  .mfilter:has(> .mfilter__group:only-of-type) { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- polish 14.10.2026: линейка — стрелка ссылки на категорию всегда у правого края колонки (пункт 71) ---------- */
@media (min-width: 1100px) {
  .series__cat { justify-self: stretch; justify-content: space-between; }
}

/* ---------- polish 14.10.2026: «Чего нет в линейке» — заголовки пунктов с интервалом 1,4, как в «Ограничениях» и «Сервисе» (пункт 75) ---------- */
.matrix-aside__name { line-height: 1.4; }

/* ---------- polish 14.10.2026: «Типы уборки» на телефоне — без подписи «Модели …» над ссылкой на другие бренды (пункт 74) ---------- */
@media (max-width: 899px) {
  .matrix__table td:has(> .link-more)::before { content: none; }
}

/* ---------- polish 14.10.2026: R2B — без боковой плашки две карточки и панель сравнения на всю ширину (пункт 69) ---------- */
@media (min-width: 960px) {
  .duo:not(:has(> .duo__aside)) { grid-template-columns: minmax(0, 1fr); }
  .duo:not(:has(> .duo__aside)) .mcard__tile { aspect-ratio: 1 / .56; } /* широкая карточка — плитка ниже, чтобы робот не раздувался */
}

/* ---------- polish 14.10.2026: тепловая карта брендов на телефоне — подпись не уезжает с таблицей, у прокрутки затухание края и фокус с клавиатуры (пункт 58) ---------- */
/* на телефоне таблица всё равно прокручивается — даём колонкам запас, чтобы «производства» не упиралось во «Всего» */
@media (max-width: 639px) { .cover__table { min-width: 700px; } }
/* колонка брендов остаётся на месте, пока цифры прокручиваются */
.cover__table thead th:first-child,
.cover__table tbody th { position: sticky; left: 0; z-index: 1; background: var(--c-surface); box-shadow: 4px 0 0 var(--c-surface); }
@property --cover-fr { syntax: "<length>"; inherits: false; initial-value: 0px; }
@keyframes cover-fade {
  from { --cover-fr: 48px; }
  85% { --cover-fr: 48px; }
  to { --cover-fr: 0px; }
}
@supports (animation-timeline: scroll()) {
  /* затухание правого края — только пока таблица шире окна и до конца прокрутки */
  .cover__scroll {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--cover-fr)), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - var(--cover-fr)), transparent 100%);
    animation: cover-fade linear both;
    animation-timeline: scroll(self inline);
  }
}
@supports selector(:has(*)) {
  .cover__scroll:focus-visible { outline: none; }
  .cover:has(.cover__scroll:focus-visible) { outline: 2px solid var(--c-violet); outline-offset: 3px; }
}

/* ---------- polish 14.10.2026: «Сравнение брендов» на 1100–1299 — в одну колонку, чтобы подписи колонок тепловой карты не слипались (пункт 59) ---------- */
@media (min-width: 1100px) and (max-width: 1299px) {
  .cmp-sec__grid--aside:has(> .cover) { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- polish 14.10.2026: названия-ссылки брендов и моделей — зона нажатия не меньше 44 px невидимым слоем, вид прежний (пункт 6, часть) ---------- */
.bdir__name, .avail__brand, .cover__table tbody th a, .rfit__name a { position: relative; }
.bdir__name::after, .avail__brand::after, .cover__table tbody th a::after, .rfit__name a::after { content: ""; position: absolute; inset: min(0px, calc(50% - 22px)) -4px; }

/* ---------- polish 14.10.2026: чипы и метки моделей — неразрывная часть названия (span.nobr) не рисуется второй пилюлей и не съедает пробелы в flex-метке (после типографа) ---------- */
.mchips .nobr, .limits__model .nobr { display: contents; } /* текст остаётся одним куском внутри чипа, пробел перед ним не теряется */
