@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/InterVariable.woff2') format('woff2-variations');
}

/* ==========================================================================
   Bankrotit.ru — main.css
   Единый файл стилей темы bfl-theme
   ==========================================================================
   Структура:
     0. Переменные (:root)
     1. Базовая типографика
     2. Контейнер и секции
     3. Кнопки
     4. Шапка (header)
     5. Hero (главная)
     6. Карточки (features, cases, team, reviews)
     7. Шаги (steps)
     8. FAQ
     9. Квиз
     10. Контент (content-wrapper, single-post, single-page)
     11. Архивы (archive-header, filter-tabs, place-card)
     12. Одиночные кейсы, советы, новости
     13. CTA inline
     14. Страница услуги (page-hero, service-*)
     15. Product-страница («Да, банкрот»)
     16. Гео-страницы
     17. Sidebar
     18. Pagination
     19. Contacts
     20. Pricing
     21. 404
     22. Комментарии
     23. Поиск
     24. Футер
     25. Утилиты
     26. Адаптив
   ========================================================================== */


/* ==========================================================================
   0. ПЕРЕМЕННЫЕ
   ========================================================================== */
:root {
  /* Цвета */
  --color-primary:       #2f9c5c;
  --color-primary-dark:  #237a46;
  --color-accent:        #c2410c;
  --color-accent-dark:   #9a3412;
  --color-success:       #22a559;
  --color-text:          #0f172a;
  --color-text-muted:    #5f6672;
  --color-border:        #e5e8ec;
  --color-bg:            #ffffff;
  --color-bg-light:      #f7f8fa;
  --color-bg-dark:       #111111;

  /* Радиусы */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Тени */
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 6px 16px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.12);

  /* Анимация */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   1. БАЗОВАЯ ТИПОГРАФИКА
   ========================================================================== */
body,
.site-main,
.site-header,
.site-footer {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  margin-top: 0;
}

h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

p { margin: 0 0 1em; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }


/* ==========================================================================
   2. КОНТЕЙНЕР И СЕКЦИИ
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--color-bg-light);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--color-text-muted);
  font-size: 18px;
  margin: 0;
}


/* ==========================================================================
   3. КНОПКИ
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 156, 92, 0.25);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 156, 92, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(47, 156, 92, 0.05);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}


/* ==========================================================================
   4. ШАПКА
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
  min-height: 76px;
}

.site-branding { flex-shrink: 0; }
.site-branding img,
.custom-logo {
  display: block;
  max-height: 52px;
  width: auto;
}

.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-navigation ul.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation ul.menu > li > a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li.current_page_item > a {
  color: var(--color-primary);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-phone:hover { color: var(--color-primary); }

.header-contacts .btn.btn-primary.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.25);
  transition: var(--transition);
}
.header-contacts .btn.btn-primary.btn-sm:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-toggle-icon::before { top: -7px; }
.menu-toggle-icon::after  { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after  { transform: rotate(-45deg); top: 0; }


/* ==========================================================================
   5. HERO (главная)
   ========================================================================== */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f0f7f2 0%, #f7f8fa 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
  font-weight: 900;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-text-muted);
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}


/* ==========================================================================
   6. КАРТОЧКИ
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card,
.card,
.case-card,
.post-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover,
.card:hover,
.case-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(47, 156, 92, 0.3);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-title,
.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.card__title a { color: var(--color-text); }
.card__title a:hover { color: var(--color-primary); }

.feature-desc,
.card__excerpt {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.card__meta {
  font-size: 14px;
  color: var(--color-text-muted);
}

.card__meta--top {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  padding: 0;
  border: none;
}

.read-more {
  font-weight: 600;
  color: var(--color-primary);
}

/* Кейс-статистика */
.case-stats {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.case-stats span { color: var(--color-text-muted); }
.case-stats strong { color: var(--color-text); }

/* Отзывы */
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f5b301;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 20px;
  flex-grow: 1;
}
.review-text p:last-child { margin-bottom: 0; }

.review-debt {
  padding: 12px 16px;
  background: rgba(34, 165, 89, 0.06);
  border-left: 3px solid var(--color-success);
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 15px;
}
.review-debt__label { color: var(--color-text-muted); margin-right: 6px; }
.review-debt strong { color: var(--color-success); font-weight: 800; }

