/* ==========================================================================
   ПЛ Консалтинг — фирменная тема Ghost
   Палитра и типографика по брендбуку PL Consulting (версия 2026)
   ========================================================================== */

/* ---------- Шрифты ---------- */
/* Gros Ventre — автор Дмитрий Антонов (Dimitri Antonov, Blue Curve Designstudio), лицензия CC BY 4.0;
   полный текст атрибуции — assets/fonts/LICENSE.txt. Onest — SIL Open Font License 1.1. */
@font-face {
  font-family: "Gros Ventre";
  src: url("../fonts/GrosVentre-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Токены ---------- */
:root {
  --red: #ce1729;
  --red-mid: #ac1324;
  --red-dark: #8c0f1f;
  --red-50: #e78b95;
  --red-25: #f2c5c9;
  --ink: #181717;
  --ink-soft: #232121;
  --bg: #f4f3f3;
  --white: #ffffff;
  --gray: #8b8b8b;
  --gray-50: #c5c5c5;
  --gray-25: #e2e2e2;
  --grad-red: linear-gradient(120deg, #ce1729 0%, #ac1324 55%, #8c0f1f 100%);
  --grad-dark: linear-gradient(120deg, #181717 0%, #6e1720 60%, #ce1729 100%);
  --font-display: "Gros Ventre", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --radius: 4px;
  --shadow: 0 10px 40px rgba(24, 23, 23, 0.08);
  --header-h: 72px;
}

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--red);
  text-decoration: none;
}
a:hover {
  color: var(--red-dark);
}
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}
h1, .h-display {
  font-family: var(--font-display);
}
h2, h3, h4 {
  font-family: var(--font-body);
}
p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.section-kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--red);
  transform: skewX(-16deg);
}
.section-sub {
  color: #4d4b4b;
  font-size: 18px;
  margin: 0;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  right: -14px;
  width: 28px;
  height: 100%;
  background: var(--red-dark);
  transform: skewX(-16deg);
  transition: right 0.2s ease;
}
.btn-primary:hover {
  background: var(--red-mid);
  color: var(--white);
}
.btn-primary:hover::after {
  right: -8px;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--gray-25);
}
.btn-outline:hover {
  box-shadow: inset 0 0 0 2px var(--red);
  color: var(--red);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  box-shadow: inset 0 0 0 2px var(--white);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--red);
}
.btn-white:hover {
  background: var(--bg);
  color: var(--red-dark);
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-25);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo img {
  height: 40px;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.header-nav a:hover {
  color: var(--red);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta .btn {
  padding: 12px 22px;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 100px;
  max-width: 640px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  justify-content: start;
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat b i {
  font-style: normal;
  color: var(--red);
}
.hero-stat span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  display: block;
  max-width: 150px;
}
/* Геометрия из брендбука: параллелограммы с градиентом */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-geo i {
  position: absolute;
  display: block;
}
.hero-geo .g1 {
  top: -20%;
  right: -6%;
  width: 46%;
  height: 90%;
  background: linear-gradient(160deg, #ce1729 0%, #8c0f1f 90%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 62%);
}
.hero-geo .g2 {
  bottom: -12%;
  right: 4%;
  width: 26%;
  height: 46%;
  background: linear-gradient(200deg, #ac1324 0%, #6e1720 100%);
  clip-path: polygon(24% 0, 100% 22%, 76% 100%, 0 78%);
  opacity: 0.85;
}
.hero-geo .g3 {
  top: 18%;
  right: 40%;
  width: 90px;
  height: 90px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.55;
}

/* ---------- Почему мы ---------- */
.why {
  background: var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.why-card .mark {
  width: 22px;
  height: 22px;
  background: var(--red);
  transform: skewX(-16deg);
  margin-bottom: 22px;
}
.why-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.why-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
/* Стандарты на /methodology/: без годов изданий (решение бизнеса 06.11.2026) — название стандарта крупно, как раньше год */
.why-grid-standards .why-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 15px;
  color: #4d4b4b;
  margin: 0;
}

/* ---------- Области применения ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
.area-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-4px);
}
}
.area-card .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--red-25);
  line-height: 1;
  display: block;
  margin-bottom: 40px;
  transition: color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
.area-card:hover .num {
  color: var(--red);
}
}
.area-card h2,
.area-card h3,
.area-card .card-h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}
.area-card p {
  font-size: 14.5px;
  color: var(--gray);
  margin: 0;
  transition: color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
.area-card:hover h3,
.area-card:hover .card-h3 {
  color: var(--white);
}
}
@media (hover: hover) and (pointer: fine) {
.area-card:hover p {
  color: var(--gray-50);
}
}
.area-card.area-cta {
  background: var(--grad-red);
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}
.area-card.area-cta h3 {
  color: var(--white);
  font-size: 20px;
}
.area-card.area-cta p {
  color: rgba(255, 255, 255, 0.85);
}
.area-card.area-cta .btn {
  margin-top: 24px;
  align-self: flex-start;
}

/* ---------- Отчёты ---------- */
.reports {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.reports::before {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 560px;
  height: 640px;
  background: url("../images/pattern-1.svg") no-repeat center / contain;
  opacity: 0.1;
  pointer-events: none;
}
.reports .section-sub {
  color: rgba(255, 255, 255, 0.7);
}
.reports-group-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-50);
  margin: 28px 0 16px;
}
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}
.report-card {
  background: var(--ink-soft);
  border: 1px solid #2e2b2b;
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
.report-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
}
.report-card h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 6px;
}
.report-card .tag {
  font-size: 12.5px;
  color: var(--red-50);
  font-weight: 500;
  margin-bottom: 14px;
}
.report-card p {
  font-size: 14.5px;
  color: var(--gray-50);
  margin: 0;
  flex: 1;
}
.reports-cta {
  margin-top: 44px;
  position: relative;
  z-index: 2;
}

/* ---------- Красная лента CTA ---------- */
.band {
  background: var(--grad-red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -4%;
  width: 30%;
  height: 160%;
  background: rgba(255, 255, 255, 0.06);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
}
.band .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 64px;
  flex-wrap: wrap;
}
.band h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 10px;
}
.band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

/* ---------- Новости ---------- */
.news {
  background: var(--bg);
}
.news .section-head,
.section-head.news-like {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
  flex-wrap: wrap;
}
.news-all {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
.post-card:hover {
  transform: translateY(-4px);
}
}
.post-card-image {
  aspect-ratio: 16 / 9;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  display: block;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card-image .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-image .ph img {
  width: 64px;
  height: auto;
  opacity: 0.9;
}
.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-meta {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 10px;
}
.post-card h2,
.post-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.post-card h2 a,
.post-card h3 a {
  color: var(--ink);
}
.post-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--red);
}
.post-card p {
  font-size: 14.5px;
  color: #4d4b4b;
  margin: 0;
  flex: 1;
}
.news-empty {
  background: var(--white);
  border: 1px dashed var(--gray-50);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: var(--gray);
  grid-column: 1 / -1;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
}
.faq-item {
  border-bottom: 1px solid var(--gray-25);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: var(--red);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}
