/* vip115.ru — стилистика SEO-страниц
   Профессиональная юридическая практика
   Совместима с существующим брендом сайта */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f7f6f3;
  --c-bg-dark: #0e1a2b;
  --c-text: #14202f;
  --c-text-soft: #4b5563;
  --c-text-muted: #6b7280;
  --c-accent: #1d3557;
  --c-accent-hover: #284a78;
  --c-gold: #b08a3e;
  --c-border: #e5e7eb;
  --c-success: #2f6f3a;
  --c-danger: #b3261e;

  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Manrope', monospace;

  --radius: 4px;
  --container: 1120px;
  --shadow-sm: 0 1px 2px rgba(20, 32, 47, 0.05);
  --shadow-md: 0 4px 16px rgba(20, 32, 47, 0.08);
}

/* Scoped landing improvements; existing brand and other pages remain unchanged. */
.seo-updated .hero { padding: 44px 0 36px; }
.seo-nowrap { white-space: nowrap; }
.seo-updated .main-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.seo-updated .hero h1 { max-width: 1000px; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; }
.seo-updated .hero .hero-lead { max-width: 780px; font-size: 19px; line-height: 1.6; }
.seo-updated .hero .hero-cta-row { margin: 22px 0 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.seo-updated .hero .btn { white-space: nowrap; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 4px; font-weight: 700; }
.seo-updated .hero .btn-primary { background: #1d3557; border: 1px solid #1d3557; color: #fff; }
.seo-updated .hero .btn-secondary { background: transparent; border: 1px solid #1d3557; color: #1d3557; }
.seo-updated .hero .btn:hover { background: #284a78; border-color: #284a78; color: #fff; }
.seo-updated .hero .seo-offer { font-size: 16px; max-width: 720px; margin: 10px 0; color: #4b5563; }
.seo-updated .hero .seo-offer strong { color: #14202f; }
.seo-updated .hero .seo-author-line { font-size: 15px; margin: 12px 0 0; }
.seo-updated .seo-author-line a, .seo-practice a, .profile-verification a { text-decoration: underline; text-underline-offset: 3px; }
.seo-practice-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 36px; align-items: start; }
.seo-practice-grid h2 { font-size: clamp(24px, 2.6vw, 32px); }
.seo-practice-grid p { margin: 14px 0; }
.seo-note { font-size: 14px; color: #4b5563; }
.seo-practitioner { display: flex; gap: 18px; padding-top: 8px; align-items: flex-start; }
.seo-practitioner img { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 4px; object-fit: cover; }
.seo-practitioner p { margin: 0; font-size: 15px; }
.seo-updated a:focus-visible { outline: 3px solid #b08a3e; outline-offset: 4px; }
@media (max-width: 700px) {
  .seo-updated .header-inner { gap: 12px; }
  .seo-updated .site-header .header-inner { flex-wrap: wrap; }
  .seo-updated .main-nav { width: 100%; order: 3; gap: 12px; }
  .seo-updated .header-cta { white-space: nowrap; font-size: 12px; padding: 10px 12px; }
  .seo-updated .logo-text { font-size: 15px; }
  .seo-updated .logo-text small { font-size: 10px; }
  .seo-updated .hero { padding: 26px 0 28px; }
  .seo-updated .hero .hero-lead { font-size: 17px; }
  .seo-practice-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .seo-updated .hero .hero-cta-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .seo-updated .hero .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.seo-updated) { scroll-behavior: auto; }
  .seo-updated a { transition: none; }
}

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: var(--c-accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--c-accent-hover); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  color: var(--c-text);
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--c-bg-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.logo-text { line-height: 1.2; }
.logo-text small { display: block; font-weight: 500; font-size: 12px; color: var(--c-text-muted); }
.header-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.header-nav a { color: var(--c-text); }
.header-cta {
  padding: 10px 18px;
  background: var(--c-accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
}
.header-cta:hover { background: var(--c-accent-hover); color: #fff; }

@media (max-width: 900px) {
  .header-nav { display: none; }
}

/* === HERO === */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--c-bg-soft) 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-accent); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 820px;
}
.hero-lead {
  font-size: 19px;
  color: var(--c-text-soft);
  max-width: 720px;
  margin-bottom: 32px;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-primary { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.btn-primary:hover { background: var(--c-accent-hover); color: #fff; border-color: var(--c-accent-hover); }
.btn-secondary { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.btn-secondary:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.stat-num {
  font-family: var(--font-num);
  font-size: 36px;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-top: 8px;
}

@media (max-width: 700px) {
  .hero { padding: 48px 0 40px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* === SECTIONS === */
.section { padding: 72px 0; border-bottom: 1px solid var(--c-border); }
.section.alt { background: var(--c-bg-soft); }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 760px;
}
.section-lead {
  font-size: 18px;
  color: var(--c-text-soft);
  max-width: 720px;
  margin-bottom: 40px;
}
.section h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.section p { margin-bottom: 16px; color: var(--c-text-soft); }
.section ul, .section ol { margin: 16px 0 16px 22px; }
.section li { margin-bottom: 8px; color: var(--c-text-soft); }

/* === PROSE LAYOUT === */
.prose { max-width: 760px; }
.prose strong { color: var(--c-text); font-weight: 700; }
.prose .callout {
  border-left: 3px solid var(--c-gold);
  padding: 16px 24px;
  background: var(--c-bg-soft);
  margin: 24px 0;
  font-size: 16px;
}

/* === CARDS GRID === */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.card {
  border: 1px solid var(--c-border);
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--c-accent); }
.card-num {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.card h3 { margin: 0 0 12px; font-size: 19px; }
.card p { font-size: 15px; color: var(--c-text-soft); margin: 0; }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }

/* === PROCESS LIST === */
.process { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--c-border); }
.process-step:last-child { border-bottom: none; }
.process-num {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.process-step h3 { margin: 0 0 8px; font-size: 19px; }
.process-step p { margin: 0; font-size: 15px; color: var(--c-text-soft); }
.process-time {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === PRICING TABLE === */
.pricing-table { margin-top: 24px; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row strong { display: block; font-size: 16px; margin-bottom: 4px; }
.pricing-row p { font-size: 14px; color: var(--c-text-muted); margin: 0; }
.pricing-amount { font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--c-accent); white-space: nowrap; }

/* === FAQ === */
.faq-list { margin-top: 32px; max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: 24px 0;
}
.faq-item summary {
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  color: var(--c-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 400;
  color: var(--c-accent);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--c-accent); }
.faq-answer {
  margin-top: 16px;
  color: var(--c-text-soft);
  font-size: 16px;
  line-height: 1.65;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* === CTA BLOCK === */
.cta-block {
  background: var(--c-bg-dark);
  color: #fff;
  padding: 64px 0;
  border-bottom: 1px solid var(--c-border);
}
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 28px; max-width: 640px; }
.cta-block .btn-primary { background: var(--c-gold); border-color: var(--c-gold); color: #14202f; }
.cta-block .btn-primary:hover { background: #c89c4d; border-color: #c89c4d; color: #14202f; }
.cta-block .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-block .btn-secondary:hover { background: #fff; color: var(--c-bg-dark); border-color: #fff; }
.cta-contacts { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; font-size: 15px; color: rgba(255,255,255,0.85); }
.cta-contacts a { color: var(--c-gold); }

/* === FOOTER === */
.footer {
  padding: 48px 0 24px;
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* === RELATED LINKS === */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.related a {
  padding: 18px 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text);
  transition: all 0.15s;
}
.related a:hover { border-color: var(--c-accent); color: var(--c-accent); }
@media (max-width: 700px) { .related { grid-template-columns: 1fr; } }


/* ===== COMBO PAGE BLOCKS (добавлено для страниц банк+регион) ===== */

/* Lead paragraph */
.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--c-text-muted, #555);
  max-width: 720px;
  margin: 0 0 2rem 0;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.stat-card {
  background: #f8f6f1;
  border: 1px solid #e8e0d0;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-accent, #c9a84c);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.3;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #14202f 0%, #1e3048 100%);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cta-buttons .btn-primary {
  background: var(--c-gold, #c9a84c);
  color: #14202f;
  border: 2px solid var(--c-gold, #c9a84c);
}

.cta-buttons .btn-primary:hover {
  background: #b8963e;
  border-color: #b8963e;
  text-decoration: none;
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  text-decoration: none;
}

/* Hub grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.hub-card {
  display: block;
  background: #fff;
  border: 1px solid #e0d9cc;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--c-text, #14202f);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: all 0.2s ease;
  position: relative;
}

.hub-card::after {
  content: '92';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-accent, #c9a84c);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hub-card:hover {
  border-color: var(--c-accent, #c9a84c);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--c-text, #14202f);
  padding-right: 2.5rem;
}

.hub-card:hover::after {
  opacity: 1;
}

/* Section spacing */
.page-content section {
  margin-bottom: 2.5rem;
}

.page-content section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #14202f;
  border-bottom: 2px solid var(--c-gold, #c9a84c);
  padding-bottom: 0.5rem;
}

.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  list-style-type: disc;
}


/* ===== SECTION/LIST FIX (правильные селекторы для combo-страниц) ===== */

main .container section {
  margin-bottom: 2.5rem;
}

main .container section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #14202f;
  border-bottom: 2px solid var(--c-gold, #c9a84c);
  padding-bottom: 0.5rem;
}

main .container ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc !important;
}

main .container ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  display: list-item !important;
  list-style-type: disc !important;
}

/* Tighten spacing: reduce gap between hero and first section */
main .container {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

main .container .lead {
  margin-bottom: 1.75rem;
}


/* ===== SPACING OVERRIDE: styles.css section has 80px padding — too much for SEO pages ===== */
main .container section {
  padding-top: 2rem !important;
  padding-bottom: 1rem !important;
  margin-bottom: 1.5rem !important;
}

/* Breadcrumb area */
.breadcrumb {
  padding: 0.75rem 0;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #888;
}

/* Page hero area with h1 + lead */
main .container > h1:first-of-type {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ===== ПСИХОЛОГИЯ для SEO-страниц (банки и пр.): боль клиента + кейс + 50/50 ===== */
.pain-seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.pain-quote-seo { margin: 0; background: var(--c-bg); border: 1px solid var(--c-border); border-left: 3px solid var(--c-gold); border-radius: var(--radius); padding: 18px 20px; color: var(--c-text); line-height: 1.5; box-shadow: var(--shadow-sm); }
.pain-quote-seo::before { content: "«"; color: var(--c-gold); font-weight: 700; }
.pain-quote-seo::after  { content: "»"; color: var(--c-gold); font-weight: 700; }

.case-highlight { background: var(--c-bg-dark); color: #fff; border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.case-highlight .ch-badge { font-family: var(--font-num); font-size: 1.8rem; font-weight: 800; color: var(--c-gold); line-height: 1.1; white-space: nowrap; text-align: center; }
.case-highlight .ch-badge small { display: block; font-size: .8rem; color: #b8c0cc; font-weight: 600; margin-top: 4px; }
.case-highlight .ch-body { flex: 1; min-width: 240px; }
.case-highlight .ch-body p { margin: 0 0 8px; color: #e6eaf0; line-height: 1.55; }
.case-highlight a { color: #fff; font-weight: 700; text-decoration: underline; }

.guarantee-seo { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; margin-top: 24px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.guarantee-seo > div { background: var(--c-bg); padding: 18px 20px; text-align: center; }
.guarantee-seo strong { display: block; color: var(--c-accent); margin-bottom: 5px; }
.guarantee-seo span { color: var(--c-text-muted); font-size: .9rem; line-height: 1.4; }
