/* ── SEO PAGES SHARED STYLES ───────────────────────────────── */
.seo-wrap{max-width:1100px;margin:0 auto;padding:0 var(--pad)}
.seo-hero{background:linear-gradient(135deg,#000 0%,#0d0101 50%,#000);padding:110px var(--pad) 70px;position:relative;overflow:hidden;border-bottom:1px solid rgba(206,17,38,.18)}
.seo-hero::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(206,17,38,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(206,17,38,.04) 1px,transparent 1px);background-size:50px 50px;pointer-events:none}
.seo-hero-inner{position:relative;z-index:1;max-width:820px}
.seo-breadcrumb{font-size:.7rem;color:#888;letter-spacing:1px;margin-bottom:16px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.seo-breadcrumb a{color:#888;text-decoration:none;transition:color .2s}.seo-breadcrumb a:hover{color:#CE1126}
.seo-breadcrumb span{color:#555}
.seo-h1{font-family:'Orbitron',sans-serif;font-size:clamp(1.6rem,4vw,2.8rem);font-weight:900;line-height:1.1;margin-bottom:16px;color:#fff}
.seo-h1 em{color:#CE1126;font-style:normal}
.seo-lead{font-size:clamp(.9rem,2vw,1.05rem);color:#c8c8c8;line-height:1.8;max-width:700px;margin-bottom:28px}
.seo-hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.seo-body{padding:clamp(40px,6vw,80px) var(--pad);background:#000}
.seo-content{max-width:820px}
.seo-section{margin-bottom:clamp(40px,6vw,70px)}
.seo-h2{font-family:'Orbitron',sans-serif;font-size:clamp(1.2rem,3vw,1.8rem);font-weight:900;color:#fff;margin-bottom:16px;line-height:1.2;padding-bottom:10px;border-bottom:1px solid rgba(206,17,38,.2)}
.seo-h3{font-family:'Orbitron',sans-serif;font-size:clamp(.88rem,2vw,1.1rem);font-weight:700;color:#fff;margin-bottom:10px;margin-top:24px}
.seo-p{font-size:.92rem;color:#c8c8c8;line-height:1.85;margin-bottom:14px}
.seo-p strong{color:#fff}
.seo-p a{color:#CE1126;text-decoration:none}.seo-p a:hover{text-decoration:underline}
.seo-ul{list-style:none;margin:12px 0 18px;display:flex;flex-direction:column;gap:8px}
.seo-ul li{font-size:.9rem;color:#c8c8c8;padding-left:20px;position:relative;line-height:1.7}
.seo-ul li::before{content:'—';position:absolute;left:0;color:#CE1126;font-weight:700}
.seo-ul li strong{color:#fff}
.seo-ol{list-style:none;margin:12px 0 18px;display:flex;flex-direction:column;gap:10px;counter-reset:seo-ol}
.seo-ol li{font-size:.9rem;color:#c8c8c8;padding-left:32px;position:relative;line-height:1.7;counter-increment:seo-ol}
.seo-ol li::before{content:counter(seo-ol);position:absolute;left:0;top:0;width:22px;height:22px;background:#CE1126;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;font-family:'Orbitron',sans-serif}

/* TABLE */
.seo-table-wrap{overflow-x:auto;margin:20px 0}
.seo-table{width:100%;border-collapse:collapse;font-size:.85rem}
.seo-table th{background:#0d0000;color:#CE1126;font-family:'Orbitron',sans-serif;font-size:.65rem;letter-spacing:2px;text-transform:uppercase;padding:12px 16px;text-align:left;border-bottom:2px solid rgba(206,17,38,.3)}
.seo-table td{padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.05);color:#c8c8c8;vertical-align:top}
.seo-table tr:hover td{background:rgba(206,17,38,.04)}
.seo-table td strong{color:#fff}
.seo-table .td-save{color:#4caf50;font-weight:700}

/* CTA BLOCK */
.seo-cta-block{background:linear-gradient(135deg,#0d0000,#0a0000);border:1px solid rgba(206,17,38,.25);padding:clamp(24px,4vw,40px);margin:clamp(30px,5vw,50px) 0;position:relative;overflow:hidden}
.seo-cta-block::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(to right,#CE1126,transparent)}
.seo-cta-title{font-family:'Orbitron',sans-serif;font-size:clamp(1rem,2.5vw,1.4rem);font-weight:900;color:#fff;margin-bottom:8px}
.seo-cta-sub{font-size:.88rem;color:#888;margin-bottom:20px;line-height:1.6}
.seo-cta-btns{display:flex;gap:10px;flex-wrap:wrap}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:0;margin:20px 0}
.faq-item{border-bottom:1px solid rgba(255,255,255,.06)}
.faq-q{width:100%;background:transparent;border:none;color:#fff;text-align:left;padding:18px 0;font-size:.92rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;line-height:1.5;font-family:'Montserrat',sans-serif}
.faq-q:hover{color:#CE1126}
.faq-arrow{color:#CE1126;font-size:1.1rem;flex-shrink:0;transition:transform .25s;margin-top:2px}
.faq-item.open .faq-arrow{transform:rotate(45deg)}
.faq-a{display:none;font-size:.88rem;color:#c8c8c8;line-height:1.8;padding-bottom:18px}
.faq-item.open .faq-a{display:block}

/* STEPS */
.steps-list{display:flex;flex-direction:column;gap:0;margin:20px 0;border:1px solid rgba(255,255,255,.05)}
.step-item{display:flex;gap:20px;padding:24px;border-bottom:1px solid rgba(255,255,255,.05);transition:background .2s}
.step-item:last-child{border-bottom:none}
.step-item:hover{background:rgba(206,17,38,.03)}
.step-num{font-family:'Orbitron',sans-serif;font-size:1.8rem;font-weight:900;color:rgba(206,17,38,.2);line-height:1;flex-shrink:0;width:50px}
.step-body h4{font-family:'Orbitron',sans-serif;font-size:.82rem;font-weight:700;color:#fff;margin-bottom:6px}
.step-body p{font-size:.86rem;color:#c8c8c8;line-height:1.7}

/* TRUST BADGES */
.trust-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:20px 0}
@media(min-width:600px){.trust-badges{grid-template-columns:repeat(4,1fr)}}
.trust-badge{background:#0a0a0a;border:1px solid rgba(255,255,255,.07);padding:20px 16px;text-align:center;transition:border-color .2s}
.trust-badge:hover{border-color:rgba(206,17,38,.3)}
.trust-badge-icon{font-size:1.8rem;margin-bottom:8px}
.trust-badge-val{font-family:'Orbitron',sans-serif;font-size:1.2rem;font-weight:900;color:#CE1126;margin-bottom:4px}
.trust-badge-lbl{font-size:.68rem;color:#888;letter-spacing:1px;line-height:1.4}

/* HIGHLIGHT BOX */
.seo-highlight{background:rgba(206,17,38,.06);border-left:3px solid #CE1126;padding:16px 20px;margin:20px 0}
.seo-highlight p{font-size:.9rem;color:#E8E8E8;line-height:1.75;margin:0}
.seo-highlight strong{color:#fff}

/* SIDEBAR LAYOUT for wider screens */
@media(min-width:1024px){
  .seo-layout{display:grid;grid-template-columns:1fr 280px;gap:48px;align-items:start;max-width:1100px;margin:0 auto}
  .seo-sidebar{position:sticky;top:90px}
}
.seo-sidebar-card{background:#0a0a0a;border:1px solid rgba(206,17,38,.2);padding:24px;margin-bottom:16px}
.seo-sidebar-card h4{font-family:'Orbitron',sans-serif;font-size:.75rem;font-weight:700;color:#CE1126;margin-bottom:14px;letter-spacing:1px}
.seo-sidebar-links{list-style:none;display:flex;flex-direction:column;gap:8px}
.seo-sidebar-links a{font-size:.82rem;color:#c8c8c8;text-decoration:none;transition:color .2s;display:flex;align-items:center;gap:6px}
.seo-sidebar-links a::before{content:'→';color:#CE1126;font-size:.75rem;flex-shrink:0}
.seo-sidebar-links a:hover{color:#CE1126}

/* BLOG GRID */
.blog-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px}
@media(min-width:540px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.blog-grid{grid-template-columns:repeat(3,1fr)}}
.blog-card{background:#0a0a0a;border:1px solid rgba(255,255,255,.06);padding:24px;transition:border-color .3s,transform .25s;text-decoration:none;display:block}
.blog-card:hover{border-color:rgba(206,17,38,.35);transform:translateY(-3px)}
.blog-card-tag{font-size:.6rem;letter-spacing:3px;text-transform:uppercase;color:#CE1126;font-weight:700;margin-bottom:10px}
.blog-card-title{font-family:'Orbitron',sans-serif;font-size:.88rem;font-weight:700;color:#fff;line-height:1.35;margin-bottom:10px}
.blog-card-desc{font-size:.8rem;color:#888;line-height:1.65}
.blog-card-read{font-size:.72rem;color:#CE1126;font-weight:700;margin-top:14px;display:flex;align-items:center;gap:5px}

/* COMPARISON */
.seo-compare{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.06);margin:20px 0;overflow:hidden}
.compare-col{background:#0a0a0a;padding:24px}
.compare-col.bad{border-top:3px solid #888}
.compare-col.good{border-top:3px solid #CE1126}
.compare-head{font-family:'Orbitron',sans-serif;font-size:.75rem;font-weight:700;margin-bottom:14px;letter-spacing:1px}
.compare-col.bad .compare-head{color:#888}
.compare-col.good .compare-head{color:#CE1126}
.compare-item{font-size:.84rem;color:#c8c8c8;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05);line-height:1.5}
.compare-item:last-child{border-bottom:none}
.compare-col.bad .compare-item::before{content:'✗ ';color:#888}
.compare-col.good .compare-item::before{content:'✓ ';color:#4caf50;font-weight:700}

@media(max-width:500px){.seo-compare{grid-template-columns:1fr}}

/* ── AI SUMMARY (Швидка відповідь) ────────────────────── */
.ai-summary{
  background:linear-gradient(135deg, rgba(206,17,38,.08), rgba(206,17,38,.02));
  border:1px solid rgba(206,17,38,.25);
  border-left:3px solid #CE1126;
  padding:18px 22px;
  margin:0 0 28px 0;
  border-radius:0;
  position:relative;
}
.ai-summary-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:'Orbitron','Segoe UI',Roboto,sans-serif;
  font-size:.62rem;
  font-weight:700;
  color:#CE1126;
  letter-spacing:2px;
  margin-bottom:10px;
  text-transform:uppercase;
}
.ai-summary-text{
  font-size:.95rem;
  color:#E8E8E8;
  line-height:1.75;
  margin:0;
}
.ai-summary-text strong{color:#fff;font-weight:700}

/* Більший відступ між AI summary та кнопками */
.ai-summary + .seo-hero-btns{
  margin-top:24px;
}

/* ── AUTHOR BLOCK (EEAT) ──────────────────────────────── */
.author-block{
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 20px;
  background:#0a0a0a;
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:32px;
  border-radius:0;
}
.author-avatar{
  width:48px;
  height:48px;
  background:linear-gradient(135deg, #CE1126, #6B1310);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:1.1rem;
  font-weight:900;
  color:#fff;
  flex-shrink:0;
}
.author-info{flex:1;min-width:0}
.author-name{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.82rem;
  font-weight:700;
  color:#fff;
  margin-bottom:4px;
}
.author-meta{
  font-size:.72rem;
  color:#aaa;
  line-height:1.5;
  margin-bottom:3px;
}
.author-credentials{
  font-size:.68rem;
  color:#888;
  line-height:1.4;
}
.author-date{
  text-align:right;
  flex-shrink:0;
  border-left:1px solid rgba(255,255,255,.08);
  padding-left:16px;
}
.author-date-lbl{
  font-size:.6rem;
  color:#888;
  letter-spacing:1px;
  margin-bottom:2px;
  text-transform:uppercase;
}
.author-date-val{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.78rem;
  color:#CE1126;
  font-weight:700;
}

@media(max-width:540px){
  .author-block{flex-direction:column;align-items:flex-start;gap:10px}
  .author-date{border-left:none;border-top:1px solid rgba(255,255,255,.08);padding-left:0;padding-top:10px;text-align:left;width:100%}
}

/* ── VIN CASES (EEAT booster) ─────────────────────────────── */
.vin-cases-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin:18px 0;
}
.vin-case{
  background:linear-gradient(135deg, #0a0a0a, #050000);
  border:1px solid rgba(206,17,38,.2);
  border-left:3px solid #CE1126;
  padding:18px 20px;
  border-radius:0;
}
.vin-case-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
  flex-wrap:wrap;
  gap:8px;
}
.vin-case-vin{
  font-size:.7rem;
  color:#888;
  letter-spacing:1px;
}
.vin-case-vin code{
  background:#1a0303;
  padding:3px 8px;
  color:#CE1126;
  font-family:monospace;
  font-size:.72rem;
  letter-spacing:.5px;
}
.vin-case-city{
  font-size:.72rem;
  color:#aaa;
  font-family:'Orbitron','Segoe UI',sans-serif;
}
.vin-case-title{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.95rem;
  font-weight:700;
  color:#fff;
  margin-bottom:12px;
  line-height:1.3;
}
.vin-case-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 16px;
  font-size:.82rem;
  color:#c8c8c8;
}
@media(max-width:540px){.vin-case-grid{grid-template-columns:1fr}}
.vin-case-lbl{
  color:#888;
  font-size:.7rem;
  display:block;
  margin-bottom:2px;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.vin-case-grid strong{color:#fff;font-weight:600}
.vin-case-savings{
  grid-column:1/-1;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:4px;
}
.vin-case-savings strong{color:#27AE60 !important;font-weight:700;font-size:.95rem}

/* ── COMPARE COLUMNS (pros/cons) ──────────────────────────── */
.seo-compare{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin:18px 0;
}
@media(min-width:600px){.seo-compare{grid-template-columns:1fr 1fr}}
.compare-col{
  padding:18px 20px;
  border:1px solid;
  border-radius:0;
}
.compare-col.good{
  background:rgba(39,174,96,.05);
  border-color:rgba(39,174,96,.3);
  border-left:3px solid #27AE60;
}
.compare-col.bad{
  background:rgba(206,17,38,.05);
  border-color:rgba(206,17,38,.3);
  border-left:3px solid #CE1126;
}
.compare-head{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.85rem;
  font-weight:700;
  color:#fff;
  margin-bottom:12px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.compare-item, .compare-col li{
  font-size:.85rem;
  color:#c8c8c8;
  line-height:1.6;
  padding:5px 0;
  list-style:none;
}
.compare-col ul{padding:0;margin:0;list-style:none}

/* ── TABLE OF CONTENTS ───────────────────────────────────── */
.toc-wrap{
  background:#0a0a0a;
  border:1px solid rgba(255,255,255,.08);
  border-left:3px solid #CE1126;
  padding:18px 22px;
  margin:24px 0 32px;
  position:relative;
}
.toc-title{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.72rem;
  font-weight:700;
  color:#CE1126;
  letter-spacing:2px;
  margin-bottom:14px;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
}
.toc-title::before{content:'📋';font-size:1rem}
.toc-toggle{
  display:none;
  margin-left:auto;
  font-size:1.2rem;
  transition:transform .25s;
}
.toc-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  counter-reset:toc;
}
.toc-list li{
  counter-increment:toc;
  font-size:.88rem;
  padding-left:32px;
  position:relative;
  line-height:1.5;
}
.toc-list li::before{
  content:counter(toc, decimal-leading-zero);
  position:absolute;
  left:0;
  top:1px;
  color:#CE1126;
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.5px;
}
.toc-list a{
  color:#c8c8c8;
  text-decoration:none;
  display:inline-block;
  padding:3px 0;
  transition:color .2s, padding-left .2s;
  border-bottom:1px solid transparent;
}
.toc-list a:hover{
  color:#fff;
  padding-left:4px;
  border-bottom-color:rgba(206,17,38,.4);
}

/* Mobile: акордеон */
@media(max-width:768px){
  .toc-title{justify-content:space-between}
  .toc-toggle{display:inline-block}
  .toc-list{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    gap:0;
  }
  .toc-wrap.open .toc-list{
    max-height:800px;
    gap:6px;
    margin-top:12px;
  }
  .toc-wrap.open .toc-toggle{transform:rotate(180deg)}
}

/* Smooth scroll для anchor links */
html{scroll-behavior:smooth;scroll-padding-top:80px}

/* ── PILLAR HUB BLOCK ─────────────────────────────────────── */
.pillar-brand-block{
  background:#0a0a0a;
  border:1px solid rgba(255,255,255,.06);
  border-left:3px solid #CE1126;
  padding:20px 22px;
  margin-bottom:18px;
}
.pillar-brand-h{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.92rem;
  font-weight:700;
  color:#fff;
  margin-bottom:14px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  letter-spacing:.5px;
}
.pillar-models-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media(min-width:700px){.pillar-models-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.pillar-models-grid{grid-template-columns:repeat(3,1fr)}}
.pillar-model{
  padding:12px 14px;
  background:#050000;
  border:1px solid rgba(255,255,255,.04);
  border-radius:0;
  transition:border-color .25s, transform .25s;
}
.pillar-model:hover{
  border-color:rgba(206,17,38,.3);
  transform:translateY(-2px);
}
.pillar-model-name{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.82rem;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  display:block;
  margin-bottom:8px;
  transition:color .2s;
}
.pillar-model-name:hover{color:#CE1126}
.pillar-model-note{
  font-size:.7rem;
  color:#666;
}
.pillar-year-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.pillar-year-tag{
  display:inline-block;
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.7rem;
  font-weight:700;
  color:#CE1126;
  background:rgba(206,17,38,.08);
  border:1px solid rgba(206,17,38,.25);
  padding:4px 10px;
  text-decoration:none;
  transition:all .2s;
  letter-spacing:.5px;
}
.pillar-year-tag:hover{
  background:#CE1126;
  color:#fff;
}

.pillar-extra-block{
  background:#0a0a0a;
  border:1px solid rgba(255,255,255,.06);
  border-left:3px solid #6B1310;
  padding:18px 22px;
}
.pillar-extra-h{
  font-family:'Orbitron','Segoe UI',sans-serif;
  font-size:.78rem;
  font-weight:700;
  color:#fff;
  margin-bottom:12px;
  letter-spacing:.5px;
}
.pillar-extra-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pillar-extra-link{
  display:inline-block;
  font-size:.78rem;
  color:#c8c8c8;
  background:#050000;
  border:1px solid rgba(255,255,255,.08);
  padding:8px 14px;
  text-decoration:none;
  transition:all .2s;
}
.pillar-extra-link:hover{
  border-color:rgba(206,17,38,.4);
  color:#fff;
  background:rgba(206,17,38,.05);
}

.seo-hero-img{
  max-width:520px;
  width:100%;
  display:block;
  margin:24px auto 0;
  border-radius:0;
  border:1px solid rgba(206,17,38,.15);
}
@media(max-width:768px){.seo-hero-img{margin-top:18px}}

/* ── AI QUICK ANSWER (для AI Overview / SGE) ─────────────── */
.ai-quick{
  background:linear-gradient(135deg, rgba(206,17,38,.06), rgba(206,17,38,.01));
  border-left:3px solid #CE1126;
  padding:14px 18px;
  margin:0 0 18px;
  font-size:.92rem;
  line-height:1.65;
  color:#d8d8d8;
  border-radius:0 4px 4px 0;
}
.ai-quick strong{color:#fff;font-weight:700}