.faq-item .faq-body {
  padding: 0 40px 22px 0;
  color: #4d4b4b;
  font-size: 16px;
}
.faq-item .faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Контакты ---------- */
.contact {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 440px;
  background: url("../images/symbol.svg") no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}
.contact .container {
  position: relative;
  z-index: 2;
}
.contact .section-sub {
  color: rgba(255, 255, 255, 0.7);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-ways {
  display: grid;
  gap: 14px;
}
.contact-way {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink-soft);
  border: 1px solid #2e2b2b;
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--white);
  font-weight: 500;
  transition: border-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
.contact-way:hover {
  border-color: var(--red);
  color: var(--white);
}
}
.contact-way .ico {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: var(--red);
  transform: skewX(-16deg);
}
.contact-way small {
  display: block;
  font-weight: 400;
  color: var(--gray-50);
  font-size: 13px;
}
.contact-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--gray);
}
.contact-note a {
  color: var(--gray-50);
  text-decoration: underline;
}

/* Форма заявки */
.lead-form {
  display: grid;
  gap: 16px;
}
.lead-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
.lead-row {
  display: grid;
  gap: 16px;
}
.lead-row-2 {
  grid-template-columns: 1fr 1fr;
}
.lead-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-50);
}
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: var(--ink-soft);
  border: 1px solid #2e2b2b;
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 16px;
  transition: border-color 0.2s ease;
}
.lead-form textarea {
  resize: vertical;
  min-height: 96px;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.lead-form ::placeholder {
  color: #5d5a5a;
}
.lead-consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: var(--gray) !important;
  cursor: pointer;
}
.lead-consent input {
  margin-top: 2px;
  accent-color: var(--red);
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.lead-consent a {
  color: var(--gray-50);
  text-decoration: underline;
}
.lead-form .btn {
  justify-self: start;
}
.lead-status {
  margin: 0;
  font-size: 14.5px;
  min-height: 22px;
}
.lead-status.is-ok {
  color: #7ed321;
}
.lead-status.is-err {
  color: var(--red-50);
}
@media (max-width: 560px) {
  .lead-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Футер ---------- */
.site-footer {
  background: #100f0f;
  color: var(--gray-50);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-top img {
  height: 36px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gray-50);
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-legal {
  border-top: 1px solid #2e2b2b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gray);
  font-size: 13px;
}
.footer-legal a {
  color: var(--gray);
  text-decoration: underline;
}

/* ---------- Страницы контента (новости, статьи) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
}
.page-hero .hero-geo .g1 {
  top: -40%;
  height: 130%;
  opacity: 0.9;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  margin: 0 0 12px;
  max-width: 800px;
}
.page-hero .meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}
.page-hero .meta a {
  color: var(--red-50);
}
.post-feed {
  padding: 72px 0 96px;
  background: var(--bg);
}
.post-feed .news-grid {
  margin-bottom: 48px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
}

.article {
  padding: 64px 0 96px;
}
.article-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}
.article-feature {
  max-width: 980px;
  margin: -120px auto 48px;
  position: relative;
  z-index: 3;
  padding: 0 24px;
}
.article-feature img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-content h2 {
  font-size: 28px;
  margin-top: 1.6em;
}
.article-content h3 {
  font-size: 22px;
  margin-top: 1.4em;
}
.article-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--red);
  color: #4d4b4b;
  font-style: italic;
}
.article-content hr {
  border: 0;
  border-top: 1px solid var(--gray-25);
  margin: 2.4em 0;
}
.article-content figcaption {
  font-size: 13.5px;
  color: var(--gray);
  text-align: center;
  margin-top: 8px;
}
.article-content .kg-image,
.article-content img {
  border-radius: var(--radius);
}
.article-content .kg-width-wide {
  position: relative;
  width: min(1100px, 92vw);
  margin-left: calc(50% - min(550px, 46vw));
}
.article-content .kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.article-content .kg-width-full img,
.article-content .kg-width-wide img {
  width: 100%;
}
.article-content pre {
  background: var(--ink);
  color: var(--bg);
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14.5px;
}
.article-content .kg-callout-card {
  display: flex;
  gap: 12px;
  background: var(--bg);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.4em 0;
}
.article-content .kg-button-card {
  display: flex;
  justify-content: center;
  margin: 1.6em 0;
}
.article-content .kg-btn,
.article-content .kg-button-card a {
  background: var(--red);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
}
.article-content .kg-bookmark-container {
  display: flex;
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
.article-tags {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.article-tags a {
  font-size: 13px;
  font-weight: 600;
  background: var(--bg);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
}
.article-tags a:hover {
  background: var(--red-25);
  color: var(--red-dark);
}

/* ---------- Элементы контентных страниц ---------- */
.page-hero .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 640px;
  margin: 0 0 28px;
}
.page-hero .hero-actions {
  margin-bottom: 0;
}
.page-hero .hero-stats {
  margin-top: 40px;
}

/* Шаги процесса */
.steps {
  display: grid;
  gap: 0;
  max-width: 860px;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-25);
}
.step .step-num {
  flex: 0 0 52px;
  height: 52px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: skewX(-8deg);
}
.step h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: #4d4b4b;
  font-size: 15.5px;
}

/* Карточки-пакеты */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--gray-25);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.package-card .pk {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.package-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.package-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.package-card li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: #4d4b4b;
}
.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--red);
  transform: skewX(-16deg);
}

