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

:root {
  /* === НОВАЯ СВЕТЛО-ЗЕЛЁНАЯ ПАЛИТРА === */
  --green:        #3d9e68;
  --green-mid:    #2a7d50;
  --green-dark:   #1a5235;
  --green-light:  #eaf7ef;
  --green-pale:   #f2fbf5;
  --green-border: #c4e8d0;
  --green-100:    #d4f0dc;

  --text:    #1a2e20;
  --muted:   #5a7a65;
  --muted2:  #8aab94;
  --border:  #d8eede;
  --bg:      #f6fcf8;
  --white:   #ffffff;

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 3px rgba(30,80,50,.07);
  --shadow:    0 2px 8px rgba(30,80,50,.09);
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header__inner {
  display: flex; align-items: center; gap: 32px; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 800; font-size: 1.2rem;
  color: var(--green-dark); flex-shrink: 0;
}
.logo__icon { font-size: 1.4rem; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav__link {
  text-decoration: none; color: var(--muted); font-size: .9rem;
  padding: 6px 12px; border-radius: var(--radius-sm); transition: all .15s;
}
.nav__link:hover { color: var(--green-dark); background: var(--green-pale); }
.nav__link--active { color: var(--green-dark); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-cart {
  position: relative; font-size: 1.25rem;
  text-decoration: none; padding: 6px 10px;
  border-radius: var(--radius-sm); transition: background .15s;
}
.btn-cart:hover { background: var(--green-pale); }
.cart-badge {
  position: absolute; top: 0; right: 0;
  background: var(--green); color: #fff;
  font-size: .6rem; font-weight: 800;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--radius); font-size: .9rem;
  font-weight: 700; cursor: pointer; border: none; text-decoration: none;
  transition: all .18s; letter-spacing: .01em;
}
.btn--primary   { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-mid); }
.btn--outline   { background: transparent; color: var(--green-dark); border: 1.5px solid var(--green); }
.btn--outline:hover { background: var(--green-light); }
.btn--ghost     { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn--ghost:hover { background: var(--green-pale); border-color: var(--green-border); color: var(--green-dark); }
.btn--sm        { padding: 7px 14px; font-size: .82rem; }
.btn--full      { width: 100%; }
.btn--lg        { padding: 14px 32px; font-size: 1rem; }

/* ===== HERO ===== */
.hero {
  background: var(--green-pale);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 48px;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start;
}
.hero__eyebrow {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--green); margin-bottom: 14px;
}
.hero__title {
  font-size: 2.6rem; font-weight: 900; color: var(--green-dark);
  line-height: 1.12; margin-bottom: 16px;
}
.hero__title em { font-style: normal; color: var(--green); }
.hero__sub {
  font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px; max-width: 480px;
}

/* SWITCHER */
.switcher {
  display: inline-flex; background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; flex-wrap: wrap;
}
.sw-btn {
  font-size: .82rem; font-weight: 700; padding: 9px 16px; cursor: pointer;
  color: var(--muted); border: none; background: none; transition: all .18s;
  white-space: nowrap; border-right: 1px solid var(--border);
}
.sw-btn:last-child { border-right: none; }
.sw-btn:hover:not(.sw-btn--active) { background: var(--green-pale); color: var(--green-dark); }
.sw-btn--active { background: var(--green); color: #fff; }

/* SCENARIO GRID */
.scenario-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px;
}
.sc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 12px;
  transition: all .18s; cursor: default;
}
.sc-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.sc-icon { font-size: 1.5rem; margin-bottom: 6px; }
.sc-title { font-size: .82rem; font-weight: 700; color: var(--green-dark); margin-bottom: 2px; }
.sc-desc  { font-size: .75rem; color: var(--muted2); line-height: 1.4; }

/* TRUST BAR */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .8rem; color: var(--muted);
}
.trust-check {
  width: 18px; height: 18px; background: var(--green-100);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); font-size: .65rem; font-weight: 800; flex-shrink: 0;
}

/* HERO RIGHT — calculator */
.hero__right { padding-top: 4px; }
.calc-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow);
}
.calc-card__title {
  font-size: 1rem; font-weight: 800; color: var(--green-dark);
  margin-bottom: 4px;
}
.calc-card__sub { font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
.calc-label-row {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted2); margin-bottom: 8px;
}
.calc-toggles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.calc-toggle {
  font-size: .75rem; padding: 5px 10px; border: 1px solid var(--border);
  border-radius: 20px; cursor: pointer; background: var(--white); color: var(--muted);
  transition: all .15s; user-select: none;
}
.calc-toggle:hover { border-color: var(--green); color: var(--green-dark); }
.calc-toggle--on {
  background: var(--green-light); border-color: var(--green);
  color: var(--green-dark); font-weight: 700;
}
.calc-results {
  background: var(--green-pale); border-radius: var(--radius);
  padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  border: 1px solid var(--green-border);
}
.calc-stat { text-align: center; }
.calc-num  { font-size: 1.4rem; font-weight: 900; color: var(--green-dark); }
.calc-desc { font-size: .7rem; color: var(--muted); margin-top: 1px; line-height: 1.3; }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section--soft { background: var(--green-pale); }
.section__header { margin-bottom: 36px; }
.section__label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--green); margin-bottom: 8px;
}
.section__title { font-size: 1.65rem; font-weight: 900; color: var(--green-dark); margin-bottom: 8px; }
.section__sub   { font-size: .95rem; color: var(--muted); }
.section__header--center { text-align: center; }

