/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  2 ФИЛИНА — components.css                                      ║
   ║  Merged from: blog.css + phase7.css + phase8.css +              ║
   ║               phase9-services.css + phase10.css +               ║
   ║               mobile-polish.css                                 ║
   ║  Generated: 2026-04-30                                          ║
   ║  Load order: SECOND on every page (after core, before pages)    ║
   ╚═══════════════════════════════════════════════════════════════════╝ */


/* ┌───────────────────────────────────────────────────────────────────┐
   │  PART 1 — BLOG & ARTICLES  (was: css/blog.css)                   │
   │  Blog hero, filter bar, blog grid, blog cards, article hero,     │
   │  article content, pull-quotes, article nav, related articles,    │
   │  article CTA, soft CTA, checklist CTA, inline related links     │
   └───────────────────────────────────────────────────────────────────┘ */

/* ─── Blog Hero ─── */
.blog-hero {
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 350px at 20% 0%, rgba(184,148,94,.08), transparent 60%);
  pointer-events: none;
}
.blog-hero .container {
  position: relative;
}
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.blog-hero__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
}
.blog-hero__lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 680px;
  margin-top: 14px;
}
.blog-hero__lede a {
  color: var(--accent, #b8945e);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.blog-hero__lede a:hover {
  color: var(--text);
}

/* ─── Filter Bar ─── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(244,239,230,.03);
  border: 1px solid rgba(184,148,94,.1);
  border-radius: var(--radius-md, 16px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--muted-2, #8a8075);
  background: transparent;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-md, 16px) - 4px);
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
  white-space: nowrap;
}
.filter-btn:hover {
  color: var(--text);
  background: rgba(184,148,94,.06);
}
.filter-btn.is-active {
  color: var(--accent-light, #d4aa78);
  background: rgba(184,148,94,.10);
  border-color: rgba(184,148,94,.22);
  font-weight: 600;
}

/* ─── Empty State ─── */
.blog-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted-2, #8a8075);
  font-size: 15px;
}

