:root {
  --bg: #07111f;
  --bg-soft: #0f172a;
  --bg-card: rgba(255,255,255,.9);
  --card: #ffffff;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --accent-3: #1d4ed8;
  --ok: #16a34a;
  --bad: #dc2626;
  --hero-panel-bg: linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,245,249,.94));
  --hero-panel-text: #0f172a;
  --hero-panel-soft: #475569;
  --shadow: 0 20px 60px rgba(15, 23, 42, .10);
  --shadow-soft: 0 12px 35px rgba(15, 23, 42, .08);
  --radius: 24px;
  --radius-sm: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.12), transparent 28%),
    radial-gradient(circle at top right, rgba(37,99,235,.10), transparent 26%),
    linear-gradient(180deg, #eff6ff 0%, #f8fafc 38%, #f1f5f9 100%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .95; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 24px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 24px)); }
.site-header {
  padding: 28px 0;
  background: linear-gradient(135deg, #08111f 0%, #10316e 42%, #0ea5e9 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.08), transparent 25%),
    radial-gradient(circle at 88% 24%, rgba(255,255,255,.08), transparent 22%);
  pointer-events: none;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto -10% -80px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  filter: blur(10px);
}
.site-header.compact { padding: 16px 0; }
.blog-hero { padding: 52px 0 40px; }
.blog-hero-wrap { align-items: stretch; }
.header-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 720px; }
.hero-copy h1 { margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-panel {
  width: min(100%, 390px);
  backdrop-filter: blur(14px);
  background: var(--hero-panel-bg);
  border: 1px solid rgba(255,255,255,.28);
  color: var(--hero-panel-text);
  box-shadow: 0 20px 50px rgba(7, 17, 31, .18);
}
.hero-panel-inner { padding: 22px; }
.hero-panel h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.18;
  margin-bottom: 12px;
  color: var(--hero-panel-text);
}
.hero-panel p {
  margin: 0 0 16px;
  color: var(--hero-panel-soft);
  line-height: 1.65;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(14,165,233,.14));
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.hero-highlights {
  display: grid;
  gap: 10px;
}
.hero-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(148,163,184,.18);
}
.hero-point strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--hero-panel-text);
}
.hero-point span {
  color: var(--hero-panel-soft);
  font-size: 14px;
  line-height: 1.5;
}
.hero-point-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(37,99,235,.22);
}
.eyebrow {
  font-size: 12px;
  opacity: .96;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 10px;
  font-weight: 700;
}
.eyebrow.dark { color: var(--accent); opacity: 1; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.12; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
.lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.94);
  font-size: 17px;
  line-height: 1.72;
}
.small-lead { font-size: 15px; max-width: 520px; }
.page-shell, .article-layout, .admin-grid { display: grid; gap: 22px; padding: 28px 0 40px; }
.page-shell { grid-template-columns: minmax(0,1fr) 320px; }
.article-layout { grid-template-columns: minmax(0,1fr); }
.content-col, .sidebar-col { min-width: 0; }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.articles-grid-modern .featured-card { grid-column: span 2; }
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226,232,240,.9);
  overflow: hidden;
}
.modern-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.modern-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(59,130,246,.18);
}
.card-body { padding: 18px; }
.cover-wrap { display: block; overflow: hidden; background: #e2e8f0; }
.cover, .hero-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cover { transition: transform .28s ease; }
.article-card:hover .cover { transform: scale(1.03); }
.meta-line { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.author { margin-top: 14px; color: var(--muted); }
.author.big { margin-bottom: 20px; font-size: 16px; }
.card-bottom-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 16px; }
.read-more { font-weight: 700; white-space: nowrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }
.btn.glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn.danger { background: #fff1f2; color: #b91c1c; border-color: #fecdd3; }
.btn-sm { min-height: 38px; padding: 0 12px; border-radius: 12px; font-size: 13px; }
.full-btn { width: 100%; }
.sticky-card { position: sticky; top: 20px; padding: 20px; }
.info-card + .info-card { margin-top: 16px; }
.info-card p { color: var(--text-soft); line-height: 1.7; }
.soft-card { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,246,255,.96)); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud span { background: #eff6ff; color: #1d4ed8; padding: 9px 12px; border-radius: 999px; font-size: 13px; }
.section-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 14px; flex-wrap: wrap; }
.page-intro { margin-bottom: 18px; }
.page-subtitle {
  margin: 10px 0 0;
  color: var(--text-soft);
  max-width: 760px;
  line-height: 1.7;
}
.site-footer { padding: 24px 0 36px; color: var(--muted); }
.footer-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.article-shell { overflow: hidden; }
.article-full .card-body { padding: 24px; }
.article-content {
  font-size: 17px;
  line-height: 1.82;
  color: var(--text);
}
.article-content h2, .article-content h3 { margin-top: 28px; }
.article-content p, .article-content li { margin: 0 0 14px; }
.related-products { margin-top: 28px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid #e2e8f0;
}
.product-card img { border-radius: 14px; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 10px; }
.price { font-weight: 700; }
.share-box { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.install-page { min-height: 100vh; display: grid; place-items: center; }
.install-card { padding: 22px; }
.grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-form label { display: grid; gap: 8px; font-weight: 700; color: var(--text); }
.grid-form input, .grid-form textarea, .inline-form-row input {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.full { grid-column: 1 / -1; }
.alert { padding: 14px 16px; border-radius: 16px; margin-bottom: 12px; }
.alert.success { background: #ecfdf5; color: #166534; }
.alert.error { background: #fef2f2; color: #991b1b; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.stat-card { padding: 18px; display: grid; gap: 8px; }
.stat-card span { color: var(--muted); }
.stat-card strong { font-size: 30px; }
.admin-panel-block { padding: 18px; }
.admin-split { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 12px; }
.inner-card { background: #fff; border-radius: 20px; box-shadow: none; }
.admin-action-box { padding: 16px; }
.inline-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-actions-top { display: flex; gap: 10px; flex-wrap: wrap; }
.responsive-table { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-title-cell { display: grid; gap: 4px; }
.table-title-cell small { color: var(--muted); }
.table-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.log-list { display: grid; gap: 10px; }
.log-item { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #f8fafc; }
.log-item.success { border-left: 4px solid var(--ok); }
.log-item.error { border-left: 4px solid var(--bad); }
.muted { color: var(--muted); }
.back-link { color: #fff; font-weight: 700; }
@media (max-width: 980px) {
  .page-shell, .cards-grid, .product-grid, .stats-grid, .grid-form, .admin-split { grid-template-columns: 1fr; }
  .articles-grid-modern .featured-card { grid-column: auto; }
  .header-wrap, .blog-hero-wrap { align-items: flex-start; flex-direction: column; }
  .footer-wrap, .card-bottom-row, .section-head { flex-direction: column; align-items: flex-start; }
  .hero-panel { width: 100%; }
}
@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 16px, 1180px); }
  .blog-hero { padding: 34px 0 24px; }
  .card-body, .sticky-card, .admin-panel-block, .article-full .card-body { padding: 16px; }
  .hero-panel-inner { padding: 16px; }
  .lead { font-size: 15px; }
  .meta-line, .page-subtitle, .info-card p, .article-content { font-size: 15px; }
  .share-row .btn, .hero-actions .btn, .admin-actions-top .btn { width: 100%; }
  .table-actions { min-width: 180px; }
  th, td { padding: 10px 8px; }
}

.expert-box {
  margin: 22px 0;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}
.expert-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.expert-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  margin-bottom: 14px;
}
.expert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}
.article-expert-box {
  margin-top: 26px;
}
@media (max-width: 640px) {
  .expert-box { padding: 16px; border-radius: 18px; }
  .expert-title { font-size: 18px; }
  .expert-text { font-size: 14px; }
  .expert-btn { width: 100%; }
}

.article-category { display:inline-flex; align-items:center; min-height:28px; padding:0 10px; border-radius:999px; background:#eff6ff; color:#1d4ed8; font-size:12px; font-weight:800; }
.article-angle { margin: 10px 0 0; color: var(--text-soft); font-size: 14px; }
.order-input { max-width: 90px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }

.cover-wrap {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #e5e7eb;
}

.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.article-card:hover .cover {
    transform: scale(1.03);
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
    line-height: 1.4;
}

.article-card-title {
    margin: 12px 0 10px;
    line-height: 1.25;
    font-size: clamp(20px, 2vw, 26px);
}

.card-body p {
    overflow-wrap: anywhere;
}

.empty-state {
    padding: 28px;
    text-align: center;
}
:root {
    --bg: #f5f7fb;
    --text: #101827;
    --muted: #64748b;
    --card: rgba(255,255,255,.88);
    --line: rgba(15,23,42,.1);
    --dark: #0f172a;
    --blue: #2563eb;
    --blue2: #38bdf8;
    --green: #10b981;
    --shadow: 0 22px 70px rgba(15,23,42,.12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 15% 5%, rgba(56,189,248,.18), transparent 34%),
        radial-gradient(circle at 90% 0%, rgba(37,99,235,.15), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,64,175,.86)),
        radial-gradient(circle at 80% 15%, rgba(56,189,248,.35), transparent 35%);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent);
    pointer-events: none;
}

.blog-hero-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
    gap: 28px;
    align-items: center;
}

.hero-copy h1 {
    margin: 10px 0 16px;
    max-width: 760px;
    font-size: clamp(36px, 6vw, 72px);
    line-height: .95;
    letter-spacing: -.055em;
}

.lead {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(17px, 2vw, 22px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.08);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: #2563eb;
    background: rgba(37,99,235,.08);
    border-color: rgba(37,99,235,.15);
}

.hero-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-quick-nav a {
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(12px);
    transition: .2s ease;
}

.hero-quick-nav a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.18);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 14px 34px rgba(37,99,235,.3);
}