.review-author {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.review-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.review-author__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
}
.review-author__info strong { color: var(--color-text); }
.review-author__city,
.review-author__date {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Команда */
.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--color-bg-light);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__name { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.team-card__position {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.team-card__exp { color: var(--color-text-muted); font-size: 13px; margin-bottom: 8px; }
.team-card__spec {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-light);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.team-card__bio {
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: left;
  margin-top: 8px;
  line-height: 1.6;
}
.team-card__bio p:last-child { margin-bottom: 0; }


/* ==========================================================================
   7. ШАГИ
   ========================================================================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.step__num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
}

.step__content h3 { font-size: 18px; margin: 4px 0 8px; }
.step__content p { font-size: 15px; color: var(--color-text-muted); margin: 0; }


/* ==========================================================================
   8. FAQ
   ========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 156, 92, 0.3);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] summary::after { content: '−'; }

.faq-answer {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}


/* ==========================================================================
   9. КВИЗ
   ========================================================================== */
.quiz-section {
  background: var(--color-primary);
  color: #fff;
}

.quiz-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  color: var(--color-text);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.quiz-info h2 { margin-bottom: 12px; }

.quiz-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-text-muted);
}

.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-question {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}

.quiz-option:hover {
  border-color: var(--color-primary);
  background: rgba(47, 156, 92, 0.04);
}

.quiz-option:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(47, 156, 92, 0.06);
}

.quiz-option input { margin-right: 12px; }

.form-group { margin-bottom: 16px; }

.form-group input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: #fff;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(47, 156, 92, 0.12);
}

.quiz-privacy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 12px 0 0;
}

.quiz-success { text-align: center; padding: 32px; }
.quiz-success h3 { color: var(--color-success); }
.hidden { display: none; }


/* ==========================================================================
   10. КОНТЕНТ
   ========================================================================== */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 48px 20px;
}

.content-main { min-width: 0; }

.single-post .entry-header,
.single-page .entry-header,
.single-case .entry-header { margin-bottom: 32px; }

.single-post .entry-title,
.single-page .entry-title,
.single-case .entry-title { margin-bottom: 12px; }

.single-post .entry-meta {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.single-post .entry-content,
.single-page .entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
}

.single-post .entry-content h2,
.single-page .entry-content h2 { margin-top: 40px; }

.single-post .entry-content h3,
.single-page .entry-content h3 { margin-top: 32px; }

.single-post .entry-content img,
.single-page .entry-content img { border-radius: var(--radius-md); margin: 24px 0; }

.single-post .entry-content ul,
.single-post .entry-content ol,
.single-page .entry-content ul,
.single-page .entry-content ol { padding-left: 24px; margin-bottom: 24px; }

.single-post .entry-content li,
.single-page .entry-content li { margin-bottom: 8px; }

.entry-thumbnail img {
  border-radius: var(--radius-md);
  width: 100%;
  margin-bottom: 32px;
}

.entry-tags {
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.entry-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-light);
  border-radius: 100px;
  margin-left: 4px;
}


/* ==========================================================================
   11. АРХИВЫ
   ========================================================================== */
.archive-header {
  background: var(--color-bg-light);
  padding: 48px 0;
  margin-bottom: 0;
}

.archive-title { margin-bottom: 12px; }
.archive-description { color: var(--color-text-muted); max-width: 720px; }

/* Breadcrumbs (совместимость с Rank Math) */
.breadcrumbs,
.breadcrumbs-wrap {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 16px 0;
}
.breadcrumbs a,
.breadcrumbs-wrap a { color: var(--color-primary); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.6; }

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-tab {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.filter-count {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.filter-tab.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Place card (МФЦ, суды, приставы, финуправляющие) */
.place-card { display: flex; flex-direction: column; }

.place-region {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}
.place-region a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-light);
  border-radius: 100px;
  margin-right: 4px;
}

.place-contacts {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex-grow: 1;
}
.place-contacts li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.95rem;
  align-items: flex-start;
}
.place-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* Case summary */
.case-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 32px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  margin: 32px 0;
}
.case-summary__item { text-align: center; }
.case-summary__label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.case-summary__value {
  font-size: 1.4rem;
  color: var(--color-primary);
}
.case-summary__item--success .case-summary__value { color: var(--color-success); }