/* ─── Blog Grid ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ─── Blog Card ─── */
.blog-card {
  border: 1px solid rgba(184,148,94,.14);
  border-radius: var(--radius-md, 16px);
  padding: 30px 28px 26px;
  background: linear-gradient(165deg, rgba(244,239,230,.03), rgba(184,148,94,.012));
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: rgba(184,148,94,.30);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.blog-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.blog-card__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.4;
}
.blog-card__cat--kreditoru     { color: #c49078; background: rgba(196,144,120,.1); }
.blog-card__cat--dolzhniku     { color: #8bb880; background: rgba(139,184,128,.1); }
.blog-card__cat--subsidiarnaya { color: #b09ac0; background: rgba(176,154,192,.1); }
.blog-card__cat--osparivanie   { color: #8cb0c4; background: rgba(140,176,196,.1); }
.blog-card__cat--praktika      { color: var(--accent); background: rgba(184,148,94,.1); }
.blog-card__cat--strategiya    { color: var(--accent); background: rgba(184,148,94,.1); }

.blog-card__date {
  font-size: 12px;
  color: var(--muted-2, #8a8075);
}

.blog-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card h2 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-card h2 a:hover { color: var(--accent); }

.blog-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(184,148,94,.08);
}
.blog-card__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-card__more:hover { color: var(--accent-light, #d4aa78); }

/* ─── Article Hero ─── */
.article-hero {
  padding: 64px 0 36px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 350px at 20% 0%, rgba(184,148,94,.08), transparent 60%);
  pointer-events: none;
}
.article-hero .container {
  position: relative;
}
.article-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

/* ─── Article Meta ─── */
.article-meta {
  font-size: 13px;
  color: var(--muted-2, #8a8075);
  margin-bottom: 12px;
}

/* ─── Article Lead ─── */
.article-lead {
  max-width: 720px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.6;
  color: var(--text);
  opacity: .88;
  margin-bottom: 20px;
}

/* ─── Article Content ─── */
.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-top: 44px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.article-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(184,148,94,.35);
}
.article-content a:hover {
  text-decoration-color: var(--accent);
}
.article-content strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── Pull-quote / Blockquote ─── */
.article-content blockquote {
  border-left: 2px solid var(--accent);
  background: rgba(184,148,94,.06);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

/* ─── Article Navigation ─── */
.article-nav {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-nav a {
  flex: 1;
  display: block;
  padding: 16px 20px;
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.article-nav a:hover {
  border-color: rgba(184,148,94,.3);
  color: var(--accent);
}

/* ─── Related Articles ─── */
.related-articles {
  padding: 48px 0 0;
}
.related-articles__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}
.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.related-card {
  padding: 24px 26px;
  border: 1px solid rgba(184,148,94,.12);
  border-radius: var(--radius-md, 16px);
  background: linear-gradient(165deg, rgba(244,239,230,.03), rgba(184,148,94,.012));
  transition: border-color var(--transition), transform var(--transition);
}
.related-card:hover {
  border-color: rgba(184,148,94,.28);
  transform: translateY(-2px);
}
.related-card__cat {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.related-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.related-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.related-card h3 a:hover { color: var(--accent); }
.related-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Article CTA (horizontal) ─── */
.article-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 44px 0 0;
  padding: 24px 32px;
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 16px;
  background: rgba(184,148,94,.04);
}
.article-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.article-cta p {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0;
}
.article-cta .btn {
  background: var(--btn-gold, #b8945e);
  color: var(--btn-surface, #17130f);
  border: 1px solid var(--btn-gold, #b8945e);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}
.article-cta .btn:hover {
  background: var(--btn-gold-light, #d4aa78);
  border-color: var(--btn-gold-light, #d4aa78);
}

/* ─── Soft CTA ─── */
.article-cta-soft {
  margin: 36px 0;
  padding: 24px 28px;
  border: 1px solid rgba(184,148,94,.15);
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(184,148,94,.04);
}
.article-cta-soft .icon-badge {
  margin-bottom: 8px;
}
.article-cta-soft h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.article-cta-soft p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.article-cta-soft .btn,
.article-cta-soft a.btn,
.article-cta-soft a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 26px;
  color: #1c1714 !important;
  background: var(--btn-gold);
  border: 1px solid var(--btn-gold);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  white-space: normal;
}
.article-cta-soft .btn:hover,
.article-cta-soft a.btn:hover,
.article-cta-soft a.btn-primary:hover {
  color: #1c1714 !important;
  background: var(--btn-gold-light);
  border-color: var(--btn-gold-light);
}

/* ─── Inline Related Links ─── */
.article-related-inline {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 12px;
  background: rgba(244,239,230,.02);
}
.article-related-inline__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.article-related-inline a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Checklist CTA ─── */
.article-cta-checklist {
  margin: 36px 0;
  padding: 24px 28px;
  border: 1px solid rgba(110,184,140,.15);
  border-radius: 12px;
  background: rgba(110,184,140,.04);
}
.article-cta-checklist h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.article-cta-checklist li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.article-cta-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6eb89e;
  font-weight: 600;
}
.article-cta-checklist .btn,
.article-cta-checklist a.btn,
.article-cta-checklist a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 26px;
  color: #1c1714 !important;
  background: var(--btn-gold);
  border: 1px solid var(--btn-gold);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  white-space: normal;
}
.article-cta-checklist .btn:hover,
.article-cta-checklist a.btn:hover,
.article-cta-checklist a.btn-primary:hover {
  color: #1c1714 !important;
  background: var(--btn-gold-light);
  border-color: var(--btn-gold-light);
}

/* ─── Blog Responsive ─── */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-hero {
    padding: 48px 0 32px;
  }
  .blog-hero h1 {
    font-size: clamp(28px, 5vw, 36px);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card {
    padding: 24px 22px 20px;
  }
  .filter-bar {
    gap: 4px;
    padding: 4px;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  .article-hero h1 {
    font-size: clamp(26px, 5vw, 36px);
  }
  .article-cta {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding: 20px 22px;
  }
  .article-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .related-articles__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .article-nav {
    flex-direction: column;
    gap: 10px;
  }
}


/* ┌───────────────────────────────────────────────────────────────────┐
   │  PART 2 — PHASE 7: Content Polish & Conversion                  │
   │  (was: css/phase7.css)                                           │
   │  Role tabs, expert quote, lead-magnet, inline CTA card          │
   └───────────────────────────────────────────────────────────────────┘ */

/* ─── Services Role Tabs ─── */
.services-roles {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 14px;
  overflow: hidden;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.role-tab {
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted-2, #8a8075);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 220ms ease-out, background 220ms ease-out;
  white-space: nowrap;
}
.role-tab:hover {
  color: var(--text);
  background: rgba(184,148,94,.06);
}
.role-tab.is-active {
  color: var(--accent-light, #d4aa78);
  background: rgba(184,148,94,.10);
  font-weight: 600;
}

/* Panels hidden by default */
.role-panel { display: none; }
.role-panel.is-active { display: block; }

/* ─── Expert Quote Section (Premium) ─── */
.section--quote {
  padding: 56px 0;
}
.expert-quote {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 56px 44px;
  text-align: center;
  border: 1px solid rgba(184,148,94,.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(184,148,94,.04) 0%, rgba(244,239,230,.018) 60%, rgba(244,239,230,.012) 100%);
  box-shadow:
    0 12px 40px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(244,239,230,.04);
  overflow: hidden;
  isolation: isolate;
}
.expert-quote::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,94,.55), transparent);
  margin: 0;
  z-index: 1;
}
/* Декоративный фон-кавычка справа сверху */
.expert-quote::after {
  content: '\201C';
  position: absolute;
  top: -48px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 220px;
  line-height: 1;
  color: rgba(184,148,94,.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Орнамент: золотая линия — кавычка — золотая линия */
.expert-quote__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.expert-quote__ornament-line {
  display: block;
  flex: 0 1 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,94,.45), transparent);
}
.expert-quote__ornament-mark {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  transform: translateY(-4px);
  text-shadow: 0 2px 12px rgba(184,148,94,.3);
}

.expert-quote__text {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: clamp(19px, 1.8vw, 23px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  margin: 0 auto 32px;
  max-width: 64ch;
  text-wrap: pretty;
  letter-spacing: 0.005em;
}

.expert-quote__author {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  border: 1px solid rgba(184,148,94,.18);
  border-radius: 999px;
  background: rgba(184,148,94,.04);
  text-align: left;
}
.expert-quote__author-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(184,148,94,.4);
  background: linear-gradient(180deg, rgba(184,148,94,.18), rgba(184,148,94,.06));
  color: var(--accent-light, #d4aa78);
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(244,239,230,.08);
}
.expert-quote__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.expert-quote__author-name {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.expert-quote__author-role {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(244,239,230,.6);
}

/* Responsive */
@media (max-width: 768px) {
  .expert-quote {
    padding: 36px 24px 32px;
    border-radius: 18px;
  }
  .expert-quote::after {
    font-size: 160px;
    top: -34px;
    right: 12px;
  }
  .expert-quote__ornament-line {
    flex-basis: 50px;
  }
  .expert-quote__ornament-mark {
    font-size: 38px;
  }
  .expert-quote__text {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .expert-quote__author {
    padding: 10px 18px 10px 10px;
    gap: 12px;
  }
  .expert-quote__author-avatar {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .expert-quote { padding: 28px 18px 26px; }
  .expert-quote__author {
    flex-direction: row;
    text-align: left;
    border-radius: 16px;
    padding: 12px;
  }
  .expert-quote__author-name { font-size: 13.5px; }
  .expert-quote__author-role { font-size: 12px; }
}

/* ─── Lead Magnet Block ─── */
.leadmagnet {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  border: 1px solid rgba(184,148,94,.15);
  border-radius: 22px;
  padding: 48px;
  background: linear-gradient(165deg, rgba(244,239,230,.03), rgba(184,148,94,.012));
  position: relative;
  overflow: hidden;
}
.leadmagnet::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,94,.3), transparent);
}
.leadmagnet__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}
.leadmagnet__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 20px;
}
.leadmagnet__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.leadmagnet__check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(184,148,94,.08);
  border-radius: 12px;
  background: rgba(184,148,94,.03);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.leadmagnet__check-item .icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Inline CTA Card ─── */
.service-card--cta-inline {
  display: flex !important;
  flex-direction: column;
  border: 1px solid rgba(184,148,94,.18);
  background: rgba(184,148,94,.04);
}
.service-card--cta-inline .service-card__title {
  font-size: 20px;
}
.service-card--cta-inline .service-card__desc {
  -webkit-line-clamp: unset;
}
.service-card--cta-inline .btn {
  margin-top: auto;
}
.service-card--cta-inline:hover {
  border-color: rgba(184,148,94,.35);
}

/* Phase 7 Responsive */
@media (max-width: 768px) {
  .services-roles {
    flex-wrap: wrap;
    width: 100%;
    border-radius: 12px;
  }
  .role-tab {
    padding: 10px 20px;
    font-size: 13px;
  }
  .leadmagnet {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 24px;
  }
  .leadmagnet__visual {
    display: none;
  }
  .section--quote {
    padding: 40px 0;
  }
  .expert-quote::before {
    font-size: 56px;
  }
  .expert-quote__text {
    font-size: clamp(16px, 2vw, 20px);
  }
}
@media (max-width: 540px) {
  .services-roles {
    border-radius: 12px;
    padding: 3px;
  }
  .role-tab {
    font-size: 12.5px;
  }
  .leadmagnet {
    padding: 24px;
  }
  .section--leadmagnet {
    padding: 56px 0;
  }
}
@media (max-width: 900px) {
  .service-card--cta-inline .btn {
    font-size: 13.5px;
    padding: 10px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .role-tab,
  .expert-quote,
  .leadmagnet,
  .leadmagnet__check-item {
    transition: none !important;
  }
}


/* ┌───────────────────────────────────────────────────────────────────┐
   │  PART 3 — PHASE 8: Trust Architecture & Conversion              │
   │  (was: css/phase8.css)                                           │
   │  Service hero, PCS block, service grid, highlights,              │
   │  case preview, inline CTA, related, conversion sidebar,         │
   │  lead-magnet compact, about hero, contacts hero,                │
   │  navigation dropdown, service routes                            │
   └───────────────────────────────────────────────────────────────────┘ */

/* ─── Service Landing Hero ─── */
.svc-hero {
  padding: calc(var(--header-h, 92px) + 12px) 0 56px;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 20% -5%, rgba(184,148,94,.08), transparent 55%),
    radial-gradient(400px 300px at 80% 30%, rgba(184,148,94,.03), transparent 50%);
  pointer-events: none;
}
.svc-hero .container { position: relative; }

.svc-hero .breadcrumb {
  margin-bottom: 16px;
}
.svc-hero .section-kicker {
  margin-bottom: 14px;
}
.svc-hero h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 20px;
}
.svc-hero__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 28px;
}
.svc-hero__cta {
  display: inline-flex;
}

/* ─── Service Hero — Symmetric Two-Column Layout ─── */
.svc-hero .hero-grid {
  align-items: center;
  gap: 64px;
}
.svc-hero .hero-grid__text {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.svc-hero .hero-grid__text > * { margin-top: 0; }
.svc-hero .hero-grid__text > .breadcrumb { margin-top: 0; }

/* Правая карточка результатов: шире, устойчивее, без absolute */
.svc-hero .hero-stats-card {
  position: static;
  margin: 0;
  width: 100%;
  align-self: center;
  padding: 36px 34px 32px;
}
.svc-hero .hero-stats-card__value { font-size: 52px; }

/* Чек-лист акцент под лидом — отступ от лида */
.svc-hero .hub-hero__checklist {
  margin: 4px 0 0;
}

@media (max-width: 1199px) and (min-width: 1024px) {
  .svc-hero .hero-grid { gap: 48px; }
  .svc-hero .hero-stats-card { padding: 30px 28px 28px; }
  .svc-hero .hero-stats-card__value { font-size: 44px; }
}
@media (max-width: 1023px) {
  .svc-hero .hero-grid { gap: 36px; align-items: start; }
  .svc-hero .hero-stats-card { max-width: 540px; margin: 0 auto; }
}

/* ─── Problem-Consequence-Solution Block ─── */
.pcs-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pcs-card {
  padding: 28px 24px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 14px;
  background: rgba(244,239,230,.015);
  position: relative;
}
.pcs-card--problem { border-top: 2px solid #dc7864; }
.pcs-card--consequence { border-top: 2px solid rgba(184,148,94,.5); }
.pcs-card--solution { border-top: 2px solid #6eb89e; }

.pcs-card__step {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.pcs-card--problem .pcs-card__step { color: #dc7864; }
.pcs-card--consequence .pcs-card__step { color: var(--accent); }
.pcs-card--solution .pcs-card__step { color: #6eb89e; }

.pcs-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}
.pcs-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ─── Service Items Grid ─── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.svc-item {
  padding: 24px 22px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 12px;
  background: rgba(244,239,230,.015);
  transition: border-color var(--transition);
}
.svc-item:hover {
  border-color: rgba(184,148,94,.18);
}
.svc-item__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.svc-item__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ─── Two-column Highlights ─── */
.why-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.why-works__item {
  padding: 24px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 14px;
  background: rgba(244,239,230,.015);
}
.why-works__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.why-works__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ─── Case Preview Grid ─── */
.svc-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

/* ─── Inline CTA Banner ─── */
.inline-cta {
  padding: 32px 36px;
  border: 1px solid rgba(184,148,94,.15);
  border-radius: 16px;
  background: rgba(184,148,94,.04);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.inline-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,94,.25), transparent);
}
.inline-cta__text {
  flex: 1;
}
.inline-cta__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.inline-cta__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Related Services ─── */
.related-svc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.related-svc__card {
  padding: 24px 22px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 14px;
  background: rgba(244,239,230,.015);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}
.related-svc__card:hover {
  border-color: rgba(184,148,94,.22);
  transform: translateY(-2px);
}
.related-svc__card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.related-svc__card:hover h3 { color: var(--accent); }
.related-svc__card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Related Services — compact link variant (grid + name + arrow) ── */
.related-svc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.related-svc__grid .related-svc__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(184,148,94,.18);
  border-radius: 12px;
  background: rgba(184,148,94,.03);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.related-svc__grid .related-svc__card:hover {
  border-color: rgba(184,148,94,.40);
  background: rgba(184,148,94,.06);
  transform: translateY(-2px);
}
.related-svc__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 0;
}
.related-svc__grid .related-svc__card:hover .related-svc__name { color: var(--accent); }
.related-svc__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform var(--transition);
}
.related-svc__arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}
.related-svc__grid .related-svc__card:hover .related-svc__arrow { transform: translateX(3px); }

/* ── Featured / Premium variant — выделяет флагманскую услугу ── */
.related-svc__grid .related-svc__card--featured {
  grid-column: span 2;
  border-color: rgba(184,148,94,.55);
  background:
    linear-gradient(135deg, rgba(184,148,94,.14) 0%, rgba(184,148,94,.06) 60%, rgba(184,148,94,.10) 100%);
  box-shadow: 0 0 0 1px rgba(184,148,94,.18) inset, 0 6px 22px -12px rgba(184,148,94,.45);
  position: relative;
  overflow: hidden;
}
.related-svc__grid .related-svc__card--featured .related-svc__name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
}
.related-svc__grid .related-svc__card--featured:hover {
  border-color: rgba(184,148,94,.70);
  background:
    linear-gradient(135deg, rgba(184,148,94,.20) 0%, rgba(184,148,94,.09) 60%, rgba(184,148,94,.16) 100%);
}
@media (max-width: 768px) {
  .related-svc__grid { grid-template-columns: 1fr; gap: 10px; }
  .related-svc__grid .related-svc__card { padding: 16px 18px; }
  .related-svc__name { font-size: 14.5px; }
  .related-svc__grid .related-svc__card--featured { grid-column: span 1; }
  .related-svc__grid .related-svc__card--featured .related-svc__name { font-size: 15.5px; }
}

/* ═══════════════════════════════════════════════════════════════
   RISKS / ПОСЛЕДСТВИЯ БЕЗДЕЙСТВИЯ — premium 6-card grid
   Использует токены проекта: --accent, --text, --muted, --accent-glow
   ═══════════════════════════════════════════════════════════════ */
.risks-section {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(184,148,94,.06) 0%, transparent 55%),
    rgba(244,239,230,.015);
}
.risks-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,148,94,.25) 50%, transparent 100%);
  pointer-events: none;
}

.risks-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.risks-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.risks-title__accent {
  color: var(--accent);
  white-space: nowrap;
}
.risks-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto;
  max-width: 640px;
}

.risks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.risk-card {
  position: relative;
  padding: 36px 28px 30px;
  background: linear-gradient(180deg, rgba(244,239,230,.025) 0%, rgba(244,239,230,.01) 100%);
  border: 1px solid rgba(184,148,94,.22);
  border-radius: 14px;
  transition:
    transform .35s ease,
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease;
  will-change: transform;
}
.risk-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,148,94,.45) 50%, transparent 100%);
  border-radius: 14px 14px 0 0;
  opacity: .55;
  transition: opacity .35s ease;
  pointer-events: none;
}
.risk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,148,94,.45);
  background: linear-gradient(180deg, rgba(184,148,94,.06) 0%, rgba(184,148,94,.02) 100%);
  box-shadow:
    0 12px 32px -16px rgba(0,0,0,.55),
    0 0 0 1px rgba(184,148,94,.15) inset,
    0 0 28px -10px var(--accent-glow);
}
.risk-card:hover::before { opacity: 1; }