/* ===== PRODUCT CARDS ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); border-color: var(--green-border); }
.product-card__img {
  aspect-ratio: 3/4; background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
  text-decoration: none; overflow: hidden;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: contain; background: #f8fdf9; padding: 12px;
}
.product-card__body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card__badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  background: var(--green-100); color: var(--green-dark);
}
.product-card__name {
  font-size: .9rem; font-weight: 700; color: var(--text);
  text-decoration: none; line-height: 1.35;
}
.product-card__name:hover { color: var(--green); }
.product-card__desc { font-size: .8rem; color: var(--muted); flex: 1; }
.product-card__rating { display: flex; align-items: center; gap: 4px; }
.stars { color: #f59e0b; font-size: .85rem; }
.product-card__footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 6px;
}
.product-card__price { font-size: 1.05rem; font-weight: 900; color: var(--green-dark); }
.product-card__price-old { font-size: .75rem; color: var(--muted2); text-decoration: line-through; }

/* ===== WHY TABLE ===== */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  padding: 11px 16px; text-align: left; font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); background: var(--green-pale); border-bottom: 2px solid var(--border);
}
.compare-table th:last-child { color: var(--green-dark); background: var(--green-light); }
.compare-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .88rem;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--green-pale); }
.yes { color: var(--green); font-weight: 700; }
.no  { color: #c0392b; }

/* ===== WHY CARDS ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.why-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}
.why-card__icon { font-size: 2rem; margin-bottom: 12px; }
.why-card__title { font-size: .95rem; font-weight: 800; color: var(--green-dark); margin-bottom: 6px; }
.why-card__text  { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ===== CATALOG ===== */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.catalog-sidebar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 80px;
}
.filter-block { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.filter-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title {
  display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted2); margin-bottom: 10px;
}
.filter-options { display: flex; flex-direction: column; gap: 7px; }
.filter-radio   { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .88rem; }
.filter-radio input { accent-color: var(--green); }

