/* ============================================================
   ARTON — общий стиль страниц блога (mebelarton.ru/blog)
   Совпадает с дизайн-системой главной страницы.
   ============================================================ */
:root{
  --ink:#1c1a17; --ink-2:#3a352f; --muted:#6f675d;
  --cream:#f6f1ea; --cream-2:#efe7db; --line:#e4dccf;
  --accent:#c0673a; --accent-d:#a4532b; --gold:#bd9a5f;
  --white:#fff; --shadow:0 18px 50px -20px rgba(40,28,18,.35);
  --r:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Manrope',system-ui,sans-serif;color:var(--ink);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:'Manrope',sans-serif;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.serif{font-family:'Cormorant',serif;font-weight:600;letter-spacing:0}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 22px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;font-size:16px;
  padding:15px 30px;border-radius:60px;border:0;cursor:pointer;transition:.2s;text-align:center;line-height:1.1;font-family:inherit}
.btn-acc{background:var(--accent);color:#fff;box-shadow:0 10px 28px -10px rgba(192,103,58,.7)}
.btn-acc:hover{background:var(--accent-d);transform:translateY(-2px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#000;transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--accent);display:inline-block}

/* ---------- HEADER ---------- */
header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line)}
header.site .bar{display:flex;align-items:center;gap:26px;padding:12px 0}
.logo{display:flex;align-items:center;gap:11px;font-weight:800;font-size:21px;letter-spacing:-.02em;color:var(--ink)}
.logo .mark{width:38px;height:38px;border-radius:11px;background:var(--accent);color:#fff;display:grid;place-items:center;
  font-family:'Cormorant',serif;font-size:24px;font-weight:700;flex:none}
.logo small{display:block;font-size:10.5px;font-weight:600;letter-spacing:.18em;opacity:.7;text-transform:uppercase}
header.site nav{display:flex;gap:24px;margin-left:auto;font-weight:600;font-size:15px;color:var(--ink-2)}
header.site nav a:hover{color:var(--accent)}
.head-phone{font-weight:800;font-size:17px;color:var(--ink);white-space:nowrap}
.head-phone small{display:block;font-size:11px;font-weight:600;opacity:.7}
@media(max-width:900px){header.site nav,.head-phone{display:none}}

/* ---------- BREADCRUMBS ---------- */
.crumbs{font-size:13.5px;color:var(--muted);padding:18px 0 0}
.crumbs a:hover{color:var(--accent)}
.crumbs span{color:var(--line);margin:0 7px}

/* ---------- BLOG INDEX ---------- */
.blog-hero{background:var(--cream);padding:46px 0 40px;border-bottom:1px solid var(--line)}
.blog-hero h1{font-size:clamp(30px,4.6vw,46px);margin-bottom:12px}
.blog-hero p{font-size:18px;color:var(--muted);max-width:680px}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:50px 0}
.pcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  background:#fff;transition:.25s}
.pcard:hover{box-shadow:var(--shadow);transform:translateY(-4px);border-color:transparent}
.pcard .ph{aspect-ratio:16/10;overflow:hidden}
.pcard .ph img{width:100%;height:100%;object-fit:cover;transition:.5s}
.pcard:hover .ph img{transform:scale(1.06)}
.pcard .pb{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.pcat{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:9px}
.pcard h2{font-size:20px;line-height:1.25;margin-bottom:9px}
.pcard p{font-size:14.5px;color:var(--muted);margin-bottom:16px;flex:1}
.pcard .more{font-size:14.5px;font-weight:700;color:var(--accent)}
.featured{grid-column:span 3;display:grid;grid-template-columns:1.15fr .85fr;gap:0}
.featured .ph{aspect-ratio:auto}
.featured .pb{justify-content:center;padding:38px 42px}
.featured h2{font-size:clamp(24px,3vw,32px)}
.featured p{font-size:16px}
@media(max-width:900px){.post-grid{grid-template-columns:1fr 1fr}.featured{grid-column:span 2;grid-template-columns:1fr}}
@media(max-width:620px){.post-grid{grid-template-columns:1fr}.featured{grid-column:span 1}}

/* ---------- ARTICLE ---------- */
.article{padding:26px 0 20px}
.art-head{max-width:820px;margin:0 auto 14px}
.art-cat{font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);margin-bottom:12px;display:block}
.art-head h1{font-size:clamp(28px,4.2vw,44px);line-height:1.14;margin-bottom:16px}
.art-meta{display:flex;flex-wrap:wrap;gap:18px;font-size:13.5px;color:var(--muted);align-items:center}
.art-meta .dot{width:4px;height:4px;border-radius:50%;background:var(--line)}
.art-cover{max-width:960px;margin:22px auto 0;border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.art-cover img{width:100%;max-height:460px;object-fit:cover}

.art-body{max-width:820px;margin:0 auto;padding:36px 0 10px;font-size:17px;color:var(--ink-2)}
.art-body p{margin:0 0 18px}
.art-body h2{font-size:clamp(23px,3vw,30px);margin:40px 0 16px;color:var(--ink);scroll-margin-top:90px}
.art-body h3{font-size:20px;margin:28px 0 12px;color:var(--ink)}
.art-body ul,.art-body ol{margin:0 0 20px;padding-left:22px}
.art-body li{margin-bottom:9px}
.art-body a.ln{color:var(--accent);font-weight:600;border-bottom:1px solid rgba(192,103,58,.35)}
.art-body a.ln:hover{border-color:var(--accent)}
.art-body b,.art-body strong{color:var(--ink)}
.art-body img{border-radius:16px;margin:24px 0;box-shadow:var(--shadow)}
.art-body figure{margin:26px 0}
.art-body figcaption{font-size:13.5px;color:var(--muted);text-align:center;margin-top:9px}
.art-body blockquote{font-family:'Cormorant',serif;font-size:23px;line-height:1.4;color:var(--ink);font-weight:600;
  margin:26px 0;padding:6px 0 6px 22px;border-left:3px solid var(--accent)}

/* таблицы */
.table-wrap{overflow-x:auto;margin:24px 0;border:1px solid var(--line);border-radius:14px}
.art-body table{width:100%;border-collapse:collapse;font-size:15px;min-width:520px}
.art-body th{background:var(--ink);color:#fff;font-weight:700;text-align:left;padding:13px 16px;font-size:14px}
.art-body td{padding:12px 16px;border-top:1px solid var(--line);color:var(--ink-2)}
.art-body tr:nth-child(even) td{background:var(--cream)}
.art-body td:first-child{font-weight:600;color:var(--ink)}
.tbl-note{font-size:13px;color:var(--muted);margin:-10px 0 22px;font-style:italic}

/* инфо-блоки */
.callout{display:flex;gap:14px;background:var(--cream);border:1px solid var(--line);border-left:4px solid var(--accent);
  border-radius:12px;padding:18px 20px;margin:24px 0;font-size:15.5px;color:var(--ink-2)}
.callout .ic{font-size:24px;flex:none;line-height:1.2}
.callout b{color:var(--ink)}

/* TOC */
.toc{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:20px 24px;margin:26px 0 30px}
.toc b{display:block;font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:12px}
.toc ol{margin:0;padding-left:20px}
.toc li{margin-bottom:8px;font-size:15.5px}
.toc a{color:var(--ink-2)}
.toc a:hover{color:var(--accent)}

/* внутренняя CTA-плашка */
.art-cta{background:linear-gradient(120deg,#241b14,#3a2a1d);color:#fff;border-radius:20px;padding:34px 36px;margin:34px 0;
  display:flex;align-items:center;gap:26px;flex-wrap:wrap;box-shadow:var(--shadow)}
.art-cta .tx{flex:1;min-width:260px}
.art-cta h3{font-size:24px;color:#fff;margin-bottom:8px}
.art-cta p{font-size:15px;color:rgba(255,255,255,.8);margin:0}
.art-cta .btn{white-space:nowrap}
.art-cta .gift{font-size:13px;color:var(--gold);font-weight:700;margin-top:6px}

/* автор / подпись под статьёй */
.art-foot{max-width:820px;margin:20px auto 0;padding:26px 0;border-top:1px solid var(--line)}

/* похожие статьи */
.related{background:var(--cream);padding:56px 0}
.related h2{font-size:28px;margin-bottom:26px}
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:820px){.rel-grid{grid-template-columns:1fr}.art-cta{flex-direction:column;align-items:flex-start}}

/* ---------- секция «финальная CTA» перед подвалом ---------- */
.cta-band{background:var(--ink);color:#fff;text-align:center;padding:70px 0}
.cta-band h2{font-size:clamp(26px,4vw,40px);color:#fff;margin-bottom:12px}
.cta-band p{color:rgba(255,255,255,.75);font-size:17px;max-width:560px;margin:0 auto 26px}
.cta-band .final-form{display:flex;gap:12px;max-width:540px;margin:0 auto;flex-wrap:wrap}
.cta-band input{flex:1;min-width:170px;padding:15px 18px;border-radius:60px;border:1.5px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.07);color:#fff;font-size:16px;font-family:inherit}
.cta-band input::placeholder{color:rgba(255,255,255,.55)}

/* ---------- FOOTER ---------- */
footer.site{background:#141009;color:rgba(255,255,255,.75);padding:56px 0 28px}
footer.site .foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.1)}
footer.site h4{color:#fff;font-size:16px;margin-bottom:16px}
footer.site a:hover{color:var(--gold)}
footer.site .foot-grid p,footer.site .foot-grid a{font-size:15px;line-height:1.9;display:block}
.foot-phone{font-size:23px;font-weight:800;color:#fff!important;margin-bottom:6px}
footer.site .copy{padding-top:22px;font-size:13px;color:rgba(255,255,255,.45);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
@media(max-width:820px){footer.site .foot-grid{grid-template-columns:1fr}}

/* WhatsApp FAB */
.fab{position:fixed;right:22px;bottom:22px;z-index:40;width:58px;height:58px;border-radius:50%;background:#25D366;
  display:grid;place-items:center;box-shadow:0 10px 30px -8px rgba(0,0,0,.4);font-size:28px;color:#fff;
  animation:pulse 2.4s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.6)}70%{box-shadow:0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