.risk-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1px solid rgba(184,148,94,.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(184,148,94,.10) 0%, rgba(184,148,94,.02) 75%);
  color: var(--accent);
  transition: border-color .35s ease, background .35s ease, transform .35s ease;
}
.risk-card__icon svg {
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(184,148,94,.25));
}
.risk-card:hover .risk-card__icon {
  border-color: rgba(184,148,94,.55);
  background:
    radial-gradient(circle at 50% 50%, rgba(184,148,94,.18) 0%, rgba(184,148,94,.04) 75%);
  transform: scale(1.04);
}

.risk-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
  margin: 0 0 12px;
}
.risk-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
  margin: 0;
}
.risk-card__desc a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,148,94,.35);
  transition: border-color var(--transition), color var(--transition);
}
.risk-card__desc a:hover {
  color: var(--accent-light, #d4aa78);
  border-bottom-color: var(--accent);
}

/* Адаптив */
@media (max-width: 1024px) {
  .risks-section { padding: 80px 0; }
  .risks-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .risks-header { margin-bottom: 44px; }
}
@media (max-width: 640px) {
  .risks-section { padding: 64px 0; }
  .risks-grid { grid-template-columns: 1fr; gap: 16px; }
  .risks-header { margin-bottom: 36px; }
  .risk-card { padding: 28px 22px 24px; }
  .risk-card__icon { width: 56px; height: 56px; margin-bottom: 18px; }
  .risk-card__icon svg { width: 26px; height: 26px; }
  .risk-card__title { font-size: 18px; }
  .risks-title__accent { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .risk-card,
  .risk-card__icon,
  .risk-card::before { transition: none; }
  .risk-card:hover { transform: none; }
  .risk-card:hover .risk-card__icon { transform: none; }
}

/* Wide-header variant (used on /uslugi/dolzhniku/ и /uslugi/otvetchiku/):
   шире контентного блока, заголовок-акцент рендерится отдельной строкой,
   подзаголовки переносятся естественно (без nowrap — без риска overflow). */
.risks-header--wide {
  max-width: none;
}
.risks-header--wide .risks-title {
  max-width: none;
  text-align: center;
}
.risks-header--wide .risks-title__accent {
  display: block;
  text-align: center;
  font-size: clamp(20px, 3.2vw, 42px);
  white-space: normal;
}
.risks-header--wide .risks-subtitle {
  max-width: none;
  text-align: center;
  font-size: clamp(13px, 1.4vw, 17px);
}
.risks-header--wide .risks-subtitle + .risks-subtitle {
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   SITUATIONS / СИТУАЦИИ — self-diagnostics 2-column checklist
   Использует токены проекта: --accent, --text, --muted, --accent-glow
   ═══════════════════════════════════════════════════════════════ */
.situations-section {
  padding: 80px 0;
  background: rgba(244,239,230,.012);
}

.situations-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.situations-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.situations-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.situations-section .situations-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1px minmax(0, 360px);
  justify-content: center;
  align-items: stretch;
  gap: 0 24px;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.situations-section .situations-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: auto;
  max-width: none;
  min-width: 0;
  flex: initial;
  margin: 0;
  padding: 0;
}

.situations-section .situations-divider {
  display: block;
  width: 1px;
  height: 100%;
  margin: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(184,148,94,.30) 10%, rgba(184,148,94,.30) 90%, transparent 100%);
}

.situation-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.situation-item__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  color: var(--accent);
  transition: color .3s ease, transform .3s ease, filter .3s ease;
  filter: drop-shadow(0 0 8px rgba(184,148,94,.28));
}
.situation-item__check svg {
  width: 28px;
  height: 28px;
  display: block;
}
.situation-item:hover .situation-item__check {
  color: var(--accent-light, #d4aa78);
  transform: scale(1.06);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.situation-item__body {
  flex: 1 1 auto;
  min-width: 0;
}
.situation-item__question {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 8px;
  transition: color .3s ease;
}
.situation-item:hover .situation-item__question {
  color: var(--accent-light, #d4aa78);
}
.situation-item__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
  .situations-section { padding: 64px 0; }
  .situations-header { margin-bottom: 44px; }
  .situations-section .situations-grid {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 0 20px;
    max-width: 760px;
  }
  .situations-section .situations-column { gap: 28px; }
  .situation-item__question { font-size: 18px; }
}
@media (max-width: 768px) {
  .situations-section { padding: 56px 0; }
  .situations-header { margin-bottom: 36px; }
  .situations-section .situations-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
    max-width: 100%;
  }
  .situations-section .situations-divider { display: none; }
  .situations-section .situations-column { gap: 24px; }
  .situation-item__check,
  .situation-item__check svg { width: 24px; height: 24px; }
  .situation-item__question { font-size: 17px; }
  .situation-item__desc { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .situation-item__check,
  .situation-item__question,
  .situation-item__check svg path { transition: none; }
  .situation-item:hover .situation-item__check { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ADVANTAGES / ПРЕИМУЩЕСТВА — premium block с золотыми бейджами
   Использует токены проекта: --accent, --accent-light, --text, --muted, --accent-glow
   ═══════════════════════════════════════════════════════════════ */
.advantages-section {
  padding: 80px 0;
  background: rgba(244,239,230,.012);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.advantage-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Тонкий золотой круглый бейдж — в стиле stage-card__icon */
.advantage-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(184,148,94,.30);
  background: rgba(184,148,94,.06);
  color: var(--accent, #b8945e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .4s ease, border-color .4s ease, background-color .4s ease;
}

.advantage-badge .badge-icon {
  width: 32px;
  height: 32px;
  display: block;
  position: relative;
  z-index: 1;
}

.advantage-item:hover .advantage-badge {
  transform: translateY(-2px);
  border-color: rgba(184,148,94,.55);
  background: rgba(184,148,94,.10);
}

.advantage-content {
  flex: 1;
  padding-top: 4px;
  min-width: 0;
}

.advantage-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: -.005em;
}

.advantage-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
  .advantages-section { padding: 64px 0; }
  .advantages-grid { gap: 40px 30px; }
  .advantage-badge { width: 72px; height: 72px; }
  .advantage-badge .badge-icon { width: 36px; height: 36px; }
  .advantage-title { font-size: 20px; }
  .advantage-text { font-size: 14.5px; }
}

@media (max-width: 768px) {
  .advantages-section { padding: 56px 0; }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .advantage-item { gap: 20px; }
  .advantage-badge { width: 56px; height: 56px; }
  .advantage-badge .badge-icon { width: 28px; height: 28px; }
  .advantage-title { font-size: 19px; }
  .advantage-text { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .advantage-badge { transition: none; }
  .advantage-item:hover .advantage-badge { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   PROCEDURE / О ПРОЦЕДУРЕ — premium info-block с золотыми акцентами
   Использует токены проекта: --accent, --accent-light, --text, --muted, --accent-glow
   ═══════════════════════════════════════════════════════════════ */
.procedure-section {
  padding: 80px 0;
  background: rgba(244,239,230,.012);
  position: relative;
}

.procedure-section .procedure-header {
  max-width: 900px;
  margin: 0 auto 56px;
}

.procedure-section .section-intro {
  margin: 18px auto 0;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

/* Контейнер с золотыми полосами слева и справа */
.procedure-content {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.procedure-content .gold-accent {
  flex-shrink: 0;
  width: 6px;
  align-self: stretch;
  border-radius: 4px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--accent-light, #d4aa78) 12%,
    var(--accent, #b8945e) 50%,
    var(--accent-light, #d4aa78) 88%,
    transparent 100%);
  box-shadow: 0 0 24px rgba(184,148,94,.18);
}

.procedure-blocks {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Карточка блока */
.procedure-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px;
  background: rgba(28,23,20,.55);
  border: 1px solid rgba(184,148,94,.14);
  border-left: 3px solid var(--accent, #b8945e);
  border-radius: 10px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.procedure-block:hover {
  transform: translateX(6px);
  border-color: rgba(184,148,94,.28);
  border-left-color: var(--accent-light, #d4aa78);
  background: rgba(28,23,20,.75);
  box-shadow: 0 10px 28px rgba(0,0,0,.30), 0 0 24px rgba(184,148,94,.10);
}

.procedure-block .block-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #b8945e);
  filter: drop-shadow(0 0 10px rgba(184,148,94,.18));
  transition: color .3s ease, transform .3s ease;
}

.procedure-block:hover .block-icon {
  color: var(--accent-light, #d4aa78);
  transform: scale(1.05);
}

.procedure-block .block-content { flex: 1; min-width: 0; }

.procedure-block .block-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -.005em;
}

.procedure-block .block-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.procedure-block .block-text a {
  color: var(--accent, #b8945e);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,148,94,.35);
  transition: color .25s ease, border-color .25s ease;
}
.procedure-block .block-text a:hover {
  color: var(--accent-light, #d4aa78);
  border-bottom-color: var(--accent-light, #d4aa78);
}

/* Заключительный текст */
.procedure-section .procedure-footer {
  max-width: 860px;
  margin: 56px auto 0;
  text-align: center;
}
.procedure-section .footer-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}
.procedure-section .footer-text a {
  color: var(--accent, #b8945e);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,148,94,.35);
  font-style: normal;
  transition: color .25s ease, border-color .25s ease;
}
.procedure-section .footer-text a:hover {
  color: var(--accent-light, #d4aa78);
  border-bottom-color: var(--accent-light, #d4aa78);
}

/* Адаптив */
@media (max-width: 1024px) {
  .procedure-section { padding: 64px 0; }
  .procedure-section .procedure-header { margin-bottom: 44px; }
  .procedure-content { gap: 24px; }
  .procedure-content .gold-accent { width: 4px; }
  .procedure-block { padding: 24px 26px; gap: 20px; }
  .procedure-block .block-icon { width: 44px; height: 44px; }
  .procedure-block .block-title { font-size: 19px; }
  .procedure-block .block-text { font-size: 14.5px; }
  .procedure-section .procedure-footer { margin-top: 44px; }
}

@media (max-width: 768px) {
  .procedure-section { padding: 56px 0; }
  .procedure-section .procedure-header { margin-bottom: 36px; }
  .procedure-section .section-intro { font-size: 15px; }
  .procedure-content { gap: 0; flex-direction: column; }
  .procedure-content .gold-accent { display: none; }
  .procedure-blocks { gap: 16px; }
  .procedure-block {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 14px;
    border-left-width: 3px;
  }
  .procedure-block:hover { transform: none; }
  .procedure-block .block-icon { width: 40px; height: 40px; }
  .procedure-block .block-icon svg { width: 28px; height: 28px; }
  .procedure-block .block-title { font-size: 18px; margin-bottom: 8px; }
  .procedure-block .block-text { font-size: 14px; line-height: 1.7; }
  .procedure-section .procedure-footer { margin-top: 36px; }
  .procedure-section .footer-text { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .procedure-block,
  .procedure-block .block-icon { transition: none; }
  .procedure-block:hover { transform: none; }
  .procedure-block:hover .block-icon { transform: none; }
}

/* ─── Conversion Sidebar ─── */
.conversion-sidebar {
  border: 1px solid rgba(184,148,94,.18);
  border-radius: 16px;
  padding: 28px 24px;
  background: rgba(184,148,94,.03);
  position: sticky;
  top: 100px;
}
.conversion-sidebar__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.conversion-sidebar__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ─── Lead Magnet Compact ─── */
.leadmagnet--compact {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 36px;
}

/* ─── About Page Hero ─── */
.about-hero {
  padding: calc(var(--header-h, 92px) + 12px) 0 48px;
  position: relative;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 350px at 20% 0%, rgba(184,148,94,.06), transparent 55%);
  pointer-events: none;
}
.about-hero .container { position: relative; }

/* ─── About Hero — Premium ─── */
.about-hero--premium {
  padding: calc(var(--header-h, 92px) + 32px) 0 72px;
  position: relative;
  overflow: hidden;
}
.about-hero--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 22% 8%, rgba(184,148,94,.10), transparent 60%),
    radial-gradient(600px 360px at 82% 92%, rgba(184,148,94,.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.about-hero--premium .container { position: relative; z-index: 1; }
.about-hero--premium .breadcrumb { margin-bottom: 28px; }

.about-hero__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 0 8px;
}
.about-hero__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 22px;
  padding: 6px 16px;
  border: 1px solid rgba(184,148,94,.28);
  border-radius: 100px;
  background: rgba(184,148,94,.06);
}
.about-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.about-hero__title .accent-text {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}
.about-hero__lead {
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-hero__metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  max-width: 960px;
  margin: 56px auto 0;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(184,148,94,.06), rgba(184,148,94,.02));
  border: 1px solid rgba(184,148,94,.18);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.about-hero__metric { text-align: center; }
.about-hero__metric-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}
.about-hero__metric-label {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.about-hero__metric-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(184,148,94,.28), transparent);
}

@media (max-width: 768px) {
  .about-hero--premium { padding: calc(var(--header-h, 92px) + 16px) 0 48px; }
  .about-hero__title { font-size: clamp(28px, 7vw, 40px); }
  .about-hero__metrics {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px;
    margin-top: 36px;
  }
  .about-hero__metric-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184,148,94,.28), transparent);
    margin: 0 auto;
  }
}

/* ─── About Spec Cards ─── */
.about-spec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.about-spec-card {
  padding: 24px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 14px;
  background: rgba(244,239,230,.015);
}

/* ─── Contacts Page Hero ─── */
.contacts-hero {
  padding: calc(var(--header-h, 92px) + 12px) 0 40px;
  position: relative;
}
.contacts-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 350px at 20% 0%, rgba(184,148,94,.06), transparent 55%);
  pointer-events: none;
}
.contacts-hero .container { position: relative; }

/* ─── Navigation Dropdown ─── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav-dropdown__trigger .nav-link {
  padding-right: 6px;
}
.nav-dropdown__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition), transform 220ms ease-out;
}
.nav-dropdown__chevron:hover {
  color: var(--text);
  background: rgba(244,239,230,.06);
}
.nav-dropdown__chevron svg {
  width: 10px;
  height: 6px;
  transition: transform 220ms ease-out;
}
.nav-dropdown__chevron[aria-expanded="true"] svg,
.nav-dropdown.is-open .nav-dropdown__chevron svg {
  transform: rotate(180deg);
}

/* Desktop dropdown panel */
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 320px;
  padding: 12px;
  background: rgba(23,19,15,.97);
  border: 1px solid rgba(184,148,94,.15);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 200ms;
  z-index: 100;
}
/* Невидимый "мостик" между триггером и панелью —
   чтобы курсор не проваливался в зазор и dropdown не закрывался */
.nav-dropdown__panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}
/* Расширяем хит-зону самого триггера вниз — дублирующая страховка */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}
.nav-dropdown.is-open .nav-dropdown__panel,
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__item-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.nav-dropdown__item-desc {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}
.nav-dropdown__footer-link {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--transition);
}
.nav-dropdown__footer-link:hover {
  background: rgba(184,148,94,.08);
}
.nav-dropdown__item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown__item:hover {
  color: var(--text);
  background: rgba(184,148,94,.08);
}
.nav-dropdown__footer {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(184,148,94,.1);
}
.nav-dropdown__footer a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* Mobile nav dropdown — accordion */
@media (max-width: 900px) {
  .nav-dropdown__panel {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
    width: auto;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  /* Десктопные :hover / :focus-within / .is-open селекторы применяют
     transform: translateX(-50%) translateY(0); на мобильном это выталкивает 
     панель за вьюпорт. Принудительно сбрасываем все варианты. */
  .nav-dropdown.is-open .nav-dropdown__panel,
  .nav-dropdown:hover .nav-dropdown__panel,
  .nav-dropdown:focus-within .nav-dropdown__panel,
  .nav-dropdown__panel.open {
    transform: none;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    min-width: 0;
    display: block;
  }
  /* :hover и :focus-within на мобильных «залипают» после тапа,
     поэтому по умолчанию прячем панель обратно — покажем только при .is-open */
  .nav-dropdown:not(.is-open):hover .nav-dropdown__panel,
  .nav-dropdown:not(.is-open):focus-within .nav-dropdown__panel {
    display: none;
  }
}

/* ─── Service Routes Page ─── */
.service-route-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 12px;
  background: rgba(244,239,230,.015);
  text-decoration: none;
  transition: border-color var(--transition);
}
.service-route-card:hover {
  border-color: rgba(184,148,94,.2);
}
.service-route-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(184,148,94,.08);
  color: var(--accent);
}
.service-route-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.service-route-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Phase 8 Responsive */
@media (max-width: 900px) {
  .svc-hero {
    padding-bottom: 40px;
  }
  .pcs-block {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
  .why-works {
    grid-template-columns: 1fr;
  }
  .inline-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px 28px;
  }
}
@media (max-width: 768px) {
  .svc-hero h1 {
    font-size: clamp(24px, 4vw, 34px);
  }
  .svc-hero__lead {
    font-size: 16px;
  }
  .pcs-card {
    padding: 22px 20px;
  }
}
@media (max-width: 540px) {
  .svc-hero {
    padding-bottom: 32px;
  }
  .inline-cta {
    padding: 20px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-item,
  .related-svc__card,
  .service-route-card,
  .pcs-card {
    transition: none !important;
    transform: none !important;
  }
}


/* ┌───────────────────────────────────────────────────────────────────┐
   │  PART 4 — PHASE 9: Services & Kontakty Redesign                 │
   │  (was: css/phase9-services.css)                                  │
   │  Hero spacing, text-hero, service catalog, proof strip,          │
   │  mid-page CTA, related services, CTA banner, FAQ,               │
   │  contacts twin layout, trust cards, map frame                   │
   └───────────────────────────────────────────────────────────────────┘ */

/* ─── Hero Spacing Adjustments ─── */
.page-hero {
  padding-top: calc(var(--header-h, 92px) + 8px);
}
.page-hero .section-kicker {
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.14;
  margin-bottom: 18px;
}
.page-hero__lead {
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 24px;
}
.page-hero__body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 24px;
}

/* ─── Compact Hero Variant ─── */
.page-hero--compact {
  padding-bottom: 40px;
}

/* ─── Text Hero with Accent Line ─── */
.text-hero {
  padding: calc(var(--header-h, 92px) + 12px) 0 40px;
  position: relative;
}
.text-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,94,.15), transparent);
}
.text-hero h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.14;
  margin-bottom: 16px;
}
.text-hero__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}

