/* ==========================================================================
   John Deere Used — таблица стилей
   Палитра John Deere: зелёный #367C2B, жёлтый #FFDE00
   ========================================================================== */

:root {
  /* --- Фирменная палитра --- */
  --jd-green:        #367C2B;
  --jd-green-dark:   #2A6321;
  --jd-green-deep:   #15380F;
  --jd-green-tint:   #EFF5ED;
  --jd-yellow:       #FFDE00;
  --jd-yellow-dark:  #E0C200;
  --jd-yellow-tint:  #FFF9D6;

  /* --- Нейтральные --- */
  --ink:        #15170F;
  --ink-soft:   #4A4F42;
  --ink-mute:   #767C6C;
  --line:       #DFE2D8;
  --line-soft:  #ECEEE7;
  --surface:    #FFFFFF;
  --canvas:     #F7F8F4;

  /* --- Прочее --- */
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 2px rgba(21, 56, 15, .06), 0 1px 3px rgba(21, 56, 15, .08);
  --shadow-md:  0 4px 6px -1px rgba(21, 56, 15, .08), 0 10px 20px -6px rgba(21, 56, 15, .14);
  --shadow-lg:  0 10px 15px -3px rgba(21, 56, 15, .10), 0 24px 40px -12px rgba(21, 56, 15, .20);
  --wrap:       1200px;
  --font-head:  "Barlow Condensed", "Arial Narrow", Impact, system-ui, sans-serif;
  --font-body:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, html { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--jd-green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.9rem); text-transform: uppercase; }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p  { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--jd-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--jd-yellow); color: var(--ink);
  padding: 12px 20px; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Кнопки
   ========================================================================== */

.btn {
  --btn-bg: var(--jd-green);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 13px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .95rem; font-weight: 650;
  letter-spacing: .01em; line-height: 1.2;
  cursor: pointer; text-align: center;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--jd-green-dark); border-color: var(--jd-green-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--yellow { --btn-bg: var(--jd-yellow); --btn-fg: var(--ink); }
.btn--yellow:hover { background: var(--jd-yellow-dark); border-color: var(--jd-yellow-dark); }

.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--jd-green-dark); border-color: var(--line); }
.btn--outline:hover { background: var(--jd-green-tint); border-color: var(--jd-green); }

.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Шапка
   ========================================================================== */

.topbar {
  background: var(--jd-green-deep);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
}
.topbar__in { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; min-height: 38px; padding-block: 6px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--jd-yellow); text-decoration: none; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--jd-green);
  border-bottom: 4px solid var(--jd-yellow);
}
.site-head__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand__mark {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--jd-yellow); border-radius: 8px;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 700;
  color: var(--jd-green-deep); letter-spacing: -.03em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.brand__tag { font-size: .68rem; color: var(--jd-yellow); text-transform: uppercase; letter-spacing: .13em; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 8px;
  color: rgba(255,255,255,.93); font-size: .93rem; font-weight: 550;
}
.nav a:hover { background: rgba(0,0,0,.16); color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { background: rgba(0,0,0,.22); color: var(--jd-yellow); font-weight: 650; }

.head-cta { display: flex; align-items: center; gap: 12px; }
.head-phone { color: #fff; font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; white-space: nowrap; }
.head-phone:hover { color: var(--jd-yellow); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: rgba(0,0,0,.18); color: #fff;
  border: 0; border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .site-head__in { flex-wrap: wrap; min-height: 64px; }
  .nav-toggle { display: block; order: 3; }
  .head-cta .btn { display: none; }
  .nav {
    order: 4; width: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding-bottom: 12px;
  }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: 12px 14px; background: rgba(0,0,0,.12); }
}
@media (max-width: 600px) {
  .site-head__in { gap: 10px; }
  .brand__mark { width: 34px; height: 34px; font-size: 1.15rem; }
  .brand__name { font-size: 1.02rem; }
  .brand__tag { display: none; }
  .head-phone { font-size: .98rem; }
  .topbar { font-size: .75rem; }
}
@media (max-width: 380px) {
  .head-phone { display: none; }
}

/* ==========================================================================
   Секции
   ========================================================================== */

.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tint { background: var(--jd-green-tint); }
.section--surface { background: var(--surface); }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--jd-green-dark);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--jd-yellow); border-radius: 2px; }
.section-head--center .eyebrow { justify-content: center; }