.btn.glass {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.2);
    backdrop-filter: blur(12px);
}

.btn.dark-btn {
    color: #fff;
    background: #0f172a;
}

.full-btn {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.trust-row span {
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(255,255,255,.84);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-panel {
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84));
}

.hero-panel-inner {
    padding: 28px;
}

.badge {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: #065f46;
    background: rgba(16,185,129,.12);
    font-size: 13px;
    font-weight: 900;
}

.hero-panel h2 {
    margin: 14px 0 10px;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.hero-panel p {
    color: var(--muted);
}

.hero-highlights {
    display: grid;
    gap: 13px;
    margin-top: 20px;
}

.hero-point {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 20px;
    background: rgba(248,250,252,.9);
    border: 1px solid rgba(15,23,42,.07);
}

.hero-point-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    font-weight: 900;
}

.hero-point strong {
    display: block;
    margin-bottom: 3px;
}

.hero-point span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.mini-phone {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding: 12px;
    border-radius: 16px;
    color: #0f172a;
    background: rgba(37,99,235,.08);
    font-weight: 900;
}

.page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    padding: 34px 0 46px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
}

.section-head h2,
.seo-panel h2,
.local-box h2,
.faq-section h2 {
    margin: 10px 0 8px;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.page-subtitle {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.cards-grid {
    display: grid;
    gap: 18px;
}

.articles-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
    position: relative;
    overflow: hidden;
    transition: .22s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 80px rgba(15,23,42,.16);
}

.featured-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.cover-wrap {
    position: relative;
    display: block;
    min-height: 230px;
    overflow: hidden;
    background: #e2e8f0;
}

.featured-card .cover-wrap {
    min-height: 360px;
}

.cover {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform .35s ease;
}

.article-card:hover .cover {
    transform: scale(1.045);
}

.card-body {
    padding: 22px;
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
}

.meta-line span {
    display: inline-flex;
    align-items: center;
}

.article-category {
    padding: 5px 9px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(37,99,235,.09);
    font-weight: 900;
}

.article-card-title {
    margin: 0 0 10px;
    font-size: clamp(21px, 2.7vw, 34px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.article-card-title a:hover {
    color: var(--blue);
}

.card-body p {
    color: var(--muted);
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
}

.author {
    color: var(--muted);
    font-size: 14px;
}

.read-more {
    color: #2563eb;
    font-weight: 900;
    white-space: nowrap;
}

.sidebar-col {
    display: grid;
    align-content: start;
    gap: 18px;
}

.sticky-card {
    position: sticky;
    top: 18px;
}

.info-card {
    padding: 22px;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -.03em;
}

.info-card p {
    color: var(--muted);
}

.soft-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(239,246,255,.86));
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tag-cloud span {
    padding: 8px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid rgba(15,23,42,.07);
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.yandex-card {
    background:
        linear-gradient(135deg, rgba(255,251,235,.95), rgba(255,255,255,.9));
}

.seo-panel,
.local-box {
    margin-top: 22px;
    padding: 26px;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.topic-grid a {
    padding: 14px 15px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
    font-weight: 900;
    transition: .2s ease;
}

.topic-grid a:hover {
    transform: translateY(-2px);
    color: #2563eb;
    background: #eff6ff;
}

.local-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,64,175,.9));
    color: #fff;
}

.local-box p {
    color: rgba(255,255,255,.8);
}

.local-actions {
    display: grid;
    gap: 10px;
    min-width: 190px;
}

.faq-section {
    margin-top: 24px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: #2563eb;
    font-size: 22px;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
}

.empty-state {
    padding: 28px;
    text-align: center;
}

.site-footer {
    padding: 24px 0;
    color: rgba(255,255,255,.76);
    background: #0f172a;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-wrap a {
    color: #93c5fd;
    font-weight: 900;
}

@media (max-width: 980px) {
    .blog-hero-wrap,
    .page-shell,
    .featured-card,
    .local-box {
        grid-template-columns: 1fr;
    }

    .sidebar-col {
        order: 2;
    }

    .sticky-card {
        position: static;
    }

    .section-head {
        display: block;
    }

    .featured-card .cover-wrap {
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 22px, 1200px);
    }

    .blog-hero {
        padding: 28px 0 24px;
    }

    .hero-panel-inner,
    .card-body,
    .seo-panel,
    .local-box,
    .info-card {
        padding: 18px;
    }

    .articles-grid-modern,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .local-actions,
    .card-bottom-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .cover-wrap {
        min-height: 210px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

    .lead {
        font-size: 16px;
    }

    .trust-row span,
    .hero-quick-nav a {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 16px, 1200px);
    }

    .hero-point {
        grid-template-columns: 36px 1fr;
        padding: 12px;
    }

    .hero-point-icon {
        width: 36px;
        height: 36px;
    }

    .article-card-title {
        font-size: 22px;
    }
}
/* FIX: верхняя карточка на главной — картинка больше не закрывает текст */
.featured-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    min-height: 360px;
}

