/* ===== Шрифты (локально): Onest для заголовков, Inter для текста ===== */
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Токены: светло-серая гамма + мягкий жёлтый акцент ===== */
:root {
  --page: #f7f5ef;           /* фон страницы */
  --band: #efebe0;           /* полосы-панели */
  --card: #ffffff;
  --card-2: #f1ede2;
  --ink: #1f1f1f;
  --ink-2: #555555;
  --ink-3: #85817a;
  --mute: #b8975a;           /* вторая строка заголовков: золото логотипа */
  --line: #e3ddcd;
  --accent: #f7d84f;         /* вариант B «чище» */
  --accent-2: color-mix(in srgb, var(--accent), #000 8%);  /* жёлтый при наведении */
  --gold: #CBAC6E;           /* цвет логотипа */
  --error: #b42318;

  --font-head: "Onest", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 14px; --r-md: 20px; --r-card: 28px; --r-panel: 40px; --r-pill: 16px; --r-ctl: 16px; --r-chip: 10px; --r-ic: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -22px rgba(0, 0, 0, .2);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .04), 0 40px 80px -32px rgba(0, 0, 0, .3);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: clamp(16px, 2vw, 36px);  /* края шапки, первого экрана и панелей */
  --header-h: 76px;
  --section: clamp(72px, 8vw, 120px);
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { left: 16px; }

/* Иконки: svg-файлы через маску, красятся currentColor */
.ic {
  display: inline-block; width: 1.25em; height: 1.25em; flex: none;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}

/* ===== Общие элементы секций ===== */
.sec { padding: var(--section) 0; }
.panel { margin-inline: var(--edge); border-radius: var(--r-panel); background: var(--band); }
.sec + .sec.panel, .panel + .sec { margin-top: 0; }
.sec-head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--center .h2, .sec-head--center .sec-lead { margin-inline: auto; }
.sec-head--split { grid-template-columns: 1fr auto; align-items: end; }
.sec-head--split > div:first-child { display: grid; gap: 18px; justify-items: start; }
.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--r-chip);
  gap: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); flex: none; }