/* Аккордеон профилей */
.profile-item .faq-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-right: 0;
}
.profile-item h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.profile-item ul {
  margin: 0;
  padding-left: 18px;
}
.profile-item li {
  margin-bottom: 4px;
  font-size: 15px;
}
.profile-item summary small {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--gray);
  margin-top: 2px;
}
@media (max-width: 700px) {
  .profile-item .faq-body {
    grid-template-columns: 1fr;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
}

/* Таблица в контенте */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 1.4em 0;
}
.article-content th,
.article-content td {
  border: 1px solid var(--gray-25);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.article-content th {
  background: var(--bg);
  font-weight: 600;
}

/* ---------- Ошибка ---------- */
.error-section {
  padding: 120px 0;
  text-align: center;
}
.error-section h1 {
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--red);
  margin: 0;
  line-height: 1;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .why-grid,
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    grid-template-columns: repeat(2, auto);
    gap: 28px 48px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* Шапка: до 1100 px — бургер (восемь пунктов с группой «О компании» и кнопка на 1024 px не помещаются, 06.11.2026) */
@media (max-width: 1100px) {
  .header-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--white);
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .header-nav a {
    font-size: 20px;
    padding: 10px 0;
  }
  body.nav-open .header-nav {
    transform: translateX(0);
  }
  body.nav-open {
    overflow: hidden;
  }
  .nav-toggle {
    display: block;
  }
  .header-cta .btn {
    display: none;
  }
}
@media (max-width: 860px) {
  .section {
    padding: 64px 0;
  }
  .hero-inner {
    padding: 80px 0 64px;
  }
  .hero-geo .g1 {
    opacity: 0.35;
  }
  .hero-geo .g2,
  .hero-geo .g3 {
    display: none;
  }
  .article-feature {
    margin-top: -48px;
  }
}
@media (max-width: 560px) {
  .why-grid,
  .areas-grid,
  .reports-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .band .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Дополнения JTBD-структуры (задачи/услуги) ---------- */

/* Модификаторы плотности сеток — вместо инлайн-стилей, схлопываются на мобильных */
.grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 1024px) {
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr !important; }
}

/* Слоган над заголовком hero */
.hero-kicker {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-50);
  margin-bottom: 20px;
}

/* Карточка-ссылка задачи (a.area-card) */
a.area-card {
  display: block;
  color: inherit;
}

/* Чипы продуктов и услуг */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips span {
  font-size: 13.5px;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--gray-25);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
}
.section.why .chips span {
  background: var(--white);
}
.chips.chips-dark span {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--bg);
}
.reports-cta {
  margin-top: 40px;
}

/* ==========================================================================
   Правки по итогам обсуждения главной (октябрь 2026)
   ========================================================================== */

/* ---------- Шапка: 8 пунктов (с группой «О компании») + кнопка; до 1100 px — бургер ---------- */
.header-nav {
  gap: 22px;
}
.header-nav a {
  font-size: 14.5px;
  white-space: nowrap;
}
.header-nav a.is-current {
  color: var(--red);
}

/* ---------- Цепочка работ ---------- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
}
/* шеврон-связка между шагами (как стрелка процесса) */
.flow-step:not(.flow-branch):not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -15px;
  width: 10px;
  height: 18px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 30% 50%);
  z-index: 2;
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  transform: skewX(-8deg);
}
.flow-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.flow-step h3 a {
  color: var(--ink);
}
.flow-step h3 a:hover {
  color: var(--red);
}
.flow-step p {
  margin: 0;
  font-size: 14.5px;
  color: #4d4b4b;
}
.flow-branch {
  background: var(--grad-red);
  color: var(--white);
}
.flow-branch .flow-num {
  background: var(--white);
  color: var(--red);
}
.flow-branch h3 a,
.flow-branch h3 a:hover {
  color: var(--white);
}
.flow-branch p {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 1024px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-step::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    padding: 20px;
  }
  .flow-num {
    grid-row: span 2;
    margin: 0;
  }
}

/* ---------- Карточки задач: два раздельных действия ---------- */
.task-card {
  display: flex;
  flex-direction: column;
}
.task-card p {
  flex: 1;
}
.task-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.task-card-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}
.task-more {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
.area-card.task-card:hover .btn-outline {
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
}
@media (hover: hover) and (pointer: fine) {
.area-card.task-card:hover .btn-outline:hover {
  box-shadow: inset 0 0 0 2px var(--white);
}
}
@media (hover: hover) and (pointer: fine) {
.area-card.task-card:hover .task-more {
  color: var(--red-50);
}
}

/* ---------- Логотип ПроЛидерство ---------- */
.prolid-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 24px;
}
.prolid-logo svg {
  width: 40px;
  height: auto;
  flex: 0 0 40px;
}
.prolid-logo-light {
  color: var(--white);
}

/* ---------- Блок инструмента + цифры ---------- */
.tool {
  padding-bottom: 0;
}
.tool-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.tool .hero-actions {
  margin: 32px 0 0;
}
.tool-covers {
  position: relative;
  display: block;
  height: 380px;
}
.tool-covers img {
  position: absolute;
  top: 0;
  width: 46%;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.tool-covers img:nth-child(1) { left: 0; top: 40px; transform: rotate(-6deg); }
.tool-covers img:nth-child(2) { left: 27%; z-index: 2; }
.tool-covers img:nth-child(3) { left: 54%; top: 40px; transform: rotate(6deg); }
@media (hover: hover) and (pointer: fine) {
.tool-covers:hover img:nth-child(1) { transform: rotate(-9deg) translateX(-10px); }
}
@media (hover: hover) and (pointer: fine) {
.tool-covers:hover img:nth-child(3) { transform: rotate(9deg) translateX(10px); }
}
@media (max-width: 860px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .tool-covers {
    height: 300px;
    max-width: 440px;
  }
}

.facts {
  position: relative;
  z-index: 2;
  display: flex;
  overflow: hidden;
  margin-top: 80px;
  border-top: 1px solid #2e2b2b;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.facts-track {
  display: flex;
  flex: 0 0 auto;
  gap: 56px;
  margin: 0;
  padding: 32px 28px;
  list-style: none;
  animation: facts-scroll 48s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
.facts:hover .facts-track {
  animation-play-state: paused;
}
}
.facts-track li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.facts-track b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
}
.facts-track span {
  font-size: 14px;
  color: var(--gray-50);
}
@keyframes facts-scroll {
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .facts {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .facts-track {
    animation: none;
    flex-wrap: wrap;
    gap: 20px 40px;
  }
  .facts-track[aria-hidden] {
    display: none;
  }
}

/* ---------- Сертификация на главной ---------- */
.cert-block {
  background: var(--grad-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cert-block .section-kicker {
  color: var(--red-50);
}
.cert-block .section-kicker::before {
  background: var(--red-50);
}
.cert-block .section-sub {
  color: rgba(255, 255, 255, 0.8);
}
.cert-block .hero-actions {
  margin: 32px 0 0;
}
.cert-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.cert-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.cert-facts li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.cert-facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.cert-facts span {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 860px) {
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Участникам / Партнёрам ---------- */
.audience {
  background: var(--bg);
  padding: 0 0 96px;
}
.audience .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.audience-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-25);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
.audience-card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: var(--red);
}
}
.audience-card .section-kicker {
  margin-bottom: 12px;
  font-size: 12.5px;
}
.audience-card .card-h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.audience-card p {
  color: #4d4b4b;
  font-size: 15px;
  margin-bottom: 16px;
}
@media (max-width: 860px) {
  .audience .container {
    grid-template-columns: 1fr;
  }
  .audience {
    padding-bottom: 64px;
  }
}

/* ---------- Модальная форма ---------- */
.lead-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border: 0;
  border-radius: var(--radius);
  padding: 40px 36px 32px;
  background: var(--ink);
  color: var(--white);
}
.lead-modal::backdrop {
  background: rgba(24, 23, 23, 0.72);
}
.lead-modal h2 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0 32px 10px 0;
}
.lead-modal-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  margin-bottom: 24px;
}
.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--gray-50);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lead-modal-close:hover {
  color: var(--white);
}
.lead-task {
  margin: 0;
  font-size: 14px;
  color: var(--gray-50);
  background: var(--ink-soft);
  border-left: 3px solid var(--red);
  padding: 10px 14px;
}
.lead-task b {
  color: var(--white);
  font-weight: 600;
}
@media (max-width: 560px) {
  .lead-modal {
    padding: 32px 20px 24px;
  }
}

