/* =========================================================
   «Золотой дракон» — общие стили сайта
   ПРАВКА: новая фирменная стилистика (чёрный + золото),
   заменяет оформление исходного сайта.
   ========================================================= */

:root {
  --gold: #e8a800;
  --gold-dark: #c78f00;
  --gold-soft: #f7f1e3;
  --black: #121212;
  --graphite: #1e1e1c;
  --gray-800: #2b2b29;
  --gray-600: #5c5c58;
  --gray-300: #d9d6cf;
  --white: #ffffff;
  --cream: #faf7f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --container: 1200px;
  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
/* ПРАВКА: «Бесплатная консультация» — золотой фон, чёрные буквы */
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-dark); }
/* ПРАВКА: «Стоимость услуг» — чёрный фон, золотые буквы */
.btn--black { background: var(--black); color: var(--gold); border-color: var(--gold); }
.btn--black:hover { background: var(--gray-800); }
.btn--outline { background: transparent; color: var(--graphite); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--black); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; }

/* ---------- Шапка ---------- */
/* ПРАВКА: телефон и e-mail в шапке, только WhatsApp (Telegram убран) */
.topbar { background: var(--black); color: #cfcac0; font-size: .9rem; border-bottom: 1px solid #2a2a28; }
.topbar .container { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 24px; padding: 6px 0; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 16px; height: 16px; fill: var(--gold); }

.header { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.header__logo img { height: 60px; width: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: block; padding: 10px 9px; white-space: nowrap;
  font-family: var(--font-head); font-size: .92rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__toggle:hover, .nav__link[aria-current="page"] { color: var(--gold); }
.nav__toggle::after { content: " ▾"; font-size: .75em; }
.nav__item { position: relative; }
.nav__sub {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: 100%; left: 0; min-width: 300px;
  background: var(--graphite); border-top: 2px solid var(--gold); border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 20px; color: #e9e5dc; text-decoration: none; font-size: .95rem; }
.nav__sub a:hover { background: #2b2b29; color: var(--gold); }
.header__actions .btn { padding: 12px 20px; font-size: .88rem; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #25d366; flex: none; }
.icon-btn svg { width: 22px; height: 22px; fill: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid #444; border-radius: 10px; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--gold); margin: 5px 0; transition: .2s; }

/* ПРАВКА: мобильное меню — полноэкранная панель с собственной прокруткой и кнопкой закрытия */
@media (max-width: 1320px) {
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; height: 100vh; height: 100dvh; margin: 0;
    background: var(--graphite);
    padding: 0 20px calc(30px + env(safe-area-inset-bottom));
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(100%); transition: transform .3s ease, visibility .3s;
    z-index: 200; visibility: hidden;
  }
  .nav.is-open { visibility: visible; transform: none; }
  .nav__head { display: flex !important; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--graphite); padding: 14px 0; margin-bottom: 8px; border-bottom: 1px solid #33332f; z-index: 1; }
  .nav__head img { height: 44px; width: auto; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link, .nav__toggle { width: 100%; text-align: left; padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid #2c2c29; white-space: normal; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; border-radius: 8px; background: #262624; min-width: 0; margin: 4px 0 8px; }
  .nav__sub a { padding: 12px 16px; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__mobile-cta { display: block !important; margin-top: 22px; }
  .nav__mobile-cta .btn { width: 100%; }
  .nav__contacts { display: grid !important; gap: 10px; margin-top: 22px; color: #cfcac0; }
  .nav__contacts a { text-decoration: none; display: flex; align-items: center; gap: 10px; }
  .nav__contacts svg { width: 18px; height: 18px; fill: var(--gold); }
  .header__logo img { height: 44px; }
}
body.menu-open { overflow: hidden; }
.nav__head, .nav__contacts { display: none; }
.nav__close { width: 44px; height: 44px; border: 1px solid #444; border-radius: 10px; background: none; color: var(--gold); font-size: 30px; line-height: 1; cursor: pointer; }
.nav__mobile-cta { display: none; }

/* ---------- Баннер (hero) ---------- */
/* ПРАВКА: баннеры заменены на фирменный фон с драконом из вложения */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--black) url("images/hero-bg.jpg") left center / cover no-repeat;
  padding: clamp(60px, 9vw, 120px) 0;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.15) 0%, rgba(18,18,18,.7) 45%, rgba(18,18,18,.92) 100%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.hero__emblem { justify-self: center; width: min(300px, 70%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.hero__content h1 span { color: var(--gold); }
.hero__lead { font-size: 1.1rem; color: #ddd8cc; max-width: 640px; }
.hero__points { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.hero__points li { position: relative; padding-left: 34px; color: #eee9de; font-size: .98rem; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23121212'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero__points b { display: block; color: var(--gold); font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 860px) {
  .hero { background-position: 20% center; }
  .hero::before { background: rgba(18,18,18,.82); }
  .hero .container { grid-template-columns: 1fr; }
  .hero__emblem { width: 150px; }
  .hero__points { grid-template-columns: 1fr; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--black) url("images/dragon-bg.jpg") right center / contain no-repeat; color: #ece8df; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 820px; margin-bottom: 36px; }
.section__head p { color: var(--gray-600); font-size: 1.05rem; }
.section--dark .section__head p { color: #bdb8ad; }
.eyebrow { display: inline-block; font-family: var(--font-head); color: var(--gold-dark); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--gold); }
.gold-line { display: block; width: 70px; height: 3px; background: var(--gold); margin: 14px 0 0; }
.prose { max-width: 860px; }
.prose h3 { margin-top: 1.6em; }
.prose ul li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--gold); }
.one-col { max-width: 860px; }
.one-col .block { padding: 22px 0; border-top: 1px solid rgba(232,168,0,.35); }
.one-col .block:first-of-type { border-top: 0; }

/* Сетка карточек */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid #ece7db; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; }
.card ul li::marker { color: var(--gold); }
.card--dark { background: var(--graphite); border-color: #33332f; color: #e4dfd4; box-shadow: none; }
.card--dark h3 { color: var(--gold); }
.card__icon { width: 58px; height: 58px; border-radius: 50%; background: var(--black); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card__spacer { flex: 1; min-height: 14px; }

/* ПРАВКА: «Услуги нашей компании» — эмблема дракона из вложения на кнопках */
.service-card { text-decoration: none; position: relative; transition: transform .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.service-card__logo { width: 48px; height: auto; margin-bottom: 14px; }
.service-card__more { margin-top: auto; padding-top: 14px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--gold-dark); font-size: .9rem; }

/* ПРАВКА: нумерация — круглые цифры в фирменных цветах */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; }
.steps--grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 4px 0 0 70px; min-height: 52px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--black); color: var(--gold); border: 2px solid var(--gold);
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600;
}
.steps li b { display: block; font-family: var(--font-head); text-transform: uppercase; font-weight: 500; letter-spacing: .03em; margin-bottom: 2px; }
.section--dark .steps li b { color: var(--gold); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232,168,0,.18); }

.callout { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.section--dark .callout { background: #262624; }
.note { font-size: .9rem; color: var(--gray-600); }
.section--dark .note { color: #a9a49a; }

/* ---------- Таблицы цен ---------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); }
@media (max-width: 560px) { .price-table th, .price-table td { padding: 12px; font-size: .92rem; } .price-table td.price { white-space: normal; min-width: 90px; font-size: 1rem; } }
.price-table caption { text-align: left; font-family: var(--font-head); text-transform: uppercase; font-size: 1.2rem; padding: 0 0 12px; }
.price-table th { background: var(--black); color: var(--gold); font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; text-align: left; padding: 14px 18px; font-size: .92rem; }
.price-table td { padding: 15px 18px; border-bottom: 1px solid #eee9de; vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:nth-child(even) td { background: #fcfaf5; }
.price-table td small { display: block; color: var(--gray-600); margin-top: 4px; }
.price-table td.price { white-space: nowrap; font-family: var(--font-head); font-size: 1.15rem; color: var(--black); width: 1%; }
.price-table td.price span { color: var(--gold-dark); }
.rate-note { font-size: .92rem; color: var(--gray-600); }
.rate-note::before { content: "₽ "; color: var(--gold-dark); font-weight: 700; }

/* ---------- Таблица сравнения ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--white); color: var(--graphite); }
/* ПРАВКА: текст таблиц всегда тёмный (на тёмном фоне секции он наследовал светлый цвет) */
.price-table, .price-table td, .compare td { color: var(--graphite); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid #eee9de; text-align: left; }
.compare th { background: var(--graphite); color: var(--gold); font-family: var(--font-head); font-weight: 500; text-transform: uppercase; font-size: .88rem; letter-spacing: .04em; }
.compare td.num { white-space: nowrap; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tag--great { background: var(--gold); color: var(--black); }
.tag--good { background: #f3dc97; color: var(--black); }
.tag--mid { background: #ece7db; color: var(--graphite); }
.tag--ru { background: var(--graphite); color: var(--white); }

/* ---------- FAQ без «плюсиков» (ПРАВКА: ответы — обычные абзацы) ---------- */
.faq-list { max-width: 900px; }
.faq-item { padding: 22px 0; border-bottom: 1px solid #e7e1d3; }
.faq-item h3 { text-transform: none; font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; letter-spacing: 0; }
.faq-item h3::before { content: "— "; color: var(--gold); }
.faq-item p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 44px; }
.faq-group > h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

/* ---------- Калькуляторы ---------- */
.calc { background: var(--graphite); color: #ece8df; border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.calc h3 { color: var(--gold); }
.calc label { display: block; font-size: .9rem; margin-bottom: 14px; color: #c9c4b9; }
.calc > * { min-width: 0; }
.calc input, .calc select { min-width: 0; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid #44443f; background: #121212; color: #fff; font: inherit; }
.calc__result { background: #121212; border: 1px solid #3a3a36; border-radius: 12px; padding: 22px; }
.calc__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-bottom: 1px dashed #3a3a36; }
.calc__row:last-child { border-bottom: 0; }
.calc__row strong { color: var(--white); white-space: nowrap; }
.calc__total { font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); margin-top: 10px; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Контакты ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .card__icon { margin: 0; flex: none; }
.contact-list a { font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--gold-dark); }

/* ---------- Подвал ---------- */
/* ПРАВКА: новый логотип, мессенджеры как в шапке, колонка «Ведение арбитражных дел РФ» вместо «Кейсы» */
.footer { background: var(--black); color: #bdb8ad; padding: 60px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.1fr; gap: 32px; }
.footer__logo img { width: 230px; }
.footer__slogan { margin-top: 14px; max-width: 280px; }
.footer h4 { color: var(--gold); font-size: .95rem; letter-spacing: .08em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__contacts a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contacts svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }
.footer__bottom { border-top: 1px solid #2a2a28; margin-top: 44px; padding: 18px 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Всплывающая форма ---------- */
/* ПРАВКА: единая форма «Бесплатная консультация» (организация, телефон*, e-mail*, имя*) */
.modal { border: 0; padding: 0; border-radius: 18px; width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 24px); background: var(--graphite); color: #ece8df; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(2px); }
.modal__inner { padding: 36px clamp(20px, 5vw, 40px) 32px; position: relative; }
.modal__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; color: #aaa; font-size: 30px; cursor: pointer; line-height: 1; }
.modal__close:hover { color: var(--gold); }
.modal__logo { width: 56px; margin-bottom: 10px; }
.modal h2 { color: var(--white); font-size: 1.6rem; margin-bottom: .3em; }
.modal__topic { color: var(--gold); font-size: .95rem; margin-bottom: 18px; min-height: 1.2em; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: .88rem; color: #c9c4b9; margin-bottom: 6px; }
.form-field label .req { color: var(--gold); }
.form-field input { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid #44443f; background: #121212; color: #fff; font: inherit; }
.form-field input:focus { border-color: var(--gold); outline: none; }
.form-field input:user-invalid { border-color: #e46b5b; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: #a9a49a; margin: 6px 0 18px; }
.form-check input { margin-top: 3px; accent-color: var(--gold); }
.form-hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #7bd88f; }
.form-status.err { color: #ff8b7b; }
.modal .btn { width: 100%; }

/* Кнопка WhatsApp (плавающая на мобильных) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.about-poster { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ПРАВКА: таблицы на мобильных — карточками, без прокрутки вправо-влево.
   Подписи колонок подставляет script.js в атрибут data-label */
@media (max-width: 640px) {
  .price-table-wrap { overflow: visible; box-shadow: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; padding: 6px 14px; border: 1px solid #ece7db; }
  .compare td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; text-align: right; border-bottom: 1px dashed #e7e1d3; white-space: normal !important; }
  .compare td:last-child { border-bottom: 0; }
  .compare td::before { content: attr(data-label); text-align: left; color: var(--gray-600); font-size: .85rem; flex: 0 1 50%; }
  .compare td:first-child { display: block; text-align: left; font-weight: 800; font-size: 1.02rem; padding-top: 10px; border-bottom: 1px solid var(--gold); }
  .compare td:first-child::before { content: none; }
  .compare td:empty { display: none; }
}

/* ПРАВКА: светлые карточки внутри тёмных секций — тёмный текст (раньше наследовался светлый и был почти не виден) */
.section--dark .card:not(.card--dark) { color: var(--graphite); }
.section--dark .card:not(.card--dark) h3 { color: var(--black); }