.tag--light { background: #fff; }
.h2 {
  font: 500 clamp(32px, 3.6vw, 56px)/1.04 var(--font-head);
  letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance;
}
.mute { color: var(--mute); }
.sec-lead { color: var(--ink-3); font-size: 16px; line-height: 1.55; max-width: 46ch; text-wrap: pretty; }
.chip {
  display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: var(--r-chip);
  background: color-mix(in srgb, var(--accent) 34%, #fff); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.chip--accent { background: var(--accent); color: var(--ink); }
.hub__item.is-active .chip { background: var(--accent); }

/* ===== Кнопки: таблетки ===== */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 26px; border-radius: var(--r-pill);
  font: 500 15px/1 var(--font-body); white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border: 1px solid rgba(0, 0, 0, .14); color: var(--ink); background: transparent; }
.btn--ghost .ic { margin-right: -4px; }
/* кнопка с кружком-иконкой справа, как в референсе */
.btn--icon { padding: 0 6px 0 26px; justify-content: space-between; gap: 22px; }
.btn--icon.btn--block { padding-left: 26px; }
.btn__circle {
  display: grid; place-items: center; width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 11px;
  background: #fff; color: var(--ink); transition: transform .35s var(--ease-out);
}
.btn--dark .btn__circle { background: var(--accent); }
.btn__circle .ic { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-2); }
  .btn--dark:hover { background: #000; }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn--icon:hover .btn__circle { transform: rotate(45deg); }
}

/* Стрелка, которая «проезжает» насквозь при наведении */
.arrow__glyph { position: relative; display: block; width: 20px; height: 20px; overflow: hidden; }
.arrow__glyph .ic { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .45s var(--ease-out); }
.arrow__glyph .ic:last-child { transform: translateX(-130%); }
@media (hover: hover) and (pointer: fine) {
  .arrow:hover .arrow__glyph .ic:first-child { transform: translateX(130%); }
  .arrow:hover .arrow__glyph .ic:last-child { transform: translateX(0); }
}

/* ===== Шапка: логотип + белые таблетки ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--ink); }
.header__bar {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding-inline: var(--edge);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled .header__bar {
  background: rgba(244, 244, 244, .82);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.header__logo { justify-self: start; }
.header__logo img { width: 190px; height: auto; transition: width .3s var(--ease-out); }
.header.is-scrolled .header__logo img { width: 168px; }
/* белая полупрозрачная таблетка: не сереет поверх баннера */
.pill-group {
  display: flex; align-items: center; height: 46px; padding: 4px; border-radius: var(--r-ctl);
  background: rgba(255, 255, 255, .78); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  background-clip: padding-box; border: 0; box-shadow: none;
}
.header.is-scrolled .pill-group { background: #fff; }
.header__menu { gap: 2px; }
.header__menu a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 12px;
  font-size: 14px; font-weight: 500; transition: background-color .2s ease;
}
.header__menu a.is-active { background: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .header__menu a:not(.is-active):hover { background: rgba(0, 0, 0, .05); }
}
.header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header__cta { gap: 4px; }
.header__phone { display: inline-flex; align-items: center; height: 38px; white-space: nowrap; gap: 8px; padding: 0 14px 0 12px; border-radius: 12px; font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; transition: background-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .header__phone:hover { background: rgba(0, 0, 0, .05); } }
.header__phone .ic { opacity: .7; }
.header__actions .btn { --h: 38px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.header__burger { display: none; width: 46px; height: 46px; border-radius: var(--r-ic); place-items: center; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.header__burger .ic { width: 22px; height: 22px; }
.mobile-menu {
  display: grid; gap: 2px; margin: 0 var(--edge); padding: 8px 20px 16px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.mobile-menu a { padding: 13px 4px; font: 500 20px/1.2 var(--font-head); border-bottom: 1px solid var(--line); }
.mobile-menu__phone { border-bottom: 0 !important; }

/* ===== Первый экран: баннер на всю ширину (без изменений по макету) ===== */
.hero { position: relative; height: min(50vw, 100svh); min-height: 560px; overflow: hidden; background: var(--band); color: var(--ink); isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* листание: слайды сдвигаются по горизонтали, как страницы */
.hero__slide { position: absolute; inset: 0; transform: translateX(100%); visibility: hidden; }
.hero__slide.is-active { transform: none; visibility: visible; }
.hero__slide.is-moving { visibility: visible; transition: transform .7s var(--ease-in-out); }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; object-position: center top; }

.hero__content { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 10%); max-width: none; padding-inline: var(--edge); color: var(--hero-ink, var(--ink)); text-shadow: var(--hero-shadow, none); transition: color .35s ease; }
.hero__kicker { font-size: 16px; font-weight: 500; color: var(--hero-ink2, var(--ink-2)); margin-bottom: 16px; transition: color .35s ease; }
.hero__caption { max-width: 680px; }
/* текст выезжает из маски: строки обрезаны по своему блоку и поднимаются снизу */
.hero__name { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__text { overflow: hidden; padding-bottom: 4px; margin-bottom: -4px; }
.hero__line { display: block; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.hero__text .hero__line { transition-delay: .09s; }
.hero__caption.is-out .hero__line { transform: translateY(-110%); transition: transform .32s cubic-bezier(.5, 0, .75, 0); transition-delay: 0s; }
.hero__caption.is-pre .hero__line { transform: translate(calc(var(--dx, 0) * 1px), 110%); transition: none; }
.hero__name { font: 500 clamp(48px, 5.6vw, 96px)/1 var(--font-head); text-wrap: balance; letter-spacing: -0.04em; }
.hero__text { margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--hero-ink2, var(--ink-2)); max-width: 34ch; text-wrap: pretty; transition: color .35s ease; }

.arrow {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-ic); color: var(--ink);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .2s ease, transform .16s var(--ease-out), color .2s ease, opacity .2s ease;
}
.arrow .arrow__glyph { width: 20px; height: 20px; }
.arrow--prev .arrow__glyph { transform: scaleX(-1); }
.arrow--side { position: absolute; top: 58%; margin-top: -23px; }
.arrow--side.arrow--prev { left: var(--edge); }
.arrow--side.arrow--next { right: var(--edge); }
.arrow:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .arrow:hover { background: var(--ink); color: #fff; }
}

/* Бегущая строка плашек внизу первого экрана */
.hero__marquee { position: absolute; left: 0; right: 0; bottom: 28px; overflow: hidden; }
.hero__marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.hero__marquee:hover .hero__marquee-track { animation-play-state: paused; }
.hero__marquee-list { display: flex; gap: 14px; padding-right: 14px; }
.plate {
  flex: none; width: 300px; min-height: 86px; padding: 16px 22px; border-radius: var(--r-md);
  display: grid; align-content: center; gap: 4px; color: var(--ink);
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  transition: background-color .3s ease;
}
.plate span { font: 500 19px/1.15 var(--font-head); letter-spacing: -0.02em; }
.plate em { font-style: normal; font-size: 13px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .plate:hover { background: rgba(255, 255, 255, .9); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Появление текста первого экрана */
.js .hero__content > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease-out) forwards; }
.js .hero__content > :nth-child(3) { animation-delay: .1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ===== О мануфактуре: бенто ===== */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bcard {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px;
  padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r-card); background: var(--band); overflow: hidden;
}
.bcard__title { font: 500 clamp(22px, 1.8vw, 28px)/1.15 var(--font-head); letter-spacing: -0.025em; }
.bcard__text { color: var(--ink-3); font-size: 15px; max-width: 38ch; }
.bcard__big { margin-top: auto; font: 500 clamp(44px, 4.6vw, 72px)/1 var(--font-head); letter-spacing: -0.045em; }
.bcard__big .mute { font-size: .45em; letter-spacing: -0.02em; }
.bcard__body { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; flex: 1; }
.bcard--range { grid-column: span 8; flex-direction: row; padding-right: 0; }
.bcard--range .bcard__body { max-width: 46%; }
.bcard__packs { position: absolute; right: 0; bottom: 0; width: 56%; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bcard__packs img { position: relative; width: 38%; mix-blend-mode: multiply; margin-inline: -4%; transition: transform .6s var(--ease-out); }
.bcard__packs img:nth-child(2) { width: 44%; transform: translateY(-14%); }
.bcard--year { grid-column: span 4; }
.bcard--year .bcard__big { margin-top: auto; }
.bcard--geo { grid-column: span 4; background: var(--accent); }
.bcard--geo .bcard__text { color: rgba(31, 31, 31, .72); }
.bcard__check { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #fff; }
.bcard__check .ic { width: 18px; height: 18px; }
.bcard--certs { grid-column: span 8; flex-direction: row; padding-right: 0; }
.bcard--certs .bcard__body { max-width: 48%; }
.bcard--certs .btn { margin-top: auto; align-self: flex-start; }
.bcard__photo { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; border-radius: var(--r-card); overflow: hidden; }
.bcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .bcard--range:hover .bcard__packs img:nth-child(2) { transform: translateY(-20%); }
  .bcard--certs:hover .bcard__packs img:nth-child(2) { transform: translateY(-20%); }
}

/* ===== Торговые марки: 2 ряда по 5 ===== */
.brands { padding-top: 0; }
.brands__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.brand {
  display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 6% 10%; border-radius: var(--r-card);
  background: var(--card); transition: transform .4s var(--ease-out), box-shadow .3s ease;
}
.brand img { width: 100%; height: 100%; object-fit: contain; }
.brand--more { background: var(--accent); align-content: center; justify-items: start; gap: 6px; padding: 8% 10%; }
.brand--more { padding: 8% 7%; }
.brand--more p { font: 500 clamp(12px, 1.05vw, 16px)/1.2 var(--font-head); letter-spacing: -0.02em; white-space: nowrap; }
.brand--more b { font-weight: 500; font-size: 1.8em; letter-spacing: -0.04em; margin-right: 3px; }
@media (hover: hover) and (pointer: fine) {
  .brand:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}

/* ===== Топ-линейки: слайдер, уходящий за край панели ===== */
.lines { overflow: hidden; }
.lines__layout {
  display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start;
  padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter) - var(--edge));
}
.lines__head { display: grid; gap: 18px; justify-items: start; padding-top: 8px; }
.lines__head .h2 { font-size: clamp(32px, 3.2vw, 50px); }
.lines__nav { display: flex; gap: 8px; margin-top: 12px; }
.arrow--round { background: var(--card); width: 48px; height: 48px; }
.arrow--round:disabled { opacity: .45; cursor: default; }
.lines__viewport { min-width: 0; }
.lines__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 16px var(--edge) 16px 0; scrollbar-width: none; overscroll-behavior-x: contain;
}
.lines__track::-webkit-scrollbar { display: none; }
.lcard {
  flex: 0 0 clamp(260px, 24vw, 330px); scroll-snap-align: start; display: flex; flex-direction: column;
  padding: 8px; border-radius: var(--r-card); background: #f6f2e8; transition: transform .45s var(--ease-out);
}
.lcard__media { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; background: #e9e3d4; overflow: hidden; display: grid; place-items: center; }
/* мягкая тень «на полу» под товаром вместо белой капсулы */
.lcard__media::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 7%; height: 7%; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); }
.lcard__media img { position: relative; width: 82%; mix-blend-mode: multiply; }
.lcard__chips { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.lcard__chips .chip { background: rgba(255, 255, 255, .9); }
.lcard__chips .chip--accent { background: var(--accent); }
.lcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 10px 10px 14px; }
.lcard:not(.lcard--all) { cursor: pointer; }
.lcard h3 { font: 500 19px/1.2 var(--font-head); letter-spacing: -0.02em; }
.lcard p { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.lcard__btn {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-ic);
  background: #fff; color: var(--ink); transition: background-color .2s ease, transform .35s var(--ease-out);
}
.lcard__btn .ic { width: 20px; height: 20px; }
.lcard__btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .lcard:hover { transform: translateY(-6px); }
    .lcard:hover .lcard__btn { background: var(--accent); transform: rotate(45deg); }
}
.lcard--all { background: var(--ink); color: #fff; padding: 0; }
.lcard--all__inner { display: flex; flex-direction: column; align-items: flex-start; height: 100%; width: 100%; padding: 30px; border-radius: inherit; }
.lcard--all__big { font: 500 clamp(56px, 5vw, 80px)/1 var(--font-head); letter-spacing: -0.05em; color: var(--accent); }
.lcard--all__text { margin-top: 12px; font: 500 22px/1.2 var(--font-head); letter-spacing: -0.02em; max-width: 12ch; }
.lcard--all .lcard__btn { margin-top: auto; align-self: flex-end; background: var(--accent); }

/* ===== Условия и сервис: строки 01–04 + большая карточка ===== */
.seg { display: inline-flex; padding: 5px; gap: 4px; border-radius: var(--r-pill); background: var(--band); }
.seg__btn { height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.seg__btn.is-active { background: var(--accent); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .seg__btn:not(.is-active):hover { color: var(--ink); background: rgba(255, 255, 255, .6); } }
.cond__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.cond__list { display: grid; gap: 10px; animation: rise .45s var(--ease-out); }
.crow {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; width: 100%; height: 112px;
  padding: 0 28px 22px 24px; border-radius: var(--r-card); background: var(--band); overflow: hidden;
  transition: background-color .3s ease;
}
/* крупная цифра, обрезанная снизу, как в референсе */
.crow__num {
  align-self: flex-end; margin-bottom: -46px;
  font: 400 104px/1 var(--font-head); letter-spacing: -0.06em; color: rgba(0, 0, 0, .07);
  transition: color .35s ease, transform .5s var(--ease-out);
}
.crow__title { font: 500 clamp(18px, 1.5vw, 22px)/1.2 var(--font-head); letter-spacing: -0.02em; color: var(--ink-2); text-align: right; transition: color .3s ease; }
.crow.is-active { background: var(--card); box-shadow: var(--shadow-sm); }
.crow.is-active .crow__num { color: var(--ink); transform: translateY(-6px); }
.crow.is-active .crow__title { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .crow:not(.is-active):hover .crow__num { color: rgba(0, 0, 0, .16); } }
.cond__panel { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-card); background: var(--card); }
.cond__photo { position: relative; flex: 1; min-height: 300px; border-radius: 22px; overflow: hidden; background: var(--band); }
.cond__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 100%); }
.cond__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.cond__title {
  position: absolute; left: 28px; bottom: 26px; right: 44%; z-index: 1; color: #fff;
  font: 500 clamp(28px, 2.8vw, 44px)/1.05 var(--font-head); letter-spacing: -0.035em; text-wrap: balance;
  transition: opacity .25s ease, transform .25s var(--ease-out);
}
.cond__float {
  position: absolute; right: 18px; bottom: 18px; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 28px;
  width: min(220px, 40%); padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cond__float b { grid-column: 1 / -1; font: 500 30px/1 var(--font-head); letter-spacing: -0.04em; }
.cond__float span:not(.cond__tick) { font-size: 13px; color: var(--ink-3); }
.cond__tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); }
.cond__tick .ic { width: 14px; height: 14px; }
.cond__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 18px 10px; }
.cond__text { color: var(--ink-2); font-size: 15px; max-width: 42ch; transition: opacity .25s ease; }
.cond__panel.is-changing :is(.cond__title, .cond__text) { opacity: 0; }
.cond__panel.is-changing .cond__photo img { opacity: 0; }
.cond__panel.is-changing .cond__title { transform: translateY(8px); }

