/* Кнопка включения и панель версии для слабовидящих */
.a11y-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.a11y-toggle svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.a11y-toggle-mobile {
  width: 100%;
  margin-top: 10px;
}

.a11y-toggle-desktop {
  display: none;
}

.main-nav a:last-of-type {
  border-bottom: 0;
}

.a11y-panel {
  display: none;
}

html.a11y.a11y-font-100 { font-size: 18px; }
html.a11y.a11y-font-125 { font-size: 22.5px; }
html.a11y.a11y-font-150 { font-size: 27px; }

html.a11y.a11y-scheme-white {
  --a11y-bg: #FFFFFF;
  --a11y-fg: #000000;
}

html.a11y.a11y-scheme-black {
  --a11y-bg: #000000;
  --a11y-fg: #FFFFFF;
}

html.a11y.a11y-scheme-blue {
  --a11y-bg: #9DD1FF;
  --a11y-fg: #063462;
}

html.a11y {
  scroll-behavior: auto;
  scroll-padding-top: 20px;
}

html.a11y body {
  color: var(--a11y-fg);
  background: var(--a11y-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: auto;
}

html.a11y ::selection {
  color: var(--a11y-bg);
  background: var(--a11y-fg);
}

html.a11y *,
html.a11y *::before,
html.a11y *::after {
  background-image: none !important;
  border-color: var(--a11y-fg) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  transition: none !important;
  font-family: Arial, Helvetica, sans-serif;
}

html.a11y body * {
  color: var(--a11y-fg) !important;
  background-color: transparent !important;
}

html.a11y .brand-copy span,
html.a11y button:disabled {
  opacity: 1 !important;
}

html.a11y body :where(header, main, footer, section, article, aside, nav, div, form, address, table, thead, tbody, tr, th, td, ul, ol, li) {
  color: var(--a11y-fg);
  background-color: transparent;
}

html.a11y :where(h1, h2, h3, p, li, dt, dd, address, label, input, textarea, summary, table) {
  color: var(--a11y-fg) !important;
}

html.a11y h1 {
  font-size: 2.4rem !important;
  line-height: 1.15;
}

html.a11y h2 {
  font-size: 1.85rem !important;
  line-height: 1.2;
}

html.a11y h3 {
  font-size: 1.3rem !important;
  line-height: 1.25;
}

html.a11y :where(p, li, dt, dd, address, label, input, textarea, summary, table) {
  font-size: 1rem !important;
  line-height: 1.55;
}

html.a11y a {
  color: var(--a11y-fg) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .18em;
  border-color: var(--a11y-fg) !important;
}

html.a11y a,
html.a11y button {
  font-size: 1rem !important;
}

html.a11y :focus-visible {
  outline: 4px solid var(--a11y-fg) !important;
  outline-offset: 4px !important;
}

html.a11y :where(.button, .feature-card, .service-card, .audience-card, .expert-card):hover,
html.a11y .button:active {
  transform: none !important;
}

html.a11y .skip-link {
  z-index: 1100;
  color: var(--a11y-fg) !important;
  background: var(--a11y-bg) !important;
  border: 3px solid var(--a11y-fg) !important;
}

html.a11y .a11y-panel[hidden] {
  display: block;
}

html.a11y .a11y-panel {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: block;
  max-height: 100vh;
  overflow-y: auto;
  color: var(--a11y-fg);
  background: var(--a11y-bg) !important;
  border-bottom: 3px solid var(--a11y-fg);
  font-size: 16px;
}

html.a11y .a11y-panel * {
  font-size: inherit !important;
}

.a11y-panel-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.a11y-panel-title {
  width: 100%;
  font-size: 18px !important;
}

.a11y-control {
  display: grid;
  gap: 5px;
}

.a11y-control > span {
  font-size: 13px !important;
  font-weight: 700;
}

.a11y-options {
  display: flex;
  gap: 6px;
}

.a11y-panel button {
  min-height: 44px;
  padding: 8px 12px;
  color: var(--a11y-fg);
  background: var(--a11y-bg) !important;
  border: 2px solid var(--a11y-fg);
  border-radius: 0;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.a11y-panel button[aria-pressed="true"] {
  color: var(--a11y-bg) !important;
  background: var(--a11y-fg) !important;
}

html.a11y.a11y-font-100 .a11y-panel [data-a11y-font="100"],
html.a11y.a11y-font-125 .a11y-panel [data-a11y-font="125"],
html.a11y.a11y-font-150 .a11y-panel [data-a11y-font="150"],
html.a11y.a11y-scheme-white .a11y-panel [data-a11y-scheme="white"],
html.a11y.a11y-scheme-black .a11y-panel [data-a11y-scheme="black"],
html.a11y.a11y-scheme-blue .a11y-panel [data-a11y-scheme="blue"],
html.a11y.a11y-images-on .a11y-panel .a11y-images-toggle {
  color: var(--a11y-bg) !important;
  background: var(--a11y-fg) !important;
}

html.a11y.a11y-images-off .a11y-panel .a11y-images-toggle {
  color: var(--a11y-fg) !important;
  background: var(--a11y-bg) !important;
}

.a11y-font-options button:nth-child(1) { font-size: 16px !important; }
.a11y-font-options button:nth-child(2) { font-size: 20px !important; }
.a11y-font-options button:nth-child(3) { font-size: 24px !important; }

.a11y-scheme-options button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.a11y-swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
}

html.a11y .a11y-swatch-white { background: #FFFFFF !important; }
html.a11y .a11y-swatch-black { background: #000000 !important; }
html.a11y .a11y-swatch-blue { background: #9DD1FF !important; }

html.a11y .site-header {
  position: relative;
  top: auto;
  color: var(--a11y-fg);
  background: var(--a11y-bg) !important;
  border-bottom: 2px solid var(--a11y-fg);
}

html.a11y .header-inner,
html.a11y .site-header.is-scrolled .header-inner,
html.a11y .site-header.is-menu-open .header-inner {
  height: auto;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

html.a11y .main-nav {
  position: absolute;
  top: 100%;
  max-height: calc(100vh - var(--a11y-panel-height, 280px) - 72px);
  overflow-y: auto;
  color: var(--a11y-fg);
  background: var(--a11y-bg) !important;
  border: 2px solid var(--a11y-fg);
}

html.a11y .brand-mark,
html.a11y .menu-toggle,
html.a11y .a11y-toggle {
  color: var(--a11y-fg);
  background: var(--a11y-bg) !important;
  border: 2px solid var(--a11y-fg);
}

html.a11y .menu-toggle span {
  background: var(--a11y-fg) !important;
}

html.a11y .brand-mark svg,
html.a11y :where(.card-icon, .expert-icon, .contact-line, .law-note, .mobile-call, .form-success) svg {
  stroke: var(--a11y-fg) !important;
}

html.a11y svg :where(path, circle, line, polyline, polygon, rect) {
  stroke: var(--a11y-fg) !important;
}

html.a11y .price-table tbody td::before {
  color: var(--a11y-fg) !important;
}

html.a11y .accordion-trigger i::before,
html.a11y .accordion-trigger i::after {
  background: var(--a11y-fg) !important;
}

html.a11y .map-blocks {
  fill: var(--a11y-bg) !important;
}

html.a11y .map-pin {
  fill: var(--a11y-fg) !important;
}

html.a11y .map-pin circle {
  fill: var(--a11y-bg) !important;
}

html.a11y body :where(.hero, .section, .section-light, .section-navy, .request-section, .request-shell, .policy-hero, .site-footer, .mobile-actions) {
  color: var(--a11y-fg) !important;
  background: var(--a11y-bg) !important;
}

html.a11y body :where(.feature-card, .service-card, .audience-card, .expert-card, .price-table-wrap, .price-note, .law-note, .accordion-item, .request-shell, .lead-form, .company-requisites, .policy-aside, .trust-grid, .map-blueprint, .map-address, .report-sheet, .form-success) {
  color: var(--a11y-fg) !important;
  background: var(--a11y-bg) !important;
  border: 2px solid var(--a11y-fg) !important;
  border-radius: 0 !important;
}

html.a11y body :where(.button, button:not(.menu-toggle):not(.accordion-trigger), input, textarea, .custom-checkbox, .step-number, .mobile-actions a) {
  min-height: 44px;
  color: var(--a11y-fg) !important;
  background: var(--a11y-bg) !important;
  border: 2px solid var(--a11y-fg) !important;
  border-radius: 0 !important;
}

html.a11y :where(input, textarea)::placeholder {
  color: var(--a11y-fg) !important;
  opacity: 1;
}

html.a11y .custom-checkbox svg,
html.a11y .consent input:checked + .custom-checkbox svg {
  stroke: var(--a11y-fg) !important;
}

html.a11y .consent input:checked + .custom-checkbox {
  background: var(--a11y-bg) !important;
  border-width: 5px !important;
}

html.a11y .company-requisites summary > span {
  border: 2px solid var(--a11y-fg);
}

html.a11y .company-requisites summary > span::before,
html.a11y .company-requisites summary > span::after {
  background: var(--a11y-fg) !important;
}

html.a11y :where(.feature-card, .service-card, .audience-card, .expert-card, .step-card, .trust-item, .contact-line, .accordion-item, .policy-text article, .company-requisites dt, .company-requisites dd, .footer-main, .footer-bottom, .contact-addresses > div + div) {
  border-color: var(--a11y-fg) !important;
}

html.a11y .hero {
  min-height: 0;
  padding-top: 64px;
  padding-bottom: 64px;
}

html.a11y .policy-hero {
  padding-top: 64px;
}

html.a11y .hero-visual,
html.a11y .hero::before,
html.a11y .hero::after,
html.a11y .hero-scroll,
html.a11y .eyebrow > span,
html.a11y .frame-corner,
html.a11y .audience-number,
html.a11y .audience-card h3::before,
html.a11y .request-shell::after,
html.a11y .audience-section::before,
html.a11y .report-visual::before,
html.a11y .report-sheet-back,
html.a11y .steps-list::before,
html.a11y .steps-list::after,
html.a11y .main-nav a::after {
  display: none !important;
}

html.a11y .js-ready .reveal,
html.a11y.js-ready .reveal {
  opacity: 1 !important;
  transform: none !important;
}

html.a11y.a11y-images-off img,
html.a11y.a11y-images-off .report-visual,
html.a11y.a11y-images-off .map-blueprint {
  display: none !important;
}

html.a11y.a11y-images-off .contacts-grid,
html.a11y.a11y-images-off .result-grid {
  grid-template-columns: 1fr;
}

html.a11y .mobile-actions {
  position: static;
  grid-template-columns: 1fr;
}

html.a11y .has-mobile-actions .site-footer {
  padding-bottom: 0;
}

@media (min-width: 1160px) {
  .a11y-toggle-mobile {
    display: none;
  }

  .a11y-toggle-desktop {
    display: inline-flex;
  }

  html.a11y .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    border: 0;
  }
}

@media (min-width: 1160px) and (max-width: 1279px) {
  .main-nav {
    gap: 14px;
  }

  .header-contact {
    gap: 10px;
  }

  .a11y-toggle-desktop {
    max-width: 152px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 11px;
  }
}

@media (max-width: 639px) {
  .a11y-panel-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .a11y-panel-title,
  .a11y-control {
    grid-column: 1 / -1;
  }

  .a11y-panel-title {
    font-size: 17px !important;
  }

  .a11y-options {
    width: 100%;
  }

  .a11y-font-options button,
  .a11y-scheme-options button {
    flex: 1 1 0;
  }

  .a11y-scheme-options button {
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 13px !important;
  }

  .a11y-images-toggle,
  .a11y-reset {
    width: 100%;
  }

  html.a11y h1 {
    font-size: 2rem !important;
  }

  html.a11y h2 {
    font-size: 1.6rem !important;
  }
}