/* ===== FORMS ===== */
.form-group   { margin-bottom: 16px; }
.form-label   {
  display: block; font-size: .8rem; font-weight: 700;
  margin-bottom: 5px; color: var(--text);
}
.form-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .9rem; background: var(--white);
  color: var(--text); transition: border-color .18s;
}
.form-input:focus { outline: none; border-color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.form-input { resize: vertical; }

/* ===== ALERTS ===== */
.alert { padding: 11px 16px; border-radius: var(--radius); font-size: .875rem; margin-bottom: 16px; }
.alert--success { background: var(--green-light); color: var(--green-dark); }
.alert--error   { background: #fee2e2; color: #991b1b; }

/* ===== CART ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; padding: 10px 14px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted2);
  border-bottom: 2px solid var(--border);
}
.cart-table td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-summary {
  background: var(--green-pale); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}
.qty-btn {
  background: none; border: none; width: 34px; height: 38px;
  font-size: 1.1rem; cursor: pointer; color: var(--text);
}
.qty-btn:hover { background: var(--green-pale); }
.qty-field {
  width: 44px; height: 38px; border: none;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  text-align: center; font-size: .95rem; background: var(--white);
  -moz-appearance: textfield;
}
.qty-field::-webkit-outer-spin-button,
.qty-field::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted2); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }

/* ===== PRODUCT PAGE ===== */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-page__img-main {
  background: var(--green-light); border-radius: var(--radius-lg);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 7rem; position: relative; overflow: hidden;
}
.product-page__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--green); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 4px 10px; border-radius: 5px;
}
.product-page__title  { font-size: 1.5rem; font-weight: 900; margin: 8px 0; line-height: 1.2; }
.product-page__price  { font-size: 1.9rem; font-weight: 900; color: var(--green-dark); }
.product-page__price-old { font-size: 1rem; color: var(--muted2); text-decoration: line-through; }
.discount-badge {
  background: #fee2e2; color: #991b1b;
  font-size: .75rem; font-weight: 800; padding: 3px 8px; border-radius: 5px;
}
.meta-item {
  background: var(--green-pale); border: 1px solid var(--border);
  border-radius: 5px; padding: 4px 10px; font-size: .8rem;
}
.feature-tag {
  background: var(--green-light); color: var(--green-dark);
  font-size: .78rem; padding: 4px 10px; border-radius: 5px; font-weight: 600;
}
.stock-info { font-size: .82rem; color: var(--green); }
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.tabs-nav    { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 22px; }
.tab-btn {
  background: none; border: none; padding: 11px 20px; font-size: .9rem;
  cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab-btn--active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.product-description { font-size: .92rem; line-height: 1.8; max-width: 640px; }
.review-item { background: var(--green-pale); border-radius: var(--radius); padding: 14px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

/* ===== ACCOUNT ===== */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 32px 0 64px; align-items: start; }
.account-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.account-nav a {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px;
  color: var(--text); text-decoration: none; font-size: .88rem;
  border-bottom: 1px solid var(--border); transition: background .15s;
}
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover, .account-nav a.active {
  background: var(--green-light); color: var(--green-dark); font-weight: 700;
}
.account-main { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.account-main h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 18px; }
.order-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border); gap: 10px; flex-wrap: wrap;
}
.order-row:last-child { border-bottom: none; }
.status-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.status-new        { background: #dbeafe; color: #1e40af; }
.status-processing { background: #fef3c7; color: #92400e; }
.status-shipped    { background: #ede9fe; color: #5b21b6; }
.status-done       { background: var(--green-light); color: var(--green-dark); }
.status-cancelled  { background: #fee2e2; color: #991b1b; }

/* ===== FORM CARD ===== */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; max-width: 480px; margin: 48px auto; }
.form-card h1 { font-size: 1.4rem; font-weight: 900; margin-bottom: 22px; color: var(--green-dark); }

/* ===== CLIENT TYPE BTNS ===== */
.client-type-btn {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 11px 16px; text-align: center; font-size: .88rem;
  font-weight: 700; transition: all .18s; cursor: pointer;
}
.client-type-btn--active { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }

/* ===== MAIN ===== */
.main { min-height: calc(100vh - 64px - 72px); }

/* ===== FOOTER ===== */
.footer { background: var(--white); border-top: 1px solid var(--border); padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__copy { color: var(--muted2); font-size: .82rem; }
.footer__nav  { display: flex; gap: 22px; }
.footer__nav a { color: var(--muted); text-decoration: none; font-size: .82rem; }
.footer__nav a:hover { color: var(--green); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 64px 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero__inner   { grid-template-columns: 1fr; }
  .hero__right   { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .product-page  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero__title { font-size: 1.9rem; }
  .scenario-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
/* ============================================================
   BLOG — добавить в конец public/css/app.css
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.blog-hero {
  background: var(--green-pale);
  border-bottom: 1px solid var(--green-border);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.blog-hero__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.blog-hero__sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Filters ──────────────────────────────────────────────── */
.blog-filters {
  padding: 2rem 0 1rem;
}
.blog-filters__form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.blog-filters__search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
}
.blog-filters__input {
  width: 100%;
  padding: 0.6rem 2.4rem 0.6rem 1rem;
  border: 1px solid var(--green-border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.blog-filters__input:focus { border-color: var(--green); }
.blog-filters__search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0.2rem;
  display: flex;
}
.blog-filters__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-filters__cat {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--green-border);
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
  background: #fff;
}
.blog-filters__cat:hover,
.blog-filters__cat--active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── Search info ──────────────────────────────────────────── */
.blog-search-info {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ── Grid ─────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}

/* Первая карточка — широкая */
.blog-card--featured {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .blog-card--featured { grid-column: span 2; }
}

/* ── Card ─────────────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 4px 20px rgba(61,158,104,.12);
  transform: translateY(-2px);
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.blog-card__cat {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.blog-card__date { color: var(--muted); }
.blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.blog-card--featured .blog-card__title { font-size: 1.4rem; }
.blog-card__link {
  color: var(--green-dark);
  text-decoration: none;
}
.blog-card__link:hover { color: var(--green); }
.blog-card__preview {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
  flex: 1;
}
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.blog-card__tag {
  font-size: 0.78rem;
  color: var(--green);
  background: var(--green-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.blog-card__read:hover { color: var(--green-mid); }

.blog-empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page { padding: 2rem 0 4rem; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 2rem; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.85rem;
}
.breadcrumbs__item a { color: var(--green); text-decoration: none; }
.breadcrumbs__item a:hover { text-decoration: underline; }
.breadcrumbs__item--current { color: var(--muted); }
.breadcrumbs__sep { color: var(--muted); }

/* Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

/* Header */
.article-header { margin-bottom: 2rem; border-bottom: 1px solid var(--green-border); padding-bottom: 1.5rem; }
.article-header__meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; }
.article-header__cat {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}
.article-header__cat:hover { background: var(--green); color: #fff; }
.article-header__date { color: var(--muted); }
.article-header__title { font-size: 2rem; font-weight: 800; color: var(--green-dark); line-height: 1.25; margin: 0 0 1rem; }
.article-header__lead { font-size: 1.1rem; color: var(--muted); line-height: 1.6; margin: 0 0 1rem; }
.article-header__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.article-header__tag { font-size: 0.8rem; color: var(--green); background: var(--green-light); padding: 0.2rem 0.6rem; border-radius: 4px; }

/* Body */
.article-body { font-size: 1.02rem; line-height: 1.75; color: var(--text); }
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--green-light);
}
.article-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin: 1.75rem 0 0.5rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body strong { color: var(--green-dark); }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.93rem; }
.article-body th { background: var(--green-light); color: var(--green-dark); padding: 0.6rem 0.8rem; text-align: left; border: 1px solid var(--green-border); }
.article-body td { padding: 0.55rem 0.8rem; border: 1px solid var(--green-border); }
.article-body tr:nth-child(even) td { background: var(--green-pale); }
.article-body blockquote {
  border-left: 4px solid var(--green);
  background: var(--green-light);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  color: var(--green-dark);
  font-style: italic;
}

/* Prev/Next nav */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--green-border);
}
.article-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--green-border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.article-nav__item:hover { border-color: var(--green); background: var(--green-pale); }
.article-nav__item--next { text-align: right; }
.article-nav__label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.article-nav__title { font-size: 0.92rem; font-weight: 600; color: var(--green-dark); line-height: 1.35; }