/* ==========================================================================
   Герой: текст слева, фотография до правого края экрана
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(150deg, var(--jd-green-deep) 0%, var(--jd-green-dark) 55%, var(--jd-green) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,222,0,.05) 0 2px, transparent 2px 11px);
  pointer-events: none;
}

.hero__top { position: relative; }

/* Фотография занимает правую часть экрана целиком — без рамки и отступов */
.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  z-index: 1;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
/* Мягкая растушёвка стыка, чтобы фото не обрывалось линией */
.hero__media::before {
  content: ""; position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, var(--jd-green-dark) 0%, rgba(42,99,33,.62) 9%, rgba(42,99,33,.14) 24%, transparent 40%),
    linear-gradient(to top, rgba(21,56,15,.30), transparent 32%);
}

.hero__in {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: clamp(400px, 42vw, 580px);
  padding-block: clamp(44px, 5vw, 76px);
}
.hero__text { max-width: 52%; }

.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { display: block; font-style: normal; color: var(--jd-yellow); }
.hero__lead { font-size: clamp(1.02rem, 1.7vw, 1.18rem); color: rgba(255,255,255,.9); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Показатели — отдельной полосой во всю ширину под первым экраном */
.hero__foot {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.2);
  background: rgba(21,56,15,.35);
}
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px;
  margin: 0; padding: 26px 0; list-style: none;
}
.hero__stats b { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--jd-yellow); line-height: 1; }
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.78); }

@media (max-width: 1100px) {
  .hero__media { width: 42%; }
  .hero__text { max-width: 56%; }
}

@media (max-width: 900px) {
  /* Узкий экран: фото становится обычным блоком над текстом */
  .hero__media {
    position: static; width: 100%;
    height: clamp(220px, 46vw, 320px);
  }
  .hero__media::before {
    background: linear-gradient(to bottom, transparent 55%, rgba(21,56,15,.55));
  }
  .hero__in { display: block; min-height: 0; padding-block: clamp(32px, 6vw, 48px); }
  .hero__text { max-width: none; }
  .hero__lead { max-width: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
}

@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   Полоса преимуществ
   ========================================================================== */

.bar { background: var(--jd-yellow); }
.bar__in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 28px;
  padding-block: 20px;
}
.bar__item { display: flex; align-items: center; gap: 11px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.bar__item svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--jd-green-dark); }
@media (max-width: 860px) { .bar__in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .bar__in { grid-template-columns: 1fr; } }

/* ==========================================================================
   Категории
   ========================================================================== */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--jd-green);
  border-radius: var(--radius);
  transition: transform .14s ease, box-shadow .2s ease, border-left-color .2s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-left-color: var(--jd-yellow); text-decoration: none; }
.cat-card__name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.cat-card__count { font-size: .86rem; color: var(--ink-mute); }

/* ==========================================================================
   Карточки техники
   ========================================================================== */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--jd-green-tint); overflow: hidden; }
.card__media img, .card__media svg { width: 100%; height: 100%; object-fit: cover; }
.card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px;
  background: var(--jd-yellow); color: var(--ink);
  border-radius: 6px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
}
.card__year {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 11px;
  background: rgba(21,56,15,.82); color: #fff;
  border-radius: 6px;
  font-size: .78rem; font-weight: 650;
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--jd-green); margin-bottom: 7px; }
.card__title { font-size: 1.32rem; margin-bottom: 12px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--jd-green-dark); text-decoration: none; }

.card__specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
  margin: 0 0 16px; padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}
.card__specs div { font-size: .84rem; }
.card__specs dt { color: var(--ink-mute); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.card__specs dd { margin: 1px 0 0; font-weight: 600; color: var(--ink); }

.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.card__price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--jd-green-dark); line-height: 1; }
.card__price small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 500; color: var(--ink-mute); letter-spacing: .04em; }
.card__link { font-size: .88rem; font-weight: 650; white-space: nowrap; }

/* ==========================================================================
   Каталог: фильтры
   ========================================================================== */