/* ==========================================================================
   12. ОДИНОЧНЫЕ КЕЙСЫ, СОВЕТЫ, НОВОСТИ
   ========================================================================== */
.single-case .entry-region {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.single-case .entry-region a { color: var(--color-primary); }

/* Совет */
.sovet-card .sovet-answer {
  background: #f0f9f0;
  border-left: 4px solid var(--color-success);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.sovet-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.short-answer {
  background: #f0f9f0;
  border-left: 4px solid var(--color-success);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 32px 0;
}
.short-answer__label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-success);
  margin-bottom: 8px;
}
.short-answer p { margin: 0; }

.related-posts {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}
.related-posts h2 { margin-bottom: 32px; }


/* ==========================================================================
   13. CTA INLINE
   ========================================================================== */
.cta-inline {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #f0f7f2, #e6f2ec);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 48px 0;
}
.cta-inline h3 { margin-bottom: 8px; }
.cta-inline p { margin-bottom: 0; color: var(--color-text-muted); }
.cta-inline__content h3 { margin: 0 0 8px; font-size: 22px; }
.cta-inline__content p { margin: 0; color: var(--color-text-muted); max-width: 500px; }
.cta-inline__action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cta-phone {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
  text-decoration: none;
}


/* ==========================================================================
   14. СТРАНИЦА УСЛУГИ
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #f0f4fa, #e6eef9);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero--service { text-align: center; }

.service-meta {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.service-meta__item { text-align: center; }
.service-meta__label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.service-meta__value {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.service-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}
.service-content h2 { margin-top: 40px; }
.service-content h3 { margin-top: 32px; }
.service-content ul,
.service-content ol { padding-left: 24px; margin-bottom: 24px; }
.service-content li { margin-bottom: 8px; }
.service-content img { border-radius: var(--radius-md); margin: 24px 0; }

.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.include-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  align-items: flex-start;
}

/* ==========================================================================
   СПЕЦПРОЕКТЫ
   ========================================================================== */
.special-hero {
  padding: 72px 0 64px;
  background: linear-gradient(135deg, #f0f7f2 0%, #f7f8fa 100%);
}

.special-page--marketplace .special-hero {
  background: linear-gradient(135deg, #f0f4fa 0%, #f7f8fa 100%);
}

.special-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.special-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  margin-bottom: 18px;
}

.special-page--marketplace .special-hero__badge {
  background: #2a5db0;
}

.special-hero__title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.special-hero__subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.special-hero__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.special-hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}

.special-hero__meta .meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.special-hero__meta strong {
  color: var(--color-text);
  font-size: 16px;
}

.special-hero__meta em {
  font-style: normal;
  font-size: 12px;
  color: var(--color-success);
}

.special-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.special-hero__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.special-hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.special-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .special-hero { padding: 48px 0; }
  .special-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .special-hero__image { order: -1; }
  .special-hero__actions { flex-direction: column; align-items: stretch; }
  .special-hero__actions .btn { width: 100%; }
}

/* ---------- Спецпроект «Долги по ЖКХ» ---------- */
.special-page--utility .special-hero {
  background: linear-gradient(135deg, #fff4e6 0%, #f7f8fa 100%);
}
.special-page--utility .special-hero__badge {
  background: #ff8b22;
}
.special-page--utility .special-hero__title {
  color: #1a1a1a;
}

/* ---------- Спецпроект «Банкротство для военных» ---------- */
.special-page--military .special-hero {
  background: linear-gradient(135deg, #eef2f7 0%, #f7f8fa 100%);
}
.special-page--military .special-hero__badge {
  background: #3b5b7a;
}
.special-page--military .special-hero__title {
  color: #1a1a1a;
}
.special-page--military .special-hero__features li {
  color: #3b5b7a;
}

/* ---------- Спецпроект «Банкротство для ИП» ---------- */
.special-page--ip .special-hero {
  background: linear-gradient(135deg, #ede9fe 0%, #f7f8fa 100%);
}
.special-page--ip .special-hero__badge {
  background: #6b46c1;
}
.special-page--ip .special-hero__title {
  color: #1a1a1a;
}
.special-page--ip .special-hero__features li {
  color: #6b46c1;
}


/* ==========================================================================
   КАТАЛОГ СПЕЦПРОЕКТОВ
   ========================================================================== */

.catalog-hero {
  padding: 72px 0 40px;
  background: linear-gradient(135deg, #f0f7f2 0%, #f7f8fa 100%);
  text-align: center;
}

.catalog-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  margin-bottom: 16px;
}

.catalog-hero__title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--color-text);
}

.catalog-hero__subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Сетка плиток */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Плитка */
.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
  overflow: hidden;
}

.catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-accent, var(--color-primary));
  transition: height 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--card-accent, var(--color-primary));
  color: var(--color-text);
}

.catalog-card:hover::before {
  height: 6px;
}

/* Бейдж */
.catalog-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--card-accent, var(--color-primary));
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Иконка */
.catalog-card__icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 16px;
}

/* Заголовок */
.catalog-card__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--color-text);
}

/* Описание */
.catalog-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  flex-grow: 1;
}

/* Стрелка «Подробнее» */
.catalog-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--card-accent, var(--color-primary));
  margin-top: auto;
  transition: gap 0.25s ease;
}

.catalog-card__arrow svg {
  transition: transform 0.25s ease;
}

.catalog-card:hover .catalog-card__arrow {
  gap: 12px;
}

.catalog-card:hover .catalog-card__arrow svg {
  transform: translateX(2px);
}

/* Адаптив */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero {
    padding: 56px 0 24px;
  }

  .catalog-card {
    padding: 24px 20px;
  }

  .catalog-card__icon {
    font-size: 32px;
  }

  .catalog-card__title {
    font-size: 18px;
  }
}


/* ==========================================================================
   УЛУЧШЕНИЯ ИЗ ОБРАЗЦА 1BFL.RU
   — шапка-пилюля, жёлтые акценты, виджет юриста, стили квиза
   ========================================================================== */

/* ---------- 1. ШАПКА-ПИЛЮЛЯ ---------- */

/* Фон вокруг шапки — светло-серый, чтобы пилюля выделялась */
body.home,
body.page,
body.single {
  background: #f1f1f1;
}

/* Пилюля */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 18px 20px 0;
  background: #f1f1f1;
  border-bottom: none;
  box-shadow: none;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04),
              0 8px 24px rgba(16, 24, 40, 0.06);
  min-height: 66px;
}

/* Логотип-плитки */
.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-branding img,
.custom-logo {
  max-height: 44px;
  width: auto;
  border-radius: 6px;
}

/* Меню — горизонтальное, без фона */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-navigation ul.menu {
  gap: 4px;
}

.main-navigation ul.menu > li > a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 15px;
}

.main-navigation ul.menu > li > a:hover {
  background: #f4f4f4;
}

/* Кнопка «Консультация» в шапке — зелёная */
.header-contacts .btn.btn-primary.btn-sm {
  background: #22a559;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(34, 165, 89, 0.2);
}
.header-contacts .btn.btn-primary.btn-sm:hover {
  background: #1c8a4a;
  box-shadow: 0 8px 18px rgba(34, 165, 89, 0.28);
}

/* Адаптив пилюли */
@media (max-width: 900px) {
  .site-header { padding: 12px 12px 0; }
  .header-inner {
    padding: 8px 10px 8px 12px;
    border-radius: 20px;
  }
}
@media (max-width: 560px) {
  .site-header { padding: 10px 8px 0; }
  .header-inner { border-radius: 18px; min-height: 58px; }
  .header-contacts .btn.btn-primary.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
  }
}


/* ---------- 2. ЖЁЛТЫЙ АКЦЕНТНЫЙ БЛОК ---------- */

.accent-card {
  position: relative;
  padding: 20px 22px;
  background: #ffdd2d;
  color: #0f172a;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  max-width: 320px;
}

.accent-card::after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
}

.accent-card strong {
  font-weight: 800;
}


/* ==========================================================
   ВИДЖЕТ ЮРИСТА — v2 (кликабельный, с фото)
   ========================================================== */
.lawyer-widget {
  position: fixed;
  right: 20px;
  left: auto;
  bottom: 20px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  padding: 10px 40px 10px 10px;
  background: #808791;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.2);
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lawyer-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.28);
  color: #fff;
}

/* --- Аватар с фото --- */
.lawyer-widget__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lawyer-widget__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;   /* чтобы лицо было видно */
  display: block;
}