/* CTA */
.article-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--green-light);
  border-radius: 16px;
  border: 1px solid var(--green-border);
}
.article-cta__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.article-cta__text { flex: 1; font-weight: 600; color: var(--green-dark); font-size: 1.05rem; margin: 0; }

/* Sidebar */
.article-sidebar { position: sticky; top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.article-sidebar__block {
  background: #fff;
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 1.25rem;
}
.article-sidebar__block--cta { background: var(--green-light); }
.article-sidebar__title { font-size: 0.9rem; font-weight: 700; color: var(--green-dark); margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: .04em; }
.article-sidebar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.article-sidebar__list a { color: var(--green-dark); text-decoration: none; font-size: 0.88rem; line-height: 1.4; }
.article-sidebar__list a:hover { color: var(--green); }

/* ============================================================
   ADMIN BLOG
   ============================================================ */
.admin-toggle {
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background .2s;
}
.admin-toggle--on { background: var(--green-light); color: var(--green-dark); }
.admin-toggle--off { background: #f3f4f6; color: #6b7280; }
.admin-toggle--on:hover { background: #c6f1d8; }
.admin-toggle--off:hover { background: #e5e7eb; }

.admin-table__title { color: var(--green-dark); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.admin-table__title:hover { color: var(--green); }
.admin-table__slug { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }
.admin-table__actions { display: flex; gap: 0.5rem; }

/* Admin form */
.admin-form__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .admin-form__grid { grid-template-columns: 1fr; } }

.admin-form__main { display: flex; flex-direction: column; gap: 1.25rem; }
.admin-form__side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1.5rem; }
.admin-form__box { background: #fff; border: 1px solid var(--green-border); border-radius: 10px; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.admin-form__box-title { font-size: 0.85rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.admin-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.admin-form__label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.admin-form__label .req { color: #e53e3e; }
.admin-form__input, .admin-form__select {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--green-border);
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.admin-form__input:focus, .admin-form__select:focus { border-color: var(--green); }
.admin-form__textarea { padding: 0.65rem 0.85rem; border: 1px solid var(--green-border); border-radius: 8px; font-size: 0.93rem; color: var(--text); background: #fff; resize: vertical; font-family: inherit; outline: none; line-height: 1.6; transition: border-color .2s; }
.admin-form__textarea:focus { border-color: var(--green); }
.admin-form__textarea--content { font-family: 'Courier New', monospace; font-size: 0.85rem; }
.admin-form__hint { font-size: 0.78rem; color: var(--muted); }
.admin-form__slug-wrap { display: flex; align-items: center; border: 1px solid var(--green-border); border-radius: 8px; overflow: hidden; background: #fff; }
.admin-form__slug-prefix { padding: 0.55rem 0.5rem 0.55rem 0.85rem; background: var(--green-pale); color: var(--muted); font-size: 0.88rem; white-space: nowrap; border-right: 1px solid var(--green-border); }
.admin-form__input--slug { border: none; border-radius: 0; flex: 1; }
.admin-form__checkbox { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; cursor: pointer; }
.admin-form__checkbox input { width: 1rem; height: 1rem; accent-color: var(--green); }
.btn--full { width: 100%; justify-content: center; }