.featured-card .cover-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius) 0 0 var(--radius);
}

.featured-card .cover {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.featured-card .card-body {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.94);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card .article-card-title {
    font-size: clamp(28px, 4vw, 44px);
}

.featured-card .card-body p {
    font-size: 17px;
}

@media (max-width: 980px) {
    .featured-card {
        display: block;
        min-height: 0;
    }

    .featured-card .cover-wrap {
        height: auto;
        min-height: 0;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .featured-card .cover {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .featured-card .card-body {
        display: block;
    }
}

@media (max-width: 560px) {
    .featured-card .cover {
        aspect-ratio: 4 / 3;
    }

    .featured-card .article-card-title {
        font-size: 24px;
    }
}
/* ===== ARTICLE PAGE IMPROVEMENT ===== */

.article-topbar {
    background:
        linear-gradient(135deg, rgba(15,23,42,.98), rgba(30,64,175,.92));
    color: #fff;
    padding: 16px 0;
}

.article-header-wrap {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    font-weight: 800;
}

.article-layout {
    padding: 30px 0 46px;
}

.article-shell {
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}

.article-hero-figure {
    margin: 0;
    background: #e2e8f0;
}

.hero-image {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    aspect-ratio: 16 / 8;
}

.article-body {
    padding: clamp(20px, 4vw, 42px);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumbs a {
    color: #2563eb;
    font-weight: 800;
}

.article-meta {
    margin-bottom: 18px;
}

.article-full h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5.4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.article-lead {
    margin: 0 0 18px;
    color: #475569;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

.author.big {
    margin: 12px 0 18px;
    color: #64748b;
}

.article-angle {
    margin: 18px 0 24px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #eff6ff;
    border: 1px solid rgba(37,99,235,.14);
    color: #1e3a8a;
}

.article-content {
    font-size: 18px;
    line-height: 1.78;
    color: #1e293b;
}

.article-content h2 {
    margin: 36px 0 14px;
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.article-content h3 {
    margin: 28px 0 12px;
    font-size: clamp(22px, 2.7vw, 30px);
    line-height: 1.16;
}

.article-content p {
    margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    width: 100%;
    height: auto;
    margin: 26px 0;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15,23,42,.12);
}

.article-content a {
    color: #2563eb;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.article-expert-box {
    margin: 34px 0;
    padding: 24px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 15% 10%, rgba(56,189,248,.18), transparent 32%),
        linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
    box-shadow: 0 22px 70px rgba(37,99,235,.22);
}

.expert-title {
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.035em;
}

.expert-text {
    color: rgba(255,255,255,.82);
    font-size: 17px;
}

.expert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.expert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 17px;
    border-radius: 16px;
    color: #0f172a;
    background: #fff;
    font-weight: 900;
}

.expert-btn-light {
    color: #fff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
}

.related-products {
    margin-top: 34px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 14px 40px rgba(15,23,42,.08);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f1f5f9;
}

.product-card h3 {
    margin: 14px 14px 8px;
    font-size: 17px;
    line-height: 1.25;
}

.product-card h3 a:hover {
    color: #2563eb;
}

.product-card p {
    margin: 0 14px 10px;
    color: #64748b;
    font-size: 14px;
}

.product-card .price {
    margin: 0 14px 14px;
    font-weight: 900;
    color: #0f172a;
}

.share-box {
    margin-top: 34px;
    padding: 22px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
}

.share-box h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-row .btn {
    color: #0f172a;
    background: #fff;
    border-color: rgba(15,23,42,.1);
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-image {
        aspect-ratio: 16 / 9;
        max-height: 420px;
    }
}

@media (max-width: 620px) {
    .article-layout {
        padding: 16px 0 34px;
    }

    .article-shell {
        border-radius: 22px;
    }

    .article-body {
        padding: 18px;
    }

    .hero-image {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .article-full h1 {
        font-size: 30px;
    }

    .article-content {
        font-size: 16.5px;
        line-height: 1.72;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .share-row,
    .expert-actions,
    .article-header-wrap {
        display: grid;
        grid-template-columns: 1fr;
    }

    .share-row .btn,
    .expert-btn,
    .article-header-wrap .btn,
    .back-link {
        width: 100%;
    }
}