/* ---------- Предложение примера отчёта ---------- */
.lead-nudge {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: min(340px, calc(100vw - 32px));
  background: var(--white);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 22px;
  animation: nudge-in 0.35s ease;
}
.lead-nudge[hidden] {
  display: none;
}
.lead-nudge-kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.lead-nudge p {
  font-size: 15px;
  margin-bottom: 16px;
}
.lead-nudge .btn {
  padding: 12px 22px;
  font-size: 14px;
}
.lead-nudge-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 24px;
  color: var(--gray);
  cursor: pointer;
}
@keyframes nudge-in {
  from { transform: translateY(16px); opacity: 0; }
}
@media (max-width: 560px) {
  .lead-nudge {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- Футер ---------- */
.footer-brand {
  max-width: 280px;
}
.footer-mission {
  margin: 16px 0 0;
  color: var(--gray);
  font-size: 13.5px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 32px;
}
.footer-contacts {
  display: grid;
  gap: 8px;
}
.footer-contacts a {
  color: var(--white);
}
.footer-contacts a:hover {
  color: var(--red-50);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--gray-50);
}

/* ---------- Страница ПроЛидерство ---------- */
.page-hero .prolid-logo {
  font-size: 22px;
  margin-bottom: 28px;
}
.page-hero .prolid-logo svg {
  width: 34px;
  flex-basis: 34px;
}
/* шкалы — цветами из брендбука продукта */
.scale-card {
  border-top: 4px solid var(--scale);
}
.scale-card .mark {
  background: var(--scale);
}
.spheres {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sphere {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}
.sphere h3 {
  margin: 0;
  padding: 16px 24px;
  background: var(--sphere);
  color: var(--white);
  font-size: 17px;
}
.sphere ul {
  list-style: none;
  margin: 0;
  padding: 20px 24px 24px;
  columns: 2;
  column-gap: 24px;
}
.sphere li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14.5px;
  break-inside: avoid;
}
.sphere li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--sphere);
  transform: skewX(-16deg);
}
@media (max-width: 860px) {
  .spheres {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .sphere ul {
    columns: 1;
  }
}
.report-cover {
  display: block;
  width: 100%;
  aspect-ratio: 989 / 1400;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 22px;
}
.report-get {
  margin-top: 18px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--red-50);
}
@media (hover: hover) and (pointer: fine) {
.report-get:hover {
  color: var(--white);
}
}
.reports-note {
  margin-top: 32px !important;
  position: relative;
  z-index: 2;
}
.trust {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.trust .hero-actions {
  margin: 28px 0 0;
}
.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.trust-stats div {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.trust-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 8px;
}
.trust-stats span {
  font-size: 14px;
  color: #4d4b4b;
}
@media (max-width: 860px) {
  .trust {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Цепочка на странице услуг — с блоком «Получаете» */
.flow-get {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--gray-25);
  color: var(--ink) !important;
}
.flow-get b {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.flow-branch .flow-get {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white) !important;
}
.flow-branch .flow-get b {
  color: var(--red-25);
}
@media (max-width: 560px) {
  .flow-step p {
    grid-column: 2;
  }
}

/* Реквизиты на странице «О компании» */
.requisites {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 860px;
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 32px;
}
.requisites dt,
.requisites dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-25);
}
.requisites dt {
  color: var(--gray);
  font-size: 14.5px;
}
.requisites dt:last-of-type,
.requisites dd:last-of-type {
  border-bottom: 0;
}
@media (max-width: 560px) {
  .requisites {
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }
  .requisites dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/* Hero главной: заголовок в 2–3 строки */
.hero-inner {
  max-width: 780px;
}
#why .why-card b {
  font-size: 24px;
}
.footer-nav {
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
}
.report-examples .report-card {
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}
.report-examples .report-cover {
  flex: 0 0 104px;
  width: 104px;
  margin: 0;
}
.report-body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.report-body p {
  flex: 1;
}
@media (max-width: 1200px) and (min-width: 561px) {
  .report-examples {
    grid-template-columns: 1fr 1fr;
  }
}
/* спрятанное за край мобильное меню не должно давать горизонтальный скролл
   (clip, а не hidden — чтобы не сломать sticky-шапку) */
html,
body {
  overflow-x: clip;
}
/* backdrop-filter шапки делает её containing block для fixed-меню —
   bottom: 0 считался от шапки, поэтому высоту задаём явно */
@media (max-width: 1100px) {
  .header-nav {
    bottom: auto;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
  }
}
.header-nav .nav-cta {
  display: none;
}
@media (max-width: 1100px) {
  .header-nav a.nav-cta {
    display: inline-flex;
    margin-top: 16px;
    padding: 16px 30px;
    font-size: 16px;
    color: var(--white);
  }
}

/* ==========================================================================
   Комментарии бизнеса (docs/комменатрии_к_сайту.docx, октябрь 2026)
   ========================================================================== */

