/* ══════════════════════════════════════════════════════════════════
   styles.css — единый CSS для всех страниц Виводар
   ══════════════════════════════════════════════════════════════════ */

/* ── RESET & ПЕРЕМЕННЫЕ ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #2D5A27;
  --green-mid:   #7AB648;
  --green-light: #E8F4E0;
  --logo-bg:     #FCFCFC;
  --hero-bg:     #F7FAF5;
  --border:      #E5E7EB;
  --text:        #111827;
  --muted:       #4B5563;
  --gray-text:   #374151;
  --max-w:       1200px;
  --px:          48px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --shadow-card: 0 4px 32px rgba(45, 90, 39, 0.10);
  --shadow-img:  0 24px 64px rgba(45, 90, 39, 0.14);
  --transition:  .18s ease;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #fff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── ОБЩИЕ ВСПОМОГАТЕЛЬНЫЕ ──────────────────────────────────────── */
.tag-dot {
  width: 6px;
  height: 6px;
  background: var(--green-mid);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── КНОПКИ ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 30px;
  font-size: 17px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-primary:hover { background: #234820; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
  border-radius: var(--radius-sm);
  padding: 13px 30px;
  font-size: 17px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-outline:hover { background: var(--green-light); }

/* ── ШАПКА ──────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--logo-bg);
  border-bottom: 1px solid var(--border);
}
.hdr {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 72px;
  display: flex;
  align-items: center;
}
.logo { text-decoration: none; }
.logo img { height: 55px; width: auto; display: block; }

nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}
nav a:hover { color: var(--green-dark); }
nav a.active {
  color: var(--green-dark);
  font-weight: 600;
}
nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-dark);
  border-radius: 1px;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  margin-left: 36px;
  transition: background var(--transition);
  white-space: nowrap;
}
.cart-btn:hover { background: #234820; }
.cart-count {
  background: var(--green-mid);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
}

/* ── ПОДВАЛ ──────────────────────────────────────────────────────── */
footer {
  background: #111827;
  color: #fff;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--px) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-text {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.footer-desc {
  font-size: 15px;
  color: #9CA3AF;
  line-height: 1.65;
}
.footer-legal-note {
  font-size: 12px;
  color: #6B7280;
  margin-top: 10px;
  line-height: 1.5;
}
.fcol-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.flinks { display: flex; flex-direction: column; gap: 9px; }
.flinks a {
  font-size: 16px;
  color: #D1D5DB;
  text-decoration: none;
  transition: color var(--transition);
}
.flinks a:hover { color: #fff; }
.fcontacts { display: flex; flex-direction: column; gap: 10px; }
.fcontact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #D1D5DB;
}
.fcontact a { color: #D1D5DB; text-decoration: none; }
.fcontact a:hover { color: #fff; }
.fdiv { border: none; border-top: 1px solid #374151; margin-bottom: 20px; }
.footer-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.fcopy { font-size: 15px; color: #6B7280; }
.fpolicy { display: flex; gap: 20px; }
.fpolicy a {
  font-size: 15px;
  color: #6B7280;
  text-decoration: none;
}
.fpolicy a:hover { color: #9CA3AF; }

/* ── КОРЗИНА (drawer) ───────────────────────────────────────────── */
.cart-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 500;
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  z-index: 501;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.15);
  transition: right .3s ease;
}
.cart-drawer.open { right: 0; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-head-title { font-size: 20px; font-weight: 700; color: var(--text); }
.cart-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 4px 8px;
}

.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.cart-empty svg { display: block; margin: 0 auto 12px; opacity: 0.25; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.ci-name { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.3; }
.ci-weight { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ci-qty { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ci-qty-btn {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .15s;
  line-height: 1;
}
.ci-qty-btn:hover { border-color: var(--green-dark); color: var(--green-dark); }
.ci-qty-n { font-size: 16px; font-weight: 700; min-width: 20px; text-align: center; }
.ci-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  min-width: 64px;
  text-align: right;
  flex-shrink: 0;
}
.ci-del {
  background: none;
  border: none;
  cursor: pointer;
  color: #D1D5DB;
  font-size: 22px;
  line-height: 1;
  padding: 2px 4px;
  transition: color .15s;
  flex-shrink: 0;
}
.ci-del:hover { color: #EF4444; }

.cart-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: #fff; display: none; }
.cart-footer.visible { display: flex; flex-direction: column; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cart-total-label { font-size: 16px; color: var(--muted); }
.cart-total-sum { font-size: 24px; font-weight: 700; color: var(--text); }
.cart-min-warn {
  font-size: 15px;
  color: #92400E;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
  display: none;
}
.cart-min-warn.show { display: block; }

.cart-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cart-form input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 17px;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  outline: none;
  transition: border var(--transition);
}
.cart-form input:focus { border-color: var(--green-dark); }
.cart-form input::placeholder { color: #9CA3AF; }

.cart-submit {
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 17px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: background var(--transition);
  width: 100%;
  margin-top: 4px;
}
.cart-submit:hover { background: #234820; }

.cart-success { display: none; padding: 24px 0; text-align: center; }
.cart-success.show { display: block; }
.cart-success-icon { font-size: 44px; margin-bottom: 14px; }
.cart-success-text { font-size: 18px; color: var(--text); font-weight: 500; line-height: 1.6; }

/* ── ВНУТРЕННИЕ СТРАНИЦЫ ─────────────────────────────────────────── */
.page-hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  padding: 72px var(--px);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.page-h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 14px;
}
.page-lead {
  font-size: 20px;
  color: var(--gray-text);
  line-height: 1.72;
  max-width: 640px;
}

.page-body { max-width: var(--max-w); margin: 0 auto; padding: 80px var(--px); }
.sec { margin-bottom: 72px; }
.sec:last-child { margin-bottom: 0; }
.sec-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.sec-h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.sec-h3 { font-size: 24px; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.sec-text { font-size: 19px; color: var(--gray-text); line-height: 1.78; }
.sec-text + .sec-text { margin-top: 16px; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-dark);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.value-title { font-size: 18px; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.value-text { font-size: 17px; color: var(--gray-text); line-height: 1.65; }

.achieve-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 28px;
}
.achieve-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.achieve-item:last-child { border-bottom: none; }
.achieve-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--green-light);
  flex-shrink: 0;
  line-height: 1;
  min-width: 36px;
}
.achieve-text { font-size: 18px; color: var(--gray-text); line-height: 1.68; padding-top: 5px; }
.achieve-text strong { color: var(--green-dark); }

.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 52px;
  height: 52px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step-text { font-size: 18px; color: var(--gray-text); line-height: 1.72; }

.green-box { background: var(--hero-bg); border-radius: var(--radius-lg); padding: 48px; }
.accent-box {
  background: var(--green-light);
  border: 1px solid #c5d9c0;
  border-radius: 14px;
  padding: 28px 32px;
}

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-card-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 22px; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--gray-text);
  line-height: 1.5;
}
.contact-line svg { flex-shrink: 0; margin-top: 2px; }
.contact-line a { color: var(--green-dark); text-decoration: none; font-weight: 500; }
.contact-line a:hover { text-decoration: underline; }
.contact-line small { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }

.trust-box {
  background: var(--hero-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 28px;
}
.trust-box-icon { font-size: 36px; margin-bottom: 14px; }
.trust-box-h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.trust-box-text {
  font-size: 19px;
  color: var(--gray-text);
  line-height: 1.78;
  max-width: 560px;
  margin: 0 auto;
}

/* contacts.html: кнопка в карточке без border */
.contact-card .btn-primary {
  font-size: 16px;
  padding: 12px 22px;
  border: none;
}

/* ── ГЛАВНАЯ: HERO DIAGONAL ─────────────────────────────────────── */
.hero-diag-section {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  padding: 48px var(--px) 56px;
}
.hero-diag-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Левая часть — белая, текст */
.hero-diag-left {
  background: #fff;
  padding: 72px 56px 72px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-diag-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
  width: fit-content;
}
.hero-diag-h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.7px;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-diag-h1 em { font-style: normal; color: var(--green-dark); }
.hero-diag-sub {
  font-size: 18px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}
.hero-diag-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-diag-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
}
.hero-diag-check {
  width: 20px;
  height: 20px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-diag-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Правая часть — фото */
.hero-diag-right {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.hero-diag-wedge {
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 80px;
  background: #fff;
  clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%);
  z-index: 3;
}
.hero-diag-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 2;
}

/* ── ГЛАВНАЯ: TRUST BAR ─────────────────────────────────────────── */
.trust-section {
  background: #fff;
  border-top: 1px solid var(--border);
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 16px;
  color: #9CA3AF;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-items { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-item {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tick {
  width: 16px;
  height: 16px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── ГЛАВНАЯ: БЛОК 2 — ОБРАЩЕНИЕ К ЦА ──────────────────────────── */
.b2-section {
  background: #fff;
  border-top: 1px solid var(--border);
}
.b2-inner-new {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 88px var(--px);
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 72px;
  align-items: center;
}
.b2-tag-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.b2-headline {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 40px;
}
.b2-headline em { font-style: normal; color: var(--green-dark); }

.b2-items { display: flex; flex-direction: column; }
.b2-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.b2-item:first-child { border-top: 1px solid var(--border); }
.b2-item-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.b2-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.b2-item-text { font-size: 17px; color: var(--gray-text); line-height: 1.72; }

.b2-quote-new {
  margin-top: 32px;
  padding: 22px 28px;
  background: var(--hero-bg);
  border-left: 4px solid var(--green-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.b2-quote-new p {
  font-size: 17px;
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.6;
  font-style: italic;
}

.b2-image-col { position: relative; }
.b2-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-img);
}
.b2-image-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.b2-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.b2-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b2-badge-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.b2-badge-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

/* ── ГЛАВНАЯ: БЛОК 3 — КАТАЛОГ ──────────────────────────────────── */
.b3-section {
  background: var(--hero-bg);
  border-top: 1px solid var(--border);
}
.b3-inner { max-width: var(--max-w); margin: 0 auto; padding: 72px var(--px); }
.section-header {
  margin-bottom: 36px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.section-h2 { font-size: 36px; font-weight: 700; color: var(--text); letter-spacing: -0.4px; }
.section-sub { font-size: 16px; color: var(--muted); }

.products-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-row {
  display: grid;
  grid-template-columns: 36px 1fr 110px 90px 120px;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.product-row:last-child { border-bottom: none; }
.product-row:hover { background: #FAFDF8; }
.pr-num { font-size: 14px; font-weight: 600; color: var(--green-mid); text-align: center; }
.pr-name { font-size: 17px; font-weight: 600; color: var(--text); }
.pr-cat { font-size: 12px; color: #6B7280; font-weight: 400; margin-top: 2px; }
.pr-gallery { display: flex; align-items: center; gap: 6px; }
.pr-gallery-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: background .15s;
  white-space: nowrap;
}
.pr-gallery-btn:hover { background: #d4ecca; }
.pr-price { font-size: 18px; font-weight: 700; color: var(--text); text-align: right; }
.pr-price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 1px;
}
.pr-action { display: flex; justify-content: flex-end; }
.pr-add {
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.pr-add:hover { background: #234820; }
.pr-add.added { background: var(--green-mid); }
.products-list-header {
  display: grid;
  grid-template-columns: 36px 1fr 110px 90px 120px;
  gap: 16px;
  padding: 10px 20px;
  background: var(--green-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--border);
}
.plh {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.plh.right { text-align: right; }

/* ── ГЛАВНАЯ: БЛОК 4 — УТП ──────────────────────────────────────── */
.b4-section {
  background: var(--green-light);
  border-top: 1px solid var(--border);
}
.b4-inner { max-width: var(--max-w); margin: 0 auto; padding: 72px var(--px); }
.b4-h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 40px;
}
.utp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.utp-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(45, 90, 39, 0.12);
  border-right: 1px solid rgba(45, 90, 39, 0.12);
  background: #fff;
}
.utp-item:nth-child(2n) { border-right: none; }
.utp-item:nth-last-child(-n+2) { border-bottom: none; }
.utp-icon-img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.utp-body-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.utp-body-text { font-size: 17px; color: var(--gray-text); line-height: 1.6; }

/* ── ГЛАВНАЯ: БЛОК 5 — ОТЗЫВЫ ───────────────────────────────────── */
.b5-section {
  background: var(--hero-bg);
  border-top: 1px solid var(--border);
}
.b5-inner { max-width: var(--max-w); margin: 0 auto; padding: 72px var(--px); }
.b5-h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 32px;
}
.reviews-wrap { overflow: hidden; }
.reviews-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.rv-quote {
  font-size: 22px;
  color: var(--green-mid);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 6px;
}
.rv-text {
  font-size: 18px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 12px;
  font-style: italic;
}
.rv-author { display: flex; align-items: center; gap: 10px; }
.rv-avatar {
  width: 34px;
  height: 34px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
}
.rv-name { font-size: 17px; font-weight: 700; color: var(--text); }
.rv-city { font-size: 15px; color: var(--muted); }

/* ── ГЛАВНАЯ: БЛОК 6 — CTA ──────────────────────────────────────── */
.b6-section {
  background: #fff;
  border-top: 3px solid var(--green-light);
}
.b6-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--px);
  text-align: center;
}
.b6-h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}
.b6-text {
  font-size: 19px;
  color: var(--gray-text);
  line-height: 1.72;
  max-width: 640px;
  margin: 0 auto 36px;
}
.b6-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 32px;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.b6-btn:hover { background: #234820; }

/* ── ЛАЙТБОКС ────────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lb-inner { position: relative; max-width: 560px; width: 90%; }
.lb-img { width: 100%; border-radius: var(--radius-md); display: block; }
.lb-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.28); }
.lb-prev { left: -52px; }
.lb-next { right: -52px; }
.lb-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.lb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.lb-dot.active { background: #fff; }

/* ══════════════════════════════════════════════════════════════════
   АДАПТИВНОСТЬ
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Hero */
  .hero-diag-section { padding: 32px var(--px) 40px; }
  .hero-diag-wrap { grid-template-columns: 1fr; min-height: auto; }
  .hero-diag-left { padding: 48px 40px; order: 2; }
  .hero-diag-right { min-height: 300px; order: 1; }
  .hero-diag-wedge { display: none; }
  .hero-diag-h1 { font-size: 36px; }

  /* B2 */
  .b2-inner-new { grid-template-columns: 1fr; gap: 48px; padding: 64px var(--px); }
  .b2-image-col { order: -1; }
  .b2-image-wrap img { height: 380px; }
  .b2-headline { font-size: 34px; margin-bottom: 28px; }

  /* Остальное */
  .b4-inner, .b5-inner, .b6-inner, .b3-inner { padding: 56px var(--px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-h1 { font-size: 36px; }
  .values-grid, .contacts-grid { grid-template-columns: 1fr; }
  .green-box { padding: 36px; }
}

@media (max-width: 900px) {
  :root { --px: 20px; }

  /* Шапка */
  .hdr { height: 64px; }
  .logo img { height: 42px; }
  nav { display: none; }
  .cart-btn { margin-left: auto; padding: 9px 16px; font-size: 15px; }

  /* Hero */
  .hero-diag-section { padding: 20px var(--px) 28px; }
  .hero-diag-left { padding: 40px 24px; }
  .hero-diag-h1 { font-size: 30px; }
  .hero-diag-right { min-height: 250px; }

  /* Trust bar */
  .trust-inner { padding: 14px var(--px); gap: 10px; }
  .trust-items { gap: 12px; }

  /* B2 */
  .b2-inner-new { padding: 56px var(--px); }
  .b2-headline { font-size: 28px; }
  .b2-image-wrap img { height: 280px; }
  .b2-item { gap: 14px; padding: 18px 0; }
  .b2-item-text { font-size: 16px; }

  /* B3 каталог */
  .b3-inner { padding: 48px var(--px); }
  .section-h2 { font-size: 30px; }
  .products-list-header { display: none; }
  .product-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 16px; }
  .pr-num { display: none; }
  .pr-name { grid-column: 1; grid-row: 1; font-size: 16px; }
  .pr-gallery { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .pr-price { grid-column: 1; grid-row: 2; font-size: 17px; }
  .pr-action { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .pr-add { padding: 7px 14px; font-size: 15px; }

  /* B4 УТП */
  .b4-inner { padding: 48px var(--px); }
  .b4-h2 { font-size: 30px; margin-bottom: 28px; }
  .utp-grid { grid-template-columns: 1fr; border-radius: var(--radius-md); }
  .utp-item { border-right: none !important; padding: 20px; }
  .utp-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(45, 90, 39, 0.12); }
  .utp-item:last-child { border-bottom: none; }
  .utp-body-title { font-size: 17px; }
  .utp-body-text { font-size: 16px; }

  /* B5 отзывы */
  .b5-inner { padding: 48px var(--px); }
  .b5-h2 { font-size: 30px; margin-bottom: 24px; }
  .reviews-track { grid-template-columns: 1fr 1fr; }

  /* B6 CTA */
  .b6-inner { padding: 56px var(--px); }
  .b6-h2 { font-size: 30px; }

  /* Внутренние страницы */
  .page-hero { padding: 44px var(--px); }
  .page-h1 { font-size: 32px; }
  .page-lead { font-size: 18px; }
  .page-body { padding: 52px var(--px); }
  .sec { margin-bottom: 52px; }
  .sec-h2 { font-size: 28px; }
  .step { gap: 20px; padding: 24px 0; }
  .step-num { width: 44px; height: 44px; font-size: 19px; }
  .green-box { padding: 28px; }
  .accent-box { padding: 22px; }

  /* Подвал */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { padding: 40px var(--px) 24px; }
  .footer-bot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fpolicy { flex-wrap: wrap; gap: 12px; }

  /* Корзина */
  .cart-drawer { width: 100%; }
}

@media (max-width: 640px) {
  .reviews-track { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --px: 16px; }
  .cart-drawer { width: 100%; right: -100%; }
  .footer-logo-text { font-size: 24px; }
  .fpolicy { flex-direction: column; gap: 8px; }
  .page-h1 { font-size: 28px; }
  .sec-h2 { font-size: 24px; }
  .step-title { font-size: 19px; }
  .hero-diag-h1 { font-size: 26px; }
  .b2-image-wrap img { height: 220px; }
  .b2-image-badge { bottom: 14px; left: 14px; padding: 10px 14px; }
}

/* ── CONTACTS: текст в карточке чата ───────────────────────────── */
.contact-consult-text {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.72;
  margin-bottom: 22px;
}

/* ── HOW-TO-ORDER: отступ под текстом в accent-box ─────────────── */
.sec-text--top { margin-top: 10px; }

/* HOW-TO-ORDER: CTA блок по центру */
.order-cta { text-align: center; }
.order-cta .sec-h2 { margin-bottom: 14px; }
.order-cta__text {
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ── ГЛАВНАЯ: кнопка "Перейти в каталог" ────────────────────────── */
.catalog-more {
  margin-top: 28px;
  text-align: center;
}

/* nav активная подсветка для catalog.html */
.catalog-more .btn-outline {
  padding: 13px 36px;
  font-size: 17px;
}

/* ── КАТАЛОГ: подсказка о минимальной сумме ─────────────────────── */
.catalog-order-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--muted);
  background: var(--hero-bg);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.catalog-order-hint a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}
.catalog-order-hint a:hover { text-decoration: underline; }
