/* ==========================================================================
   Fast Rent — design tokens
   ========================================================================== */

:root {
  /* color */
  --bg: #E8E1D4;            /* песочный глубже: на нём белая карточка читается как карточка */
  --bg-raised: #FFFFFF;
  --bg-sunken: #DCD3C2;     /* подложки внутри карточек: ценники, плашки */
  --bg-steel: #1A1D22;
  --bg-steel-raised: #2B2F35;
  --ink: #141517;
  --ink-soft: #54585E;
  --ink-faint: #5E6268;     /* было #9A9D9F — контраст 2.46, не читалось */
  --ink-on-steel: #F2F0EA;
  --ink-on-steel-soft: #A9ADB3;
  --line: #C3B7A1;          /* граница видна, а не угадывается */
  --line-steel: #383C42;
  --accent: #C2410C;        /* насыщеннее, заодно совпал с логотипом */
  --accent-deep: #8A2F08;   /* для текста по акценту: контраст 7.0 */
  --accent-tint: #FBE3D5;
  --accent-tint-steel: #4A3626;
  --good: #15706B;          /* бирюзовый вместо болотного — второй цвет палитры */
  --good-tint: #D2EDEA;

  /* type */
  --f-display: "Manrope", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* scale */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --gap: clamp(1.25rem, 2.5vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --container: 1220px;

  --shadow-card: 0 1px 2px rgba(20,21,23,0.06), 0 14px 30px -18px rgba(20,21,23,0.30);
  --shadow-raised: 0 10px 26px -12px rgba(20,21,23,0.38), 0 2px 8px rgba(20,21,23,0.14);

  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding: var(--section-pad) 0;
}
.section--steel {
  background: var(--bg-steel);
  color: var(--ink-on-steel);
}
.section--raised {
  background: var(--bg-raised);
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow::before {
  content: "";
  width: 1.4em;
  height: 1px;
  background: var(--accent);
}

h2.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-top: 0.6em;
  max-width: 20ch;
}
.section-lede {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 56ch;
  line-height: 1.65;
}
.section--steel .section-lede { color: var(--ink-on-steel-soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-deep); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--ghost-steel {
  background: transparent;
  border-color: var(--line-steel);
  color: var(--ink-on-steel);
}
.btn--ghost-steel:hover { border-color: var(--ink-on-steel); }

.btn--block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(27,28,30,0.02);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.main-nav a {
  font-size: 0.94rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--ink); }

/* выпадающие подменю: разделов стало больше, чем помещается в строку */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
}
.main-nav .has-sub > a::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.main-nav .has-sub:hover > a::after,
.main-nav .has-sub:focus-within > a::after { transform: translateY(0.05em) rotate(225deg); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: -0.9rem;
  min-width: 16rem;
  padding: 0.45rem;
  margin-top: 0.7rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-raised);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
/* мостик, чтобы меню не закрывалось в зазоре между ссылкой и панелью */
.sub-menu::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 0;
  right: 0;
  height: 0.9rem;
}
.main-nav .has-sub:hover .sub-menu,
.main-nav .has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-s);
  font-size: 0.91rem;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
}
.sub-menu a:hover {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.sub-menu a small {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}
.sub-menu a:hover small { color: var(--accent-deep); opacity: 0.75; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}
.header-phone__num {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}
.header-phone__hint {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* телефон + мессенджеры в шапке */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  line-height: 1.2;
}
.header-contact .header-phone__num { display: block; }

/* ссылки на мессенджеры — рядом с телефоном и с кнопками заявки */
.msg-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.msg-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  color: var(--accent-deep);
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.msg-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.msg-links svg { width: 19px; height: 19px; }
.msg-links__max {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}
.msg-links--sm a { width: 27px; height: 27px; }
.msg-links--sm svg { width: 14px; height: 14px; }
.msg-links--sm .msg-links__max { font-size: 0.55rem; }
.msg-links--lg a { width: 46px; height: 46px; }
.msg-links--lg svg { width: 22px; height: 22px; }
.msg-links--lg .msg-links__max { font-size: 0.74rem; }
/* на тёмном фоне */
.section--steel .msg-links a {
  background: var(--accent-tint-steel);
  color: #FFB68F;   /* акцент на тёмной плашке давал 2.2 — берём осветлённый, 6.7 */
}
.section--steel .msg-links a:hover { background: var(--accent); color: #fff; }
/* подпись «или напишите» перед иконками */
.msg-links__label {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-right: 0.15rem;
}
.section--steel .msg-links__label { color: var(--ink-on-steel-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .header-phone,
  .header-contact { display: none; }
  .header-cta .btn--primary { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 460px) {
  .logo { font-size: 1.02rem; }
  .logo__mark { width: 26px; height: 26px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__eyebrow { margin-bottom: 1.1rem; }

.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-deep);
}

.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.6;
}
.hero__sub b { color: var(--ink); font-weight: 700; }
.hero__sub--close { margin-top: 1.1rem; font-size: 1.02rem; }

/* Список преимуществ: один довод — одна строка. Сплошной абзац человек
   в состоянии стресса (травма, срочный поиск) не дочитывает. */
.hero__points {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  max-width: 46ch;
}
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero__points svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  margin-top: 0.12em;
  color: var(--good);
}
.hero__points b { color: var(--ink); font-weight: 700; }

@media (max-width: 640px) {
  .hero__points li { font-size: 1rem; }
  .hero__points svg { width: 19px; height: 19px; }
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 1.05em;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 600;
}
.spec-pill svg { width: 1em; height: 1em; }

.situation-picker {
  margin-top: 2.4rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-raised);
}
.situation-picker__label {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
@media (max-width: 560px) {
  .situation-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Карточки ситуаций — это кнопки, и выглядеть должны как кнопки:
   иконка в цветном круге, заметная граница, отклик на наведение.
   Раньше они читались как подписи и терялись на белой подложке. */
.situation-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--bg);
  text-align: left;
  box-shadow: 0 1px 2px rgba(20,21,23,0.05);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
              transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.situation-chip:hover {
  border-color: var(--accent);
  background: var(--bg-raised);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -10px rgba(20,21,23,0.35);
}
.situation-chip:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.situation-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* иконка в круге: даёт цветовой якорь и сразу отделяет заголовок */
.situation-chip svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-deep);
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.situation-chip:hover svg {
  background: var(--accent);
  color: #fff;
}
.situation-chip.is-active svg {
  background: var(--accent);
  color: #fff;
}
.situation-chip span {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink);
}
/* стрелка подсказывает, что по карточке кликают */
.situation-chip::after {
  content: "→";
  position: absolute;
  right: 0.85rem;
  top: 0.95rem;
  font-size: 0.95rem;
  color: var(--ink-faint);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.situation-chip:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-deep);
}
@media (max-width: 560px) {
  .situation-chip span { font-size: 0.9rem; }
  .situation-chip svg { width: 30px; height: 30px; padding: 6px; }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

/* мессенджеры под телефоном в финальном блоке заявки */
.cta-final__msg {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
/* мессенджеры в мобильном меню */
.mobile-nav__phone .msg-links { margin-top: 0.8rem; }

.hero__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-raised);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hero__media-tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: rgba(27,28,30,0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.6em 1em;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.hero__media-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6FBE8A;
  box-shadow: 0 0 0 3px rgba(111,190,138,0.25);
}

/* ==========================================================================
   Spec / trust bar
   ========================================================================== */

.spec-bar {
  padding: clamp(2.4rem, 5vw, 3.4rem) 0;
}
.spec-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 1rem;
}
@media (max-width: 900px) {
  .spec-bar__grid { grid-template-columns: repeat(2, 1fr); }
}
.spec-bar__item {
  border-left: 1.5px solid var(--line-steel);
  padding-left: 1.1rem;
}
.spec-bar__num {
  font-family: var(--f-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500;
  color: var(--ink-on-steel);
  letter-spacing: -0.01em;
}
.spec-bar__label {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--ink-on-steel-soft);
  line-height: 1.4;
}

