/* Урбан Модуль: тема нового дизайна (19.10.2026) для внутренних страниц — статьи, хаб /articles/, политика и согласие.
   Подключается поверх css/style.css (seo_pass_2026_10.add_theme). Палитра «Графит и латунь», как на главной (css/design.css). */
:root {
  --bg: #fffdf9; --bg-soft: #f5f0e8; --bg-warm: #f1e6d5;
  --text: #1b1b19; --text-muted: #777067; --ink-2: #47423c;
  --border: #e6ddcf; --accent: #94713f; --accent-dark: #7a5c31; --accent-soft: #f1e6d5;
  --brass: #b8925e; --brass-rgb: 184, 146, 94; --acc-light: #e7cfa8;
  --ink: #1b1b19; --ink-rgb: 27, 27, 25; --on-dark: #f5f0e8; --on-dark-muted: #b9b0a3;
  --tech: #7a5c31; --format: #3d5c45; --ready: #5b4a33;
  --radius: 18px; --max-width: 1180px;
  --head: "Montserrat", "Inter", system-ui, sans-serif;
}
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg-soft); color: var(--text); }
h1, h2, h3, .related-title, .cta-title { font-family: var(--head); letter-spacing: -0.01em; }

/* шапка */
.site-header { background: rgba(255, 253, 249, 0.88); border-bottom-color: var(--border); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.site-header .wrap { height: 72px; gap: 24px; }
.site-nav { gap: 28px; }
.site-nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; background: var(--ink); color: var(--on-dark); font-weight: 600;
  box-shadow: 0 8px 24px rgba(var(--ink-rgb), 0.38); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.site-nav .nav-cta:hover { background: #24231f; color: var(--on-dark); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(var(--ink-rgb), 0.5), 0 6px 26px rgba(var(--brass-rgb), 0.35); }

/* статья — светлый лист на песочном фоне */
.article-wrap { padding-top: 32px; padding-bottom: 72px; }
.article { background: var(--bg); border: 1px solid var(--border); border-radius: 26px; padding: 40px 48px 28px; box-shadow: 0 18px 40px rgba(var(--ink-rgb), 0.06); min-width: 0; }
.article h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.15; }
.article h2 { font-size: clamp(22px, 2.2vw, 27px); font-weight: 600; margin-top: 42px; }
.article h3 { font-weight: 600; }
.article p, .article li { color: #2f2b26; }
.article a { color: var(--accent); text-decoration-color: rgba(var(--brass-rgb), 0.55); text-underline-offset: 3px; }
.article a:hover { color: var(--ink); }
.article-figure img { border-radius: 14px; }
.article-figure figcaption { color: var(--text-muted); }
.badge { border-radius: 999px; font-weight: 600; letter-spacing: 0.04em; }
.badge-tech { background: #f1e6d5; color: var(--tech); }
.badge-format { background: #e7ecdf; color: var(--format); }
.badge-ready { background: #efe6da; color: var(--ready); }
.table-wrap { background: var(--bg); border-color: var(--border); border-radius: 14px; }
th { background: var(--bg-soft); }
th, td { border-bottom-color: var(--border); }
.breadcrumbs a:hover { color: var(--ink); }

/* блок «Получить расчет» рядом со статьей — темная карточка, латунная кнопка со свечением */
.cta-box { background: var(--ink); color: var(--on-dark); border: 0; border-radius: 22px; padding: 26px 24px; box-shadow: 0 18px 40px rgba(var(--ink-rgb), 0.18); }
.cta-title { color: #fff; font-size: 1.2rem; font-weight: 600; }
.cta-text { color: var(--on-dark-muted); }
.cta-button { min-height: 52px; border-radius: 999px; background: var(--brass); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 24px rgba(var(--brass-rgb), 0.5); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.cta-button:hover { background: #a7824f; color: #fff; transform: translateY(-3px); box-shadow: 0 14px 36px rgba(var(--brass-rgb), 0.75); }
.cta-button.ghost { background: transparent; color: var(--ink); border-color: var(--border); box-shadow: none; }
.cta-button.ghost:hover { border-color: var(--brass); color: var(--accent); background: transparent; }

/* «Читайте также» и карточки хаба */
.related { border-top: 0; padding-top: 12px; }
.related-title { font-weight: 600; font-size: 1.4rem; }
.related-grid { gap: 18px; }
.related-card { background: var(--bg); border-color: var(--border); border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(var(--ink-rgb), 0.12); }
.related-card span { font-family: var(--head); font-weight: 600; }
.hub h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; }
.hub-group h2 { font-weight: 600; font-size: 1.5rem; }

/* подвал (seo_pass.footer_html) — как на главной */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 0; padding: 56px 0 40px; margin-top: 24px; font-size: 14.5px; }
.site-footer .top { display: flex; justify-content: space-between; align-items: center; gap: 24px 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer .logo img { height: 22px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
.site-footer a, .footer-links a { color: var(--on-dark); font-weight: 500; text-decoration: none; }
.site-footer a:hover, .footer-links a:hover { color: var(--acc-light); }
.site-footer p { color: var(--on-dark-muted); font-size: 14px; margin: 18px 0 0; }

.site-nav .nav-cta:focus-visible, .cta-button:focus-visible { outline: 3px solid rgba(var(--brass-rgb), 0.6); outline-offset: 3px; }

@media (max-width: 1100px) { .site-nav { gap: 18px; } .site-nav a { font-size: 14px; } }
@media (max-width: 760px) {
  .site-header .wrap { height: 62px; }
  .article { padding: 26px 18px 18px; border-radius: 20px; }
  .article-wrap { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .site-nav .nav-cta, .cta-button, .related-card { transition: none; } }