/* ---------- Меню «Задачи»: выпадающий список задач с кнопкой «Обсудить» ---------- */
.nav-item-sub {
  position: relative;
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: -16px;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 50;
}
/* наведение — только там, где оно есть; фокус с клавиатуры раскрывает список на любом устройстве */
@media (hover: hover) and (pointer: fine) {
.nav-item-sub:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
}
.nav-item-sub:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav-sub-box {
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
}
.nav-sub-box-narrow {
  min-width: 200px; /* группа «О компании»: три коротких пункта */
}
.nav-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: var(--radius);
}
@media (hover: hover) and (pointer: fine) {
.nav-sub-item:hover {
  background: var(--bg);
}
}
.header-nav .nav-sub-item a {
  white-space: normal;
  font-size: 14.5px;
  padding: 0;
}
.header-nav .nav-sub-all {
  display: block;
  padding: 10px 12px 6px;
  font-size: 13.5px;
  color: var(--gray);
}
@media (max-width: 1100px) {
  .nav-item-sub {
    width: 100%;
  }
  .nav-sub {
    position: static;
    padding: 0 0 8px 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-sub-box {
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav-sub-item {
    padding: 6px 0;
  }
  .header-nav .nav-sub-item a {
    font-size: 16px;
  }
  .header-nav .nav-sub-all {
    padding-left: 0;
  }
}

/* ---------- «Услуги»: оглавление направлений и свёрнутые подробности (решение бизнеса по P3-04, 06.11.2026) ---------- */
.svc-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.svc-toc a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
}
.svc-toc-num {
  flex: 0 0 auto;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
.svc-toc a:hover {
  border-color: var(--red);
}
}
@media (max-width: 700px) {
  .svc-toc {
    grid-template-columns: 1fr;
  }
  .svc-toc a {
    padding: 14px 16px;
  }
}
.svc-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-weight: 600;
  color: var(--red);
}
.svc-more summary::-webkit-details-marker {
  display: none;
}
.svc-more summary::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--red);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transition: transform 0.2s ease;
}
.svc-more[open] summary::after {
  transform: rotate(180deg);
}
.svc-more[open] summary {
  margin-bottom: 20px;
}

/* ---------- Кнопки под блоком: несколько в ряд ---------- */
.reports-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Партнёры (страница «Партнёрам») ---------- */
.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.partner-item {
  padding: 14px 22px;
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
}
@media (hover: hover) and (pointer: fine) {
.partner-item:hover {
  border-color: var(--red);
  color: var(--red);
}
}

/* ---------- ПроЛидерство: подменю разделов страницы, шкалы, профили ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-25);
}
.subnav .container {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav .container::-webkit-scrollbar {
  display: none;
}
.subnav a {
  flex: none;
  padding: 16px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.subnav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.trust-cards {
  margin-top: 48px;
}
.scale-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--gray-25);
}
.scale-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 14.5px;
}
.scale-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--scale);
  transform: skewX(-12deg);
}
.spheres-on-bg .sphere {
  background: var(--white);
}
@media (max-width: 860px) {
  .subnav a {
    padding: 13px 12px;
    font-size: 14px;
  }
}
.scale-list li small {
  display: block;
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 2px;
}
.platform-features {
  margin-top: 24px;
}
#scales .why-grid {
  align-items: start;
}
#methodology,
#scales,
#competencies,
#profiles,
#leadership,
#examples,
#platform {
  scroll-margin-top: calc(var(--header-h) + 54px);
}

/* ---------- Главная, задачи: карточка «Не нашли свою задачу?» на две колонки ---------- */
#tasks .area-cta {
  grid-column: span 2;
}
@media (max-width: 560px) {
  #tasks .area-cta {
    grid-column: auto;
  }
}

/* ---------- Первый экран на телефоне: текстовые показатели («Сертификат», «Онлайн / офлайн») ---------- */
@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .hero-stat b {
    font-size: 22px;
  }
}

/* ==========================================================================
   Правки по итогам ревью сайта (Ревизор, октябрь 2026)
   ========================================================================== */

/* ---------- Контраст (WCAG 1.4.3 / 1.4.11) ---------- */
:root {
  --gray-text: #747474;   /* серый текст на белом: 4,67:1 вместо 3,4:1 у #8b8b8b */
  --red-on-dark: #ea4253; /* ярлыки на тёмных секциях: 4,6:1 вместо 3,2:1 у фирменного красного */
}
.area-card:not(.area-cta) p,
.post-card-meta,
.scale-list small,
.scale-list li small,
.faq-item small,
.header-nav .nav-sub-all,
.news-empty,
.requisites dt,
.profile-item summary small {
  color: var(--gray-text);
}
.reports .section-kicker,
.contact .section-kicker {
  color: var(--red-on-dark);
}
.reports .section-kicker::before,
.contact .section-kicker::before {
  background: var(--red-on-dark);
}
/* розовый ярлык группы читается только на тёмном; на светлых секциях — красный */
.section:not(.reports) .reports-group-label {
  color: #d12b3d;
}
/* плашки сфер капитала: на янтарной — тёмный текст (см. --sphere-ink в шаблоне) */
.sphere h3 {
  color: var(--sphere-ink, var(--white));
}
/* поля формы на тёмном: рамка 3,1:1, подсказки 4,5:1, видимый фокус у чекбокса согласия */
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form textarea {
  border-color: #6b6464;
}
.lead-form ::placeholder {
  color: #8b8787;
  opacity: 1;
}
.lead-consent input:focus-visible,
.lead-form .btn:focus-visible,
.lead-form input:focus-visible,
.lead-form textarea:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.lead-row-label {
  margin: 0 0 -8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-50);
}

/* ---------- Текст на телефоне не мельче 16 px ---------- */
@media (max-width: 600px) {
  .why-card p,
  .area-card p,
  .flow-step p,
  .post-card p,
  .post-card-body p,
  .step p,
  .report-card p,
  .package-card li,
  .sphere li,
  .scale-list li,
  .cert-facts span,
  .trust-stats span,
  .audience-card p,
  .faq-item .faq-body,
  .footer-mission,
  .site-footer,
  .lead-consent,
  .footer-legal {
    font-size: 16px;
    line-height: 1.55;
  }
  .lead-consent {
    font-size: 14px !important;
  }
}