/* ===== Прайс ===== */
.price__inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; }
.price__body { display: grid; gap: 20px; justify-items: start; }
.price__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.price__packs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.price__packs img { position: relative; width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.35); }
.price__packs img:nth-child(even) { transform: scale(1.35) translateY(-12px); }

/* ===== Составы: раскрывающиеся карточки ===== */
.hub { display: flex; gap: 12px; height: 440px; }
.hub__item {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px;
  padding: 10px; border-radius: var(--r-card); background: var(--card); overflow: hidden; cursor: pointer; outline-offset: -2px;
  transition: flex-grow .6s var(--ease-out), background-color .3s ease;
}
.hub__item.is-active { flex-grow: 2.8; cursor: default; }
.hub__media { height: 150px; border-radius: 20px; overflow: hidden; flex: none; transition: height .6s var(--ease-out); }
.hub__item:not(.is-active) .hub__media img { filter: saturate(.85); }
.hub__item.is-active .hub__media { height: 240px; }
.hub__media img { width: 100%; height: 100%; object-fit: cover; }
.hub__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 6px 10px 12px; min-width: 0; }
.hub__body .chip { align-self: flex-start; }
.hub__body h3 { margin-top: auto; font: 500 clamp(16px, 1.25vw, 19px)/1.15 var(--font-head); letter-spacing: -0.02em; }
.hub__item:not(.is-active) .hub__body { padding-inline: 4px; }
.hub__body p { color: var(--ink-3); font-size: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: opacity .3s ease; }
.hub__item.is-active .hub__body h3 { margin-top: 0; font-size: clamp(24px, 2.2vw, 34px); }
.hub__item.is-active .hub__body p { max-height: 5em; opacity: 1; transition-delay: .2s; }
@media (hover: hover) and (pointer: fine) { .hub__item:not(.is-active):hover { background: #fafafa; } }
.free { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 14px 14px 22px; border-radius: var(--r-md); background: #fbf0ee; box-shadow: inset 0 0 0 1px rgba(176, 72, 62, .14); }
.free__label { display: inline-flex; align-items: center; gap: 10px; font: 500 17px/1.2 var(--font-head); letter-spacing: -0.02em; color: #9c443c; }
.free__label::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #c9615a center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3.5 3.5l9 9M12.5 3.5l-9 9'/%3E%3C/svg%3E"); }
.free__list { display: flex; flex-wrap: wrap; gap: 6px; }
.free__list li { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--r-chip); background: #fff; font-size: 14px; font-weight: 500; color: #9c443c; box-shadow: inset 0 0 0 1px rgba(176, 72, 62, .18); }

/* ===== Как начать: 4 шага с крупными цифрами ===== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px 26px 0; border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.step h3 { font: 500 22px/1.2 var(--font-head); letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.step__num {
  order: 3; margin-top: auto; margin-bottom: -0.3em;
  font: 400 clamp(110px, 10vw, 150px)/1 var(--font-head); letter-spacing: -0.07em; color: rgba(0, 0, 0, .07);
  transition: color .4s ease, transform .6s var(--ease-out);
}
.step--accent { background: var(--accent); }
.step--accent p { color: rgba(31, 31, 31, .7); }
.step--accent .step__num { color: rgba(0, 0, 0, .14); }
@media (hover: hover) and (pointer: fine) {
  .step:hover .step__num { color: var(--ink); transform: translateY(-8px); }
}

/* ===== Заявка ===== */
.request__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.request__info { display: grid; gap: 18px; justify-items: start; }
.request__points { margin-top: 10px; display: grid; gap: 12px; }
.request__points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--accent); color: var(--ink); flex: none; }
.tick .ic { width: 15px; height: 15px; }
.request__card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); }

.lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input {
  height: 54px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--page);
  font: 400 16px var(--font-body); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder { color: #7a7a7a; }
.field input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 55%, transparent); }
.field.is-invalid input { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.field__error { font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.check { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: -1px 0 0; border-radius: 7px; border: 1.5px solid #b9b9b9; background: #fff center / 14px no-repeat; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .16s var(--ease-out); }
.check:checked { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f1f1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E"); }
.check:active { transform: scale(.92); }
.check:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .check:not(:checked):hover { border-color: var(--ink); } }
.form-status { font-size: 14px; color: var(--error); }
.form-status:empty { display: none; }
.lead-form.is-loading button[type="submit"] { pointer-events: none; opacity: .75; }

.form-done { display: grid; justify-items: start; gap: 12px; padding: 8px 0; animation: rise .5s var(--ease-out); }
.form-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-ic); background: var(--accent); color: var(--ink); }
.form-done__icon .ic { width: 28px; height: 28px; }
.form-done h3 { font: 500 28px/1.1 var(--font-head); letter-spacing: -0.03em; }
.form-done p { color: var(--ink-2); }

/* ===== Подвал ===== */
.footer { margin-bottom: var(--edge); padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand { display: grid; gap: 26px; justify-items: start; }
.footer__brand img { width: 190px; }
.footer__claim { font: 500 clamp(30px, 3.4vw, 52px)/1.05 var(--font-head); letter-spacing: -0.035em; max-width: 14ch; }
.footer__col { display: grid; gap: 10px; font-size: 15px; }
.footer__h { font: 500 18px/1.2 var(--font-head); margin-bottom: 8px; }
.footer__col a { color: var(--ink-3); transition: color .2s ease; width: fit-content; }
.footer__col .footer__phone { font: 500 20px var(--font-head); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--ink); } }
.footer__bottom { margin-top: 56px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-3); background: linear-gradient(rgba(0, 0, 0, .08), rgba(0, 0, 0, .08)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* ===== Модалка ===== */
.modal {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 36px; border: 0; border-radius: var(--r-card);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  opacity: 1; transform: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), overlay .25s allow-discrete, display .25s allow-discrete;
}
.modal::backdrop { background: rgba(20, 20, 20, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .25s ease, overlay .25s allow-discrete, display .25s allow-discrete; }
.modal:not([open]) { opacity: 0; transform: translateY(8px) scale(.97); }
@starting-style {
  .modal[open] { opacity: 0; transform: translateY(8px) scale(.97); }
  .modal[open]::backdrop { opacity: 0; }
}
.modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-ic); background: var(--page); transition: background-color .2s ease, transform .16s var(--ease-out); }
.modal__close:active { transform: scale(.94); }
.modal__close .ic { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .modal__close:hover { background: var(--band); } }
.modal__title { font: 500 28px/1.1 var(--font-head); letter-spacing: -0.03em; padding-right: 48px; text-wrap: balance; }
.modal__lead { margin: 10px 0 24px; color: var(--ink-3); font-size: 15px; }
.modal .request__card { padding: 0; box-shadow: none; }

