/* ==========================================================================
   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: 900px) {
  .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; }