/* ---------- Первый экран: кнопка в видимой зоне телефона и ноутбука ---------- */
@media (max-width: 600px) {
  .hero-inner {
    padding: 48px 0 40px;
  }
  .hero-kicker {
    font-size: 12.5px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(28px, 7.6vw, 32px);
    line-height: 1.12;
    margin-bottom: 16px;
    text-wrap: balance;
  }
  .hero-sub {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn {
    white-space: normal;
    text-align: center;
  }
  .hero .hero-actions {
    margin-bottom: 0;
  }
  .page-hero {
    padding: 56px 0 44px;
  }
  .page-hero h1 {
    font-size: clamp(28px, 7.6vw, 34px);
    text-wrap: balance;
  }
  .page-hero .lead {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .page-hero .prolid-logo {
    margin-bottom: 20px;
  }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .hero-inner {
    padding: 64px 0 48px;
  }
  .hero-title {
    font-size: clamp(38px, 4.6vw, 52px);
  }
  .hero-actions {
    margin-bottom: 0;
  }
}
/* красная фигура на телефоне проходила под подзаголовком — приглушаем */
@media (max-width: 768px) {
  .hero-geo .g1 {
    opacity: 0.22;
  }
}
/* ---------- Шапка на телефоне: телефон, бургер с aria, свёрнутые «Задачи», кнопка внизу панели ---------- */
.header-tel {
  display: none;
}
.nav-sub-toggle {
  display: none;
}
@media (max-width: 1100px) {
  .header-tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--ink);
  }
  .header-tel svg {
    width: 22px;
    height: 22px;
  }
  .header-cta {
    gap: 2px;
  }
  /* закрытая панель недоступна для Tab и не даёт сдвига вбок на старых iOS */
  .header-nav {
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overscroll-behavior: contain;
    padding-bottom: 16px;
  }
  body.nav-open .header-nav {
    visibility: visible;
    transition-delay: 0s;
  }
  /* блокировка прокрутки должна стоять на html: у html overflow-x: clip, и overflow на body не работает */
  html:has(body.nav-open) {
    overflow: hidden;
  }
  .nav-item-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-item-sub > a {
    flex: 1;
  }
  .nav-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-sub-toggle::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--red);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    transition: transform 0.2s ease;
  }
  .nav-item-sub.is-open .nav-sub-toggle::before {
    transform: rotate(180deg);
  }
  .header-nav .nav-sub {
    display: none;
    width: 100%;
  }
  .nav-item-sub.is-open .nav-sub {
    display: block;
  }
  .header-nav a.nav-cta {
    position: sticky;
    bottom: 0;
    flex: 0 0 auto;
    margin-top: auto;
    align-self: stretch;
    box-shadow: 0 0 0 12px var(--white);
  }
}
/* Выпадающий список «Задачи» на десктопе: после Esc прячется, пока не уйдёт мышь или фокус */
@media (hover: hover) and (pointer: fine) {
.nav-item-sub.is-dismissed:hover .nav-sub {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
}
}
.nav-item-sub.is-dismissed:focus-within .nav-sub {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
}

/* ---------- Липкая панель с кнопкой заявки (до 600 px) ---------- */
.cta-bar {
  display: none;
}
@media (max-width: 600px) {
  .cta-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--gray-25);
    transition: transform 0.25s ease;
  }
  .cta-bar.is-hidden {
    transform: translateY(110%);
  }
  .cta-bar .btn {
    width: 100%;
    padding: 14px 20px;
  }
  body.nav-open .cta-bar {
    display: none;
  }
  .site-footer {
    padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom));
  }
  html {
    scroll-padding-bottom: 88px;
  }
  /* плашка «Пример отчёта» — узкая полоса над панелью, крестик 44 px */
  .lead-nudge {
    left: 12px;
    right: 12px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 44px 8px 14px;
    border-top-width: 3px;
  }
  .lead-nudge p {
    display: none;
  }
  .lead-nudge-kicker {
    flex: 1;
    margin: 0;
  }
  .lead-nudge .btn {
    padding: 10px 14px;
    font-size: 13.5px;
  }
  .lead-nudge-close {
    top: 50%;
    right: 0;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }
}
.lead-nudge[hidden] {
  display: none !important;
}
@media (max-height: 500px) {
  .lead-nudge {
    display: none !important;
  }
}

/* ---------- Узкие экраны (320 px): ничего не обрезается ---------- */
body {
  overflow-wrap: break-word;
}
.trust > div,
.trust-stats {
  min-width: 0;
}
.trust-stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
}
.article-content a {
  overflow-wrap: anywhere;
}
.article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Бегущая строка: кнопка паузы ---------- */
.facts-wrap {
  position: relative;
}
.facts-wrap.is-paused .facts-track {
  animation-play-state: paused;
}
.facts-pause {
  position: absolute;
  right: 24px;
  bottom: 8px;
  z-index: 3;
  border: 0;
  background: none;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 8px;
}
.facts-pause:hover,
.facts-pause:focus-visible {
  color: var(--white);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .facts-pause {
    display: none;
  }
}

/* ---------- Цифры доверия на страницах задач ---------- */
.trust-strip {
  list-style: none;
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--gray-25);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 14.5px;
  color: #4d4b4b;
}
.trust-strip b {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--red);
  margin-right: 8px;
}
.trust-strip a {
  font-weight: 600;
}

/* ---------- Статья: выход к услуге после текста ---------- */
.article-cta {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 6px;
}
.article-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

/* ==========================================================================
   Перепроверка Ревизора 26.10.2026 (docs/revizor-recheck-20261026.md)
   ========================================================================== */

/* ---------- Доступность: ссылка «К содержанию», системные цвета, печать ---------- */
:root {
  color-scheme: light;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
/* контрастная тема Windows: надпись логотипа на белой подложке, кнопки получают рамку цветом текста (border у .btn) */
@media (forced-colors: active) {
  .header-logo img,
  .footer-brand img {
    background: #fff;
    padding: 4px;
  }
}
@media print {
  .site-header,
  #header-nav,
  .cta-bar,
  .lead-nudge,
  .lead-modal,
  .facts-pause,
  .nav-toggle {
    display: none !important;
  }
  .hero,
  .page-hero,
  .reports,
  .band,
  .cert-block,
  .contact,
  .site-footer {
    background: #fff !important;
    color: #111 !important;
  }
  .hero *,
  .page-hero *,
  .reports *,
  .band *,
  .cert-block *,
  .contact *,
  .site-footer * {
    color: #111 !important;
  }
  .hero-geo {
    display: none !important;
  }
  .btn {
    border: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
  }
  main {
    padding-bottom: 0 !important;
  }
}

/* ---------- Планшет и касания: список «Задачи» открывается кнопкой-стрелкой, а не наведением ---------- */
@media (hover: none) and (min-width: 861px) {
  .nav-item-sub {
    display: inline-flex;
    align-items: center;
  }
  .nav-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-sub-toggle::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--red);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    transition: transform 0.2s ease;
  }
  .nav-item-sub.is-open .nav-sub-toggle::before {
    transform: rotate(180deg);
  }
  .nav-item-sub.is-open .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
}

/* ---------- Красная фигура на телефоне: правило для page-hero перебивало мобильное (P2-42) ---------- */
@media (max-width: 768px) {
  .hero .hero-geo .g1,
  .page-hero .hero-geo .g1 {
    opacity: 0.22;
  }
}

/* ---------- Плашка «Пример отчёта»: запас прокрутки и подвал под плашку с панелью (P2-03, P2-38, N-03) ---------- */
html {
  scroll-padding-bottom: 220px;
}
@media (max-width: 600px) {
  html {
    scroll-padding-bottom: 150px;
  }
  .site-footer {
    padding-bottom: calc(32px + 118px + env(safe-area-inset-bottom));
  }
}

