/* ================================================
   PAGES.CSS — Hero, Stats, Sections, Специфика страниц
   ================================================ */

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  min-height: 780px;
  display: flex;
  align-items: stretch;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 3rem;
  padding-block: 4rem 3rem;
  position: relative;
  z-index: 2;
}
.hero__content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold-light);
  border: 1px solid rgba(186,163,120,.4);
  border-radius: 20px;
  padding: .35rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  width: fit-content;
}
.hero__title { font-size: clamp(2.2rem, 5vw, 3.75rem); color: var(--navy); }
.hero__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 520px;
}
.hero__features { display: flex; flex-direction: column; gap: .75rem; }
.hero__feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9875rem;
  color: var(--text-muted);
}
.hero__feature-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(186,163,120,.28), rgba(186,163,120,.12));
  border: 1px solid rgba(186,163,120,.45);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero__trust {
  font-size: .875rem;
  color: var(--text-muted);
  padding-top: .5rem;
  border-top: 1px solid var(--border-gold);
}

/* Hero правая сторона — фото */
.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero__photo {
  width: 100%;
  max-width: 460px;
  height: 680px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: block;
}
.hero__name-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: rgba(14,54,86,.92);
  color: #fff;
  padding: .875rem 1.25rem;
  border-radius: var(--radius-lg) 0 var(--radius-xl) 0;
}
.hero__name-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .25rem;
  margin-bottom: .25rem;
}
.hero__name-badge span { font-size: .8125rem; opacity: .8; }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; align-items: flex-start; }
  .hero__visual { display: none; }
  .hero { min-height: auto; align-items: flex-start; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; }
  .hero .container { padding-block: 2.5rem 2rem; }
}

/* ══════════════════════════════════════════════
   СТАТИСТИКА
══════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg-warm);
  border-top: 2px solid rgba(186,163,120,.3);
  border-bottom: 2px solid rgba(186,163,120,.3);
  padding-block: 1.75rem;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 2rem;
  border-right: 1px solid var(--border-gold);
}
.stat-item:last-child { border-right: none; }
.stat-item__icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, var(--bg-blue));
  border: 1px solid rgba(186,163,120,.4);
  box-shadow: var(--shadow-sm);
}
.stat-item__icon svg { width: 1.65rem; height: 1.65rem; }
.stat-item__num {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-item__label { font-size: .875rem; color: var(--text-muted); line-height: 1.4; }

@media (max-width: 768px) {
  .stats-bar .container { grid-template-columns: 1fr; gap: 1rem; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-gold); padding: 0 0 1rem; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ══════════════════════════════════════════════
   ВАРИАНТЫ СПИСАНИЯ (АККОРДЕОН-СЕКЦИЯ)
══════════════════════════════════════════════ */
.procedures-section { background: var(--bg); }