.page-head { background: var(--jd-green-deep); color: #fff; padding-block: clamp(36px, 5vw, 60px); }
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head p { color: rgba(255,255,255,.82); max-width: 62ch; margin-bottom: 0; }

.crumbs { font-size: .84rem; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs span { padding-inline: 7px; }

.catalog-layout { display: grid; grid-template-columns: 276px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .catalog-layout { grid-template-columns: 1fr; } }

.filters {
  position: sticky; top: 96px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
@media (max-width: 900px) { .filters { position: static; } }

.filters h2 { font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--jd-yellow); }
.filter-group { margin-bottom: 20px; }
.filter-group > legend,
.filter-group > .filter-label {
  display: block; margin-bottom: 9px; padding: 0;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft);
}
.filter-group { border: 0; padding: 0; }

.check { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: .92rem; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--jd-green); cursor: pointer; }
.check__count { margin-left: auto; font-size: .78rem; color: var(--ink-mute); }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; padding: 11px 13px;
  font-family: inherit; font-size: .94rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--jd-green); outline: 2px solid rgba(54,124,43,.2); outline-offset: 0; }
.textarea { min-height: 128px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A4F42' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.catalog-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.catalog-count { font-size: .94rem; color: var(--ink-soft); margin-right: auto; }
.catalog-count b { color: var(--ink); }
.catalog-bar .select { width: auto; min-width: 200px; }

.empty {
  padding: 56px 24px; text-align: center;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg);
}
.empty h3 { margin-bottom: .4em; }
.empty p { color: var(--ink-mute); margin-bottom: 20px; }

/* ==========================================================================
   Страница единицы техники
   ========================================================================== */

.unit { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .unit { grid-template-columns: 1fr; gap: 28px; } }

.unit__media { background: var(--jd-green-tint); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.unit__media svg, .unit__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* --- Галерея фотографий --- */

.gallery__main {
  background: var(--jd-green-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--jd-green-tint);
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}
@media (max-width: 520px) { .gallery__thumbs { grid-template-columns: repeat(4, 1fr); } }

.gallery__thumb {
  padding: 0;
  background: none;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  transition: border-color .16s ease, opacity .16s ease;
  opacity: .72;
}
.gallery__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; border-color: var(--jd-green); }
.gallery__thumb.is-active { opacity: 1; border-color: var(--jd-yellow); }

.unit__media--empty { position: relative; text-align: center; }
.unit__media--empty img { opacity: .55; }
.unit__media--empty p {
  margin: 0;
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.card__badge--muted {
  top: auto;
  bottom: 12px;
  background: rgba(21, 56, 15, .82);
  color: #fff;
  font-weight: 600;
}

.unit__panel { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.unit__cat { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--jd-green); }
.unit__price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--jd-green-dark); line-height: 1; margin: 6px 0 4px; }
.unit__price-note { font-size: .84rem; color: var(--ink-mute); margin-bottom: 20px; }

.unit__actions { display: grid; gap: 10px; margin-bottom: 22px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 11px 0; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table th { width: 46%; font-weight: 500; color: var(--ink-mute); }
.spec-table td { font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.checklist { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 7px 0 7px 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 18px; height: 18px;
  background: var(--jd-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
  border-radius: 50%;
}

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }

/* ==========================================================================
   Шаги / преимущества
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step { counter-increment: s; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 16px;
  background: var(--jd-yellow); color: var(--jd-green-deep);
  border-radius: 50%;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
}
.step h3 { font-size: 1.16rem; margin-bottom: .4em; }
.step p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  background: var(--jd-green-tint); border-radius: 12px; color: var(--jd-green-dark);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.16rem; margin-bottom: .4em; }
.feature p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   Призыв к действию
   ========================================================================== */

.cta {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--jd-green-dark), var(--jd-green));
  border-radius: var(--radius-lg);
  color: #fff;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.88); margin-bottom: 0; }
.cta__actions { display: grid; gap: 12px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ==========================================================================
   Контакты
   ========================================================================== */

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; color: var(--jd-green); }
.contact-list b { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-mute); }
.contact-list a, .contact-list span { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--jd-green-dark); }

.form-note { font-size: .84rem; color: var(--ink-mute); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 14px 16px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 18px; }
.alert--ok { background: var(--jd-green-tint); border: 1px solid var(--jd-green); color: var(--jd-green-deep); }
.alert--warn { background: var(--jd-yellow-tint); border: 1px solid var(--jd-yellow-dark); color: #6b5800; }

.btn[disabled] { opacity: .6; pointer-events: none; }

/* ==========================================================================
   Подвал
   ========================================================================== */

.site-foot { background: var(--jd-green-deep); color: rgba(255,255,255,.72); font-size: .92rem; }
.site-foot__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-block: clamp(40px, 5vw, 60px); }
@media (max-width: 900px) { .site-foot__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot__main { grid-template-columns: 1fr; gap: 26px; } }