/* ---------- Кнопки: две высоты — 56 основная и 44 компактная (P3-17) ---------- */
.btn {
  min-height: 56px;
  padding: 14px 29px;
}
.header-cta .btn,
.task-card-actions .btn,
.lead-nudge .btn,
.btn-sm {
  min-height: 44px;
  padding: 9px 20px;
}
.cta-bar .btn {
  min-height: 56px;
}

/* ---------- Заголовки: H1 на телефоне крупнее H2 секций (N-02); без одиночных слов в последней строке (P3-22) ---------- */
h2,
h3,
.section-title {
  text-wrap: balance;
}
@media (max-width: 600px) {
  .hero-title,
  .page-hero h1 {
    font-size: clamp(32px, 8.4vw, 36px);
    line-height: 1.1;
  }
  .section-title {
    font-size: 28px;
  }
}

/* ---------- Мелочи цвета и типографики ---------- */
/* подпись «Получаете» в красной ветке цепочки: 4,39:1 → белый 6,3:1 (N-01) */
.flow-branch .flow-get b {
  color: var(--white);
}
/* ссылка рубрики в шапке статьи отличалась от текста только оттенком (P3-26) */
.page-hero .meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* подвал: серый #8b8b8b → #bbbbbb из палитры брендбука, Lc −60 (P3-27) */
.footer-legal,
.footer-legal a,
.footer-mission {
  color: #bbbbbb;
}
/* строка статьи и политики: 760 px давали 75–86 знаков, 680 — около 65–68 (P3-23) */
.article-content,
.article-cta {
  max-width: 680px;
}
/* статья блога и новость: текст шире — 880 px по центру страницы (20.11.2026) */
.article.type-post .article-content,
.article.type-post .article-cta,
.article.type-post .article-tags {
  max-width: 880px;
}
/* логотип в шапке на 861–1180 px: не сжимаем до 34 px, место берём у меню (P3-32) */
.header-logo {
  flex-shrink: 0;
}
/* 1101–1280 px: восемь пунктов и кнопка в одну строку только с минимальными зазорами */
@media (max-width: 1280px) and (min-width: 1101px) {
  .header-logo img {
    height: 32px;
  }
  .site-header .container {
    gap: 12px;
  }
  .header-nav {
    gap: 12px;
  }
  .header-nav a {
    font-size: 12.5px;
  }
  .header-cta .btn {
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* ---------- Попап заявки на низких экранах: кнопка отправки липкая внизу окна (P3-57) ---------- */
.lead-modal .lead-form .btn {
  position: sticky;
  bottom: -32px;
  z-index: 2;
  box-shadow: 0 0 0 10px var(--ink);
}
@media (max-height: 700px) {
  .lead-modal {
    padding: 24px 28px 20px;
    max-height: calc(100vh - 16px);
  }
  .lead-modal h2 {
    font-size: 24px;
    margin-bottom: 6px;
  }
  .lead-modal-text {
    margin-bottom: 14px;
  }
  .lead-modal .lead-form {
    gap: 10px;
  }
  .lead-modal .lead-form textarea {
    min-height: 72px;
  }
  .lead-modal .lead-form .btn {
    bottom: -20px;
  }
}
@media (max-width: 560px) {
  .lead-modal .lead-form .btn {
    bottom: -24px;
  }
}
.why-cta {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .header-nav a.nav-cta {
    min-height: 56px;
    padding: 12px 30px;
  }
}
/* ---------- Заголовки карточек-ссылок — не элементы заголовков (P3-48) ---------- */
.card-h3 {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.audience-card .card-h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

/* ---------- Без JavaScript: меню на телефоне — обычный список под шапкой (P3-55) ---------- */
@media (max-width: 1100px) {
  html.no-js .site-header {
    position: static;
    height: auto;
  }
  html.no-js .site-header .container {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 8px;
  }
  html.no-js .header-nav {
    position: static;
    height: auto;
    width: 100%;
    flex: 1 0 100%;
    order: 3;
    transform: none;
    visibility: visible;
    padding: 8px 0 0;
    gap: 2px;
    border-top: 1px solid var(--gray-25);
    margin-top: 8px;
  }
  html.no-js .header-nav a {
    font-size: 17px;
    padding: 8px 0;
  }
  html.no-js .nav-toggle,
  html.no-js .nav-sub-toggle {
    display: none;
  }
  html.no-js .header-nav .nav-sub {
    display: block;
  }
  html.no-js .header-nav a.nav-cta {
    position: static;
    box-shadow: none;
  }
}

/* ---------- Хлебные крошки над H1 (P3-13) ---------- */
.crumbs {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}
.crumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs a:hover {
  color: var(--white);
}
.crumbs span[aria-hidden] {
  margin: 0 6px;
}
.news-empty-btn {
  margin-top: 16px;
}

/* ---------- Баннер cookie: только при подключённой Метрике (inc/analytics.php) ---------- */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  margin: 0 auto;
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 18px 22px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px rgba(24, 23, 23, 0.08);
}
.cookie-bar[hidden] {
  display: none;
}
.cookie-bar p {
  margin: 0;
  flex: 1 1 380px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cookie-bar a {
  color: var(--red);
  text-decoration: underline;
}
.cookie-bar-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
/* пока баннер открыт, другие плашки у нижнего края не показываем */
body.cookie-open .lead-nudge,
body.cookie-open .cta-bar {
  display: none !important;
}
@media (max-width: 600px) {
  .cookie-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 16px;
  }
  .cookie-bar-actions {
    width: 100%;
  }
  .cookie-bar-actions .btn {
    flex: 1 1 0;
  }
}

/* плашка «Пример отчёта» не закрывает строку подвала (main.js, IntersectionObserver) */
.lead-nudge.is-away {
  visibility: hidden;
  opacity: 0;
}

/* ---------- Покупка отчётов (/buy/, /order/; inc/shop.php) ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shop-card {
  display: block;
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-25);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.shop-card.is-on {
  border-color: var(--red);
}
.shop-card input {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  accent-color: var(--red);
}
.shop-card-body {
  display: grid;
  gap: 10px;
  padding-right: 32px;
}
.shop-card-title {
  font-weight: 600;
  font-size: 18px;
}
.shop-card-desc {
  font-size: 14.5px;
  color: #4d4b4b;
}
.shop-card-price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--red);
}
.shop-card-price small {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
}
.shop-card-profiles {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-top: 4px;
}
.shop-card-profiles-summary {
  font-size: 13.5px;
  color: var(--gray);
}
.shop-card-profiles-summary.is-set {
  color: var(--ink);
  font-weight: 500;
}
.shop-card.is-missing {
  border-color: #e78b95;
}
.shop-card.is-missing .shop-card-profiles-summary {
  color: var(--red);
}
/* Окно выбора профилей для одного отчёта по компетенциям */
.shop-dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border: 0;
  border-radius: var(--radius);
  padding: 32px 32px 24px;
  background: var(--white);
  color: var(--ink);
}
.shop-dialog::backdrop {
  background: rgba(24, 23, 23, 0.6);
}
.shop-dialog h3 {
  margin: 0 36px 6px 0;
  font-size: 24px;
}
.shop-dialog-sub {
  margin: 0 0 16px;
  color: #4d4b4b;
  font-size: 15px;
}
.shop-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--gray);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.shop-dialog-close:hover {
  color: var(--ink);
}
.shop-dialog-foot {
  position: sticky;
  bottom: -24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px -32px -24px;
  padding: 14px 32px;
  background: var(--white);
  border-top: 1px solid var(--gray-25);
  font-size: 14.5px;
  color: var(--gray);
}
.shop-profiles-search {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
}
.shop-profiles-search:focus {
  outline: none;
  border-color: var(--red);
}
.shop-profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shop-profile {
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.shop-profile:hover {
  border-color: var(--gray-50);
}
.shop-profile.is-on {
  border-color: var(--red);
  background: #fff7f8;
}
.shop-profile-main {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.shop-profile-main input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--red);
}
.shop-profile-name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.shop-profile-desc {
  display: block;
  font-size: 13.5px;
  color: #4d4b4b;
  margin-top: 3px;
}
.shop-profile-more {
  margin: 8px 0 0 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.shop-profile-list[hidden] {
  display: none;
}
.shop-profile-list {
  display: block;
  margin: 6px 0 0 28px;
  font-size: 13px;
  color: #4d4b4b;
  line-height: 1.45;
}
.shop-summary {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--ink-soft);
  border-radius: var(--radius);
  font-size: 14.5px;
}
.shop-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.shop-summary .shop-total {
  border-top: 1px solid #2e2b2b;
  padding-top: 8px;
  font-size: 17px;
}
.shop-how h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.shop-how ol {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--gray-50);
  display: grid;
  gap: 8px;
}
.shop-how p {
  color: var(--gray-50);
  font-size: 14.5px;
}
.shop-how a {
  color: var(--white);
  text-decoration: underline;
}
.order-box {
  max-width: 720px;
}
.order-kv {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 16px;
  margin: 0 0 20px;
  font-size: 16px;
}
.order-kv dt {
  color: var(--gray);
}
.order-kv dd {
  margin: 0;
  font-weight: 600;
}
@media (max-width: 1024px) {
  .shop-profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .shop-profiles-grid {
    grid-template-columns: 1fr;
  }
  .shop-dialog {
    padding: 24px 16px 16px;
  }
  .shop-dialog-foot {
    margin: 16px -16px -16px;
    padding: 12px 16px;
    bottom: -16px;
  }
}