/* ─── Service Catalog Headings ─── */
.catalog-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

/* ─── Sides Grid (3-col) ─── */
.sides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Proof Strip ─── */
.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 24px 0;
}
.proof-strip__item {
  text-align: center;
}
.proof-strip__value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.proof-strip__label {
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* ─── Mid-page CTA ─── */
.mid-cta {
  padding: 28px 32px;
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 16px;
  background: rgba(184,148,94,.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mid-cta__text {
  flex: 1;
}
.mid-cta__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.mid-cta__desc {
  font-size: 14px;
  color: var(--muted);
}

/* ─── Service Route Links ─── */
.service-route {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition);
}
.service-route:hover { opacity: .8; }
.service-route .icon { width: 16px; height: 16px; }

/* ─── Related Services Grid ─── */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ─── Services Grid Equal Height ─── */
.services-grid {
  align-items: stretch;
}
.services-grid .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.services-grid .service-card__desc {
  flex: 1;
}

/* ─── CTA Banner ─── */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(184,148,94,.15);
  border-radius: 16px;
  background: rgba(184,148,94,.04);
}
.cta-banner__text {
  flex: 1;
}
.cta-banner__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.cta-banner__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Related Articles Grid (4-col, 3-col) ─── */
.related-articles-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.related-articles-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ─── Section Title Whitespace ─── */
.section-title--nowrap {
  white-space: nowrap;
}

/* ─── FAQ Component ─── */
.faq-section {
  max-width: 820px;
  margin: 0 auto;
}

/* ─── Contacts Twin Layout ─── */
.contacts-twin {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ─── Contacts Form Panel ─── */
.contacts-form-panel {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 18px;
  background: rgba(244,239,230,.02);
}
.contacts-form-panel input,
.contacts-form-panel textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: rgba(244,239,230,.04);
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 12px;
  transition: border-color var(--transition);
}
.contacts-form-panel input:focus,
.contacts-form-panel textarea:focus {
  outline: none;
  border-color: rgba(184,148,94,.4);
}
.contacts-form-panel textarea {
  min-height: 100px;
  resize: vertical;
}

/* ─── Form Success ─── */
.form-success {
  text-align: center;
  padding: 24px;
  color: var(--text);
}

/* ─── Contacts Info Items ─── */
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacts-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 12px;
  background: rgba(244,239,230,.015);
}
.contacts-info-item .icon {
  color: var(--accent);
  flex-shrink: 0;
}
.contacts-info-item__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ─── Trust Cards ─── */
.contacts-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contacts-trust-card {
  padding: 20px;
  border: 1px solid rgba(244,239,230,.06);
  border-radius: 14px;
  background: rgba(244,239,230,.015);
}
.contacts-trust-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.contacts-trust-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ─── Map Frame ─── */
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(184,148,94,.1);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}

