/* ═══════════════════════════════════════════════════════════════════
   desktop-v2.css — ПК-версия сайта (≥768px) в той же светлой системе, что и mobile-v2.css
   (макет Азамата, 2026-09-30). Подключается tools/gen_mobile_v2.py после mobile-v2.css.
   На телефоне (≤767px) ничего не меняет: все правила внутри @media (min-width:768px),
   вне медиа — только .d2-only{display:none}.
   ═══════════════════════════════════════════════════════════════════ */

.d2-only, .d2-book { display: none; }
@media (max-width: 767px) { .d2-hero { display: none !important; } }

@media (min-width: 768px) {
  :root {
    --m2-ink: #111C2D; --m2-muted: #586577; --m2-line: #DCE2EA; --m2-bg: #F4F6F9; --m2-tint: #EAF2FB;
    --m2-primary: #1B4B82; --m2-primary-d: #153D6B; --m2-link: #1D65B5; --m2-gold: #C9A368; --m2-r: 10px;
    --m2-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  /* ── 1. Шрифт: системная гротеска везде, антиква — только в логотипе ── */
  html body, html body :where(h1, h2, h3, h4, p, a, span, div, li, button, input, select, textarea, label, small, strong, b, em, summary, option, td, th) {
    font-family: var(--m2-font) !important;
  }
  html body #navbar a:first-child .font-display,
  html body #mobileDrawer #mmTitle > div:first-child { font-family: 'Cormorant Garamond', Georgia, serif !important; }
  body { color: var(--m2-ink); }

  /* ── 2. Шапка ─────────────────────────────────────────────────── */
  html body #navbar { background: #fff !important; box-shadow: none !important; border-bottom: 1px solid var(--m2-line); }
  #navbar a:first-child .font-display { color: #0B2D5C !important; }
  #navbar a:first-child .font-body { color: var(--m2-muted) !important; }
  html body #navbar .nav-link { color: var(--m2-ink); font-weight: 500; }
  html body #navbar .nav-link:hover, html body #navbar .nav-link.active { color: var(--m2-link); }
  html body #navbar a.btn-primary.btn-call-pulse {
    background: transparent !important; color: var(--m2-link) !important; box-shadow: none !important; animation: none !important;
    padding: 10px 12px !important; font-weight: 500; transform: none !important;
  }
  html body #navbar a.btn-primary.btn-call-pulse:hover { color: var(--m2-primary) !important; }
  html body #navbar > .max-w-6xl > div:last-child, html body #navbar > div > div:last-child { border-left-color: var(--m2-line) !important; gap: 4px !important; }
  #navbar .lang-switch { border-color: var(--m2-line) !important; color: var(--m2-ink) !important; border-radius: 8px !important; }
  #navbar .lang-menu { border-radius: 12px !important; border-color: var(--m2-line) !important; }
  @media (min-width: 1024px) {
    .d2-book {
      display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; margin-left: 6px;
      border-radius: var(--m2-r); background: var(--m2-primary); color: #fff !important; font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
      transition: background 0.15s;
    }
    .d2-book:hover { background: var(--m2-primary-d); }
  }
  /* мега-меню «Что лечим» */
  html body .wl-pop { border-radius: 14px; border: 1px solid var(--m2-line); box-shadow: 0 16px 48px rgba(17,28,45,0.14); }
  html body .wl-card { background: var(--m2-tint) !important; color: var(--m2-ink) !important; border-radius: 14px !important; }
  .wl-card::before { display: none !important; }
  html body .wl-card-eyebrow { color: var(--m2-muted) !important; }
  html body .wl-card-eyebrow::before { display: none !important; }
  html body .wl-card-title { color: var(--m2-ink) !important; }
  html body .wl-card-text { color: var(--m2-muted) !important; }
  html body .wl-card { align-self: start !important; }
  html body .wl-btn-gold { background: var(--m2-primary) !important; color: #fff !important; border-radius: var(--m2-r) !important; box-shadow: none !important; }
  html body .wl-btn-ghost { background: #fff !important; color: var(--m2-link) !important; border: 1.5px solid var(--m2-link) !important; border-radius: var(--m2-r) !important; box-shadow: none !important; }
  html body .wl-card-link { color: var(--m2-link) !important; }
  html body .wl-ico { border-radius: 10px !important; box-shadow: none !important; }

  /* ── 3. Полоса «Приём 7 дней в неделю» над шапкой ─────────────── */
  html body #weekendBar { background: var(--m2-tint) !important; }
  #weekendBar > div[aria-hidden], #weekendBar > div:first-child:not(.wb-inner) { display: none !important; }
  html body #weekendBar .wb-text { color: var(--m2-ink) !important; font-weight: 500 !important; }
  html body #weekendBar .wb-hours { color: var(--m2-muted) !important; }
  html body #weekendBar .wb-pill { background: #fff !important; border: 1px solid #C5D9F0 !important; color: var(--m2-primary) !important; }
  html body #weekendBar .wb-pill-check { background: var(--m2-primary) !important; }
  html body #weekendBar .wb-dot { background: #2FA35B !important; animation: none !important; }
  html body #weekendBar .wb-cta { background: var(--m2-primary) !important; border-radius: 8px !important; }
  html body #weekendBar .wb-close { background: rgba(17,28,45,0.06) !important; color: var(--m2-muted) !important; }

  /* ── 4. Главная: первый экран (.d2-hero) ──────────────────────── */
  .d2-hero { margin-top: 76px; background: var(--m2-bg); border-bottom: 1px solid var(--m2-line); }
  body.bar-visible .d2-hero { margin-top: calc(76px + var(--wb-h, 38px)); }
  .d2-wrap { max-width: 1200px; margin: 0 auto; padding: 44px 32px 40px; }
  .d2-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .d2-copy { min-width: 0; }
  .d2-eyebrow { margin: 0 0 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--m2-muted); }
  .d2-h1 { margin: 0; font-size: clamp(2.25rem, 3.6vw, 3.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; color: var(--m2-ink); text-wrap: balance; }
  .d2-sub { margin: 8px 0 0; font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.3; color: var(--m2-muted); }
  .d2-name { margin: 28px 0 4px; font-size: 1.5rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
  .d2-meta { margin: 0; font-size: 1.0625rem; color: var(--m2-muted); }
  .d2-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 36px; color: var(--m2-link); font-size: 1rem; text-decoration: none; }
  .d2-rating b { color: var(--m2-ink); }
  .d2-rating .m2-star { color: var(--m2-gold); }
  .d2-rating:hover span { text-decoration: underline; }
  .d2-offer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--m2-line); }
  .d2-price { display: flex; flex-direction: column; gap: 2px; }
  .d2-price-t { font-size: 1rem; color: var(--m2-muted); }
  .d2-price-v { font-size: 2.25rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--m2-ink); }
  .d2-price-d { font-size: 0.9375rem; color: var(--m2-muted); }
  .d2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 34px; flex: none;
    border-radius: var(--m2-r); background: var(--m2-primary); color: #fff !important; font-size: 1.0625rem; font-weight: 600; text-decoration: none;
    transition: background 0.15s, transform 0.15s;
  }
  .d2-btn:hover { background: var(--m2-primary-d); transform: translateY(-1px); }
  .d2-next { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.9375rem; color: var(--m2-muted); text-decoration: none; }
  .d2-next[hidden] { display: none !important; }
  .d2-next b { color: var(--m2-ink); font-weight: 600; }
  .d2-next-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FA35B; flex: none; }
  .d2-wa { margin: 12px 0 0; font-size: 1rem; color: var(--m2-ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .d2-wa a { color: var(--m2-link); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
  .d2-wa svg { color: var(--m2-link); }
  .d2-photo { border-radius: 16px; overflow: hidden; background: #E7ECF2; aspect-ratio: 4 / 3; box-shadow: 0 1px 2px rgba(17,28,45,0.06); }
  .d2-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
  .d2-strip { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--m2-line); border-bottom: 1px solid var(--m2-line); }
  .d2-strip-i { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--m2-ink); }
  .d2-strip-i svg { color: var(--m2-muted); flex: none; }
  .d2-topics { margin-top: 36px; }
  .d2-h2 { margin: 0 0 18px; font-size: 2rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
  .d2-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .d2-topic { display: block; padding: 4px 24px 4px 0; text-decoration: none; color: var(--m2-ink); }
  .d2-topic + .d2-topic { border-left: 1px solid var(--m2-line); padding-left: 24px; }
  .d2-topic-t { display: inline-flex; align-items: center; gap: 8px; font-size: 1.375rem; font-weight: 700; color: var(--m2-ink); }
  .d2-topic-t svg { color: var(--m2-link); transition: transform 0.15s; }
  .d2-topic:hover .d2-topic-t { color: var(--m2-link); }
  .d2-topic:hover .d2-topic-t svg { transform: translateX(3px); }
  .d2-topic-d { display: block; margin-top: 4px; font-size: 1rem; color: var(--m2-muted); }
  @media (max-width: 1023px) {
    .d2-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .d2-wrap { padding: 32px 24px 32px; }
    .d2-offer { flex-direction: column; align-items: flex-start; gap: 16px; }
    .d2-btn { width: 100%; }
    .d2-topic-t { font-size: 1.125rem; }
  }

  /* ── 5. Общие секции: заголовки, кнопки ────────────────────────── */
  html body .section-eyebrow { color: var(--m2-muted) !important; letter-spacing: 0.16em !important; font-size: 0.75rem !important; font-weight: 700 !important; }
  .section-eyebrow::before { display: none !important; }
  section .ornament, .ab-orn, .kb-eyebrow-line { display: none !important; }
  html body section h2.font-display, html body .kb-heading, html body .ab-h2, html body .ab-qtext, html body .svc-title {
    font-size: 2.25rem !important; line-height: 1.15 !important; font-weight: 800 !important; letter-spacing: -0.02em !important; color: var(--m2-ink) !important; font-style: normal !important;
  }
  html body section h3.font-display { font-weight: 700 !important; color: var(--m2-ink) !important; }
  html body .btn-primary { background: var(--m2-primary) !important; border-radius: var(--m2-r) !important; box-shadow: none !important; }
  html body .btn-primary:hover { background: var(--m2-primary-d) !important; transform: none !important; box-shadow: none !important; }
  html body .btn-outline { border-radius: var(--m2-r) !important; }
  html body #floatWA { border-radius: var(--m2-r) !important; box-shadow: 0 8px 24px rgba(17,28,45,0.18) !important; }

  /* ── 6. Главная: преимущества ──────────────────────────────────── */
  html body #key-benefits { background: #fff !important; }
  #key-benefits::before, #key-benefits::after, #key-benefits .kb-orb-right { display: none !important; }
  html body #key-benefits .kb-eyebrow-text { color: var(--m2-muted) !important; }
  html body #key-benefits .kb-heading { text-align: left !important; }
  html body #key-benefits .kb-heading em { font-style: normal !important; color: inherit !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
  html body #key-benefits .kb-eyebrow { justify-content: flex-start !important; }
  html body #key-benefits .kb-card {
    background: var(--m2-bg) !important; border: 1px solid var(--m2-line) !important; border-radius: 14px !important; box-shadow: none !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important;
  }
  #key-benefits .kb-card::before, #key-benefits .kb-card::after { display: none !important; }
  html body #key-benefits .kb-icon-wrap { background: var(--m2-tint) !important; box-shadow: none !important; border-radius: 12px !important; }
  html body #key-benefits .kb-icon-wrap svg { stroke: var(--m2-primary) !important; }
  html body #key-benefits .kb-badge { background: var(--m2-tint) !important; color: var(--m2-primary) !important; border: 0 !important; }
  html body #key-benefits .kb-badge-dot { background: var(--m2-primary) !important; }
  html body #key-benefits .kb-card-title { color: var(--m2-ink) !important; }
  html body #key-benefits .kb-card-desc { color: var(--m2-muted) !important; }
  html body #key-benefits .kb-day-pill { background: #fff !important; border: 1px solid var(--m2-line) !important; color: var(--m2-ink) !important; }
  html body #key-benefits .kb-day-pill-check { background: var(--m2-primary) !important; }
  html body #key-benefits .kb-cta-text { color: var(--m2-muted) !important; }
  html body #key-benefits .kb-cta-btn { background: var(--m2-primary) !important; color: #fff !important; border-radius: var(--m2-r) !important; box-shadow: none !important; border: 0 !important; }

  /* ── 7. Главная: подбор, направления, полоса, цены ─────────────── */
  html body #symptom-matcher { background: var(--m2-bg) !important; }
  html body .sm-gender { border-radius: 8px !important; color: var(--m2-ink) !important; }
  html body .sm-gender-active { background: var(--m2-primary) !important; border-color: var(--m2-primary) !important; color: #fff !important; }
  html body .sm-chip { border-radius: 10px !important; box-shadow: none !important; }
  html body .sm-chip-active { background: var(--m2-primary) !important; border-color: var(--m2-primary) !important; box-shadow: none !important; }
  html body .sm-card { border-radius: 14px !important; box-shadow: none !important; border-color: var(--m2-line) !important; }
  html body .sm-card-top { border-color: var(--m2-link) !important; background: var(--m2-tint) !important; }
  html body .sm-card-icon { background: var(--m2-primary) !important; border-radius: 10px !important; }
  html body .sm-card-title { color: var(--m2-ink) !important; }
  #diseases .disease-card { border-radius: 14px !important; box-shadow: none !important; border-color: var(--m2-line) !important; }
  #diseases .disease-card:hover { box-shadow: 0 10px 28px rgba(17,28,45,0.08) !important; }
  html body section.px-6.py-10[style*="0B2D5C"] { background: var(--m2-tint) !important; }
  html body section.px-6.py-10[style*="0B2D5C"] h2 { color: var(--m2-ink) !important; font-size: 1.75rem !important; }
  html body .cta-treatment-btn { border-radius: var(--m2-r) !important; background: var(--m2-primary) !important; color: #fff !important; }
  html body .cta-treatment-play { background: rgba(255,255,255,0.18) !important; color: #fff !important; }

  html body #pricing { background: #fff !important; }
  html body #pricing .pr-card { background: var(--m2-bg) !important; border: 1px solid var(--m2-line) !important; border-radius: 18px !important; box-shadow: none !important; color: var(--m2-ink) !important; }
  #pricing .pr-card::before { display: none !important; }
  html body #pricing .pr-eyebrow { color: var(--m2-muted) !important; }
  #pricing .pr-eyebrow::before { display: none !important; }
  html body #pricing .pr-price { background: none !important; -webkit-text-fill-color: var(--m2-ink) !important; color: var(--m2-ink) !important; font-weight: 800 !important; letter-spacing: -0.03em !important; }
  html body #pricing .pr-lead { color: var(--m2-muted) !important; }
  html body #pricing .pr-step { background: #fff !important; border: 1px solid var(--m2-line) !important; border-radius: 14px !important; }
  html body #pricing .pr-step--course { background: var(--m2-tint) !important; border-color: #C5D9F0 !important; }
  html body #pricing .pr-fig { fill: #C3D0E0 !important; }
  html body #pricing .pr-in .pr-fig { fill: var(--m2-primary) !important; }
  html body #pricing .pr-step h3 { color: var(--m2-ink) !important; }
  html body #pricing .pr-step p { color: var(--m2-muted) !important; }
  html body #pricing .pr-step-price { color: var(--m2-ink) !important; }
  html body #pricing .pr-foot { color: var(--m2-primary) !important; }
  html body #pricing .pr-badge { background: #F3E6CC !important; color: #6A4F1C !important; }
  html body #pricing .pr-conn path { stroke: #B5C3D5 !important; }
  html body #pricing .pr-conn span { background: #fff !important; border-color: var(--m2-line) !important; color: var(--m2-muted) !important; }
  html body #pricing .pr-pay { color: var(--m2-muted) !important; }
  html body #pricing .pr-btn { border-radius: var(--m2-r) !important; box-shadow: none !important; }
  html body #pricing .pr-btn--gold { background: var(--m2-primary) !important; color: #fff !important; }
  html body #pricing .pr-btn--ghost { background: #fff !important; color: var(--m2-link) !important; border: 1.5px solid var(--m2-link) !important; }

  #reviews .rv-badge { border-radius: 10px !important; }
  #reviews .rv-card { border-radius: 14px !important; box-shadow: none !important; }
  #reviews .rv-btn { border-radius: var(--m2-r) !important; box-shadow: none !important; }
  #faq .faq-item { border-radius: 14px !important; border-color: var(--m2-line) !important; }
  #faq .faq-icon, #faq .faq-item.open .faq-icon { color: var(--m2-link) !important; }
  #faq .text-center.mt-6 > button { border-radius: var(--m2-r) !important; }

  /* ── 8. Форма записи (окно по центру) ──────────────────────────── */
  html body #bookingModal > .relative { border-radius: 16px !important; }
  html body #modalHeader { border-radius: 16px 16px 0 0 !important; }
  html body #modalHeader .section-eyebrow { display: block !important; margin-bottom: 2px !important; }
  html body #modalHeader h2 { font-size: 1.5rem !important; font-weight: 800 !important; letter-spacing: -0.02em !important; color: var(--m2-ink) !important; }
  #bookingModal .bk-step-q { font-weight: 600; color: var(--m2-ink); }
  #bookingModal label.block { color: var(--m2-ink) !important; }
  #bookingModal .gender-btn input + .gender-label { border-radius: 8px !important; background: #fff !important; border: 1.5px solid #C6CFDB !important; color: var(--m2-ink) !important; }
  #bookingModal .gender-btn input:checked + .gender-label { border: 2px solid var(--m2-link) !important; background: var(--m2-tint) !important; color: var(--m2-link) !important; font-weight: 600 !important; }
  #bookingModal .bk-chip { border-radius: 8px !important; background: #fff !important; border: 1.5px solid #C6CFDB !important; color: var(--m2-ink) !important; }
  #bookingModal .bk-chip.is-on { background: var(--m2-tint) !important; border-color: var(--m2-link) !important; color: var(--m2-ink) !important; }
  #bookingModal .bk-chip.is-on small { color: var(--m2-muted) !important; }
  #bookingModal .bk-chip--alt { color: var(--m2-link) !important; border-color: var(--m2-link) !important; font-weight: 600 !important; }
  #bookingModal .form-field { border-radius: 8px !important; background: #fff !important; border: 1.5px solid #C6CFDB !important; }
  #bookingModal .form-field:focus { border-color: var(--m2-link) !important; box-shadow: 0 0 0 3px rgba(29,101,181,0.14) !important; }
  #bookingModal .bk-summary { background: var(--m2-tint) !important; border: 0 !important; border-radius: 8px !important; }
  #bookingModal .bk-summary button { color: var(--m2-link) !important; }
  #bookingModal #customCalendar, #bookingModal #timeRow { border-radius: 10px !important; background: #fff !important; border-color: #C6CFDB !important; }
  html body #book-today-note { background: var(--m2-bg) !important; border: 0 !important; border-radius: 8px !important; }
  #book-today-note > svg { display: none !important; }
  #book-today-note > div, #book-today-note strong { color: var(--m2-muted) !important; }
  #book-today-note strong { font-weight: 500 !important; }
  #book-today-note a { color: var(--m2-link) !important; }
  #bookingModal .bk-more summary { color: var(--m2-link) !important; }
  #bookingModal #consent + span strong { color: var(--m2-ink) !important; }

  /* ── 9. Подвал: плашка записи ──────────────────────────────────── */
  footer .quote-strip-cta, footer a[class*="btn"] { border-radius: var(--m2-r) !important; }

  /* ── 10. Внутренние страницы ──────────────────────────────────── */
  html body section.hero-bg:not(#hero) { background: var(--m2-bg) !important; }
  html body section.hero-bg:not(#hero) h1 { font-weight: 800 !important; letter-spacing: -0.03em !important; color: var(--m2-ink) !important; line-height: 1.08 !important; }
  html body section.hero-bg:not(#hero) p { color: var(--m2-muted) !important; }
  html body section.hero-bg:not(#hero) p a { color: var(--m2-link) !important; }
  html body section.hero-bg:not(#hero) .flex.flex-wrap.gap-4 > a { border-radius: var(--m2-r) !important; box-shadow: none !important; }
  html body section.hero-bg:not(#hero) a[style*="border-color:var(--navy)"],
  html body section.hero-bg:not(#hero) .border-2.border-navy { border: 1.5px solid var(--m2-link) !important; color: var(--m2-link) !important; background: #fff !important; }
  html body section.hero-bg:not(#hero) .section-eyebrow { color: var(--m2-muted) !important; }
  html body section.hero-bg:not(#hero) .text-sky-600, html body section.hero-bg:not(#hero) a.text-sm { color: var(--m2-link) !important; }

  /* «О докторе» */
  html body .ab-hero { background: var(--m2-bg) !important; color: var(--m2-ink) !important; padding: 7.5rem 0 4rem !important; }
  .ab-hero::before, .ab-hero::after, .ab-hero-photo::before, .ab-photo::before { display: none !important; }
  html body .ab-hero .ab-eyebrow, html body .ab-eyebrow--gold { color: var(--m2-muted) !important; }
  .ab-eyebrow::before { display: none !important; }
  html body .ab-crumbs { color: var(--m2-muted) !important; }
  html body .ab-crumbs a { color: var(--m2-link) !important; }
  html body .ab-h1 { font-size: clamp(2.5rem, 4.4vw, 3.75rem) !important; font-weight: 800 !important; letter-spacing: -0.03em !important; color: var(--m2-ink) !important; line-height: 1.05 !important; }
  html body .ab-h1 em { font-style: normal !important; font-weight: inherit !important; background: none !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
  html body .ab-role { color: var(--m2-muted) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 1.125rem !important; font-weight: 400 !important; }
  html body .ab-lead { color: var(--m2-muted) !important; }
  html body .ab-stat b { background: none !important; -webkit-text-fill-color: var(--m2-ink) !important; color: var(--m2-ink) !important; font-weight: 800 !important; letter-spacing: -0.02em !important; }
  html body .ab-stat span { color: var(--m2-muted) !important; }
  html body .ab-chip { background: #fff !important; border: 1px solid var(--m2-line) !important; color: var(--m2-ink) !important; border-radius: 8px !important; }
  html body .ab-rating { color: var(--m2-link) !important; }
  html body .ab-star { color: var(--m2-gold) !important; }
  html body .ab-photo { border-radius: 16px !important; box-shadow: 0 1px 2px rgba(17,28,45,0.06) !important; }
  html body .ab-photo-badge { border-radius: 8px !important; box-shadow: 0 4px 16px rgba(17,28,45,0.12) !important; }
  html body .ab-btn { border-radius: var(--m2-r) !important; box-shadow: none !important; }
  html body .ab-btn--gold { background: var(--m2-primary) !important; color: #fff !important; }
  html body .ab-btn--white { background: #fff !important; color: var(--m2-link) !important; border: 1.5px solid var(--m2-link) !important; }
  html body .ab-btn--ghost { background: #fff !important; color: var(--m2-ink) !important; border: 1.5px solid var(--m2-line) !important; }
  html body .ab-sec--navy { background: var(--m2-bg) !important; color: var(--m2-ink) !important; }
  .ab-sec--navy::before, .ab-sec--navy::after { display: none !important; }
  html body .ab-sec--navy h2, html body .ab-sec--navy .ab-h2 { color: var(--m2-ink) !important; }
  html body .ab-trust { background: #fff !important; border: 1px solid var(--m2-line) !important; border-radius: 14px !important; }
  html body .ab-trust-ico { background: var(--m2-tint) !important; border: 0 !important; color: var(--m2-primary) !important; }
  html body .ab-trust h3, html body .ab-trust b { color: var(--m2-ink) !important; }
  html body .ab-trust p, html body .ab-final-p { color: var(--m2-muted) !important; }
  html body .ab-doc-year { background: var(--m2-tint) !important; color: var(--m2-primary) !important; }
  html body .ab-qmark { color: var(--m2-line) !important; }
  html body .ab-exp-ico { background: var(--m2-tint) !important; color: var(--m2-primary) !important; box-shadow: none !important; border-radius: 12px !important; }
  html body .ab-tl-year { color: var(--m2-ink) !important; }

  /* Планшет 768–1023: выдвижное меню в светлом стиле */
  @media (max-width: 1023px) {
    html body #mobileDrawer { background: #fff !important; }
    #mobileDrawer > div[aria-hidden="true"] { display: none !important; }
    #mobileDrawer > div:nth-of-type(2) { border-bottom: 1px solid var(--m2-line) !important; }
    #mobileDrawer #mmTitle > div:first-child { color: #0B2D5C !important; }
    #mobileDrawer #mmTitle > div:last-child { color: var(--m2-muted) !important; }
    #mobileDrawer > div:nth-of-type(2) > button { border: 0 !important; background: transparent !important; color: var(--m2-ink) !important; }
    #mobileDrawer .mm-list .mm-item { border-bottom: 1px solid var(--m2-line) !important; }
    #mobileDrawer .mm-link { color: var(--m2-ink) !important; font-size: 1.375rem !important; font-weight: 600 !important; }
    #mobileDrawer .mm-arrow { color: var(--m2-ink); }
    #mobileDrawer .wl-mm-hint, #mobileDrawer .wl-mm-sym strong { color: var(--m2-link) !important; }
    #mobileDrawer .wl-mm-group + .wl-mm-group { border-top: 1px solid var(--m2-line) !important; }
    #mobileDrawer .wl-mm-eyebrow { color: var(--m2-muted) !important; }
    #mobileDrawer .wl-mm-eyebrow::before { display: none !important; }
    #mobileDrawer .wl-mm-link, #mobileDrawer .wl-mm-t { color: var(--m2-ink) !important; }
    #mobileDrawer .wl-mm-ico { background: var(--m2-tint) !important; border: 0 !important; color: var(--m2-primary) !important; }
    #mobileDrawer .wl-mm-sym { background: var(--m2-tint) !important; border: 0 !important; color: var(--m2-muted) !important; }
    #mobileDrawer > div:last-child { background: #fff !important; border-top: 1px solid var(--m2-line) !important; backdrop-filter: none !important; }
    #mobileDrawer .mm-cta { border-radius: var(--m2-r) !important; box-shadow: none !important; }
    #mobileDrawer .mm-cta-outline { background: #fff !important; border: 1px solid var(--m2-line) !important; color: var(--m2-primary) !important; }
    #mobileDrawer .mm-cta-wa { background: #fff !important; border: 1px solid var(--m2-line) !important; color: #1A8F48 !important; }
    #mobileDrawer .mm-cta-primary { background: var(--m2-primary) !important; color: #fff !important; }
  }
}