/* Фолбэк, если картинки нет — инициал */
.lawyer-widget__avatar.is-empty::before {
  content: 'Е';
  font-weight: 700;
  color: #808791;
  font-size: 16px;
}

.lawyer-widget__text {
  min-width: 0;
  flex: 1;
}

.lawyer-widget__line1 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
}

.lawyer-widget__name { color: #fff; }

.lawyer-widget__role {
  font-weight: 400;
  opacity: 0.75;
  font-size: 13px;
}

.lawyer-widget__wave { font-size: 14px; }

.lawyer-widget__line2 {
  font-size: 13px;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lawyer-widget__close {
  position: absolute;
  top: 6px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  padding: 0;
}

.lawyer-widget__close:hover { opacity: 1; }

@media (max-width: 640px) {
  .lawyer-widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    border-radius: 16px;
  }
}


/* ---------- 4. СТИЛЬ КВИЗА (жёлтый сайдбар + консультант) ---------- */

/* .quiz-wrapper — второе определение удалено 2026-10-14 (конфликтовало с основным на строке 694) */

.quiz-info {
  padding: 48px 40px;
}

.quiz-panel {
  padding: 32px 28px;
  background: #ffdd2d;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-panel__consultant {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.quiz-panel__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.quiz-panel__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.quiz-panel__bubble {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.quiz-panel__name {
  font-weight: 700;
  margin-bottom: 2px;
}

.quiz-panel__role {
  font-size: 12px;
  color: #5f6672;
  margin-bottom: 8px;
}

/* Цифры-показатели в сайдбаре */
.quiz-panel__stats {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quiz-panel__stat-value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.quiz-panel__stat-label {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

/* Прогресс-бар сверху */
.quiz-progress {
  width: 100%;
  height: 4px;
  background: #e5e8ec;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress__bar {
  height: 100%;
  background: #22a559;
  width: 0;
  transition: width 0.3s ease;
}

/* Адаптив квиза */
@media (max-width: 900px) {
  .quiz-wrapper {
    grid-template-columns: 1fr;
  }
  .quiz-info { padding: 32px 24px; }
  .quiz-panel { padding: 24px 20px; }
}


/* ---------- 5. КАРТОЧКИ ОТЗЫВОВ С АВАТАРОМ ---------- */

.review-card {
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e8ec;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f1f1;
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__name {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
}

.review-card__city {
  font-size: 13px;
  color: #5f6672;
}

.review-card__debt {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: #ffdd2d;
  color: #0f172a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #0f172a;
}

.review-card__date {
  font-size: 12px;
  color: #7a828e;
  margin-top: auto;
}


/* ---------- 6. ФУТЕР В 5 КОЛОНОК ---------- */

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h3,
.footer-col h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: #cfd3da;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffdd2d;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease;
}

.footer-socials a:hover {
  background: rgba(255, 221, 45, 0.2);
  color: #ffdd2d;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Жёлтый акцентный блок в hero */
.accent-card--hero {
  padding: 28px 32px;
  background: #ffdd2d;
  color: #0f172a;
  border-radius: 20px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  max-width: 100%;
  position: relative;
  box-shadow: 0 8px 24px rgba(255, 221, 45, 0.35);
}

.accent-card--hero strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  margin-top: 6px;
}

.accent-card--hero::after {
  content: '';
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

/* ==========================================================
   ЖЁЛТЫЙ БЛОК С ЦИФРАМИ (после «Преимущества»)
   ========================================================== */
.accent-card--stats {
  padding: 40px 48px;
  background: #ffdd2d;
  color: #0f172a;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(255, 221, 45, 0.3);
  max-width: 100%;
}

.accent-card__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.accent-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.accent-card__stat-value {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.accent-card__stat-label {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: #1a1a1a;
  opacity: 0.85;
  max-width: 180px;
}

/* Адаптив */
@media (max-width: 900px) {
  .accent-card--stats {
    padding: 32px 24px;
  }
  .accent-card__stats-grid {
    gap: 20px;
  }
  .accent-card__stat-value {
    font-size: 40px;
  }
  .accent-card__stat-label {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .accent-card--stats {
    padding: 28px 20px;
    border-radius: 16px;
  }
  .accent-card__stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .accent-card__stat-value {
    font-size: 44px;
  }
  .accent-card__stat-label {
    font-size: 14px;
    max-width: 240px;
  }
}

/* ==========================================================
   БЛОК С ЦИФРАМИ — v2 (иконки + кликабельность + CTA)
   ========================================================== */

.accent-card--stats {
  display: block;
  padding: 40px 48px 32px;
  background: #ffdd2d;
  color: #0f172a;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(255, 221, 45, 0.3);
  max-width: 100%;
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.accent-card--stats:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(255, 221, 45, 0.45);
  color: #0f172a;
}

.accent-card__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.accent-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.accent-card__stat-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.accent-card__stat-value {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.accent-card__stat-label {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: #1a1a1a;
  opacity: 0.85;
  max-width: 180px;
}

.accent-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 28px;
  width: 100%;
  background: #0f172a;
  color: #ffdd2d;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, gap 0.2s ease, color 0.2s ease;
}

.accent-card--stats:hover .accent-card__cta {
  background: #000;
  gap: 12px;
}

.accent-card__cta svg {
  transition: transform 0.25s ease;
}

.accent-card--stats:hover .accent-card__cta svg {
  transform: translateX(3px);
}


/* ==========================================================
   ЦВЕТОВЫЕ ВАРИАНТЫ БЛОКА — выберите один
   ========================================================== */

/* Вариант A: ЖЁЛТЫЙ (по умолчанию, как выше) */
/* Ничего не нужно — уже применён. */

/* Вариант B: ЗЕЛЁНЫЙ */
.accent-card--stats.is-green {
  background: #22a559;
  color: #fff;
  box-shadow: 0 12px 32px rgba(34, 165, 89, 0.3);
}
.accent-card--stats.is-green:hover {
  box-shadow: 0 20px 48px rgba(34, 165, 89, 0.45);
}
.accent-card--stats.is-green .accent-card__stat-value,
.accent-card--stats.is-green .accent-card__stat-label,
.accent-card--stats.is-green {
  color: #fff;
}
.accent-card--stats.is-green .accent-card__stat-label {
  opacity: 0.9;
}
.accent-card--stats.is-green .accent-card__cta {
  background: #fff;
  color: #22a559;
}
.accent-card--stats.is-green:hover .accent-card__cta {
  background: #f0f9f0;
}

/* Вариант C: ОРАНЖЕВЫЙ */
.accent-card--stats.is-orange {
  background: #ff8b22;
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 139, 34, 0.3);
}
.accent-card--stats.is-orange:hover {
  box-shadow: 0 20px 48px rgba(255, 139, 34, 0.45);
}
.accent-card--stats.is-orange .accent-card__stat-value,
.accent-card--stats.is-orange .accent-card__stat-label,
.accent-card--stats.is-orange {
  color: #fff;
}
.accent-card--stats.is-orange .accent-card__stat-label {
  opacity: 0.9;
}
.accent-card--stats.is-orange .accent-card__cta {
  background: #fff;
  color: #ff8b22;
}
.accent-card--stats.is-orange:hover .accent-card__cta {
  background: #fff4e6;
}


/* ==========================================================
   АДАПТИВ
   ========================================================== */
@media (max-width: 900px) {
  .accent-card--stats { padding: 32px 24px 24px; }
  .accent-card__stats-grid { gap: 20px; }
  .accent-card__stat-icon { font-size: 26px; }
  .accent-card__stat-value { font-size: 40px; }
  .accent-card__stat-label { font-size: 13px; }
  .accent-card__cta { margin-top: 24px; padding: 12px 20px; font-size: 14px; }
}

@media (max-width: 640px) {
  .accent-card--stats { padding: 28px 20px 20px; border-radius: 16px; }
  .accent-card__stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .accent-card__stat-icon { font-size: 28px; }
  .accent-card__stat-value { font-size: 44px; }
  .accent-card__stat-label { font-size: 14px; max-width: 240px; }
  .accent-card__cta { font-size: 14px; padding: 14px 20px; }
}

/* ---------- Спецпроект «Списание долгов по налогам» ---------- */
.special-page--taxes .special-hero {
  background: linear-gradient(135deg, #fff4e6 0%, #f7f8fa 100%);
}
.special-page--taxes .special-hero__badge {
  background: #ff8b22;
}
.special-page--taxes .special-hero__title {
  color: #1a1a1a;
}
.special-page--taxes .special-hero__features li {
  color: #ff8b22;
}

/* ---------- Спецпроект «Списание долгов по налогам» ---------- */
.special-page--taxes .special-hero {
  background: linear-gradient(135deg, #fff4e6 0%, #f7f8fa 100%);
}
.special-page--taxes .special-hero__badge {
  background: #ff8b22;
}
.special-page--taxes .special-hero__title {
  color: #1a1a1a;
}
.special-page--taxes .special-hero__features li {
  color: #ff8b22;
}

/* ==========================================================================
   БЛОК «О КОМПАНИИ» (обращение руководителя)
   ========================================================================== */
.about-section {
  background: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.12);
  display: block;
}

.about-photo__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--color-bg-light);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--color-text-muted);
}

.about-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  margin-bottom: 16px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 16px;
}

.about-more {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 0;
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
}

.about-signature strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
}

.about-signature span {
  font-size: 14px;
  color: var(--color-text-muted);
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }
  .about-lead { font-size: 16px; }
  .about-actions { flex-direction: column; }
  .about-actions .btn { width: 100%; }
}