/* ─── Compact Services Grid (4-col) ─── */
.services-grid--compact {
  grid-template-columns: repeat(4, 1fr);
}
.service-card--light {
  background: rgba(244,239,230,.03);
  border-color: rgba(244,239,230,.08);
}

/* ─── SEO Content Block ─── */
.seo-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.seo-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}
.seo-content p {
  margin-bottom: 16px;
}
.seo-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Phase 9 Responsive */
@media (max-width: 1100px) {
  .related-articles-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .contacts-twin {
    grid-template-columns: 1fr;
  }
  .mid-cta {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .sides-grid {
    grid-template-columns: 1fr;
  }
  .related-articles-grid--4,
  .related-articles-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: clamp(24px, 4vw, 32px);
  }
  .text-hero h1 {
    font-size: clamp(24px, 4vw, 32px);
  }
  .proof-strip {
    flex-wrap: wrap;
    gap: 24px 32px;
  }
  .contacts-trust-grid {
    grid-template-columns: 1fr;
  }
  .related-articles-grid--4,
  .related-articles-grid--3 {
    grid-template-columns: 1fr;
  }
  .services-grid--compact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .contacts-form-panel {
    padding: 24px 20px;
  }
  .proof-strip__value {
    font-size: 24px;
  }
}
@media (max-width: 960px) {
  .section-title--nowrap {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contacts-twin,
  .contacts-form-panel input,
  .contacts-form-panel textarea {
    transition: none !important;
  }
}


/* ┌───────────────────────────────────────────────────────────────────┐
   │  PART 5 — PHASE 10: Header Phone, Lead Magnet, Typography       │
   │  (was: css/phase10.css)                                          │
   │  Header CTA/phone, lead-magnet response time, mobile CTA bar,   │
   │  text-wrap balance, compact lead-magnet, trust grid,             │
   │  contacts page polish (Phase 17c)                                │
   └───────────────────────────────────────────────────────────────────┘ */

/* ─── Header CTA & Phone ─── */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.header-phone:hover {
  color: var(--accent);
}
.header-phone__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  color: var(--accent, #b8945e);
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.header-phone:hover .header-phone__icon {
  opacity: 1;
  color: var(--accent-light, #d4aa78);
}
.header-phone__number {
  font-variant-numeric: tabular-nums;
}
#site-header.scrolled .header-phone {
  font-size: 13px;
}

/* ─── Lead Magnet Response Time ─── */
.leadmagnet__response-time {
  background: rgba(184,148,94,.06);
  border: 1px solid rgba(184,148,94,.12);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.form-response-note {
  border-left: 2px solid var(--accent);
  background: rgba(184,148,94,.04);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  border-radius: 0 8px 8px 0;
  margin-top: 10px;
}

/* ─── Mobile CTA Bar ─── (DEPRECATED 12 мая 2026 — заменено на header-phone справа от бургера) */
.mobile-cta-bar { display: none !important; }

/* На средних экранах — превращаем телефон в кнопку-иконку.
   Порядок в .nav-inner (flex в core.css @media ≤1024):
   1) brand-lockup  — слева, растягивается (margin-right: auto)
   2) header-cta    — телефон-иконка (в DOM после .main-menu)
   3) main-menu     — выпадает из потока (position: fixed)
   4) burger        — крайний справа
   Чтобы header-cta стоял ПЕРЕД бургером, принудительно переставляем order. */
@media (max-width: 1024px) {
  .header-cta {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    order: 5;          /* предпоследний среди flex-итемов .nav-inner */
  }
  .burger {
    order: 6;          /* последний, крайний справа */
  }
  .brand-lockup--header {
    order: 1;          /* первый */
  }
  .header-phone__number {
    display: none;
  }
  .header-phone {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid rgba(184,148,94,.45);
    border-radius: 10px;
    background: rgba(184,148,94,.10);
    color: var(--accent, #b8945e);
  }
  .header-phone__icon {
    width: 22px;
    height: 22px;
    opacity: 1;
    color: var(--accent, #b8945e);
  }
  .header-phone:hover {
    border-color: var(--accent, #b8945e);
    background: rgba(184,148,94,.18);
  }
  /* Кнопка "Обсудить ситуацию" в шапке на мобиле прячется — место экономим */
  .header-cta .btn { display: none; }
}

@media (max-width: 768px) {
  .header-cta { gap: 6px; }
  .header-phone { width: 40px; height: 40px; }
  .header-phone__icon { width: 20px; height: 20px; }
  /* Тело страницы больше не нуждается в padding-bottom для нижней CTA-полосы */
  body { padding-bottom: 0; }
}

@media (max-width: 480px) {
  /* Самые узкие экраны — ещё плотнее */
  .header-phone { width: 38px; height: 38px; }
  .burger { width: 40px !important; height: 40px !important; }
}

/* ─── Text Wrap Balance ─── */
.section-title,
.hero h1,
.page-hero h1,
.svc-hero h1 {
  text-wrap: balance;
}
.section-desc,
.service-card__desc,
.case-card__text {
  text-wrap: pretty;
}

/* ─── Compact Lead Magnet ─── */
.leadmagnet--compact {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 36px;
}

/* ─── Trust Grid Cards ─── */
.leadmagnet__trust-grid .leadmagnet__trust-cell {
  border: 1px solid rgba(184,148,94,.15);
  background: rgba(184,148,94,.04);
}

/* ─── Phase 17c — Contacts Page Polish ─── */

/* Uniform vertical spacing tokens */
:root {
  --contacts-gap-desktop: 48px;
  --contacts-gap-tablet: 36px;
  --contacts-gap-mobile: 28px;
  --contacts-gap-small: 24px;
}

/* Hero section paddings */
.contacts-hero {
  padding-top: calc(var(--header-h, 92px) + 14px);
  padding-bottom: 24px;
}
.contacts-hero__subtitle {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 580px;
}
.contacts-hero__lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(244, 233, 220, 0.82);
  max-width: 720px;
  margin-top: 24px;
  margin-bottom: 0;
  text-wrap: pretty;
  hyphens: manual;
}
@media (max-width: 768px) {
  .contacts-hero__lead { font-size: 15px; max-width: 100%; }
}

/* Twin grid override */
.contacts-twin {
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

/* Form panel styling */
.contacts-form-panel {
  padding: 32px 28px;
}
.contacts-form-panel .btn-primary {
  background: var(--accent, #b8945e);
  color: #17130f;
  border: 1px solid var(--accent, #b8945e);
  border-radius: 14px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 28px;
  cursor: pointer;
}
.contacts-form-panel .btn-primary:hover {
  background: var(--accent-light, #d4aa78);
  border-color: var(--accent-light, #d4aa78);
}

/* Compact footer on contacts */
.contacts-section .site-footer .footer-main {
  padding: 20px 0 10px;
}
.contacts-section .site-footer .footer-grid {
  gap: 16px 30px;
}

/* Contacts page responsive */
@media (max-width: 900px) {
  .contacts-hero {
    padding-top: calc(var(--header-h, 92px) + 10px);
  }
  .contacts-twin {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .contacts-form-panel .btn-primary {
    font-size: 14px;
    min-height: 48px;
  }
  .contacts-section .site-footer .footer-main {
    padding: 10px 0 6px;
  }
}
@media (max-width: 540px) {
  .contacts-form-panel {
    padding: 12px;
  }
}


/* ┌───────────────────────────────────────────────────────────────────┐
   │  PART 6 — MOBILE POLISH  (was: css/mobile-polish.css)            │
   │  Legal text fixes, hide trust cards on mobile,                   │
   │  mobile CTA bar adjustments                                     │
   └───────────────────────────────────────────────────────────────────┘ */

/* ─── Legal Text: Mobile line breaks ─── */
.mobile-br { display: none; }

@media (max-width: 767px) {
  .mobile-br { display: inline !important; }

  .form-legal .fineprint {
    display: block !important;
    line-height: 1.6;
  }
  .form-legal .fineprint .icon {
    display: inline !important;
    vertical-align: middle;
    margin-right: 4px;
    width: 13px;
    height: 13px;
  }
  .form-legal .fineprint .icon svg {
    display: inline !important;
    vertical-align: middle;
    width: 13px;
    height: 13px;
  }
  .form-legal .fineprint a {
    display: inline;
  }
}

/* ─── Hide Trust Cards on Mobile ─── */
@media (max-width: 768px) {
  .leadmagnet__visual--grid {
    display: none !important;
  }
  .leadmagnet--compact {
    display: block;
    padding: 28px 20px;
  }
  .leadmagnet__content {
    width: 100% !important;
  }
  .leadmagnet__content .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 540px) {
  .leadmagnet--compact {
    padding: 24px 16px;
  }
}

/* ─── Mobile CTA Bar — DEPRECATED (12 мая 2026) ───
   Нижняя плавающая полоса позвонить/обсудить удалена.
   Все правила выше схлопнуты, body padding-bottom занулён. */
@media (max-width: 768px) {
  body { padding-bottom: 0; }
}
