/* 1RoboMarket — карточка модели (Ш-07). Подключать после css/styles.css и css/catalog.css.
   Страница-образец: robots-pudu-cc1.html. Здесь: первый экран модели, режимы, характеристики с H3-группами,
   «подходящие объекты», сильные стороны и ограничения рядом, навигация на ночной панели,
   цикл док-станции, сравнение на всю ширину, сценарий демонстрации. */

/* ---------- первый экран модели: робот крупно на лавандовой плитке ---------- */
.hero-product { position: relative; }
/* порядок на телефоне: заголовок → робот → факты и действия; на компьютере робот справа на обе строки */
.hero-product__grid { grid-template-areas: "head" "object" "body"; }
.hero-product__head { grid-area: head; min-width: 0; }
.hero-product__object { grid-area: object; }
.hero-product__body { grid-area: body; min-width: 0; }
.hero-product__body .hero-product__facts { margin-top: 0; }
/* polish 14.10.2026 (пункт 81, выбор А): с 760 px две колонки — на планшете текст, цена и кнопки слева, панель с роботом справа около 300 px */
@media (min-width: 760px) {
  .hero-product__grid { grid-template-areas: "head object" "body object"; grid-template-rows: auto 1fr; align-items: start; row-gap: clamp(20px, 2.4vw, 32px); }
  .hero-product__object { align-self: center; }
}
@media (min-width: 760px) and (max-width: 959px) {
  .hero-product__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: 32px; }
  .hero-product__tile { margin-top: 10%; }
  /* «робот-поломойщик» целиком помещается в текстовую колонку и не рвётся по дефису */
  main .hero-product h1 { font-size: min(var(--hero-h1), 4.4vw); }
}
@media (max-width: 639px) {
  .hero-product__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-product__fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero-product__tile { margin-top: 8%; }
}
.hero-product .crumbs { margin-bottom: clamp(10px, 1.4vw, 20px); }
/* polish 14.10.2026 (пункт 76): H1 шириной с лид под ним (54ch лида ≈ 29,5 его кегля), на 768 и уже — на всю колонку */
.hero-product h1 { font-size: clamp(2.125rem, 1.15rem + 2.6vw, 3.875rem); max-width: calc(var(--t-lead-size) * 29.5); }
@media (max-width: 768px) { .hero-product h1 { max-width: none; } }
.hero-product__brand { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.hero-product__brand a { text-decoration: none; font-weight: 650; color: var(--c-ink); }
.hero-product__brand a:hover { color: var(--c-violet); }
.hero-product__brand span + span::before { content: "·"; margin-right: 14px; color: var(--c-ink-muted); }
.hero-product__fact dd { margin: 0; }
.hero-product__fact .unverified { margin-top: 2px; }
.hero-product__price { display: grid; gap: 2px; }
.hero-product__price .t-data { font-size: 1.125rem; }
.hero-product__price small { color: var(--c-ink-muted); font-size: .8125rem; }
.hero-product__tile {
  background:
    radial-gradient(56% 34% at 50% 84%, #FFFFFF 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(70% 60% at 80% 10%, rgba(159, 117, 255, .32), rgba(159, 117, 255, 0) 70%),
    var(--c-lavender-tile);
}
.hero-product__robot::after { left: 16%; right: 16%; bottom: -2%; height: 8%; background: radial-gradient(closest-side, rgba(20, 18, 43, .34), rgba(20, 18, 43, 0)); }
.hero-product__tag {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  box-shadow: var(--shadow-rest);
  font-size: .8125rem;
  font-weight: 600;
}
.hero-product__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-aqua); }

/* ---------- назначение и режимы ---------- */
.modes { display: grid; gap: 0; margin-top: 12px; }
.modes li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; padding: 12px 0; border-top: 1px solid rgba(113, 55, 237, .16); }
.modes li:first-child { border-top: 0; padding-top: 4px; }
.modes .checklist__icon { grid-row: span 2; margin-top: 2px; }
.modes__name { font-weight: 650; }
.modes__text { grid-column: 2; color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.45; }
.rtext__aside .unverified { margin-top: 12px; }