/* ==========================================================================
   РЕЙТИНГИ В HERO
   ========================================================================== */
.hero-reviews {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}

.hero-reviews__label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-reviews__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
}

.hero-reviews__link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
}

/* ==========================================================================
   ФУТЕР — исправление цвета текста
   ========================================================================== */
.site-footer {
  background: #1a1a1a; /* тёмный фон — или замените на свой */
  color: #ffffff;
  padding: 60px 0 30px;
}

.site-footer .footer-col h3,
.site-footer .footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.site-footer .footer-col p,
.site-footer .footer-col a {
  color: #cfd3da;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .footer-col a:hover {
  color: #22a559;
}

.site-footer .footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: #8a8f99;
  font-size: 13px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 90px; /* высота виджета + запас */
  }
}

/* ==========================================================================
   ПАГИНАЦИЯ — горизонтальная
   ========================================================================== */
.pagination {
  margin: 48px 0;
  text-align: center;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.pagination a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 165, 89, 0.2);
}

/* Текущая страница */
.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  cursor: default;
}

/* Кнопки «Назад» / «Вперёд» — сделаем пошире */
.pagination .prev,
.pagination .next {
  padding: 0 20px;
  font-weight: 700;
}

/* Точки «…» */
.pagination .dots {
  border: none;
  background: transparent;
  min-width: 30px;
  color: var(--color-text-muted);
  cursor: default;
}