/* ==========================================================================
   Segment cards ("как мы подбираем")
   ========================================================================== */

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 980px) { .segment-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .segment-grid { grid-template-columns: 1fr; } }

.segment-card {
  background: var(--bg-raised);
  border-radius: var(--radius-m);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
}
.segment-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.segment-card__icon svg { width: 22px; height: 22px; }
.segment-card h3 {
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.segment-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.segment-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.2rem;
}
.segment-card__link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.segment-card:hover .segment-card__link svg { transform: translateX(3px); }

/* ==========================================================================
   Catalog
   ========================================================================== */

.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.cat-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55em 1.05em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.cat-nav a:hover, .cat-nav a.is-active {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.cat-group {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  scroll-margin-top: 6rem;
}
.cat-group__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
@media (max-width: 780px) {
  .cat-group__head { grid-template-columns: 1fr; }
}
.cat-group__banner {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-card);
}
.cat-group__banner img { width: 100%; height: 100%; object-fit: cover; }
.cat-group__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.01em;
}
.cat-group__desc {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  max-width: 48ch;
  line-height: 1.6;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 980px) { .model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .model-grid { grid-template-columns: 1fr; } }

.model-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.model-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.model-card__photo {
  margin: -1.4rem -1.4rem 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  overflow: hidden;
  background: var(--bg);
}
.model-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.model-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
}
/* метка наличия: что стоит на складе прямо сейчас, а что везём под запрос */
.model-card__badge {
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.75em;
  border-radius: var(--radius-pill);
  background: var(--good-tint);
  color: var(--good);
  margin-bottom: -0.35rem;
}
.model-card__badge--order {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.model-card__price-ask {
  font-family: var(--f-mono);
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: var(--radius-s);
  padding: 0.7em 0.9em;
  text-align: center;
}
.model-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  font-family: var(--f-mono);
  font-size: 0.79rem;
  color: var(--ink-soft);
}
.model-card__specs b { color: var(--ink); font-weight: 500; }
.model-card__note {
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.model-card__prices {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.price-chip {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.5em 0.3em;
  border-radius: var(--radius-s);
  background: var(--bg);
}
.price-chip__val {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
}
.price-chip__unit {
  /* подпись длинная («в сутки при аренде на 3 дня») — уменьшаем кегль
     и разрешаем перенос, иначе не помещается в узкий чип */
  font-size: 0.62rem;
  line-height: 1.25;
  color: var(--ink-faint);
  margin-top: 0.15rem;
  hyphens: auto;
}
/* Мессенджеры в карточке каталога: второй способ связаться, не открывая
   страницу модели. Ставим под кнопкой, мелкими иконками — чтобы не спорили
   с основным действием карточки. */
.model-card__msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.model-card__msg .msg-links__label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);   /* было ink-faint: 3.72 — ниже нормы для мелкого текста */
}
@media (max-width: 360px) {
  .model-card__msg .msg-links__label { display: none; }
}

.model-card .btn {
  margin-top: 0.3rem;
  padding: 0.75em 1.2em;
  font-size: 0.88rem;
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
@media (max-width: 980px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding-top: 2.6rem;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--accent-deep);
  position: absolute;
  top: 0;
  left: 0;
  letter-spacing: 0.05em;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 2.6rem;
  right: 0;
  height: 1px;
  background: var(--line);
}
@media (max-width: 980px) {
  .process-step::after { display: none; }
}
.process-step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ==========================================================================
   Delivery / guarantee split
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.check-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.check-list__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--good-tint);
  color: var(--good);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.check-list__icon svg { width: 14px; height: 14px; }
.check-list div b {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.check-list div span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.prep-card {
  background: var(--bg-raised);
  border-radius: var(--radius-m);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.prep-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.3rem;
}
.prep-steps { display: flex; flex-direction: column; gap: 1.1rem; }
.prep-steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.prep-steps b { color: var(--ink); }
.prep-steps__num {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--accent-deep);
  flex-shrink: 0;
  padding-top: 0.15em;
}

/* ==========================================================================
   Zones
   ========================================================================== */

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.zone-tags span {
  font-size: 0.85rem;
  padding: 0.45em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 780px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item summary h2,
.faq-item summary h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-item summary .plus::before { width: 10px; height: 1.4px; }
.faq-item summary .plus::after { width: 1.4px; height: 10px; transition: opacity 0.2s var(--ease); }
.faq-item[open] summary .plus { transform: rotate(45deg); border-color: var(--accent); }
.faq-item[open] summary .plus::after { opacity: 0; }
.faq-item p {
  padding-bottom: 1.6rem;
  color: var(--ink-soft);
  max-width: 68ch;
  line-height: 1.65;
  font-size: 0.97rem;
}
.faq-item .sub-h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  margin: 1.1rem 0 0.5rem;
  max-width: 68ch;
}
.faq-item .sub-h3:first-child { margin-top: 0; }
.faq-item p.sub-p {
  padding-bottom: 0;
  margin-bottom: 1.1rem;
}
.faq-item p.sub-p:last-child { padding-bottom: 1.6rem; margin-bottom: 0; }

/* ==========================================================================
   Final CTA + form
   ========================================================================== */

.cta-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .cta-final { grid-template-columns: 1fr; } }

.cta-final h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.cta-final__lede {
  margin-top: 1rem;
  color: var(--ink-on-steel-soft);
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.6;
}
.cta-final__phone {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.cta-final__phone a {
  font-family: var(--f-mono);
  font-size: 1.4rem;
  color: #fff;
}
.cta-final__phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-tint-steel);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-final__phone-icon svg { width: 19px; height: 19px; }

.order-form {
  background: var(--bg-raised);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-raised);
}
@media (max-width: 640px) {
  /* leave room so the fixed messenger buttons don't sit on top of the fields */
  .order-form { margin-right: 3.6rem; }
}
.form-row { margin-bottom: 1.15rem; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--bg);
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 5.5rem; }
.form-consent {
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 0.9rem;
}
.form-note {
  display: none;
  margin-top: 1rem;
  padding: 0.9em 1.1em;
  border-radius: var(--radius-s);
  background: var(--good-tint);
  color: var(--good);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-note.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line-steel);
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--ink-on-steel-soft);
  font-size: 0.9rem;
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-on-steel-soft);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-col span {
  font-size: 0.92rem;
  color: var(--ink-on-steel);
}
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* highlight pulse for anchor-jump target */
.cat-group.is-pulsed {
  animation: pulseHighlight 1.4s var(--ease);
}
@keyframes pulseHighlight {
  0% { box-shadow: inset 0 0 0 0 rgba(177,90,43,0); }
  20% { box-shadow: inset 0 0 0 2px rgba(177,90,43,0.35); }
  100% { box-shadow: inset 0 0 0 0 rgba(177,90,43,0); }
}