.site-foot h3 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--jd-yellow); margin-bottom: 14px; }
.site-foot a { color: rgba(255,255,255,.8); }
.site-foot a:hover { color: var(--jd-yellow); text-decoration: none; }
.foot-list { margin: 0; padding: 0; list-style: none; }
.foot-list li { padding: 5px 0; }
.site-foot .brand { margin: 0 0 14px; }
.site-foot__about { max-width: 42ch; font-size: .9rem; line-height: 1.6; }

.site-foot__legal {
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .81rem; line-height: 1.6; color: rgba(255,255,255,.55);
}
.site-foot__legal p { margin: 0 0 8px; }
.site-foot__legal p:last-child { margin-bottom: 0; }
.disclaimer { color: rgba(255,255,255,.62); }

/* ==========================================================================
   Утилиты
   ========================================================================== */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.stack-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .site-head, .topbar, .site-foot, .nav-toggle, .filters { display: none; }
  body { background: #fff; }
}

.catalog-pagination { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; align-items:center; }
.catalog-pagination button[aria-current="page"] { background:var(--jd-yellow); color:#222; }
.filters .field { margin-bottom:16px; }

#filter-cond { max-height:200px; overflow:auto; }

.filters .select { width:100%; min-width:0; }
.filters select:disabled { opacity:.55; cursor:not-allowed; }
.form-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

/* ==========================================================================
   Визуальная система: спокойная типографика, техника в центре, ясные действия.
   ========================================================================== */
:root {
  --jd-green: #245b3b; --jd-green-dark: #19472f; --jd-green-deep: #12281e;
  --jd-green-tint: #edf2eb; --jd-yellow: #f4d748; --jd-yellow-dark: #e6c739;
  --ink: #1e2c24; --ink-soft: #59635b; --ink-mute: #6e776e;
  --line: #dce1d8; --line-soft: #e9ece5; --canvas: #f6f6f1;
  --radius: 8px; --radius-lg: 16px; --wrap: 1280px;
  --font-head: var(--font-body);
  --shadow-md: 0 12px 32px rgba(26,47,31,.07);
  --shadow-lg: 0 18px 40px rgba(26,47,31,.10);
}
body { line-height: 1.65; }
h1,h2,h3,h4 { letter-spacing: -.035em; text-wrap: pretty; }
h1 { font-size: clamp(2rem,4vw,3.5rem); text-transform: none; line-height: 1.1; }
h2 { font-size: clamp(1.6rem,3vw,2.35rem); text-transform: none; line-height: 1.2; font-weight: 650; }
h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 650; }
.wrap { padding-inline: 32px; }
.section { padding-block: clamp(56px,7vw,96px); }
.section--surface { background: #fff; }
.section--tint { background: #eeefe8; }
.section-head { max-width: 740px; margin-bottom: 32px; }
.section-head p { font-size: .97rem; }
.eyebrow { font-size: .69rem; letter-spacing: .13em; margin-bottom: 12px; }
.eyebrow::before { width: 18px; height: 2px; background: var(--jd-green); }
.btn { min-height: 46px; font-size: .88rem; font-weight: 600; padding: 13px 22px; border-width: 1px; border-radius: 8px; letter-spacing: 0; }
.btn--lg { min-height: 52px; padding: 16px 28px; font-size: .92rem; }
.btn:hover { box-shadow: none; transform: translateY(-1px); }
.btn--yellow { border-color: var(--jd-yellow); }
.btn--outline { border-color: #bfcabd; }
.btn--ghost { border-color: rgba(255,255,255,.35); }
.topbar { background: #0d2117; font-size: .72rem; }
.topbar__in { padding-block: 7px; }
.site-head { background: var(--jd-green-deep); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.site-head__in { min-height: 86px; gap: 12px 24px; }
.brand { gap: 10px; }
.brand__mark { border-radius: 10px; width: 38px; height: 38px; font-size: 1rem; font-weight: 750; }
.brand__name { max-width: 270px; font-family: var(--font-body); font-size: .95rem; line-height: 1.25; text-transform: none; letter-spacing: -.035em; }
.brand__tag { margin-top: 5px; font-size: .54rem; letter-spacing: .09em; font-weight: 500; color: #c2d3b8; }
.nav { gap: 2px; }
.nav a { padding: 10px 12px; font-size: .82rem; border-radius: 6px; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.08); color: #f4d748; }
.head-cta { gap: 20px; }
.head-cta .btn { min-height: 44px; padding: 12px 18px; font-size: .79rem; }
.head-phones,.foot-phones,.contact-phones { display:flex; flex-direction:column; gap:4px; }
.head-phones { display:grid; grid-template-columns:repeat(2,max-content); gap:6px 18px; padding-block:10px; }
.head-phones .head-phone { font-family: var(--font-body); font-size: .76rem; line-height: 1.25; letter-spacing: -.02em; font-variant-numeric: tabular-nums; font-weight: 500; }
/* Первый экран: фото и заголовок отделены от подробного текста и условий. */
.hero { background: var(--canvas); color: var(--ink); overflow: clip; }
.hero::after { display:none; }
.hero__top { padding-top: 38px; }
.hero__in { display:grid; grid-template-columns: 1.15fr 1fr; column-gap: 52px; row-gap: 30px; align-items:center; padding-block:0 36px; min-height:0; }
.hero__text { max-width:none; min-width:0; grid-column:1; grid-row:1; padding-block:24px; }
.hero h1 { color:var(--ink); font-size:clamp(2rem,3.25vw,3.05rem); font-weight:650; letter-spacing:-.052em; line-height:1.08; margin:0; text-transform:none; }
.hero h1 span { display:block; }
.hero h1 span+span { margin-top:22px; font-size:.57em; line-height:1.35; letter-spacing:-.025em; font-weight:500; color:var(--ink-soft); }
.hero h1 em { display:inline-block; margin-top:24px; padding:9px 12px; border:1px solid #d1dccb; border-radius:5px; background:#edf2e8; color:var(--jd-green-dark); font-size:.265em; font-style:normal; line-height:1.4; letter-spacing:.06em; text-transform:uppercase; font-weight:650; }
.hero__media { position:relative; inset:auto; grid-column:2; grid-row:1; width:100%; height:342px; border-radius:18px; overflow:hidden; background:#dde4d8; }
.hero__media::before { display:none; }
.hero__media img { width:100%; height:100%; object-fit:cover; object-position:65% 50%; }
.hero__details { grid-column:1/-1; display:grid; grid-template-columns:1.15fr 1fr; gap:52px; align-items:start; padding-top:24px; border-top:1px solid var(--line); }
.hero__lead { max-width:none; margin:0; color:var(--ink-soft); font-size:.94rem; line-height:1.85; }
.hero__terms { display:grid; gap:13px; padding-left:22px; border-left:2px solid var(--jd-yellow); }
.hero__price-note { margin:0; padding:0; border:0; color:var(--jd-green-dark); font-size:.84rem; font-weight:650; text-transform:none; line-height:1.6; }
.hero__delivery { margin:0; color:var(--ink-soft); font-size:.94rem; line-height:1.8; }
.hero__actions { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; margin:0; gap:24px; }
.hero__phones { display:flex; flex-direction:row; flex-wrap:wrap; gap:12px 24px; }
.hero__phones a { color:var(--ink); font-size:.87rem; font-weight:550; white-space:nowrap; font-variant-numeric:tabular-nums; text-decoration:none; }
.hero__phones a:hover { color:var(--jd-green); text-decoration:underline; }
.hero__foot { background:var(--jd-green-deep); border:0; }
.hero__stats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; padding-block:24px; }
.hero__stats li { padding-inline:28px; border-right:1px solid rgba(255,255,255,.14); }
.hero__stats li:first-child { padding-left:0; }
.hero__stats li:last-child { border:0; }
.hero__stats b { font-family:var(--font-body); font-weight:550; font-size:clamp(1.35rem,2.1vw,1.9rem); letter-spacing:-.045em; line-height:1.2; }
.hero__stats span { display:block; margin-top:7px; color:#c1cdbf; font-size:.75rem; }
.bar { background:#fff; border-bottom:1px solid var(--line-soft); }
.bar__in { padding-block:22px; gap:16px 28px; }
.bar__item { font-size:.78rem; font-weight:500; line-height:1.5; }
.bar__item svg { width:21px; height:21px; }
/* Категории и карточки машин. */
.cat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cat-card { display:flex; flex-direction:row; align-items:center; gap:16px; padding:22px; border:1px solid var(--line); border-radius:12px; background:#fff; transition:border-color .2s,background .2s; box-shadow:none; }
.cat-card:hover { transform:none; box-shadow:none; border-color:#9cae97; background:#f8faf5; }
.cat-card__icon { flex:0 0 46px; width:46px; height:46px; display:grid; place-items:center; background:#edf2e8; color:var(--jd-green-dark); border-radius:10px; }
.cat-card__icon svg { width:26px; height:26px; }
.cat-card__copy { min-width:0; display:flex; flex-direction:column; gap:4px; }
.cat-card__name { font-family:var(--font-body); font-size:.91rem; line-height:1.4; font-weight:600; }
.cat-card__count { font-size:.75rem; }
.cat-card__arrow { width:21px; height:21px; margin-left:auto; color:var(--jd-green); flex:0 0 auto; }
.card-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr)); gap:22px; }
.card { border-color:#dde2d8; border-radius:14px; box-shadow:0 2px 8px rgba(25,50,30,.025); }
.card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.card__media { aspect-ratio:16/11; background:#e7ece2; }
.card__media img { transition:transform .35s ease; }
.card:hover .card__media img { transform:scale(1.025); }
.card__badge { padding:6px 9px; border-radius:5px; font-size:.6rem; letter-spacing:.03em; }
.card__year { padding:5px 9px; font-size:.68rem; background:rgba(18,40,30,.85); border-radius:5px; }
.card__body { padding:20px; }
.card__cat { color:#6a795f; font-size:.62rem; letter-spacing:.06em; line-height:1.5; }
.card__title { font-family:var(--font-body); font-size:1.03rem; font-weight:650; line-height:1.4; letter-spacing:-.025em; }
.card__specs { column-gap:12px; row-gap:12px; padding-top:15px; margin-bottom:20px; }
.card__specs dt { font-size:.62rem; letter-spacing:.04em; }
.card__specs dd { font-size:.76rem; font-weight:500; overflow-wrap:anywhere; }
.card__foot { flex-wrap:wrap; gap:12px; padding-top:18px; }
.card__price { margin:0; font-family:var(--font-body); font-size:1.4rem; letter-spacing:-.05em; line-height:1.2; font-weight:650; }
.card__price small { font-size:.59rem; line-height:1.5; letter-spacing:0; margin-top:6px; }
.card__link { font-size:.74rem; padding:8px 10px; border:1px solid #d2ddcd; border-radius:6px; }
.card__link:hover { background:#edf2e8; text-decoration:none; }
/* Каталог, страница машины и формы используют одну систему полей. */
.page-head { background:#e9eee3; color:var(--ink); padding-block:40px; border-bottom:1px solid #dce3d4; }
.page-head h1 { color:var(--ink); font-weight:600; max-width:1000px; }
.page-head p,.crumbs { color:var(--ink-soft); }
.crumbs { font-size:.76rem; }
.crumbs a { color:var(--jd-green); }
.catalog-layout { grid-template-columns:268px minmax(0,1fr); gap:28px; }
.filters { top:132px; padding:22px; border-radius:12px; box-shadow:none; max-height:calc(100dvh - 152px); overflow-y:auto; }
.filters h2 { font-size:1.05rem; text-transform:none; font-weight:650; border-bottom:1px solid var(--line); }
.filters .field { font-size:.78rem; font-weight:550; }
.field>span,.filter-group>legend { font-size:.67rem; letter-spacing:.04em; }
.input,.select,.textarea { border-color:#d6ddcf; border-radius:7px; min-height:44px; background-color:#fcfdf9; font-size:.84rem; }
.input:focus,.select:focus,.textarea:focus { outline:3px solid rgba(36,91,59,.12); border-color:var(--jd-green); background-color:#fff; }
.check { font-size:.8rem; }
.filters .range-row { gap:8px; }
.filters .range-row .input { padding-inline:9px; }
.catalog-count { font-size:.84rem; }
.catalog-bar { gap:12px; margin-bottom:24px; }
.catalog-bar .select { font-size:.8rem; min-width:210px; }
.catalog-pagination { gap:7px; margin-top:30px; }
.catalog-pagination .btn { min-width:42px; min-height:42px; padding:10px 13px; font-size:.76rem; }
.unit__panel { border-radius:14px; padding:28px; box-shadow:var(--shadow-md); }
.unit__price { font-family:var(--font-body); font-size:2.25rem; letter-spacing:-.055em; font-weight:650; }
.unit__cat { font-size:.68rem; }
.unit__price-note { font-size:.78rem; line-height:1.7; }
.unit__actions .btn { font-size:.8rem; }
.spec-table { font-size:.8rem; }
.spec-table th { width:48%; padding-right:12px; }
.spec-table td { font-weight:550; overflow-wrap:anywhere; }
.gallery__main,.unit__media { border-radius:14px; }
.gallery__thumb { border-radius:7px; }
.prose { color:var(--ink-soft); }
.prose h2,.prose h3 { color:var(--ink); }
.prose p { font-size:.95rem; line-height:1.85; }
/* Процесс и преимущества — открытая сетка вместо одинаковых плашек. */
.steps { grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; }
.step { padding:22px 0 0; border:0; border-top:1px solid #bfcdb8; border-radius:0; background:transparent; }
.step::before { content:counter(s,decimal-leading-zero); display:block; width:auto; height:auto; margin-bottom:24px; border-radius:0; background:none; font-family:var(--font-body); font-size:2.2rem; font-weight:400; letter-spacing:-.06em; color:#829779; }
.step h3 { font-size:1.03rem; }
.step p { font-size:.85rem; line-height:1.8; }
.feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 32px; }
.feature { border:0; border-top:1px solid var(--line); border-radius:0; padding:28px 0; background:transparent; }
.feature__icon { width:38px; height:38px; background:#edf2e8; border-radius:8px; margin-bottom:18px; }
.feature__icon svg { width:21px; height:21px; }
.feature h3 { font-size:1.04rem; }
.feature p { font-size:.85rem; line-height:1.8; }
.cta { background:var(--jd-green-deep); border-radius:18px; padding:44px; grid-template-columns:1.5fr .7fr; gap:48px; }
.cta h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:550; letter-spacing:-.04em; }
.cta p { font-size:.9rem; line-height:1.8; color:#c8d3c2; }
.cta .btn--ghost { background:transparent; }
.contact-layout { gap:28px; }
.contact-card { border-radius:14px; padding:32px; }
.contact-card h2 { font-size:1.55rem; }
.contact-list li { padding-block:18px; }
.contact-list b { font-size:.65rem; }
.contact-list a,.contact-list span { font-size:.92rem; font-weight:500; }
.contact-phones a { font-variant-numeric:tabular-nums; }
.form-note { font-size:.78rem; line-height:1.7; }
.site-foot { background:#10241b; }
.site-foot__main { gap:40px; padding-block:56px; }
.site-foot h3 { font-size:.68rem; letter-spacing:.08em; color:#c6d1bd; }
.site-foot .brand__name { color:#fff; }
.site-foot .brand__tag { color:#a2b495; }
.site-foot__about { font-size:.8rem; color:#a9b7a4; line-height:1.85; }
.foot-list { font-size:.79rem; }
.foot-list li { padding-block:6px; }
.site-foot__legal { font-size:.69rem; color:#94a28e; }
.site-foot__legal p { max-width:105ch; }
@media (min-width:1101px) and (max-width:1250px) {
  .site-head__in { gap:12px; }
  .brand__name { max-width:225px; font-size:.85rem; }
  .nav a { font-size:.75rem; padding-inline:9px; }
  .head-cta { gap:12px; }
  .head-phones .head-phone { font-size:.68rem; }
}
@media (max-width:1100px) {
  .site-head__in { min-height:74px; }
  .brand { max-width:calc(100% - 60px); }
  .head-phones { display:none; }
  .hero__in { column-gap:28px; }
  .hero__details { gap:28px; }
  .hero__media { height:310px; }
  .hero h1 { font-size:2.45rem; }
  .hero h1 em { font-size:.3em; }
  .hero__phones { gap:10px 18px; }
}
@media (max-width:900px) {
  .hero__top { padding-top:26px; }
  .hero__in { grid-template-columns:1fr; row-gap:24px; padding-block:0 30px; }
  .hero__text { grid-column:1; grid-row:1; padding-block:12px 0; }
  .hero__media { position:relative; grid-column:1; grid-row:2; height:auto; aspect-ratio:16/9; }
  .hero__details { grid-column:1; grid-template-columns:1.15fr 1fr; gap:24px; }
  .hero__actions { grid-column:1; }
  .hero h1 { max-width:720px; font-size:clamp(2.1rem,5vw,2.75rem); }
  .hero h1 span+span { font-size:.6em; margin-top:16px; }
  .hero h1 em { margin-top:18px; font-size:.28em; }
  .hero__stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 0; padding-block:26px; }
  .hero__stats li { padding-inline:22px; }
  .hero__stats li:nth-child(3) { padding-left:0; }
  .hero__stats li:nth-child(2) { border-right:0; }
  .catalog-layout { grid-template-columns:1fr; }
  .filters { position:static; max-height:none; overflow:visible; }
  .steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cta { gap:28px; }
}
@media (max-width:600px) {
  .wrap { padding-inline:20px; }
  .topbar__list { gap:4px 12px; }
  .topbar { font-size:.63rem; }
  .site-head__in { min-height:70px; gap:10px; }
  .brand__name { max-width:260px; font-size:.83rem; }
  .brand__mark { width:34px; height:34px; font-size:.85rem; }
  .nav-toggle { width:38px; height:38px; }
  .hero__in { row-gap:22px; }
  .hero h1 { font-size:clamp(1.5rem,6.9vw,2.2rem); letter-spacing:-.045em; }
  .hero h1 span+span { font-size:.66em; line-height:1.4; margin-top:16px; }
  .hero h1 em { margin-top:16px; font-size:.38em; padding:8px 10px; letter-spacing:.035em; }
  .hero__media { border-radius:12px; aspect-ratio:4/3; }
  .hero__details { grid-template-columns:1fr; gap:20px; padding-top:0; border-top:0; }
  .hero__lead { font-size:.9rem; line-height:1.85; }
  .hero__terms { padding:18px; background:#eaf0e5; border:1px solid #d7e0cf; border-radius:10px; }
  .hero__price-note { font-size:.81rem; }
  .hero__delivery { font-size:.9rem; }
  .hero__actions { align-items:stretch; gap:18px; }
  .hero__actions .btn { width:100%; }
  .hero__phones { flex-direction:column; width:100%; gap:8px; }
  .hero__phones a { font-size:.91rem; padding:8px 0; border-bottom:1px solid var(--line); }
  .hero__stats b { font-size:1.4rem; }
  .hero__stats span { font-size:.69rem; line-height:1.5; }
  .bar__in { grid-template-columns:1fr 1fr; padding-block:20px; gap:18px; }
  .bar__item { align-items:flex-start; gap:8px; font-size:.69rem; }
  .bar__item svg { width:18px; height:18px; }
  .section { padding-block:48px; }
  .section-head { margin-bottom:24px; }
  .cat-grid { grid-template-columns:1fr; gap:10px; }
  .cat-card { padding:17px; gap:12px; }
  .cat-card__name { font-size:.85rem; }
  .cat-card__icon { flex-basis:40px; width:40px; height:40px; }
  .cat-card__icon svg { width:23px; height:23px; }
  .card-grid { gap:18px; }
  .page-head { padding-block:30px; }
  .page-head h1 { font-size:1.95rem; overflow-wrap:anywhere; }
  .page-head p { font-size:.85rem; }
  .catalog-bar .select { width:100%; }
  .steps { gap:24px 20px; }
  .step::before { margin-bottom:16px; font-size:1.8rem; }
  .step h3 { font-size:.95rem; }
  .step p { font-size:.8rem; }
  .feature-grid { grid-template-columns:1fr; }
  .feature { padding-block:24px; }
  .cta { padding:26px; border-radius:12px; grid-template-columns:1fr; gap:24px; }
  .cta p { font-size:.84rem; }
  .contact-card { padding:24px; }
  .unit__panel { padding:22px; }
  .site-foot__main { padding-block:40px; gap:28px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; animation:none!important; }
}

.page-head h1 .unit__year { color:var(--jd-green); }
.filters__disclosure > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; list-style:none; cursor:pointer; }
.filters__disclosure > summary::-webkit-details-marker { display:none; }
.filters__disclosure > summary h2 { padding:0; margin:0; border:0; }
.filters__disclosure > summary::after { content:""; width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-right:3px; }
.filters__disclosure[open] > summary { padding-bottom:18px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.filters__disclosure[open] > summary::after { transform:rotate(225deg); }

.catalog-section { padding-block:40px 72px; }
.contact-section,.unit-section { padding-block:56px; }
.textarea { min-height:150px; line-height:1.7; }
@media (max-width:600px) {
  .catalog-section { padding-block:30px 48px; }
  .contact-section,.unit-section { padding-block:36px; }
}
.filters__disclosure > summary { min-height:44px; }
@media (max-width:600px) {
  .input,.select,.textarea,.catalog-bar .select { font-size:16px; }
  .nav-toggle { width:44px; height:44px; }
}