/* Мобильные */
@media (max-width: 768px) {
  .pagination {
    margin: 32px 0;
  }
  .pagination ul {
    gap: 6px;
  }
  .pagination a,
  .pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 8px;
  }
  .pagination .prev,
  .pagination .next {
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .pagination a,
  .pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }
  .pagination .prev,
  .pagination .next {
    font-size: 12px;
    padding: 0 10px;
  }
}


/* =========================================================================
   Дисклеймер ФЗ-332 (для страниц-оферт, лендингов, кейсов)
   ========================================================================= */

.bankrot-disclaimer {
    margin: 32px 0;
    padding: 16px 20px;
    background: #fff8e6;
    border-left: 4px solid #f5a623;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #4a4a4a;
}

.bankrot-disclaimer p {
    margin: 0;
}

.bankrot-disclaimer strong {
    color: #d17b0f;
}

/* Чекбокс согласия на обработку ПД (152-ФЗ) — все формы */
.form-consent {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin: 12px 0 0;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  display: inline-block;
  vertical-align: top;
  margin: 2px 8px 0 0;
  cursor: pointer;
  accent-color: var(--color-primary);
}
.form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}
.form-consent a:hover {
  text-decoration: none;
}


/* =========================================================================
   СТРАНИЦА КОНТАКТОВ (contacts-grid)
   ========================================================================= */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.contact-card .contact-value {
  font-size: 1.15rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}
.contacts-form h3 {
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.contacts-form > p {
  color: var(--color-text-muted);
  margin: 0 0 20px;
}

/* Расширяем контент на странице Цены */
.page-template-template-price .entry-content {
    max-width: 100%;
    width: 100%;
}
