:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f5;
  --bg-dark: #0f2a23;
  --ink: #102a23;
  --ink-2: #2c4a42;
  --muted: #647571;
  --line: #e3e7e6;
  --brand: #0a7e60;
  --brand-dark: #086149;
  --brand-soft: #e6f4ef;
  --accent: #d8a64a;
  --max: 1240px;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(15, 42, 35, 0.06);
  --shadow-lg: 0 18px 50px rgba(15, 42, 35, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2vw + 0.8rem, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-2); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 9px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
}
.logo span small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: var(--brand-dark); text-decoration: none; }
.nav a.is-active { color: var(--brand-dark); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 126, 96, 0.25);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: #f3f3f3; }
.btn-arrow::after {
  content: "→";
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background: radial-gradient(circle at 20% 0%, var(--brand-soft) 0, transparent 55%),
              linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: 60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(10, 126, 96, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--brand-dark); }
.hero .lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 580px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .item {
  display: flex; flex-direction: column;
}
.hero-meta .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-meta .label {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-card-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.hero-card h3 { font-size: 1.35rem; margin-bottom: 18px; }
.hero-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.hero-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink-2);
  align-items: start;
}
.hero-card li::before {
  content: "";
  display: block;
  width: 22px; height: 22px;
  margin-top: 2px;
  background: var(--brand-soft);
  border-radius: 50%;
  position: relative;
}
.hero-card li {
  position: relative;
}
.tick {
  width: 22px; height: 22px;
  background: var(--brand-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 1px;
}
.tick svg { width: 12px; height: 12px; color: var(--brand-dark); }
.hero-card li::before { display: none; }
.hero-card li > span { color: var(--ink); font-weight: 500; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head p { font-size: 1.05rem; }

/* ---------- Advantages ---------- */
.advantages {
  background: var(--bg-soft);
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.adv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: grid; place-items: center;
  color: var(--brand-dark);
  margin-bottom: 20px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.adv-card p { font-size: 0.96rem; margin: 0; }

/* ---------- Catalog preview ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d3dad7;
  text-decoration: none;
}
.cat-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--brand-soft), #f0f4f3);
  display: grid; place-items: center;
  color: var(--brand-dark);
  position: relative;
  overflow: hidden;
}
.cat-thumb svg { width: 64px; height: 64px; opacity: 0.85; }
.cat-thumb::before {
  content: "";
  position: absolute; inset: auto -40px -40px auto;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(10, 126, 96, 0.18), transparent 70%);
  border-radius: 50%;
}
.cat-body { padding: 22px 24px 26px; }
.cat-body h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.cat-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.cat-body .more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-dark);
}

/* ---------- Quality / split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-visual {
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-dark), #163d33);
  color: #fff;
  padding: 48px 40px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.split-visual::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
}
.split-visual .badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.split-visual .badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
  font-weight: 500;
}
.split-visual h2, .split-visual p { color: #fff; }
.split-visual p { color: rgba(255,255,255,0.78); }

.split-body ul {
  list-style: none;
  padding: 0; margin: 22px 0 0;
  display: grid; gap: 16px;
}
.split-body li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 1rem;
  color: var(--ink-2);
}

/* ---------- CTA banner ---------- */
.cta {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.78); margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Page header (non-home) ---------- */
.page-head {
  padding: 80px 0 56px;
  background: linear-gradient(180deg, var(--brand-soft) 0%, #ffffff 100%);
}
.page-head .eyebrow { background: #fff; }
.page-head h1 { margin-bottom: 18px; }
.page-head p { font-size: 1.1rem; max-width: 680px; }

/* ---------- Dealers ---------- */
.dealer-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dealer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.dealer-card .num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 12px;
}
.dealer-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.dealer-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.step {
  position: relative;
  padding-top: 18px;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
}
.step.is-active::before { background: var(--brand); }
.step .num {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; margin: 0; color: var(--muted); }

/* ---------- Form ---------- */
.form-block {
  background: var(--bg-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 126, 96, 0.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent {
  font-size: 0.8rem;
  color: var(--muted);
}
.form-info h2 { margin-bottom: 14px; }
.form-info .contacts-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid; gap: 16px;
}
.form-info .contacts-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.form-info .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid; place-items: center;
}
.form-info .ico svg { width: 18px; height: 18px; }
.form-info strong { display: block; color: var(--ink); }
.form-info span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Catalog page ---------- */
.cat-list {
  display: grid;
  gap: 24px;
}
.cat-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-item .cat-thumb { height: 100%; min-height: 220px; }
.cat-item-body { padding: 30px 32px 30px 0; }
.cat-item-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.cat-item-body p { margin-bottom: 14px; }
.cat-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-tags span {
  font-size: 0.78rem;
  padding: 5px 11px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-weight: 500;
}

.note-block {
  background: var(--brand-soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--brand);
  margin-bottom: 40px;
}
.note-block p { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 32px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a {
  color: rgba(255,255,255,0.72);
  font-size: 0.93rem;
}
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: rgba(255,255,255,0.6); }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .adv-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .dealer-benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; gap: 32px; }
  .cat-item { grid-template-columns: 1fr; }
  .cat-item .cat-thumb { height: 200px; min-height: 0; }
  .cat-item-body { padding: 24px; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  section { padding: 64px 0; }
  .nav, .header-cta .phone { display: none; }
  .burger { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 18px;
  }
  .adv-grid, .cat-grid, .dealer-benefits, .steps { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .hero-meta .num { font-size: 1.4rem; }
}