/* mobile nav sheet */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  transform: translateY(-100%);
  /* закрытая панель стоит над экраном: без visibility её содержимое, если оно
     не помещается по высоте, вылезает вниз и печатается поверх шапки */
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.2rem clamp(1.25rem, 4vw, 3rem) 2rem;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.mobile-nav__close { background: none; border: none; padding: 0.4rem; }
.mobile-nav__close svg { width: 24px; height: 24px; }
/* разделов стало семь — интервалы и кегль подобраны так, чтобы список
   помещался на экране телефона целиком, без прокрутки */
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.05rem; }
.mobile-nav a { font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; }
.mobile-nav__phone {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.mobile-nav__phone a {
  font-family: var(--f-mono);
  font-size: 1.3rem;
  color: var(--accent-deep);
}

/* messenger FAB */
.messenger-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.messenger-fab__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--ink-on-steel);
  box-shadow: 0 8px 20px rgba(27,28,30,0.22);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.messenger-fab__btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(177,90,43,0.3);
}
.messenger-fab__btn svg { width: 24px; height: 24px; }
.messenger-fab__btn--max {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .messenger-fab__btn { width: 46px; height: 46px; }
  .messenger-fab__btn svg { width: 21px; height: 21px; }
}

/* inline messenger row (e.g. на странице «Спасибо») */
.msg-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.9rem 0 0;
}
.msg-inline__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--ink-on-steel);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.msg-inline__btn:hover { background: var(--accent); transform: translateY(-2px); }
.msg-inline__btn svg { width: 22px; height: 22px; }
.msg-inline__btn--max {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Юридические страницы
   ========================================================================== */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}
.legal h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.legal .legal__updated {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
}
.legal p, .legal li {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.97rem;
}
.legal p { margin-bottom: 1rem; }
.legal ul, .legal ol {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
  list-style: disc;
}
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--ink); }
.legal__requisites {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.legal__requisites p { margin-bottom: 0.35rem; font-size: 0.92rem; }
.legal__requisites p:last-child { margin-bottom: 0; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 2rem;
}
.legal__back:hover { color: var(--accent); }

/* ==========================================================================
   Внутренние страницы (костыли): крошки, карточка товара, таблицы
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.crumbs {
  font-size: 0.82rem;
  color: var(--ink-faint);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs span[aria-current] { color: var(--ink-faint); }
.crumbs__sep { color: var(--ink-faint); opacity: .55; }

/* карточка одной модели — фото + характеристики + цены */
.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
}
@media (max-width: 820px) { .product-panel { grid-template-columns: 1fr; } }

.product-panel__media {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 1 / 1;
}
.product-panel__media img { width: 100%; height: 100%; object-fit: contain; }
.product-panel__media--photo img { object-fit: cover; }

.product-panel h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
}
.product-panel__lede {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
}

.spec-rows {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.5rem;
}
@media (max-width: 520px) { .spec-rows { grid-template-columns: 1fr; } }
.spec-rows div {
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}
.spec-rows dt,
.spec-rows__label {
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.spec-rows dd,
.spec-rows__val {
  margin: 0.2rem 0 0;
  font-family: var(--f-mono);
  font-size: 0.94rem;
  color: var(--ink);
}

.price-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.price-row .price-chip {
  flex: 1 1 6rem;
  padding: 0.75em 0.5em;
  border: 1px solid var(--line);
}
.price-row .price-chip__val { font-size: 1.15rem; }
.price-row .price-chip__unit { font-size: 0.74rem; }

.product-panel__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.product-panel__hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* карточка с ценой в hero — там, где фото модели ещё нет */
.offer-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-raised);
}
.offer-card__label {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.offer-card .price-row { margin-top: 1rem; }
.offer-card__list {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.offer-card__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.offer-card__list b { color: var(--ink); font-weight: 600; }
.offer-card__list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--good);
}
.offer-card .btn { margin-top: 1.5rem; }
.offer-card__note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.45;
  text-align: center;
}

/* таблицы: размеры по росту, сравнение типов костылей */
.table-scroll {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
  font-size: 0.92rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--bg);
  white-space: nowrap;
}
.spec-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.spec-table td { color: var(--ink-soft); line-height: 1.5; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table .num { font-family: var(--f-mono); color: var(--ink); }
.spec-table .is-current {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.spec-table thead .is-current { color: var(--accent-deep); }

/* акцентные заметки: «важно» и «не подойдёт» */
.note-card {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-m);
  background: var(--good-tint);
  border-left: 4px solid var(--good);
  max-width: 68ch;
}
.note-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.note-card p, .note-card li {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}
.note-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}
.note-card li { margin-bottom: 0.35rem; }
.note-card--warn {
  background: var(--accent-tint);
  border-left-color: var(--accent);
}

/* текстовый SEO-блок на внутренней странице */
.text-block {
  max-width: 68ch;
  margin-top: 2rem;
}
.text-block h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.8rem 0 0.6rem;
}
.text-block h3:first-child { margin-top: 0; }
.text-block p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.68;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Быстрая заявка — модальное окно
   ========================================================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,28,30,0.55);
  backdrop-filter: blur(2px);
  z-index: 200;
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: var(--bg-raised);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-raised);
  animation: modal-in 0.28s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg-raised);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-close svg { width: 16px; height: 16px; }
.modal-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-right: 2.5rem;
  margin-bottom: 0.6rem;
}
.modal-lede {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}
.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  margin: 0.4rem 0 1.4rem;
}
.modal-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.modal-consent span {
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.5;
}
.modal-consent a { color: var(--ink-soft); text-decoration: underline; }
.modal-consent a:hover { color: var(--accent); }
body.modal-open { overflow: hidden; }

/* ==========================================================================
   Галерея фото модели (страницы Ortonica)
   ========================================================================== */

.model-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.model-gallery__item {
  margin: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.model-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 0.35s var(--ease);
}
.model-gallery__item:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .model-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --- Антиспам-ловушка: поле скрыто от человека, видно только ботам --------- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Сообщение об ошибке отправки заявки ---------------------------------- */
.form-note.is-error {
  color: #8f2f2f;
  background: #fbeceb;
  border-color: #e6c3c0;
}

/* ==========================================================================
   Разделение поверхностей
   Фон страницы песочный, карточки белые — они читаются сами по себе.
   Но внутри белой секции карточка сливалась бы с ней: там ей нужна
   видимая граница и тень, иначе блок теряет края.
   ========================================================================== */
/* Инверсия внутри белой секции: там карточка песочная, а фото и ценники
   белые. Так блок виден на любом фоне, а страница получает ритм
   «светлое на тёмном → тёмное на светлом», а не одну сплошную заливку. */