/* ===== Появление при прокрутке ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ===== Адаптив ===== */
@media (max-width: 1320px) {
  .header__phone span:last-child { display: none; }
  .header__phone { width: 38px; justify-content: center; padding: 0; }
}
@media (max-width: 1100px) {
  .header__menu { display: none; }
  .header__bar { grid-template-columns: 1fr auto; }
  .header__burger { display: grid; }
  .bcard--range, .bcard--certs { grid-column: span 12; }
  .bcard--year, .bcard--geo { grid-column: span 6; }
  .lines__layout { grid-template-columns: 1fr; padding-left: var(--gutter); }
  .cond__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub { height: 400px; }
  .hub__item.is-active .hub__media { height: 200px; }
}
@media (max-width: 900px) {
  .price__inner { grid-template-columns: 1fr; }
  .request__grid { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; --r-panel: 28px; --r-card: 22px; }
  .header__bar { gap: 8px; }
  .header.is-scrolled .header__bar, .header__bar { background: rgba(244, 244, 244, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .header__logo img, .header.is-scrolled .header__logo img { width: 160px; }
  .header__actions .btn { display: none; }
  .header__phone { width: 38px; height: 38px; }
  .header__burger { width: 46px; height: 46px; background: #fff; }

  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; background: var(--page); padding-top: var(--header-h); }
  .hero__slides { position: relative; inset: auto; aspect-ratio: 4 / 5; flex: none; }
  .hero__slide img { object-position: 50% top; }
  .hero__content { position: static; padding-top: 22px; padding-inline: var(--gutter); }
  .hero { --hero-ink: var(--ink) !important; --hero-ink2: var(--ink-2) !important; --hero-shadow: none !important; }
  .hero__kicker { font-size: 12px; margin-bottom: 8px; }
  .hero__name { font-size: 36px; }
  .hero__text { margin-top: 8px; font-size: 15px; }
  .arrow--side { width: 46px; height: 46px; margin-top: -23px; top: calc(var(--header-h) + 62.5vw); }
  .arrow--side.arrow--prev { left: 12px; }
  .arrow--side.arrow--next { right: 12px; }
  .hero__marquee { position: static; margin-top: 20px; padding-bottom: 8px; }
  .plate { width: 240px; min-height: 72px; padding: 12px 16px; background: var(--card); }
  .plate span { font-size: 17px; }

  .panel { margin-inline: 8px; }
  .bcard { min-height: 0; }
  .bcard--year, .bcard--geo { grid-column: span 12; }
  .bcard--range, .bcard--certs { flex-direction: column; padding-right: clamp(24px, 2.4vw, 34px); }
  .bcard--range .bcard__body, .bcard--certs .bcard__body { max-width: none; }
  .bcard__packs { position: relative; width: 100%; height: 200px; }
  .brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand { border-radius: 18px; }
  .lines__track { padding-right: var(--gutter); }
  .lcard { flex-basis: 76vw; }
  .crow { height: 92px; padding: 0 18px 18px 16px; }
  .crow__num { font-size: 80px; margin-bottom: -36px; }
  .cond__photo { min-height: 260px; }
  .cond__title { right: 24px; bottom: 96px; left: 20px; font-size: 28px; }
  .cond__float { left: 14px; right: 14px; width: auto; bottom: 14px; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; }
  .cond__float b { grid-column: auto; font-size: 22px; }
  .cond__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .seg { width: 100%; }
  .seg__btn { flex: 1; padding: 0 10px; font-size: 13px; }
  .free { border-radius: var(--r-card); padding: 18px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 220px; }
  .price__packs { margin-top: 20px; }
  .modal { padding: 28px 22px; }
  .footer { margin-bottom: 8px; }
  .footer__row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__marquee-track { animation: none; }
  .hero__marquee { overflow-x: auto; }
}

/* Прайс: баннер — часть панели. Квадратные варианты вплотную к верху, низу и правому краю, левый край растворяется в «свет стены» */
.price { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: clamp(520px, 40vw, 780px); }
.price:has(.is-wide) { min-height: calc(35.7vw + 28px); }
.price__inner { grid-template-columns: 1fr; width: 100%; }
.price__body { max-width: min(37%, 500px); }
.price__banner { position: absolute; z-index: -1; right: 0; bottom: 0; margin: 0; }
.price__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.price__banner.is-wide { width: 64%; aspect-ratio: 1900 / 1110; }
.price__banner.is-sq { top: 0; height: 100%; width: auto; aspect-ratio: 1 / 1; }
.price__banner.is-r { top: 0; height: 100%; width: auto; aspect-ratio: 1800 / 1207; }
.price:has(.is-r) { min-height: clamp(440px, 36vw, 760px); }
.price__banner.is-sq img, .price__banner.is-r img { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.02) 5%, rgba(0,0,0,.08) 11%, rgba(0,0,0,.2) 18%, rgba(0,0,0,.4) 26%, rgba(0,0,0,.62) 34%, rgba(0,0,0,.82) 43%, rgba(0,0,0,.95) 52%, #000 62%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.02) 5%, rgba(0,0,0,.08) 11%, rgba(0,0,0,.2) 18%, rgba(0,0,0,.4) 26%, rgba(0,0,0,.62) 34%, rgba(0,0,0,.82) 43%, rgba(0,0,0,.95) 52%, #000 62%); }
.price__banner.is-sq::before, .price__banner.is-r::before { content: ""; position: absolute; top: 0; bottom: 0; right: 60%; width: 34vw; background: linear-gradient(90deg, transparent 0, color-mix(in srgb, var(--edge) 12%, transparent) 20%, color-mix(in srgb, var(--edge) 40%, transparent) 45%, color-mix(in srgb, var(--edge) 75%, transparent) 72%, var(--edge) 100%); }

/* Сертификаты и ассортимент: баннер в карточке, левый край растворяется плавно */
.bcard--certs, .bcard--range { position: relative; }
.bcard__cert, .bcard__range { --edge: #f0dcc1; position: absolute; top: 0; right: 0; bottom: 0; aspect-ratio: 1 / 1; }
.bcard__range { aspect-ratio: 1800 / 1207; }
.bcard__cert img, .bcard__range img { width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .04) 6%, rgba(0, 0, 0, .16) 14%, rgba(0, 0, 0, .42) 25%, rgba(0, 0, 0, .75) 38%, #000 54%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .04) 6%, rgba(0, 0, 0, .16) 14%, rgba(0, 0, 0, .42) 25%, rgba(0, 0, 0, .75) 38%, #000 54%); }
.bcard__cert::before, .bcard__range::before { content: ""; position: absolute; top: 0; bottom: 0; right: 50%; width: 26vw; background: linear-gradient(90deg, transparent, var(--edge) 70%); }
.bcard--range .bcard__body { max-width: 40%; }

@media (max-width: 900px) {
  .price, .price:has(.is-wide) { display: block; min-height: 0; }
  .price__inner { padding-top: min(84vw, 520px); }
  .price:has(.is-wide) .price__inner { padding-top: min(58vw, 380px); }
  .price__body { max-width: none; }
  .price__banner { top: 0; left: 0; right: 0; bottom: auto; width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .price__banner.is-sq, .price__banner.is-r { height: auto; }
  .price__banner.is-sq::before, .price__banner.is-r::before { display: none; }
  .price__banner.is-sq img, .price__banner.is-r img { -webkit-mask-image: none; mask-image: none; }
  .price:has(.is-r) .price__inner { padding-top: calc(66vw - 14px); }
}
@media (max-width: 760px) {
  .bcard--certs, .bcard--range { padding-bottom: 0; }
  .bcard__cert, .bcard__range { position: relative; top: auto; right: auto; bottom: auto; width: auto; margin: 6px calc(-1 * clamp(24px, 2.4vw, 34px)) 0; }
  .bcard__cert::before, .bcard__range::before { display: none; }
  .bcard__cert img, .bcard__range img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
  .bcard--range .bcard__body { max-width: none; }
  .bcard--certs .bcard__body, .bcard--range .bcard__body { gap: 16px; }
  .bcard--certs .btn, .bcard--range .btn { margin-top: 14px; margin-bottom: 26px; }
  .bcard__cert { aspect-ratio: 4 / 3; margin-top: 0; }
  .bcard__cert img { object-position: 50% 100%; }
  .bcard__range { margin-top: 0; }
  /* «Составы» на телефоне: аккордеон, нажал на строку — раскрылась */
  .hub { flex-direction: column; height: auto; gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .hub__item, .hub__item.is-active { flex: none; position: relative; display: flex; padding: 8px; gap: 0; cursor: pointer; }
  .hub__item:not(.is-active) { flex-direction: row; align-items: center; gap: 12px; padding-right: 56px; }
  .hub__item:not(.is-active) .hub__media { width: 64px; height: 64px; border-radius: 14px; }
  .hub__item.is-active .hub__media { width: 100%; height: 190px; }
  .hub__item:not(.is-active) .hub__body { padding: 0; gap: 4px; flex: 1; }
  .hub__item:not(.is-active) .hub__body h3 { margin-top: 0; font-size: 17px; }
  .hub__item:not(.is-active) .hub__body p { display: none; }
  .hub__item.is-active .hub__body { padding: 14px 8px 8px; }
  .hub__item.is-active .hub__body h3 { font-size: 24px; margin-top: 0; }
  .hub__item:not(.is-active)::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 10px; background: var(--card-2); display: grid; place-items: center; font: 500 22px/1 var(--font-body); color: var(--ink); }
  .crow { height: 74px; align-items: center; padding: 0 18px 0 14px; }
  .crow__num { font-size: 62px; margin-bottom: -30px; align-self: flex-end; }
  .arrow--side { width: 56px; height: 56px; margin-top: -28px; }
  .arrow--round { width: 54px; height: 54px; }
  .brand--more p { white-space: normal; font-size: 15px; }
}

/* ВРЕМЕННО: переключатель вариантов формы для согласования (удалить вместе с блоком в main.js) */
.vform { position: fixed; left: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; gap: 6px; height: 40px; max-width: 40px; overflow: hidden; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); font-size: 12px; color: var(--ink-3); opacity: .6; white-space: nowrap; transition: max-width .35s ease, opacity .25s ease, background-color .25s ease; }
.vform__ico { flex: none; width: 32px; height: 32px; display: grid; place-items: center; font-size: 15px; color: var(--ink); cursor: pointer; border: 0; background: none; }
.vform.is-open { max-width: 480px; opacity: 1; background: #fff; box-shadow: var(--shadow-lg); }
.vform button:not(.vform__ico) { flex: none; height: 32px; padding: 0 12px; border-radius: 10px; border: 1.5px solid transparent; font-size: 12px; color: var(--ink); background: var(--page); cursor: pointer; }
.vform button.is-on { border-color: var(--ink); background: var(--accent); }