/* ══════════════════════════════════════════════
   ФОРМА "УЗНАЙТЕ ПРОЦЕДУРУ"
══════════════════════════════════════════════ */
.inline-form-section {
  background: var(--bg-warm);
  padding-block: 3rem;
}
.inline-form-box {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: var(--content-max);
  margin-inline: auto;
}
.inline-form-box h3 { margin-bottom: .5rem; }
.inline-form-box p  { margin-bottom: 1.5rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   ПОСЛЕ БАНКРОТСТВА
══════════════════════════════════════════════ */
.after-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.after-card {
  background: var(--bg-blue);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(186,163,120,.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.after-card__icon {
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.after-card__icon .ui-icon { display: block; }
.after-card h3 { font-size: 1.125rem; }
.after-card p  { font-size: .9375rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .after-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   ПЛЮСЫ И МИНУСЫ
══════════════════════════════════════════════ */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pros-cons-box {
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.pros-cons-box h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1875rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border-gold);
}
.pros-cons-box__title-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.pros-cons-box__title-icon--plus { color: #1a6b3c; }
.pros-cons-box__title-icon--minus { color: var(--red); }
.pros-cons-list { display: flex; flex-direction: column; gap: .75rem; }
.pros-cons-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--text-muted);
}
.pros-cons-item__dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  color: #fff;
}
.pros-cons-item__dot .ui-icon { display: block; }
.pros-cons-item__dot--plus  { background: #1a6b3c; }
.pros-cons-item__dot--minus { background: var(--red); }
@media (max-width: 768px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   СЕКЦИЯ СТОИМОСТИ (ГЛАВНАЯ)
══════════════════════════════════════════════ */
.pricing-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.pricing-hero__main { }
.pricing-hero__price-big {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--red);
}
.pricing-hero__price-big span { font-size: 1.125rem; color: var(--text-muted); }
.pricing-hero__features { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
.pricing-hero__feature {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9375rem; color: var(--text-muted);
}
.pricing-hero__feature::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-form-box {
  background: var(--bg-blue);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1.5px solid var(--border-gold);
}
.pricing-form-box h3 { margin-bottom: 1.25rem; }
.pricing-hero__lead {
  color: var(--text-muted);
  margin-top: .5rem;
  margin-bottom: 1rem;
  font-size: .9375rem;
  font-weight: 600;
}
.pricing-hero__factors {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  padding-left: 1.25rem;
  margin: 0;
}
.pricing-hero__factors li {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.pricing-block { margin-top: 3rem; }
.pricing-block__title {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--navy);
}
.pricing-accordion { margin-top: 0; }
.pricing-accordion .accordion-header {
  gap: .75rem;
  text-align: left;
}
.accordion-header__inner {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.accordion-header__label { flex: 1; min-width: 0; }
.accordion-header__price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.services-grid--pricing {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

@media (max-width: 900px) {
  .pricing-hero { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .accordion-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }
}

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-section .accordion-header { font-size: 1rem; }

/* ══════════════════════════════════════════════
   БЛОК УСЛУГ (ДРУГИЕ УСЛУГИ)
══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.service-card {
  background: var(--bg-blue);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--cta);
}
.service-card__icon {
  font-size: 1.75rem;
  color: var(--navy);
}
.service-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); }
.service-card__price { font-size: .875rem; font-weight: 700; color: var(--red); }
.service-card__desc  { font-size: .875rem; color: var(--text-muted); }
.service-card .btn-sm { margin-top: auto; width: fit-content; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   СТРАНИЦА УСЛУГ И ЦЕН
══════════════════════════════════════════════ */
.services-page-hero {
  background: var(--navy);
  color: #fff;
  padding-block: 4rem 3rem;
}
.services-page-hero h1 { color: #fff; }
.services-page-hero p  { color: rgba(255,255,255,.75); margin-top: .75rem; }

/* ══════════════════════════════════════════════
   СТРАНИЦА КОНТАКТОВ
══════════════════════════════════════════════ */
.offices-map {
  margin-top: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border-gold);
}
.offices-map__tabs {
  display: flex;
  gap: .625rem;
  flex-wrap: wrap;
  padding: 1.25rem;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-gold);
}
.offices-map__tab {
  border: 1.5px solid var(--border-gold);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.offices-map__tab:hover,
.offices-map__tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.offices-map__panel { display: none; }
.offices-map__panel.active { display: block; }
.offices-map__frame-wrap {
  padding: 1.25rem;
  background: var(--bg-warm);
}
.offices-map__frame {
  display: block;
  width: 100%;
  min-height: 480px;
  height: 56vh;
  max-height: 600px;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.offices-map__link {
  display: block;
  padding: .875rem 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-warm);
  border-top: 1px solid var(--border-gold);
}
.offices-map__link:hover { color: var(--cta); }
.office-addresses-list__item[data-office-map] {
  cursor: pointer;
  border-radius: var(--radius-md);
  padding: .5rem .75rem;
  margin: -.5rem -.75rem;
  transition: background var(--transition);
}
.office-addresses-list__item[data-office-map]:hover,
.office-addresses-list__item[data-office-map].active {
  background: var(--bg-blue);
}

/* ══════════════════════════════════════════════
   СТРАНИЦА ОПЛАТЫ
══════════════════════════════════════════════ */
.payment-page .payment-form-box {
  max-width: var(--content-max);
  background: var(--bg-blue);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.payment-page .payment-form-box .form-input[readonly] {
  background: var(--bg-warm);
  color: var(--text-muted);
  cursor: default;
}
.payment-page .payment-info {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.payment-info-item {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--border-gold);
}
.payment-info-item__num { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.payment-info-item__label { font-size: .875rem; color: var(--text-muted); margin-top: .25rem; }
@media (max-width: 768px) {
  .payment-page .payment-info { grid-template-columns: 1fr; }
  .payment-page .payment-form-box { padding: 1.75rem 1.25rem; }
}

/* ══════════════════════════════════════════════
   СТРАНИЦА ОТЗЫВОВ
══════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

.video-player {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy-dark);
  position: relative;
}
.video-player__poster {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
}
.video-player__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-player__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,54,86,.4);
  pointer-events: none;
}
.video-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.5rem;
  transition: transform .2s;
  z-index: 1;
  pointer-events: none;
}
.video-player__poster:hover .video-player__play {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-player--active video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* ══════════════════════════════════════════════
   СТРАНИЦА ВЫИГРАННЫХ ДЕЛ
══════════════════════════════════════════════ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .cases-grid { grid-template-columns: 1fr; } }

.case-full-card {
  background: var(--bg-blue);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.case-full-card__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red);
}
.case-full-card__label { font-size: .875rem; color: var(--text-muted); font-weight: 600; margin-top: -.25rem; }
.case-full-card__info  { display: flex; flex-direction: column; gap: .25rem; border-top: 1px solid var(--border-gold); padding-top: .75rem; }
.case-full-card__info span { font-size: .875rem; color: var(--text-muted); }
.case-full-card__info strong { font-size: .9375rem; color: var(--navy); }
.case-full-card__doc {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: .75rem;
  font-size: .8125rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  text-align: center;
  cursor: pointer;
  border: 1px dashed var(--border);
  transition: border-color var(--transition);
}
.case-full-card__doc:hover { border-color: var(--cta); color: var(--cta); }
.case-full-card.case-full-card--hidden { display: none; }

/* ══════════════════════════════════════════════
   ФИНАЛЬНЫЙ CTA БЛОК
══════════════════════════════════════════════ */
.final-cta {
  background: var(--navy);
  text-align: center;
  padding-block: 4rem;
}
.final-cta h2 { color: #fff; margin-bottom: .75rem; }
.final-cta p  { color: rgba(255,255,255,.7); max-width: 560px; margin-inline: auto; margin-bottom: 2rem; }
.final-cta .form-input { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
.final-cta .form-input::placeholder { color: rgba(255,255,255,.4); }
.final-cta .form-agree label { color: rgba(255,255,255,.6); }
.final-cta .form-agree a { color: var(--gold); }
.final-cta-form {
  max-width: 540px;
  margin-inline: auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

/* ══════════════════════════════════════════════
   HEADER SCROLLED STATE
══════════════════════════════════════════════ */
.header--scrolled .header-main { box-shadow: var(--shadow); }

/* ══════════════════════════════════════════════
   QUIZ (прогресс + шаги)
══════════════════════════════════════════════ */
.quiz-progress {
  height: 4px;
  background: var(--bg-warm);
  border-radius: 2px;
  margin-bottom: 1.75rem;
  overflow: hidden;
}
.quiz-progress__bar {
  height: 100%;
  background: var(--cta);
  border-radius: 2px;
  transition: width .4s ease;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-question { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; }
.quiz-options { display: flex; flex-direction: column; gap: .625rem; }
.quiz-option {
  display: flex; align-items: center; gap: .875rem;
  padding: .875rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-size: .9375rem;
}
.quiz-option:hover { border-color: var(--cta); background: rgba(94,71,210,.04); }
.quiz-option input[type="radio"] { accent-color: var(--cta); width: 18px; height: 18px; }
.quiz-option:has(input:checked) {
  border-color: var(--cta);
  background: rgba(94,71,210,.07);
}
.quiz-nav {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.5rem;
}
.quiz-step-label {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* ── Статьи (новый шаблон) ── */
.article-hero {
  background: var(--navy);
  padding-block: 2.5rem 2rem;
}
.article-hero h1 {
  color: #fff;
  margin-top: .75rem;
}
.article-hero .breadcrumbs a { color: var(--gold); }
.article-hero .breadcrumbs span { color: rgba(255,255,255,.45); }
.article-lead-media {
  margin-top: 1.5rem;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.06);
}
.article-lead-media picture,
.article-lead-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.article-lead-media img {
  object-fit: cover;
  object-position: center;
}
.article-date {
  display: block;
  margin-top: .75rem;
  color: rgba(255,255,255,.65);
  font-size: .875rem;
}
.article-prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
}
.article-prose h2,
.article-prose h3 {
  color: var(--navy);
  margin: 2rem 0 1rem;
}
.article-prose p { margin-bottom: 1rem; }
.article-prose ul,
.article-prose ol {
  margin: 0 0 1.25rem 1.25rem;
}
.article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 1.25rem 0;
}
.article-prose a { color: var(--cta); text-decoration: underline; }
.legal-consult-cta { margin-top: 0; }
.article-cta .cta-box {
  background: var(--bg-blue);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}
.article-cta h2 { margin-bottom: .5rem; }
.article-cta p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ── Листинги (категории, блог) ── */
.listing-kind {
  color: var(--gold);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.listing-intro {
  color: rgba(255,255,255,.75);
  margin-top: .5rem;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.post-card {
  background: #fff;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.related-posts {
  padding-block: 3rem 3.5rem;
}
.related-posts .section-title {
  margin-bottom: 1.75rem;
}
.related-posts .section-title h2 {
  font-size: 1.5rem;
}
.related-posts__grid {
  gap: 2rem;
}
@media (min-width: 1024px) {
  .related-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .related-posts__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.post-card__img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.post-card__title {
  font-size: 1.0625rem;
  margin: 1rem 1.25rem .5rem;
  line-height: 1.35;
}
.post-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.post-card__title a:hover { color: var(--cta); }
.post-card__date {
  font-size: .8125rem;
  color: var(--text-muted);
  margin: 0 1.25rem 1.25rem;
}

/* ── Блог: фильтр по темам ── */
.blog-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-filter-bar {
  background: var(--bg-warm);
  padding-block: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-gold);
}
.blog-filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-filter-bar__label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
}
.blog-filter {
  position: relative;
}
.blog-filter__panel {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  z-index: 30;
  width: min(920px, calc(100vw - 2rem));
  max-height: min(60vh, 420px);
  overflow: auto;
  padding: 1rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(15, 35, 95, .12);
}
.blog-filter__topics {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.blog-filter__topic {
  appearance: none;
  border: 1.5px solid var(--border);
  background: var(--bg-blue);
  color: var(--navy);
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .8125rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.blog-filter__topic:hover {
  border-color: var(--gold);
}
.blog-filter__topic.is-active {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.blog-filter-bar__active {
  margin: 0;
  font-size: .875rem;
  color: var(--text-muted);
}
.blog-filter-empty {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.post-card--hidden {
  display: none !important;
}
@media (max-width: 640px) {
  .blog-filter__panel {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* ══════════════════════════════════════════════
   ГОРОДСКИЕ ПОСАДОЧНЫЕ
══════════════════════════════════════════════ */
.city-hero {
  background: var(--navy);
  padding-block: 3rem 2.5rem;
}
.city-hero .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
}
.city-hero .breadcrumbs a  { color: var(--gold); }
.city-hero .breadcrumbs span { color: rgba(255,255,255,.45); }
.city-hero h1 {
  color: #fff;
  margin-top: .75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
}
.city-hero__city { color: var(--gold); }
.city-hero__sub {
  margin-top: 1rem;
  color: rgba(255,255,255,.75);
  font-size: 1.0625rem;
}
.city-hero .hero__features { margin-top: 1.25rem; }
.city-hero .hero__feature   { color: rgba(255,255,255,.85); }
.city-hero .hero__feature-icon {
  background: rgba(255,255,255,.1);
  border-color: rgba(186,163,120,.5);
  color: var(--gold);
  box-shadow: none;
}
.city-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.city-hero__phone {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.city-hero__phone:hover { color: var(--gold); }
.city-hero__messengers {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.city-hero__address {
  margin-top: 1rem;
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* правая карточка-бейдж */
.city-hero__visual {
  display: flex;
  justify-content: center;
}
.city-hero__badge-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(186,163,120,.35);
  border-radius: var(--radius-xl, 16px);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 280px;
}
.city-hero__stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.city-hero__stat span {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
}

/* шаги */
.city-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.city-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--bg-blue);
  border-radius: var(--radius-xl, 16px);
  border: 1.5px solid var(--border-gold);
}
.city-step::after {
  content: '→';
  position: absolute;
  right: -1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.25rem;
  z-index: 2;
}
.city-step:last-child::after { display: none; }
.city-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.city-step h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
}
.city-step p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* прайс */
.city-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* адаптив */
@media (max-width: 900px) {
  .city-hero .container {
    grid-template-columns: 1fr;
  }
  .city-hero__visual { display: none; }
  .city-steps__grid  { grid-template-columns: repeat(2, 1fr); }
  .city-step::after  { display: none; }
  .city-prices       { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .city-steps__grid { grid-template-columns: 1fr; }
}

/* ── Городской info-блок ── */
.city-info__intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.city-info__cols {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
/* Левая колонка — «Когда обращаться» */
.city-info__when-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.city-info__when-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
.city-info__when-head svg { flex-shrink: 0; }
.city-info__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.city-info__list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: .9875rem;
  line-height: 1.55;
}
.city-info__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.city-info__tip {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  padding: 1rem 1.25rem;
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.city-info__tip-link {
  display: inline-block;
  margin-top: .5rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.city-info__tip-link:hover { text-decoration: underline; }

/* Правая колонка — карточка офиса */
.city-info__card {
  background: #fff;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl, 16px);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.city-info__card-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 1rem;
}
.city-info__card-head h3 { margin: 0; font-size: 1.0625rem; }
.city-info__address {
  font-size: .9375rem;
  color: var(--text-muted);
  margin: 0;
}
.city-info__phone-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: block;
}
.city-info__phone-link:hover { color: var(--red); }
.city-info__local { font-size: .875rem; color: var(--text-muted); line-height: 1.55; }
.city-info__local p { margin: 0 0 .4rem; }

/* ── FAQ на городских страницах ── */
.city-page .article-faq { background: var(--bg-warm); }
.city-page .article-faq h2 { margin-bottom: 1.75rem; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3rem 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  line-height: 1.4;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] > summary::after {
  content: '−';
}
.faq-item[open] > summary { color: var(--red); }
.faq-answer {
  padding: 0.25rem 0 1.25rem;
  color: var(--text-muted);
  font-size: .9875rem;
  line-height: 1.65;
}

/* адаптив info-блока */
@media (max-width: 900px) {
  .city-info__cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .city-info__card { padding: 1.25rem; }
}

/* ══════════════════════════════════════════════
   СТРАНИЦА УСЛУГИ (/service/...)
══════════════════════════════════════════════ */
.service-hero {
  background: var(--navy);
  color: #fff;
  padding-block: 3.5rem 3rem;
}
.service-hero .breadcrumbs a { color: var(--gold); }
.service-hero .breadcrumbs span { color: rgba(255,255,255,.45); }
.service-badge {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
}
.service-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); }
.service-hero__lead {
  color: rgba(255,255,255,.8);
  margin-top: .875rem;
  font-size: 1.0625rem;
}
.service-hero__meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem .875rem;
  margin-top: 1.5rem;
}
.service-hero__price { font-size: 1.875rem; font-weight: 800; color: var(--gold); }
.service-hero__note { font-size: .9375rem; color: rgba(255,255,255,.7); }
.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.service-included {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.service-included li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.0625rem;
  color: var(--navy);
  line-height: 1.5;
}
.service-included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--cta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: .8rem;
  background-position: center;
  background-repeat: no-repeat;
}

.service-price-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2rem 2.25rem;
  background: var(--bg-blue);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
}
.service-price-cta__info h2 { margin: 0 0 .5rem; }
.service-price-cta__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--red);
}
.service-price-cta__price span { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.service-price-cta__info p { margin: .5rem 0 0; color: var(--text-muted); font-size: .9375rem; max-width: 420px; }
.service-price-cta__actions { display: flex; flex-wrap: wrap; gap: .875rem; }

.service-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-other-card {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-other-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--cta);
  transform: translateY(-2px);
}
.service-other-card__title { font-weight: 700; color: var(--navy); line-height: 1.35; }
.service-other-card__price { font-weight: 700; color: var(--red); font-size: .9375rem; }

@media (max-width: 860px) {
  .service-other-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-included { grid-template-columns: 1fr; }
  .service-other-grid { grid-template-columns: 1fr; }
  .service-price-cta { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════
   СТРАНИЦА ЭКСПЕРТА
══════════════════════════════════════════════ */
.author-hero {
  background: var(--navy);
  color: #fff;
  padding-block: 3.5rem 3rem;
}
.author-hero .breadcrumbs a { color: var(--gold); }
.author-hero .breadcrumbs span { color: rgba(255,255,255,.45); }
.author-hero__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
}
.author-badge {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .35rem 1rem;
  border-radius: 20px;
  background: rgba(186,163,120,.2);
  border: 1px solid rgba(186,163,120,.45);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gold);
}
.author-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
}
.author-hero__role {
  margin: .75rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.author-hero__edu {
  margin: .5rem 0 0;
  font-size: .9375rem;
  color: var(--gold);
}
.author-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.author-hero__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid rgba(186,163,120,.35);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 3;
  background: rgba(255,255,255,.05);
}
.author-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.author-about__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.author-tag {
  display: inline-block;
  padding: .4rem .875rem;
  border-radius: 20px;
  background: var(--gold-light);
  border: 1px solid rgba(186,163,120,.4);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
}
.author-team-grid { align-items: stretch; }

@media (max-width: 900px) {
  .author-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .author-hero__visual {
    max-width: 280px;
    margin: 0 auto;
    order: -1;
  }
}