.section--raised .model-card,
.section--raised .prep-card,
.section--raised .segment-card,
.section--raised .faq-list,
.section--raised .order-form {
  background: var(--bg);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.section--raised .model-card__photo,
.section--raised .price-chip,
.section--raised .model-card__price-ask {
  background: var(--bg-raised);
}

/* Граница между секциями разного тона — тонкая линия, чтобы стык был осознанным */
.section--raised + .section:not(.section--raised):not(.section--steel),
.section:not(.section--raised):not(.section--steel) + .section--raised {
  border-top: 1px solid var(--line);
}

/* Карточка на песочном фоне поднимается на ховер заметнее */
.model-card:hover {
  box-shadow: var(--shadow-raised);
}

/* ==========================================================================
   Контраст на тёмных секциях
   Глубокий оттенок акцента хорош на светлом, но на тёмном фоне тонет.
   Там нужен свой, осветлённый — иначе надзаголовки не читаются.
   ========================================================================== */
.section--steel .eyebrow,
.footer .eyebrow {
  color: #F08A55;              /* контраст 6.8 на тёмном фоне */
}
.site-footer .footer-bottom,
.site-footer .footer-bottom a:not(:hover),
.site-footer small {
  color: #9AA0A8;              /* было #6E7278: 3.49 — ниже нормы на тёмном */
}
.site-footer .footer-bottom a:hover {
  color: #F08A55;
}

/* ==========================================================================
   Мессенджеры в фирменных цветах
   Человек узнаёт кнопку по цвету раньше, чем разглядит иконку. Цвета взяты
   у самих сервисов; различаем по aria-label, поэтому разметку менять
   не пришлось. WhatsApp чуть глубже классического #25D366: на нём белая
   иконка давала контраст 1.98 — ниже нормы. #1EA855 остаётся узнаваемо
   «вотсаповским», но иконка на нём читается (3.09).
   Градиент MAX — с их сайта: синий → голубой → фиолетовый.
   ========================================================================== */
:root {
  --brand-tg:   #229ED9;
  --brand-wa:   #1EA855;
  --brand-max:  linear-gradient(135deg, #3A6EE8 0%, #7A28E8 100%);
  /* светло-голубая середина фирменного градиента (#43D6FF) убрана:
     белые буквы MAX давали на ней контраст 1.71 — нечитаемо */
}

.msg-links a[aria-label*="Telegram"],
.messenger-fab__btn[aria-label*="Telegram"],
.section--steel .msg-links a[aria-label*="Telegram"] {
  background: var(--brand-tg);
  color: #fff;
}
.msg-links a[aria-label*="WhatsApp"],
.messenger-fab__btn[aria-label*="WhatsApp"],
.section--steel .msg-links a[aria-label*="WhatsApp"] {
  background: var(--brand-wa);
  color: #fff;
}
.msg-links a[aria-label*="MAX"],
.messenger-fab__btn[aria-label*="MAX"],
.section--steel .msg-links a[aria-label*="MAX"] {
  background: var(--brand-max);
  color: #fff;
}

/* Наведение: цвет остаётся брендовым, меняется только глубина */
.msg-links a[aria-label*="Telegram"]:hover,
.messenger-fab__btn[aria-label*="Telegram"]:hover { background: #1B87BA; color: #fff; }
.msg-links a[aria-label*="WhatsApp"]:hover,
.messenger-fab__btn[aria-label*="WhatsApp"]:hover { background: #178C46; color: #fff; }
.msg-links a[aria-label*="MAX"]:hover,
.messenger-fab__btn[aria-label*="MAX"]:hover {
  background: linear-gradient(135deg, #3A6EE8 0%, #7024E0 100%);
  color: #fff;
}

/* Цветной кружок на светлом фоне слегка теряется — обводка возвращает край */
.msg-links a[aria-label*="Telegram"],
.msg-links a[aria-label*="WhatsApp"],
.msg-links a[aria-label*="MAX"] {
  box-shadow: 0 0 0 1px rgba(20,21,23,0.10);
}
.section--steel .msg-links a[aria-label*="Telegram"],
.section--steel .msg-links a[aria-label*="WhatsApp"],
.section--steel .msg-links a[aria-label*="MAX"] {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

/* ==========================================================================
   Страницы продажи
   Карточка товара: цена и две кнопки — купить и взять в аренду.
   Аренда стоит рядом намеренно: часть людей не знает, что технику
   можно не покупать, и вторая кнопка снимает этот барьер.
   ========================================================================== */
.sale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.6rem;
}
@media (max-width: 980px) { .sale-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sale-grid { grid-template-columns: 1fr; } }

.sale-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.4rem 1.4rem 1.3rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sale-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
}
.sale-card__photo {
  margin: -1.4rem -1.4rem 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  overflow: hidden;
  background: var(--bg-raised);
}
.sale-card__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sale-card__name { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.sale-card__specs { display: flex; flex-direction: column; gap: 0.3rem; font-family: var(--f-mono); font-size: 0.79rem; color: var(--ink-soft); }
.sale-card__note { font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }
.sale-card__price {
  margin-top: auto;
  padding: 0.75rem 0.9rem;
  background: var(--bg-raised);
  border-radius: var(--radius-s);
  text-align: center;
}
.sale-card__price-val { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; color: var(--ink); }
/* когда цена известна — она главный элемент карточки */
.sale-card__price--has { background: var(--accent-tint); }
.sale-card__price--has .sale-card__price-val { font-size: 1.35rem; color: var(--accent-deep); }
.sale-card__price--has .sale-card__price-hint { color: var(--ink-soft); }
.sale-card__price-hint { display: block; margin-top: 0.15rem; font-size: 0.76rem; color: var(--ink-soft); }
.sale-card__actions { display: flex; flex-direction: column; gap: 0.5rem; }
.sale-card__rent { text-align: center; font-size: 0.87rem; padding: 0.7em 1rem; }

/* SEO-блок: длинный текст читают глазами по заголовкам, поэтому
   разделы отделены линией, а колонка ограничена по ширине строки */
.seo-wrap { max-width: 78ch; }
.seo-group { padding-top: 1.6rem; margin-top: 1.6rem; border-top: 1px solid var(--line); }
.seo-group:first-of-type { border-top: none; margin-top: 0.6rem; }
.seo-h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.25; margin-bottom: 0.9rem; }
.seo-h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; line-height: 1.35; margin-top: 1.2rem; margin-bottom: 0.35rem; color: var(--ink); }
.seo-p { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.hero--compact { padding-bottom: 0; }
.hero--compact h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }

/* ── перелинковка разделов продажи ── */
.sale-links{
  list-style:none; margin:0; padding:0;
  display:grid; gap:10px;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}
.sale-links a{
  display:block; padding:14px 16px;
  background:var(--bg); border:1px solid var(--line); border-radius:12px;
  color:var(--ink); text-decoration:none; font-weight:600; line-height:1.35;
  transition:border-color .15s, transform .15s;
}
.sale-links a:hover{ border-color:var(--accent); transform:translateY(-1px); }

/* ── цена на странице модели ── */
.model-price{
  display:flex; flex-direction:column; gap:4px;
  margin:1.4rem 0 1.2rem;
}
.model-price__val{
  font-size:clamp(2rem,4.2vw,2.9rem); font-weight:800; line-height:1;
  color:var(--accent-deep); letter-spacing:-.02em;
}
.model-price__hint{ font-size:.92rem; color:var(--ink-soft); }
.sale-card__name a{ color:inherit; text-decoration:none; }
.sale-card__name a:hover{ color:var(--accent); }
.sale-card__photo{ display:block; }


/* ── выбранная модель в форме заявки ── */
.modal-model{
  display:flex; gap:14px; align-items:center;
  margin:0 0 1.2rem; padding:12px 14px;
  background:var(--bg-sunken); border:1px solid var(--line); border-radius:14px;
}
.modal-model__img{
  width:78px; height:78px; flex:none; object-fit:contain;
  background:#fff; border-radius:10px; padding:5px;
}
.modal-model__body{ min-width:0; display:flex; flex-direction:column; gap:3px; }
.modal-model__eyebrow{
  font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent-deep);
}
.modal-model__name{ font-size:1.02rem; font-weight:800; color:var(--ink); line-height:1.25; }
.modal-model__specs{ font-size:.84rem; color:var(--ink-soft); line-height:1.4; }
.modal-model__price{ font-size:.88rem; font-weight:700; color:var(--good); }

/* ══════════════════════════════════════════════════════════════════════
   КВИЗ ПОДБОРА
   ══════════════════════════════════════════════════════════════════════ */

/* атрибут hidden должен побеждать display:flex */
[hidden]{ display:none !important; }

.quiz{
  --q-coral:#F0603C;
  --q-coral-deep:#D8421F;
  --q-coral-tint:#FFEDE7;
  --q-teal:#17A398;
  --q-teal-tint:#DCF5F2;
  --q-violet:#6D4AE0;
  --q-card:#FFFFFF;
  --q-line:#E7E1D8;
  --q-ink:#16181C;
  --q-ink-soft:#6B7079;

  position:relative; margin-top:2.6rem;
  padding:clamp(20px,3.4vw,40px);
  background:var(--q-card); border-radius:26px;
  box-shadow:0 2px 6px rgba(20,21,23,.05), 0 22px 60px rgba(20,21,23,.10);
}

/* ── шапка и сегментная шкала ── */
.quiz__head{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.quiz__count{
  font-size:.8rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:var(--q-coral-deep);
}
.quiz__free{
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 11px; border-radius:99px;
  background:var(--q-teal-tint); color:#0E6F67;
  font-size:.78rem; font-weight:700;
}
.quiz__segs{ display:flex; gap:7px; margin:14px 0 30px; }
.quiz__seg{
  flex:1; height:7px; border-radius:99px; background:#EDE9E2;
  transition:background .35s ease;
}
.quiz__seg.is-done{ background:var(--q-teal); }

/* ── вопрос ── */
.quiz__stage.is-in{ animation:quizIn .32s cubic-bezier(.22,.7,.3,1) both; }
@keyframes quizIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }

.quiz__q{
  margin:0 0 .5rem; color:var(--q-ink);
  font-size:clamp(1.32rem,2.6vw,1.8rem); font-weight:800; line-height:1.2; letter-spacing:-.02em;
}
.quiz__hint{ margin:0 0 1.7rem; color:var(--q-ink-soft); line-height:1.55; max-width:62ch; }

/* ── карточки-ответы ── */
.quiz__opts{ display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(255px,1fr)); }
.quiz-opt{
  display:flex; align-items:center; gap:14px;
  padding:15px 16px; text-align:left; cursor:pointer; font:inherit;
  background:#FCFAF7; border:2px solid var(--q-line); border-radius:16px;
  transition:border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.quiz-opt:hover{
  border-color:var(--q-coral); background:var(--q-coral-tint);
  transform:translateY(-2px); box-shadow:0 10px 24px rgba(240,96,60,.18);
}
.quiz-opt__ico{
  flex:none; width:46px; height:46px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:var(--q-teal-tint); color:#0E6F67;
  transition:background .18s, color .18s;
}
.quiz-opt__ico svg{ width:25px; height:25px; }
.quiz-opt:hover .quiz-opt__ico{ background:var(--q-coral); color:#fff; }
.quiz-opt__txt{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.quiz-opt__t{ font-weight:800; font-size:1.04rem; color:var(--q-ink); line-height:1.25; }
.quiz-opt__s{ font-size:.87rem; color:var(--q-ink-soft); line-height:1.35; }
.quiz-opt__go{
  margin-left:auto; flex:none; color:var(--q-line);
  transition:color .18s, transform .18s;
}
.quiz-opt__go svg{ width:20px; height:20px; display:block; }
.quiz-opt:hover .quiz-opt__go{ color:var(--q-coral-deep); transform:translateX(3px); }

/* ── ползунок ── */
.quiz-slider{ margin:2.4rem 0 .6rem; }
.quiz-slider__val{
  display:block; width:max-content; margin:0 auto 18px;
  padding:9px 22px; border-radius:99px;
  background:var(--q-coral-tint); color:var(--q-coral-deep);
  font-size:clamp(1.35rem,3vw,1.7rem); font-weight:800; letter-spacing:-.01em;
}
.quiz-slider__input{
  --fill:0%;
  -webkit-appearance:none; appearance:none;
  width:100%; height:8px; border-radius:99px; cursor:pointer; outline:none;
  background:linear-gradient(90deg,var(--q-coral) 0 var(--fill), #E6E2DB var(--fill) 100%);
}
.quiz-slider__input::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none;
  width:28px; height:28px; border-radius:50%;
  background:var(--q-coral); border:4px solid #fff; cursor:grab;
  box-shadow:0 3px 12px rgba(216,66,31,.42);
}
.quiz-slider__input::-moz-range-thumb{
  width:20px; height:20px; border-radius:50%;
  background:var(--q-coral); border:4px solid #fff; cursor:grab;
  box-shadow:0 3px 12px rgba(216,66,31,.42);
}
.quiz-slider__input:focus-visible{ box-shadow:0 0 0 4px rgba(240,96,60,.25); }
.quiz-slider__ends{
  display:flex; justify-content:space-between; margin-top:10px;
  font-size:.84rem; font-weight:600; color:var(--q-ink-soft);
}

/* ── кнопки шага ── */
.quiz__foot{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap:wrap; margin-top:2rem;
}
.quiz__foot-right{ display:flex; align-items:center; gap:14px; margin-left:auto; }
.quiz-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 30px; border-radius:99px; border:2px solid transparent;
  font:inherit; font-weight:800; font-size:1rem; cursor:pointer; text-decoration:none;
  transition:background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.quiz-btn--go{
  background:var(--q-coral); color:#fff;
  box-shadow:0 10px 26px rgba(240,96,60,.34);
}
.quiz-btn--go:hover{ background:var(--q-coral-deep); transform:translateY(-2px); }
.quiz-btn--ghost{ background:#fff; border-color:var(--q-line); color:var(--q-ink-soft); }
.quiz-btn--ghost:hover{ border-color:var(--q-ink-soft); color:var(--q-ink); }
.quiz-skip{
  background:none; border:0; cursor:pointer; font:inherit;
  font-size:.94rem; font-weight:700; color:var(--q-ink-soft);
  text-decoration:underline; text-underline-offset:3px;
}
.quiz-skip:hover{ color:var(--q-coral-deep); }

/* ── результат ── */
.quiz__done{ display:flex; gap:14px; align-items:flex-start; margin-bottom:1.8rem; }
.quiz__done-ico{
  flex:none; width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--q-teal); color:#fff;
}
.quiz__done-ico svg{ width:24px; height:24px; }
.quiz__done .quiz__hint{ margin-bottom:0; }

.quiz__results{
  display:grid; gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(248px,1fr));
}
.quiz-card{
  display:flex; flex-direction:column; overflow:hidden;
  background:#FCFAF7; border:2px solid var(--q-line); border-radius:18px;
  transition:border-color .18s, transform .18s, box-shadow .18s;
}
.quiz-card:hover{ transform:translateY(-3px); box-shadow:0 16px 36px rgba(20,21,23,.12); }
.quiz-card--best{ border-color:var(--q-coral); box-shadow:0 12px 30px rgba(240,96,60,.16); }
.quiz-card__photo{ position:relative; aspect-ratio:4/3; background:#fff; }
.quiz-card__photo img{ width:100%; height:100%; object-fit:contain; padding:10px; }
.quiz-card__best{
  position:absolute; top:10px; left:10px; z-index:2;
  padding:5px 11px; border-radius:99px;
  background:var(--q-coral); color:#fff;
  font-size:.74rem; font-weight:800; letter-spacing:.02em;
  box-shadow:0 6px 16px rgba(216,66,31,.32);
}
.quiz-card__body{ display:flex; flex-direction:column; gap:7px; padding:16px 18px 18px; flex:1; }
.quiz-card__badge{
  align-self:flex-start; padding:3px 10px; border-radius:99px;
  background:var(--q-teal-tint); color:#0E6F67;
  font-size:.75rem; font-weight:800;
}
.quiz-card__name{ margin:0; font-size:1.14rem; font-weight:800; color:var(--q-ink); line-height:1.25; }
.quiz-card__specs{ list-style:none; margin:.3rem 0; padding:0; display:grid; gap:5px; }
.quiz-card__specs li{
  display:flex; justify-content:space-between; gap:10px;
  font-size:.9rem; padding-bottom:5px; border-bottom:1px solid var(--q-line);
}
.quiz-card__specs li:last-child{ border-bottom:0; padding-bottom:0; }
.quiz-card__specs span{ color:var(--q-ink-soft); }
.quiz-card__specs b{ color:var(--q-ink); }
.quiz-card__note{ margin:.2rem 0; font-size:.87rem; color:var(--q-ink-soft); line-height:1.45; }
.quiz-card .price-chip{ margin:.5rem 0 .9rem; }
.quiz-card .btn{ margin-top:auto; }

/* плавающие мессенджеры не должны перекрывать кнопки */
@media (min-width:481px) and (max-width:1240px){
  .quiz{ padding-right:76px; }
}
@media (max-width:480px){
  .quiz__opts{ grid-template-columns:1fr; }
  .quiz__results{ grid-template-columns:1fr; }
  .quiz__foot{ padding-bottom:66px; }
  .quiz-btn{ flex:1; padding:13px 18px; }
}

/* ==========================================================================
   БЛОГ
   Отдельный слой поверх токенов сайта. Блог читают долго и часто с телефона,
   поэтому здесь своя ширина колонки и свой размер текста — крупнее, чем в
   каталоге. Локальные переменные держим на .blog-scope, чтобы не задеть
   остальной сайт.
   ========================================================================== */

.blog-scope{
  --b-read: 720px;               /* ширина колонки чтения */
  --b-coral: #E2542C;
  --b-coral-tint: #FCE9E2;
  --b-teal: #0E7C74;
  --b-teal-tint: #D6EFEC;
  --b-violet: #5B3FD1;
  --b-violet-tint: #E7E1FB;
  --b-amber: #B45309;
  --b-amber-tint: #FBEBD2;
}

/* индикатор прочитанного — тонкая полоска под шапкой */
.read-bar{
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--b-coral), var(--b-teal));
  z-index: 60; transition: width .12s linear;
}

/* ---------- ХАБ ---------- */
.blog-hero{ padding: clamp(2rem,5vw,3.5rem) 0 clamp(1.5rem,3vw,2.5rem); }
.blog-hero h1{ font-family: var(--f-display); font-size: clamp(2rem,5vw,3.4rem); line-height:1.08; letter-spacing:-.02em; max-width: 18ch; }
.blog-hero__lede{ margin-top: 1rem; max-width: 62ch; font-size: clamp(1.02rem,1.6vw,1.18rem); color: var(--ink-soft); }

.blog-filters{ display:flex; flex-wrap:wrap; gap:.55rem; margin-top: 1.8rem; }
.blog-chip{
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  border-radius: var(--radius-pill); padding: .5em 1.05em; font-size: .93rem; font-weight: 600;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.blog-chip:hover{ border-color: var(--b-coral); color: var(--b-coral); }
.blog-chip.is-on{ background: var(--ink); border-color: var(--ink); color: #fff; }

.blog-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.1rem,2vw,1.8rem); margin-top: clamp(1.8rem,3vw,2.6rem); }
@media (max-width: 980px){ .blog-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px){ .blog-grid{ grid-template-columns: 1fr; } }

.post-card{
  background: var(--bg-raised); border-radius: var(--radius-l); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.post-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.post-card__photo{ display:block; aspect-ratio: 16/10; overflow:hidden; background: var(--bg-sunken); }
.post-card__photo img{ width:100%; height:100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__photo img{ transform: scale(1.04); }
.post-card__body{ padding: 1.3rem 1.4rem 1.5rem; display:flex; flex-direction:column; gap:.7rem; flex:1; }
.post-card__tag{
  align-self:flex-start; font-size:.78rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:.36em .8em; border-radius: var(--radius-pill); background: var(--b-teal-tint); color: var(--b-teal);
}
.post-card__tag--op{ background: var(--b-violet-tint); color: var(--b-violet); }
.post-card__tag--care{ background: var(--b-amber-tint); color: var(--b-amber); }
.post-card__tag--how{ background: var(--b-coral-tint); color: var(--b-coral); }
.post-card__title{ font-family: var(--f-display); font-size: 1.22rem; line-height:1.25; letter-spacing:-.01em; }
.post-card__lede{ color: var(--ink-soft); font-size: .97rem; }
.post-card__meta{ margin-top:auto; padding-top:.4rem; display:flex; gap:.9rem; color: var(--ink-faint); font-size:.86rem; }

.post-card--lead{ grid-column: span 2; }
@media (max-width: 620px){ .post-card--lead{ grid-column: auto; } }
.post-card--lead .post-card__photo{ aspect-ratio: 16/8; }
.post-card--lead .post-card__title{ font-size: clamp(1.35rem,2.4vw,1.75rem); }

/* ---------- СТАТЬЯ ---------- */
.post-head{ padding: clamp(1.6rem,4vw,2.6rem) 0 0; }
.post-head__tag{ display:inline-block; font-size:.8rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:.38em .85em; border-radius:var(--radius-pill); background: var(--b-coral-tint); color: var(--b-coral); }
.post-head h1{ font-family: var(--f-display); font-size: clamp(1.9rem,4.6vw,3.1rem); line-height:1.08; letter-spacing:-.022em; margin-top:1rem; max-width: 20ch; }
.post-head__lede{ margin-top:1.1rem; max-width: 60ch; font-size: clamp(1.05rem,1.7vw,1.24rem); line-height:1.55; color: var(--ink-soft); }
.post-head__meta{ margin-top:1.4rem; display:flex; flex-wrap:wrap; gap:1.2rem; color: var(--ink-faint); font-size:.9rem; }
.post-head__meta b{ color: var(--ink); font-weight:600; }

.post-cover{ margin-top: clamp(1.6rem,3vw,2.4rem); border-radius: var(--radius-l); overflow:hidden; aspect-ratio: 21/9; box-shadow: var(--shadow-card); }
.post-cover img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:700px){ .post-cover{ aspect-ratio: 4/3; } }

.post-layout{ display:grid; grid-template-columns: 240px minmax(0,1fr); gap: clamp(2rem,4vw,4rem); align-items:start; padding: clamp(2rem,4vw,3.2rem) 0 0; }
@media (max-width: 1080px){ .post-layout{ grid-template-columns: minmax(0,1fr); } }

.post-toc{ position: sticky; top: 96px; }
@media (max-width: 1080px){
  .post-toc{ position: static; background: var(--bg-raised); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-card); margin-bottom: 2rem; }
}
.post-toc__title{ font-size:.78rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color: var(--ink-faint); margin-bottom:.85rem; }
.post-toc a{ display:block; padding:.42em 0 .42em .85em; border-left:2px solid var(--line); color: var(--ink-soft); font-size:.94rem; line-height:1.35; transition: color .18s var(--ease), border-color .18s var(--ease); }
.post-toc a:hover{ color: var(--ink); border-color: var(--b-coral); }
.post-toc a.is-now{ color: var(--b-coral); border-color: var(--b-coral); font-weight:600; }

/* тело статьи */
.post-body{ max-width: var(--b-read); min-width: 0; font-size: 1.08rem; line-height: 1.72; }
.post-body > * + *{ margin-top: 1.15rem; }
.post-body h2{
  font-family: var(--f-display); font-size: clamp(1.45rem,2.8vw,1.95rem); line-height:1.2; letter-spacing:-.015em;
  margin-top: clamp(2.6rem,5vw,3.6rem); scroll-margin-top: 92px;
}
.post-body h2::before{ content:""; display:block; width:44px; height:4px; border-radius:2px; background: var(--b-coral); margin-bottom:.9rem; }
.post-body h3{ font-family: var(--f-display); font-size: clamp(1.12rem,2vw,1.32rem); line-height:1.3; margin-top: 2rem; }
.post-body p{ color: var(--ink); }
.post-body a:not(.btn){ color: var(--b-coral); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.post-body a:not(.btn):hover{ color: var(--accent-deep); }
.post-body strong{ font-weight: 650; }
.post-body ul.dots{ display:grid; gap:.6rem; }
.post-body ul.dots li{ position:relative; padding-left:1.5rem; }
.post-body ul.dots li::before{ content:""; position:absolute; left:.25rem; top:.68em; width:7px; height:7px; border-radius:50%; background: var(--b-teal); }
.post-body ol.nums{ counter-reset: n; display:grid; gap:.75rem; }
.post-body ol.nums li{ counter-increment:n; position:relative; padding-left:2.4rem; }
.post-body ol.nums li::before{
  content: counter(n); position:absolute; left:0; top:.05em; width:1.7rem; height:1.7rem; border-radius:50%;
  background: var(--ink); color:#fff; font-size:.85rem; font-weight:700; display:grid; place-items:center;
}

.post-fig{ margin-top: 1.8rem; }
.post-fig img{ width:100%; border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
.post-fig figcaption{ margin-top:.7rem; font-size:.9rem; color: var(--ink-faint); }

/* выноски */
.callout{ border-radius: var(--radius-m); padding: 1.15rem 1.3rem; display:grid; gap:.45rem; margin-top:1.8rem; }
.callout__t{ font-weight:700; display:flex; align-items:center; gap:.5rem; }
.callout__t svg{ width:20px; height:20px; flex:none; }
.callout p{ font-size:1rem; }
.callout--tip{ background: var(--b-teal-tint); }
.callout--tip .callout__t{ color: var(--b-teal); }
.callout--warn{ background: var(--b-amber-tint); }
.callout--warn .callout__t{ color: var(--b-amber); }
.callout--stop{ background: var(--b-coral-tint); }
.callout--stop .callout__t{ color: var(--b-coral); }

/* короткий ответ в начале */
.tldr{ background: var(--ink); color: var(--ink-on-steel); border-radius: var(--radius-l); padding: clamp(1.3rem,2.5vw,1.8rem); }
.tldr__t{ font-size:.78rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color: var(--ink-on-steel-soft); margin-bottom:.8rem; }
.tldr ul{ display:grid; gap:.65rem; }
.tldr li{ position:relative; padding-left:1.7rem; line-height:1.55; }
.tldr li::before{
  content:""; position:absolute; left:0; top:.42em; width:11px; height:11px; border-radius:50%;
  background: var(--b-coral);
}

/* этапы восстановления */
.stages{ display:grid; gap:0; margin-top:1.9rem; }
.stage{ display:grid; grid-template-columns: 106px minmax(0,1fr); gap:1.2rem; padding:1.2rem 0; border-top:1px solid var(--line); }
.stage:last-child{ border-bottom:1px solid var(--line); }
@media (max-width:560px){ .stage{ grid-template-columns:1fr; gap:.5rem; } }
.stage__when{ font-family: var(--f-mono); font-size:.92rem; font-weight:600; color: var(--b-teal); padding-top:.15rem; }
.stage__what b{ display:block; font-size:1.05rem; margin-bottom:.3rem; }
.stage__what p{ color: var(--ink-soft); font-size:1rem; }

/* ---------- НАТИВНЫЕ БЛОКИ АРЕНДЫ ---------- */
.rent{
  margin-top: 2rem; background: var(--bg-raised); border-radius: var(--radius-l);
  padding: clamp(1.15rem,2.2vw,1.5rem); box-shadow: var(--shadow-card);
  border: 1.5px solid var(--b-teal-tint);
  display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 1.2rem; align-items:center;
}
@media (max-width: 560px){ .rent{ grid-template-columns: 1fr; } }
.rent__photo{ border-radius: var(--radius-m); overflow:hidden; aspect-ratio:1; background: var(--bg-sunken); }
.rent__photo img{ width:100%; height:100%; object-fit: contain; background:#fff; }
.rent__eyebrow{ font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--b-teal); }
.rent__name{ font-family: var(--f-display); font-size:1.14rem; line-height:1.25; margin-top:.28rem; }
.rent__note{ color: var(--ink-soft); font-size:.97rem; margin-top:.42rem; }
.rent__foot{ margin-top:.9rem; display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; }
.rent__price{ font-family: var(--f-mono); font-size:1.02rem; font-weight:600; }
.rent__price span{ color: var(--ink-faint); font-weight:400; font-size:.88rem; }
.rent .btn{ padding:.72em 1.5em; }

/* подборка в конце статьи */
.rent-strip{ margin-top: clamp(2.5rem,5vw,3.5rem); }
.rent-strip__t{ font-family: var(--f-display); font-size: clamp(1.3rem,2.4vw,1.7rem); }
.rent-strip__lede{ color: var(--ink-soft); margin-top:.5rem; max-width:56ch; }
.rent-strip__grid{ display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.5rem; }
@media (max-width: 860px){ .rent-strip__grid{ grid-template-columns:1fr; } }
.rent-mini{ background: var(--bg-raised); border-radius: var(--radius-m); padding:1.1rem; box-shadow: var(--shadow-card); display:flex; flex-direction:column; gap:.55rem; }
.rent-mini__photo{ aspect-ratio: 4/3; border-radius: var(--radius-s); overflow:hidden; background:#fff; }
.rent-mini__photo img{ width:100%; height:100%; object-fit: contain; }
.rent-mini__name{ font-weight:650; line-height:1.3; }
.rent-mini__price{ font-family: var(--f-mono); font-size:.95rem; color: var(--b-teal); font-weight:600; }
.rent-mini .btn{ margin-top:auto; }

/* дисклеймер и подпись */
.post-note{ margin-top: clamp(2.2rem,4vw,3rem); padding: 1.1rem 1.3rem; border-left: 4px solid var(--line); color: var(--ink-soft); font-size:.96rem; background: rgba(255,255,255,.45); border-radius: 0 var(--radius-m) var(--radius-m) 0; }

/* ---------- ТАБЛИЦА В СТАТЬЕ ----------
   Обёртка нужна, чтобы на телефоне таблица скроллилась внутри себя,
   а не растягивала всю страницу вбок. */
.post-table{ margin: clamp(1.6rem,3vw,2.2rem) 0; max-width:100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-m); box-shadow: var(--shadow-card); background: var(--bg-raised); }
.post-table table{ border-collapse: collapse; width:100%; min-width: 460px; font-size:.97rem; }
.post-table caption{ caption-side: top; text-align:left; padding: 1rem 1.2rem .2rem;
  font-family: var(--f-display); font-size:1.05rem; color: var(--ink); }
.post-table th, .post-table td{ padding:.85em 1.1em; text-align:left; vertical-align: top;
  border-bottom: 1px solid var(--line); }
.post-table thead th{ font-size:.82rem; letter-spacing:.04em; text-transform:uppercase;
  color: var(--b-teal); background: var(--b-teal-tint); border-bottom: none; white-space: nowrap; }
.post-table tbody tr:last-child td{ border-bottom: none; }
.post-table tbody tr:hover td{ background: rgba(0,0,0,.02); }
.post-table td b{ color: var(--ink); }
.post-table__note{ margin-top:-.9rem; margin-bottom: 2rem; color: var(--ink-faint); font-size:.88rem; }

/* ---------- ЧЕК-ЛИСТ ----------
   Список «сделать / проверить». Галочки рисуем через ::before,
   чтобы не тащить в разметку по svg на каждый пункт. */
.checklist{ margin: clamp(1.4rem,3vw,2rem) 0; padding: 1.2rem 1.4rem; list-style:none;
  background: var(--bg-raised); border-radius: var(--radius-m); box-shadow: var(--shadow-card);
  display: grid; gap: .75rem; }
.checklist li{ position: relative; padding-left: 2rem; line-height:1.55; }
.checklist li::before{ content:""; position:absolute; left:0; top:.28em; width:1.15rem; height:1.15rem;
  border-radius:50%; background: var(--b-teal-tint);
  box-shadow: inset 0 0 0 1.5px var(--b-teal); }
.checklist li::after{ content:""; position:absolute; left:.34rem; top:.62em; width:.46rem; height:.24rem;
  border-left:2px solid var(--b-teal); border-bottom:2px solid var(--b-teal);
  transform: rotate(-45deg); }
.checklist--stop li::before{ background: var(--b-coral-tint); box-shadow: inset 0 0 0 1.5px var(--b-coral); }
.checklist--stop li::after{ left:.42rem; top:.55em; width:.34rem; height:.34rem;
  border:none; background:
    linear-gradient(var(--b-coral),var(--b-coral)) center/100% 2px no-repeat,
    linear-gradient(var(--b-coral),var(--b-coral)) center/2px 100% no-repeat;
  transform: rotate(45deg); }

/* другие статьи */
.post-next{ margin-top: clamp(2.5rem,5vw,3.5rem); }
.post-next__t{ font-family: var(--f-display); font-size: clamp(1.25rem,2.2vw,1.55rem); margin-bottom:1.2rem; }
.post-next__grid{ display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:1rem; }
@media (max-width: 860px){ .post-next__grid{ grid-template-columns:1fr; } }
.post-next__card{ background: var(--bg-raised); border-radius: var(--radius-m); padding:1.1rem 1.2rem; box-shadow: var(--shadow-card); transition: transform .2s var(--ease); }
.post-next__card:hover{ transform: translateY(-3px); }
.post-next__card b{ display:block; font-family: var(--f-display); font-size:1.05rem; line-height:1.28; }
.post-next__card span{ display:block; margin-top:.4rem; color: var(--ink-faint); font-size:.88rem; }

/* мелкие правки блога после проверки на узких экранах */
@media (max-width: 560px){
  /* на телефоне карточка идёт в одну колонку — фото товара не должно занимать пол-экрана */
  .rent__photo{ aspect-ratio: auto; height: 170px; }
  .rent__photo img{ object-fit: contain; }
}
/* плавающие мессенджеры висят справа: держим от них дистанцию, чтобы не перекрывали текст и кнопки */
@media (min-width: 481px) and (max-width: 1240px){
  .blog-scope .post-body,
  .blog-scope .stages,
  .blog-scope .rent{ padding-right: 60px; }
  .blog-scope .rent{ padding-right: clamp(1.15rem, 2.2vw, 1.5rem); margin-right: 60px; }
}
@media (max-width: 480px){
  .blog-scope .rent-strip__grid > :last-child,
  .blog-scope .post-next__grid > :last-child{ margin-bottom: 66px; }
}

/* на широких экранах колонка чтения вместе с оглавлением идёт по центру:
   иначе текст прижимается влево и справа остаётся пустое поле */
.post-layout{ max-width: 1040px; margin-inline: auto; }
.post-head, .post-cover{ max-width: 1040px; margin-inline: auto; }

/* категория «Перелом» — отдельный цвет метки */
.post-card__tag--fx{ background:#DCE6FB; color:#2A4CB3; }

/* категория «Раны и уход» */
.post-card__tag--wound{ background:#F6E3EE; color:#9B2C63; }
