/* ===== ProPlatim — деловой минимализм ===== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-soft: #475569;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eff6ff;
  --success: #16a34a;
  --warning: #d97706;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1180px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; }
h2 { font-size: clamp(24px, 3.5vw, 34px); line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; }
h4 { font-size: 16px; line-height: 1.3; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

.container {
  max-width: var(--container);
  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: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo__card {
  width: 38px;
  height: 26px;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.12));
}
.logo__card svg { width: 100%; height: 100%; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover {
  color: var(--accent);
  background: var(--bg-soft);
  text-decoration: none;
}
.nav a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__actions .btn svg { flex-shrink: 0; }
.btn__brand-tg svg { color: #fff; }
.btn--outline .btn__brand-vk svg { color: var(--accent); }

.burger {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  padding: 12px 24px 18px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--text-soft);
}
.btn--ghost:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn__arrow { font-size: 1.1em; line-height: 1; }

/* ===== Section ===== */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head--left {
  text-align: left;
  margin-left: 0;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title { margin-bottom: 16px; }

.section__lead {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 56px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}
.hero__title { margin-bottom: 18px; }
.hero__title .accent { color: var(--accent); }
.hero__lead {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero__metrics li {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__metrics strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.hero__metrics span {
  font-size: 13px;
  color: var(--text-muted);
}

.hero__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.hero__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__panel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.hero__panel-list .service { font-weight: 600; }
.hero__panel-list .price {
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}
.hero__panel-list .price strong {
  color: var(--accent);
  font-weight: 700;
  margin-right: 4px;
}
.hero__panel-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Category cards ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.category-card__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-size: 20px;
}
.category-card h3 {
  margin: 0;
  font-size: 17px;
}
.category-card p {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}
.category-card__meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-card__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}
.feature-card p {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0;
}

/* ===== How it works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* ===== Pricing / Tariffs ===== */
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.tariff {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tariff--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.tariff__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.tariff h3 {
  margin-bottom: 4px;
  font-size: 20px;
}
.tariff__sub {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.tariff__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.tariff__price-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}
.tariff__price-unit {
  font-size: 14px;
  color: var(--text-muted);
}
.tariff__desc {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0 0 18px;
}
.tariff__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tariff__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}
.tariff__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}
.tariff .btn { margin-top: auto; }

/* ===== Services catalog ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.service-card__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.service-card__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-card__desc {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}
.service-card__price {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.service-card__price strong {
  color: var(--text);
  font-weight: 700;
}

/* ===== Table ===== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 24px;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.data th,
table.data td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.data th {
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--bg-soft); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item__a {
  padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== CTA strip ===== */
.cta-strip {
  background: var(--accent);
  color: #fff;
  padding: 56px 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  color: #fff;
  margin: 0;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.85);
  margin: 8px 0 0;
  max-width: 520px;
}
.cta-strip .btn--primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.cta-strip .btn--primary:hover {
  background: var(--bg-soft);
  color: var(--accent-hover);
}
.cta-strip .btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-strip .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer__brand .logo {
  color: #fff;
  margin-bottom: 14px;
}
.footer__brand p {
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}
.footer__col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  color: #cbd5e1;
  padding: 4px 0;
  font-size: 14px;
}
.footer__col a:hover {
  color: #fff;
  text-decoration: none;
}
.footer__legal {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 24px;
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs span[aria-current] {
  color: var(--text);
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.page-hero__inner {
  max-width: 760px;
}
.page-hero h1 {
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-soft);
  margin: 0;
}

/* ===== Calc ===== */
.calc {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.calc__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.calc__row label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.calc__row .hint {
  font-size: 13px;
  color: var(--text-muted);
}
.calc__row input,
.calc__row select {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  width: 100%;
}
.calc__row input:focus,
.calc__row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.calc__result {
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 16px;
}
.calc__result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  padding: 6px 0;
}
.calc__result-row.total {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid #bfdbfe;
}
.calc__note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 16px 0 0;
  text-align: center;
}

/* ===== Info box ===== */
.info-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
}
.info-box h4 { margin: 0 0 6px; font-size: 15px; }
.info-box p { margin: 0; color: var(--text-soft); font-size: 14px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header__actions .btn { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tariff-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .category-grid,
  .feature-grid,
  .steps,
  .services-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; }
}

/* ===== Blog toolbar ===== */
.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.blog-search {
  position: relative;
  display: block;
}
.blog-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
}
.blog-search input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.chip.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.chip__count {
  font-size: 11px;
  opacity: 0.6;
  margin-left: 2px;
}
.chip.is-active .chip__count { opacity: 0.85; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  color: var(--text);
}
.blog-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
}
.blog-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
}
.blog-card h3 {
  font-size: 17px;
  margin: 0;
  line-height: 1.35;
}
.blog-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}
.blog-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
}
.blog-card.is-coming {
  background: var(--bg-soft);
  border-style: dashed;
}
.blog-card.is-coming h3 { color: var(--text-soft); }
.blog-card.is-coming .blog-card__cta { color: var(--text-muted); }
.blog-card.is-coming:hover .blog-card__cta { color: var(--accent); }
.blog-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}
.blog-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  padding: 32px 0;
}

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===== Article ===== */
.article { padding: 48px 0 72px; }
.article__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.article__head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.article__meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.article__body { font-size: 17px; line-height: 1.65; color: var(--text); }
.article__body h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 26px;
}
.article__body h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 19px;
}
.article__body ul, .article__body ol { margin-bottom: 18px; }
.article__body li { margin-bottom: 8px; }
.article__body blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  font-style: normal;
  color: var(--text-soft);
}
.article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.article__body th, .article__body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.article__body th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.article__cta {
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 36px 0;
}
.article__cta h3 { margin: 0 0 8px; }
.article__cta p { margin: 0 0 16px; color: var(--text-soft); }
.article__related {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article__related h3 { margin-bottom: 12px; }
.article__related-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article__related-grid a {
  padding: 4px 0;
  font-size: 15px;
}