/* ---------- характеристики ---------- */
.spec-intro { display: flex; gap: 10px; align-items: flex-start; max-width: 86ch; margin-bottom: var(--s-5); color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.55; }
.spec-intro .i { margin-top: 2px; color: var(--c-violet); }
.spec__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.spec__row dd { text-align: left; }
@media (max-width: 479px) {
  .spec__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
.spec__row dd .spec__flag { margin-left: 8px; }
.spec__row dd .spec__src { margin-top: 3px; }
/* polish 14.10.2026 (пункт 79, выбор Б): группы сеткой в две колонки, карточки одного ряда одной высоты, порядок групп прежний (слева направо) */
@media (min-width: 960px) {
  .spec--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}

/* ---------- подходящие объекты ---------- */
.fit { display: grid; gap: var(--grid-gap); align-items: start; }
.fit__list { padding: 4px var(--panel-pad); border-radius: var(--r-xl); background: var(--c-surface); box-shadow: var(--shadow-rest); }
.fit__row { display: grid; gap: 6px 28px; padding: 20px 0; border-top: 1px solid var(--c-line); }
.fit__row:first-child { border-top: 0; }
.fit__name { align-self: start; }
.fit__name a { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.fit__name a::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--c-violet); -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.fit__name a:hover { color: var(--c-violet-deep); }
.fit__why { line-height: 1.5; }
.fit__check { color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.5; }
.fit__check b { color: var(--c-ink); font-weight: 600; }
.alt-box { display: grid; gap: 4px; padding: var(--panel-pad); border-radius: var(--r-xl); background: var(--c-lavender-tile); }
.alt-box__item { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid rgba(113, 55, 237, .18); }
.alt-box__item:first-of-type { border-top: 0; }
.alt-box__when { color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.45; }
.alt-box__item .link-more { min-height: 40px; white-space: normal; }
@media (min-width: 760px) {
  .fit__row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 5fr); }
}
@media (min-width: 1100px) {
  .fit { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* ---------- сильные стороны и ограничения рядом ---------- */
.proscons { display: grid; gap: var(--grid-gap); align-items: stretch; }
.proscons h2 { margin-bottom: 20px; font-size: var(--t-section-size); scroll-margin-top: 120px; } /* кегль как у всех заголовков разделов (polish 14.10.2026, пункт 37) */
.proscons .checklist__list li { line-height: 1.5; }
.proscons .checklist__list b { font-weight: 650; }
.proscons__src { margin-top: 18px; }
@media (min-width: 960px) {
  .proscons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- навигация на ночной панели: проверочный лист справа ---------- */
.checkpanel { padding: clamp(20px, 2.4vw, 32px); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); background: var(--c-night-raised); }
.checkpanel__list { display: grid; margin-top: 8px; }
.checkpanel__list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.checkpanel__list li:first-child { border-top: 0; }
.checkpanel__what { color: var(--c-surface); font-weight: 600; }
.checkpanel__how { color: var(--c-on-night-muted); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 960px) {
  .nband--split .nband__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
}

/* ---------- цикл док-станции ---------- */
.cycle { display: grid; gap: 12px; margin-top: 8px; counter-reset: none; }
.cycle__step { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 20px 22px; border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--shadow-rest); }
.cycle__step p:last-child { color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.5; }
.cycle__step .t-title { font-size: 1.125rem; }
.cycle__src { margin-top: 12px; }
@media (min-width: 760px) {
  .cycle { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .cycle__step + .cycle__step::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: var(--c-violet);
    -webkit-mask: var(--i-arrow) center / contain no-repeat;
    mask: var(--i-arrow) center / contain no-repeat;
  }
}
.svc { display: grid; gap: var(--grid-gap); margin-top: var(--grid-gap); }
.svc__box { padding: var(--panel-pad); border-radius: var(--r-xl); background: var(--c-surface); box-shadow: var(--shadow-rest); }
.svc__box--lav { background: var(--c-lavender-tile); box-shadow: none; }
.svc__box .t-title { margin-bottom: 14px; }
@media (min-width: 960px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- сравнение на всю ширину ---------- */
.cmp--wide .cmp__corner { border-top: 0; }
/* polish 14.10.2026 (пункт 10): до 759 px ширину колонки параметров задаёт прокручиваемая таблица (styles.css) */
@media (min-width: 760px) { .cmp--wide .cmp__corner { width: 22%; } }
.cmp--wide .cmp__tile { height: clamp(120px, 12vw, 180px); }
.cmp--wide .cmp__model--self .cmp__tile { background: color-mix(in srgb, var(--c-lavender-tile), var(--c-violet) 12%); }
.cmp-pairs--cols { margin-top: var(--s-6); }
/* polish 14.10.2026 (пункт 21): своего кегля значений на телефоне нет — общий 16 px из styles.css */
@media (min-width: 900px) {
  .cmp-pairs--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--grid-gap); border-top: 0; }
  .cmp-pairs--cols li { border-top: 1px solid var(--c-line); }
}

/* ---------- кейс и видео: шаги демонстрации с номерами в ряд, под ними — что снять на видео (29.10.2026, выбор А) ---------- */
.demo { display: grid; gap: var(--grid-gap); }
.demo .steps { margin: 0; counter-reset: demo; }
.demo .steps__item { counter-increment: demo; padding-top: 24px; }
.demo .steps--ordered .steps__item::before { content: counter(demo, decimal-leading-zero); position: static; width: auto; height: auto; margin-bottom: 6px; border-radius: 0; background: none; opacity: 1; color: var(--c-violet); font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.demo__video { display: grid; gap: 14px; padding: var(--panel-pad); border-radius: var(--r-xl); background: var(--c-lavender-tile); }
.demo__video .checklist__list li { line-height: 1.45; }
@media (min-width: 960px) {
  .demo__video { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--grid-gap); align-items: start; }
  .demo__video .checklist__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px var(--grid-gap); }
}
@media (min-width: 1100px) {
  .demo .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- FAQ модели: одна колонка ---------- */
.faq--narrow { max-width: 920px; }

/* ---------- polish 14.10.2026: характеристики — значение на одной линии с подписью, кегль и интерлиньяж как у данных (пункт 78) ---------- */
.spec__row { align-items: baseline; }
.spec__row dd { font-size: var(--t-data-size); line-height: var(--t-data-lh); }

/* ---------- polish 14.10.2026: первый экран модели — скруглённая лавандовая панель, как на остальных внутренних страницах (пункт 20, выбор А) ---------- */
/* панель — общий .hero-page--tile.panel (catalog.css, styles.css); плитка робота светлее панели, как плитки моделей на первом экране сравнения пары */
.hero-product.hero-page--tile .hero-product__tile {
  background:
    radial-gradient(60% 34% at 50% 88%, #FFFFFF 0%, rgba(255, 255, 255, 0) 72%),
    #F7F5FE;
  box-shadow: 0 24px 48px -30px rgba(90, 34, 211, .5);
}