/* ---------- Вебинары (inc/webinars.php) ---------- */
.webinar-list {
  display: grid;
  gap: 20px;
  max-width: 860px;
}
.webinar-card {
  background: var(--white);
  border: 1px solid var(--gray-25);
  border-radius: var(--radius);
  padding: 28px;
}
.webinar-card h3 {
  font-size: 22px;
  margin: 8px 0 6px;
}
.webinar-card h3 a {
  color: var(--ink);
}
.webinar-when {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.webinar-speaker {
  color: var(--gray);
  margin: 0 0 10px;
}
.webinar-card .hero-actions {
  margin-top: 16px;
  align-items: center;
}
.webinar-card .muted {
  color: var(--gray);
  font-size: 14px;
}
.webinar-past {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.webinar-past span {
  color: var(--gray);
  margin-right: 12px;
}
.webinar-closed {
  color: var(--gray-50);
  font-size: 17px;
}


/* ---------- Анонс вебинара в первом экране главной (template-parts/webinar-promo.php) ----------
   Есть вебинар с открытой записью — на широком экране карточка справа от заголовка (поверх красной фигуры),
   уже 1200px — белая плашка над заголовком (на 1100–1200 заголовок рядом с карточкой сжимался в 4 строки). Без теней и обводок (брендбук), срез угла — приём фирменной геометрии. */
.hero-event-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.hero-event-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: hero-event-pulse 1.8s ease-out infinite;
}
@keyframes hero-event-pulse {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(3); opacity: 0; }
}

.hero-event {
  display: none;
}
.hero-event-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  margin-bottom: 28px;
  padding: 12px 12px 12px 16px;
  position: relative;
  isolation: isolate;
  color: var(--ink);
}
/* срез угла — на подложке, а не на самой ссылке: clip-path ссылки обрезал рамку фокуса */
.hero-event-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.hero-event-pill:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}
.hero-event-pill-text {
  flex: 1;
  min-width: 0;
}
.hero-event-pill-when {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--gray-text);
}
.hero-event-pill-when b {
  font-weight: 600;
  color: var(--red);
}
.hero-event-pill-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 3px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
}
.hero-event-pill-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}
.hero-event-pill:hover .hero-event-pill-go {
  background: var(--red-mid);
}
.hero-event-pill:hover .hero-event-pill-title {
  color: var(--red);
}
/* на узком телефоне — только стрелка, слово остаётся для скринридера */
@media (max-width: 420px) {
  .hero-event-pill-go {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .hero-event-pill-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 1200px) {
  .hero.has-event .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: center;
  }
  .hero.has-event .hero-event-pill {
    display: none;
  }
  .hero-event {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 30px 26px;
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  }
  .hero-event-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-text);
  }
  .hero-event-date {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
  }
  .hero-event-date b {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 600;
    line-height: 0.8;
    color: var(--red);
  }
  .hero-event-date span {
    font-size: 15px;
    line-height: 1.45;
    color: var(--gray-text);
  }
  .hero-event-date span::first-line {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
  }
  .hero-event-title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
  }
  .hero-event-title a {
    color: var(--ink);
  }
  .hero-event-title a:hover {
    color: var(--red);
  }
  .hero-event-speaker {
    margin: 0 0 24px;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--gray-text);
  }
  .hero-event-speaker b {
    font-weight: 600;
    color: var(--ink);
  }
  .hero-event .btn {
    align-self: stretch;
  }
  .hero-event-left {
    align-self: stretch;
    margin: 12px 0 0;
    font-size: 13.5px;
    text-align: center;
    color: var(--gray-text);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-event-dot::after {
    animation: none;
  }
}
@media print {
  .hero-event-pill,
  .hero-event {
    display: none !important;
  }
}
