  .form-note { margin-top: 14px; font-size: 14px; color: var(--gold); letter-spacing: .01em; }
  .form-note-small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); letter-spacing: 0; text-transform: none; }
  .clients-note { margin: 26px 0 0; font-size: 14px; color: var(--muted); }

:root {
  --bg: #0C1017;
  --surface: #111621;
  --surface-2: #151B28;
  --text: #EAE7E0;
  --muted: #A29D93;
  --faint: #8E8A82;
  --gold: #C9A86A;
  --gold-dim: rgba(201,168,106,.32);
  --gold-faint: rgba(201,168,106,.14);
  --hairline: rgba(234,231,224,.10);
  --hairline-gold: rgba(201,168,106,.22);
  --serif: 'Literata', Georgia, serif;
  --sans: 'Golos Text', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  overflow-x: clip;
  max-width: 100vw;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(201,168,106,.04) 1px, transparent 1px);
  background-size: 36px 36px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

::selection {
  background: var(--gold);
  color: #0C1017;
}

h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
}

@media (max-width: 540px) {
  body {
    max-width: 390px;
    margin: 0;
  }
  .wrap {
    max-width: 390px;
    padding: 0 16px;
    margin: 0;
  }
  .topbar-inner {
    max-width: 390px;
    margin: 0;
  }
}

/* ── Top Bar: v3 <-> v4 ── */
.topbar {
  background: #080B10;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--muted);
  position: relative;
  z-index: 60;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  gap: 16px;
}
.topbar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.badge-v4 {
  background: var(--gold);
  color: #0C1017;
  font-size: 12.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: .06em;
}
.topbar-desc {
  font-size: 14px;
  color: var(--muted);
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 14px;
}
.topbar-link {
  color: var(--text);
  transition: color .2s;
}
.topbar-link:hover {
  color: var(--gold);
}
.topbar-sep {
  color: var(--faint);
}
@media (max-width: 1060px) {
  /* строка описания шире топбара и обрезается краем экрана */
  .topbar-desc {
    display: none;
  }
}
@media (max-width: 768px) {
  .topbar-inner {
    font-size: 12.5px;
    padding: 6px 10px;
    gap: 6px;
    height: auto;
    min-height: 38px;
  }
  .topbar-links {
    font-size: 12.5px;
    gap: 6px;
  }
}
@media (max-width: 540px) {
  .topbar-inner {
    max-width: 375px;
    padding: 6px 8px;
  }
}

/* ── Header (Sticky) ── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,16,23,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
}
.nav-links a {
  transition: color .2s;
  padding: 6px 0;
}
.nav-links a:hover {
  color: var(--gold);
}

/* Header Contact Icons */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline);
  color: var(--text);
  background: var(--surface);
  border-radius: 4px;
  transition: border-color .25s, color .25s, background .25s;
}
.contact-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--surface-2);
}
.contact-icon-btn svg {
  width: 17px;
  height: 17px;
}

.nav-cta {
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 500;
  transition: .25s;
  white-space: nowrap;
  background: transparent;
  border-radius: 2px;
}
.nav-cta:hover {
  background: var(--gold);
  color: #0C1017;
}

/* Burger Button */
.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  cursor: pointer;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: border-color .2s;
}
.burger-btn:hover {
  border-color: var(--gold);
}
.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  transition: transform .25s, opacity .25s;
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }
  /* бургер включается там же, где прячется десктопное меню,
     иначе на 901-1060px навигация недоступна вовсе */
  .burger-btn {
    display: flex;
  }
}
@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }
  .header-contacts .hide-on-mobile {
    display: none;
  }
}

/* ── Mobile Menu Overlay ── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 16, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-close-btn {
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-close-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
  font-size: 19px;
  font-family: var(--serif);
}
.mobile-nav-list a {
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(234,231,224,.05);
  transition: color .2s;
}
.mobile-nav-list a:hover {
  color: var(--gold);
}
.mobile-contacts-box {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.mobile-contacts-title {
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.mobile-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.mobile-contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-size: 14.5px;
  border-radius: 4px;
}
.mobile-contact-card:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.mobile-cta-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 500;
  transition: .25s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  border-radius: 2px;
}
.btn-gold {
  background: var(--gold);
  color: #0C1017;
}
.btn-gold:hover {
  background: #D8BA80;
}
.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 130px 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 40px;
  left: 20%;
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(201,168,106,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .88fr);
  gap: 60px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.kicker {
  font-size: 14px;
  letter-spacing: .24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--gold-dim);
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-dna {
  margin-top: 32px;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  font-size: 20px;
  color: var(--text);
  font-family: var(--serif);
}
.hero-sub {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16.5px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}

.hero-portrait {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-portrait-img-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-portrait-img-wrap img {
  width: 100%;
  display: block;
  filter: saturate(.85) contrast(1.02);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
/* Scrim over bottom of photo */
.hero-portrait-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,16,23,.96) 0%, rgba(12,16,23,.6) 40%, transparent 75%);
  pointer-events: none;
}
.portrait-caption {
  position: absolute;
  left: 0;
  bottom: 24px;
  z-index: 2;
  background: rgba(17,22,33,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  max-width: 320px;
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}
.portrait-caption b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17.5px;
  color: var(--text);
  margin-bottom: 4px;
}
.portrait-caption span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 70px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-portrait {
    min-height: 380px;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .kicker {
    font-size: 12.5px;
    letter-spacing: .12em;
    gap: 6px;
    margin-bottom: 18px;
  }
  .kicker::after {
    display: none;
  }
  .hero h1 {
    font-size: clamp(25px, 6.8vw, 31px);
    line-height: 1.18;
  }
  .hero-dna {
    font-size: 17px;
    padding-left: 16px;
    margin-top: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn {
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}

/* ── Section Ledger Styles ── */
section {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding: 104px 0;
  overflow: hidden;
}
.sec-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(201,168,106,.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.sec-bg-num {
  position: absolute;
  right: 48px;
  top: 16px;
  font-family: var(--serif);
  font-size: 130px;
  line-height: 1;
  color: rgba(201,168,106,.04);
  font-weight: 600;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.sec-num {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sec-num::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold-dim);
  margin-top: 14px;
}
.sec-title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  max-width: 26ch;
}
.sec-lead {
  margin-top: 18px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 16.5px;
}
@media (max-width: 900px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 44px;
  }
  .sec-bg-num {
    font-size: 84px;
    right: 20px;
    top: 24px;
  }
}

/* ── 01. Когда к нам обращаются ── */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  position: relative;
  z-index: 1;
}
.case {
  background: var(--bg);
  padding: 34px 30px;
  transition: background .3s;
  display: flex;
  flex-direction: column;
}
.case:hover {
  background: var(--surface);
}
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.case-icon-box {
  width: 32px;
  height: 32px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-icon-box svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
}
.case-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--faint);
  letter-spacing: .15em;
  font-weight: 500;
}
.case p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}
.cases-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  position: relative;
  z-index: 1;
}
.cases-cta-text {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 58ch;
}
.cases-cta-text strong {
  color: var(--text);
}
@media (max-width: 900px) {
  .cases {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .cases {
    grid-template-columns: 1fr;
  }
}

/* ── 02. Направления ── */
.dirs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.dir {
  border: 1px solid var(--hairline);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s;
  position: relative;
}
.dir:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}
.dir-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.dir-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  display: block;
}
.dir-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,16,23,.1) 30%, rgba(12,16,23,.85) 85%, var(--surface) 100%);
  pointer-events: none;
}
.dir-body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dir .risk {
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.dir h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}
.dir p {
  font-size: 15px;
  color: var(--muted);
  flex: 1;
  line-height: 1.6;
}
.dir-action {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.dir-action > span {
  min-width: 0;
}
.dir-action-link {
  font-size: 14.5px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.dir-action-link svg {
  transition: transform .2s;
}
.dir:hover .dir-action-link svg {
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .dirs {
    grid-template-columns: 1fr;
  }
}

/* ── 03. Услуги по направлениям (НОВЫЙ РАЗДЕЛ) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.service-block {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .3s;
}
.service-block:hover {
  border-color: var(--gold-dim);
}
.service-block-header {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 20px;
  margin-bottom: 22px;
}
.service-block-tag {
  font-size: 13.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.service-block h3 {
  font-size: 23px;
  color: var(--text);
}
.service-block-desc {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 28px;
}
.service-list li {
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.45;
}
.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}
.service-cta {
  margin-top: auto;
}
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 04. О компании ── */
.about-hero {
  margin-bottom: 54px;
  position: relative;
  z-index: 1;
}
.quote-box {
  position: relative;
  padding: 36px 40px 36px 54px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(201,168,106,.05) 0%, transparent 100%);
  border-top: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.quote-glyph {
  position: absolute;
  top: -8px;
  left: 14px;
  font-family: var(--serif);
  font-size: 74px;
  line-height: 1;
  color: var(--gold);
  opacity: .4;
  pointer-events: none;
}
.about-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.25;
  font-style: italic;
  color: var(--text);
}
.about-quote em {
  color: var(--gold);
  font-style: italic;
}
.quote-author {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
}

/* 4-Parameter Grid */
.params-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 54px;
  position: relative;
  z-index: 1;
}
.param-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 32px 30px;
  position: relative;
}
/* Golden corner bracket decor */
.param-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}
.param-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
}
.param-label {
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.param-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--text);
}
.param-card p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  position: relative;
  z-index: 1;
}
.pr {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pr b {
  font-family: var(--serif);
  color: var(--gold);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .12em;
}
.pr strong {
  display: block;
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
}
.pr span {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .params-grid {
    grid-template-columns: 1fr;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .quote-box {
    padding: 30px 24px 30px 36px;
  }
}

/* ── 05. Цифры ── */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  background: var(--hairline);
  gap: 1px;
  position: relative;
  z-index: 1;
}
.fact {
  background: var(--bg);
  padding: 34px 28px;
  transition: background .3s;
}
.fact:hover {
  background: var(--surface);
}
.fact b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 46px);
  color: var(--gold);
  display: block;
  line-height: 1;
}
.fact span {
  display: block;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 960px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

/* ── 06. Результаты (НОВЫЙ РАЗДЕЛ) ── */
.results-aggregates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.res-agg-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 24px 22px;
  border-top: 2px solid var(--gold);
}
.res-agg-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.res-agg-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 960px) {
  .results-aggregates {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .results-aggregates {
    grid-template-columns: 1fr;
  }
}

.precedents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.precedent-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Subtle golden corner accents */
.precedent-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.precedent-tag {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.precedent-card h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.precedent-stages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.prec-stage {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prec-stage-label {
  font-size: 13.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.prec-stage-val {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.prec-stage-val.highlight {
  color: var(--text);
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}
@media (max-width: 960px) {
  .precedents-grid {
    grid-template-columns: 1fr;
  }
}

.results-footer-box {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.results-disclaimer {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.55;
}
.results-disclaimer strong {
  color: var(--text);
}
@media (max-width: 800px) {
  .results-footer-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 07. Светлана Колосова ── */
.kolosova {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.kolosova-photo {
  position: relative;
}
.kolosova-photo::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--gold-dim);
  z-index: 0;
  pointer-events: none;
}
.kolosova-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  filter: saturate(.85);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.kolosova-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,16,23,.92) 0%, transparent 40%);
  z-index: 2;
  pointer-events: none;
}
.kolosova h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}
.kolosova .role {
  color: var(--gold);
  font-size: 14.5px;
  letter-spacing: .1em;
  margin-top: 10px;
  text-transform: uppercase;
}
.kolosova blockquote {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  margin: 30px 0;
  padding-left: 30px;
  border-left: 2px solid var(--gold);
  text-align: left;
  color: var(--text);
}
.kolosova blockquote::before {
  content: "\00AB";
  position: absolute;
  left: 6px;
  top: 2px;
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.28;
  pointer-events: none;
}
.kolosova p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.nos {
  margin-top: 30px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  padding: 24px 28px;
  position: relative;
}
.nos b {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold);
  font-size: 17px;
  display: block;
}
.nos p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.kolosova-action {
  margin-top: 28px;
}
@media (max-width: 900px) {
  .kolosova {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── 08. Клиенты и партнёры (Бегущие дорожки) ── */
.marquee-wrapper {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  overflow: hidden;
  user-select: none;
}
.marquee-track:hover .marquee-group {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
  will-change: transform;
}
.marquee-left .marquee-group {
  animation: scrollLeft 50s linear infinite;
}
.marquee-right .marquee-group {
  animation: scrollRight 54s linear infinite;
}
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes scrollRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-group {
    animation: none !important;
  }
  .marquee-wrapper {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }
}
.client-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-family: var(--serif);
  font-size: 15px;
  white-space: nowrap;
  transition: border-color .25s, color .25s;
  border-radius: 3px;
}
.client-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.clients-summary {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--hairline);
  padding-top: 36px;
}
.c-sum-col h4 {
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.c-sum-col p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .clients-summary {
    grid-template-columns: 1fr;
  }
}

/* ── 09. Технологии ── */
.tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.tech-card {
  border: 1px solid var(--hairline);
  padding: 38px 34px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
}
.tech-card.glass {
  background: rgba(21, 27, 40, .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--gold-faint);
}
.tech-card h3 {
  font-size: 23px;
  margin-bottom: 14px;
  color: var(--text);
}
.tech-card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  flex: 1;
}
.tech-card-bottom {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.tech-card .tag {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 800px) {
  .tech {
    grid-template-columns: 1fr;
  }
  /* нижняя строка (тег + кнопка) не сжимается и распирала карточку
     шире экрана на 360/390px — разрешаем перенос */
  .tech-card {
    min-width: 0;
  }
  .tech-card-bottom {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* ── 10. Экспертный центр ── */
.expert-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--hairline);
  padding: 48px 48px;
  background: var(--surface);
  position: relative;
  z-index: 1;
  border-left: 3px solid var(--gold);
}
.expert-strip h2, .expert-strip h3 {
  font-size: 28px;
  color: var(--text);
}
.expert-strip p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.6;
}
@media (max-width: 850px) {
  .expert-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 28px;
  }
}

/* ── 11. Конфиденциальный приём ── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.contact .note {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 18px;
  max-width: 48ch;
  line-height: 1.6;
}
.contact-meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.c-meta-item svg {
  color: var(--gold);
  flex-shrink: 0;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact input, .contact textarea {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color .2s;
}
.contact input:focus, .contact textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.nda {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--faint);
  margin-top: 8px;
  line-height: 1.45;
}
@media (max-width: 800px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
  font-size: 14px;
  color: var(--faint);
  background: #080B10;
  position: relative;
  z-index: 1;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.foot-links {
  display: flex;
  gap: 20px;
}
.foot-links a {
  color: var(--muted);
  transition: color .2s;
}
.foot-links a:hover {
  color: var(--gold);
}

/* ── Scroll Reveal ── */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.rv.on {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── Перечни: клиенты, партнёры, награды ─── */
.roster { margin-top: 56px; display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.roster-row { background: var(--bg); padding: 26px 28px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.roster-row:hover { background: var(--surface); }
.roster-cat { display: flex; flex-direction: column; gap: 6px; }
.roster-cat b { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--text); letter-spacing: .01em; }
.roster-cat span { font-size: 12.5px; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
.roster-list { font-size: 15px; line-height: 1.85; color: var(--muted); min-width: 0; }
.roster-list .ri { white-space: nowrap; }
.roster-list i { font-style: normal; color: var(--gold-dim); padding: 0 7px; }
.roster-note { margin-top: 20px; font-size: 13.5px; color: var(--faint); border-left: 2px solid var(--hairline-gold); padding-left: 14px; max-width: 70ch; }

/* Награды */
.awards-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.award-item { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 7px; min-height: 96px; }
.award-item:hover { background: var(--surface); }
.award-item b { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.35; }
.award-item span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.award-item em { font-style: normal; font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .06em; }
.award-more { background: var(--surface-2); display: flex; align-items: center; justify-content: center; text-align: center; }
.award-more b { font-family: var(--serif); font-size: 15px; color: var(--gold); }

@media (max-width: 900px) {
  .roster-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .roster-list .ri { white-space: normal; }
  .roster { margin-top: 40px; }
  .awards-grid { margin-top: 40px; grid-template-columns: 1fr; }
}

/* ─── Награды: ровная сетка с просмотром скана ─── */
.awards-grid{margin-top:56px;display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1px;background:var(--hairline);border:1px solid var(--hairline)}
.award-item{background:var(--bg);border:0;color:inherit;font:inherit;text-align:left;cursor:pointer;display:grid;grid-template-rows:auto 1fr auto;gap:0;padding:0;transition:background .2s ease}
.award-item:hover,.award-item:focus-visible{background:var(--surface);outline:none}
.award-item:focus-visible{box-shadow:inset 0 0 0 1px var(--gold-dim)}
.aw-thumb{display:block;height:150px;overflow:hidden;background:#fff;border-bottom:1px solid var(--hairline)}
.aw-thumb img{width:100%;height:100%;object-fit:cover;object-position:top center;filter:grayscale(.3) contrast(1.02);transition:transform .4s ease,filter .4s ease}
.award-item:hover .aw-thumb img{transform:scale(1.04);filter:none}
.aw-body{display:block;padding:18px 22px 0}
.aw-body b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;font-weight:500;color:var(--text);line-height:1.3;height:39px}
.aw-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px;font-size:13px;color:var(--muted);line-height:1.5;height:58px}
.aw-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 18px}
.aw-foot em{font-style:normal;font-family:var(--serif);font-size:13.5px;color:var(--gold);letter-spacing:.06em}
.aw-link{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--faint);transition:color .2s ease}
.aw-link svg{width:14px;height:14px}
.award-item:hover .aw-link{color:var(--gold)}

/* Просмотр документа */
.lb{position:fixed;inset:0;z-index:95;background:rgba(6,9,13,.95);display:none;align-items:center;justify-content:center;padding:28px}
.lb.is-open{display:flex}
.lb-inner{max-width:1000px;width:100%;max-height:100%;display:flex;flex-direction:column;gap:14px}
.lb-figure{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.lb-figure img{max-height:76vh;width:auto;box-shadow:0 24px 70px rgba(0,0,0,.6)}
.lb-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.lb-meta b{display:block;font-size:16px;font-weight:500}
.lb-meta span{font-size:13.5px;color:var(--muted)}
.lb-meta em{font-style:normal;font-family:var(--serif);color:var(--gold);font-size:13px}
.lb-ctrl{display:flex;align-items:center;gap:8px}
.lb-btn{width:42px;height:42px;border:1px solid var(--hairline);background:rgba(255,255,255,.04);color:var(--text);border-radius:999px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s}
.lb-btn:hover{border-color:var(--hairline-gold);color:var(--gold)}
.lb-btn svg{width:17px;height:17px}
.lb-count{font-size:13px;color:var(--faint);min-width:56px;text-align:center}

/* ─── Фирменный цвет при наведении ─── */
.client-tag{transition:color .25s ease,border-color .25s ease,background .25s ease}
.client-tag:hover{color:var(--brand,var(--gold));border-color:var(--brand,var(--hairline-gold))}
.roster-list .ri{transition:color .22s ease}
.roster-list .ri:hover{color:var(--brand,var(--gold))}

@media (max-width:900px){
  .awards-grid{grid-template-columns:1fr;margin-top:40px}
  .lb{padding:14px}
  .lb-figure img{max-height:64vh}
}

/* ─── Лента логотипов ─── */
.logo-strip{margin-top:44px}
.logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(186px,1fr));gap:1px;background:var(--hairline);border:1px solid var(--hairline)}
.logo-cell{background:var(--bg);padding:16px;display:flex;align-items:center;justify-content:center;min-height:104px;transition:background .25s ease}
.logo-cell:hover{background:var(--surface)}
.logo-cell img{width:100%;height:auto;max-height:70px;object-fit:contain;border-radius:3px;filter:grayscale(1);opacity:.5;transition:filter .3s ease,opacity .3s ease,transform .3s ease}
.logo-cell:hover img{filter:none;opacity:1;transform:scale(1.04)}
@media (max-width:900px){
  .logo-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
  .logo-cell{min-height:88px;padding:12px}
  .logo-cell img{max-height:56px}
}
@media (prefers-reduced-motion:reduce){.logo-cell img{transition:none}}

/* ─── Переносы: ровные строки, без висячих слов ─── */
h1, h2, h3, .sec-title, .card h3, .aw-body b, .roster-cat b, .dir-title, .service-title { text-wrap: balance; }
p, .sec-lead, .aw-desc, .roster-list, .card-sub, li { text-wrap: pretty; }

/* ─── Шапка: помещаем меню, контакты и кнопку в одну строку ─── */
header .wrap.nav { max-width: none; width: 100%; padding-left: 32px; padding-right: 32px; gap: 20px; }
.nav-links { gap: 20px; }
.nav-links a { font-size: 14px; white-space: nowrap; }
.header-contacts { gap: 8px; flex-shrink: 0; }
.nav .btn, .nav .cta, header .btn-gold { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 1320px) {
  header .wrap.nav { gap: 14px; padding-left: 20px; padding-right: 20px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13.5px; }
}

/* ═══════════════════════════════════════════════════════════
   Внутренние страницы (01.10.2026): шапка-заголовок, подменю,
   направления, о компании, Экспертный центр, контакты, политика, 404
   ═══════════════════════════════════════════════════════════ */

/* активный пункт меню */
.nav-links a { position: relative; }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); }

/* главная: кнопки «подробнее» */
.kolosova-action { display: flex; gap: 12px; flex-wrap: wrap; }
.sec-more { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.sec-more span { font-size: 14.5px; color: var(--muted); max-width: 48ch; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--gold); font-size: 14.5px; transition: gap .2s; }
.more-link:hover { gap: 12px; }
.nda a { color: var(--muted); border-bottom: 1px solid var(--hairline-gold); transition: color .2s; }
.nda a:hover { color: var(--gold); }

/* подвал */
.foot-main { display: flex; flex-direction: column; gap: 6px; }
.foot-brand { color: var(--muted); }
.foot-links { flex-wrap: wrap; row-gap: 10px; }

/* мобильное меню: подгруппа */
.mobile-nav-sub { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.mobile-nav-list-sm { margin: 14px 0 28px; font-size: 16px; gap: 12px; }
.mobile-nav-list-sm a { color: var(--muted); }

/* ── Заголовок страницы ── */
.page-head { position: relative; padding: 92px 0 72px; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.page-head .hero-glow { left: 10%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--faint); letter-spacing: .03em; margin-bottom: 30px; position: relative; z-index: 1; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-style: normal; color: var(--gold-dim); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: end; position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -.01em; max-width: 27ch; }
.page-head h1 em { font-style: italic; color: var(--gold); }
.page-lead { margin-top: 22px; color: var(--muted); font-size: 17.5px; line-height: 1.6; max-width: 62ch; }
.page-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.page-aside { border-left: 1px solid var(--hairline-gold); padding-left: 28px; display: flex; flex-direction: column; gap: 18px; }
.page-aside b { font-family: var(--serif); font-size: 36px; font-weight: 400; color: var(--gold); line-height: 1; }
.page-aside span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.page-aside-item + .page-aside-item { padding-top: 18px; border-top: 1px solid var(--hairline); }

/* ── Подменю-чипы ── */
.subnav { position: sticky; top: 74px; z-index: 40; background: rgba(12,16,23,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.subnav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; background: transparent; cursor: pointer; font-family: var(--sans); transition: border-color .2s, color .2s, background .2s; }
.chip:hover, .chip.is-active { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--gold-faint); }
.chip b { font-family: var(--serif); font-weight: 400; color: var(--gold); font-size: 12.5px; letter-spacing: .12em; }

/* ── Направления ── */
.dir-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; position: relative; z-index: 1; }
.dir-intro-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--hairline); }
.dir-intro-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); display: block; }
.dir-intro-media .dir-media-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,16,23,.85) 0%, transparent 55%); }
.dir-intro-media figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; font-size: 13.5px; color: var(--muted); letter-spacing: .04em; }
.dir-intro-media figcaption b { display: block; color: var(--gold); font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.dir-intro-text p { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.dir-intro-text p + p { margin-top: 14px; }
.dir-intro-text p strong { color: var(--text); font-weight: 500; }
.who { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.who-label { width: 100%; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.who span:not(.who-label) { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--hairline); color: var(--text); border-radius: 2px; }
.svc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); position: relative; z-index: 1; }
.svc { background: var(--bg); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 12px; transition: background .25s; min-height: 210px; }
.svc:hover { background: var(--surface); }
.svc i { font-style: normal; font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: .14em; }
.svc h3 { font-size: 19px; line-height: 1.3; color: var(--text); }
.svc p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.svc .svc-link { color: var(--gold); font-size: 13.5px; margin-top: auto; padding-top: 10px; display: inline-flex; gap: 6px; align-items: center; }
.svc .svc-link:hover { gap: 10px; }
.knowhow { margin-top: 40px; display: grid; grid-template-columns: 200px 1fr; gap: 40px; border: 1px solid var(--hairline); border-left: 3px solid var(--gold); background: var(--surface); padding: 36px 40px; position: relative; z-index: 1; }
.knowhow h3 { font-size: 24px; color: var(--text); }
.knowhow p { color: var(--muted); margin-top: 12px; font-size: 15.5px; line-height: 1.6; max-width: 62ch; }
.dir-cta { margin-top: 40px; display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.dir-cta span { color: var(--muted); font-size: 14.5px; max-width: 46ch; }
.measure { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.measure blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: var(--text); padding-left: 28px; border-left: 2px solid var(--gold); }
.measure p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.measure p + p { margin-top: 12px; }

/* ── О компании ── */
.when-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); position: relative; z-index: 1; }
.when { background: var(--bg); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 150px; transition: background .25s; }
.when:hover { background: var(--surface); }
.when b { font-family: var(--serif); color: var(--gold); font-weight: 400; letter-spacing: .14em; font-size: 14px; }
.when p { font-size: 15.5px; color: var(--text); line-height: 1.5; }
.kolosova.bio { align-items: start; }
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 30px; }
.bio-cell { background: var(--bg); padding: 22px 24px; }
.bio-cell.wide { grid-column: 1 / -1; }
.bio-cell i { font-style: normal; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px; }
.bio-cell p, .bio-cell li { font-size: 15px; color: var(--muted); line-height: 1.55; }
.bio-cell ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bio-cell li { padding-left: 16px; position: relative; }
.bio-cell li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 1px; background: var(--gold); }
.strip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.strip { border: 1px solid var(--hairline); background: var(--surface); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.strip b { font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--gold); line-height: 1; }
.strip strong { font-weight: 500; font-size: 17px; color: var(--text); }
.strip span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.strip a { margin-top: auto; padding-top: 14px; color: var(--gold); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.strip a:hover { gap: 10px; }
.goals { margin-top: 36px; display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.goals-list { display: flex; flex-wrap: wrap; gap: 10px; }
.goals-list span { border: 1px solid var(--hairline-gold); color: var(--text); padding: 10px 16px; font-size: 14.5px; }

/* ── Экспертный центр ── */
.filter { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ex-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; position: relative; z-index: 1; }
.ex { border: 1px solid var(--hairline); background: var(--surface); display: flex; flex-direction: column; transition: border-color .25s; }
.ex:hover { border-color: var(--hairline-gold); }
.ex.is-hidden { display: none; }
.ex-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; border-bottom: 1px solid var(--hairline); position: relative; }
.ex-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: grayscale(.25); transition: transform .4s ease, filter .4s ease; display: block; }
.ex:hover .ex-thumb img { filter: none; transform: scale(1.02); }
.ex-kind { font-style: normal; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ex-type { position: absolute; left: 14px; top: 14px; background: rgba(12,16,23,.88); color: var(--gold); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--hairline-gold); }
.ex-body { padding: 22px 24px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ex-body h3 { font-size: 20px; line-height: 1.3; color: var(--text); }
.ex-body p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ex-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ex-tags span { font-size: 12px; color: var(--faint); border: 1px solid var(--hairline); padding: 3px 9px; border-radius: 999px; }
.ex-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px 20px; margin-top: 18px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.ex-meta { font-size: 13px; color: var(--faint); font-family: var(--serif); letter-spacing: .04em; }
.ex-empty { display: none; margin-top: 40px; color: var(--muted); text-align: center; padding: 40px; border: 1px dashed var(--hairline); }
.ex-grid.is-empty + .ex-empty { display: block; }
.ex-note { margin-top: 36px; display: flex; gap: 14px; align-items: flex-start; border-left: 2px solid var(--hairline-gold); padding-left: 16px; color: var(--muted); font-size: 14.5px; max-width: 72ch; line-height: 1.55; position: relative; z-index: 1; }
.ex-note svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* ── Контакты ── */
.c-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.c-card { background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.c-card i { font-style: normal; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.c-card b { font-weight: 500; font-size: 17px; color: var(--text); line-height: 1.4; }
.c-card b a { transition: color .2s; }
.c-card b a:hover { color: var(--gold); }
.c-card span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.c-card.wide { grid-column: 1 / -1; }
.msgr { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.msgr a, .msgr span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hairline); padding: 9px 14px; font-size: 14px; border-radius: 2px; color: var(--text); }
.msgr a:hover { border-color: var(--gold); color: var(--gold); }
.msgr span { color: var(--faint); border-style: dashed; }
.msgr svg { width: 16px; height: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.45; }
.check input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.check a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.contact .note.small { font-size: 14px; margin-top: 10px; }
.req { margin-top: 64px; display: grid; grid-template-columns: 200px 1fr; gap: 40px; border-top: 1px solid var(--hairline); padding-top: 40px; position: relative; z-index: 1; }
.req dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; font-size: 15px; }
.req dt { color: var(--faint); }
.req dd { color: var(--text); }

/* ── Политика ── */
.prose { max-width: 76ch; position: relative; z-index: 1; }
.prose h2 { font-size: 26px; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 16px; color: var(--muted); line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.draft { display: inline-flex; gap: 10px; align-items: center; border: 1px dashed var(--hairline-gold); color: var(--gold); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; margin-bottom: 26px; }

/* ── 404 ── */
.nf { min-height: 62vh; display: flex; align-items: center; position: relative; z-index: 1; }
.nf b { display: block; font-family: var(--serif); font-size: clamp(96px, 16vw, 180px); font-weight: 300; color: var(--gold); line-height: 1; opacity: .55; }

/* ── Адаптив внутренних страниц ── */
@media (max-width: 1060px) {
  .subnav { top: 74px; }
}
@media (max-width: 960px) {
  .page-head-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-aside { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 0; padding-left: 0; border-top: 1px solid var(--hairline-gold); padding-top: 24px; gap: 24px 32px; }
  .page-aside-item:only-child, .page-aside-item:nth-last-child(2):first-child { grid-column: span 1; }
  .page-aside-item + .page-aside-item { padding-top: 0; border-top: 0; }
  .dir-intro { grid-template-columns: 1fr; gap: 28px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .knowhow { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .measure { grid-template-columns: 1fr; gap: 28px; }
  .when-grid { grid-template-columns: repeat(2, 1fr); }
  .when:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .strip-row { grid-template-columns: 1fr; }
  .goals { grid-template-columns: 1fr; gap: 16px; }
  .ex-grid { grid-template-columns: 1fr; }
  .req { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .page-head { padding: 60px 0 44px; }
  .page-lead { font-size: 16px; }
  .svc-grid, .when-grid, .bio-grid, .c-cards { grid-template-columns: 1fr; }
  .svc:last-child:nth-child(odd), .when:last-child:nth-child(odd) { grid-column: auto; }
  .page-aside { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .req dl { grid-template-columns: 1fr; gap: 4px; }
  .req dt { margin-top: 10px; }
  .ex-foot { padding: 14px 18px 18px; }
  .ex-body { padding: 18px 18px 0; }
  .knowhow { padding: 24px 18px; }
  .measure blockquote { padding-left: 18px; }
}

@media (max-width: 640px) {
  .dir-cta .btn, .page-actions .btn, .kolosova-action .btn, .sec-more .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .page-actions .btn { width: 100%; }
}

/* ── О компании: текст в две колонки вместо карточек-параметров ── */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; margin-bottom: 44px; position: relative; z-index: 1; }
.about-cols h3 { font-size: 21px; color: var(--text); margin-bottom: 12px; }
.about-cols p { font-size: 16px; color: var(--muted); line-height: 1.65; }
.principles-label { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; position: relative; z-index: 1; }
@media (max-width: 800px) { .about-cols { grid-template-columns: 1fr; gap: 24px; } }

/* ── Лента логотипов: ровные ряды по центру, без пустых ячеек ── */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; background: none; border: 0; }
.logo-cell { flex: 0 0 calc((100% - 48px) / 5); border: 1px solid var(--hairline); }
@media (max-width: 900px) { .logo-cell { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 540px) { .logo-cell { flex-basis: calc((100% - 12px) / 2); } }

/* Принудительный перенос в заголовке только на широких экранах */
@media (max-width: 640px) { .br-desk { display: none; } }

/* ═══ Жизнь сайта (02.10.2026): отзывы, хроника, диагностика ═══ */

/* ── Что о нас пишут ── */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 1; }
.qt { margin: 0; border: 1px solid var(--hairline); background: var(--surface); padding: 30px 32px 26px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.qt::before { content: "«"; position: absolute; left: 18px; top: 6px; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold); opacity: .28; pointer-events: none; }
.qt blockquote { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--text); padding-left: 22px; }
.qt figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 4px; padding-left: 22px; }
.qt figcaption b { font-weight: 500; font-size: 15px; color: var(--text); }
.qt figcaption span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.qt figcaption a { margin-top: 8px; font-size: 12.5px; color: var(--gold); letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; }
.qt figcaption a:hover { gap: 10px; }

/* ── Хроника ── */
.chron { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); position: relative; z-index: 1; }
.chron-row { background: var(--bg); display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 22px 28px; align-items: start; transition: background .25s; }
.chron-row:hover { background: var(--surface); }
.chron-year { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; letter-spacing: .02em; }
.chron-text p { font-size: 15.5px; color: var(--text); line-height: 1.55; }
.chron-text a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.chron-text a:hover { color: var(--gold); }

/* короткая полоса на главной */
.timeline { margin-top: 48px; position: relative; z-index: 1; }
.timeline-track { display: grid; grid-template-columns: repeat(7, 1fr); position: relative; border-top: 1px solid var(--hairline-gold); padding-top: 22px; }
.tl-item { position: relative; padding: 0 18px 0 0; display: flex; flex-direction: column; gap: 8px; transition: color .2s; }
.tl-item::before { content: ""; position: absolute; left: 0; top: -27px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); transition: background .2s; }
.tl-item:hover::before { background: var(--gold); }
.tl-item b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--gold); line-height: 1; }
.tl-item span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.tl-item:hover span { color: var(--text); }

/* ── Диагностика ── */
.diag-item { cursor: pointer; transition: border-color .25s, background .25s; user-select: none; }
.diag-item:hover { border-color: var(--hairline-gold); }
.diag-item[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-faint); box-shadow: inset 0 0 0 1px var(--gold); }
.case.diag-item:hover { box-shadow: inset 0 0 0 1px var(--hairline-gold); }
.diag-item[aria-pressed="true"] .case-num, .diag-item[aria-pressed="true"] > b { color: var(--text); }
.diag-item[aria-pressed="true"]::after { content: "✓"; position: absolute; right: 16px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #0C1017; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.case.diag-item, .when.diag-item { position: relative; }
.diag-result { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid var(--hairline-gold); border-left: 3px solid var(--gold); background: var(--surface); padding: 22px 28px; position: relative; z-index: 1; }
.diag-result[hidden] { display: none; }
.diag-result-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.diag-result-text i { font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.diag-result-text b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--text); }
.diag-result-text span { font-size: 14px; color: var(--muted); max-width: 60ch; }
.diag-result-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .quotes { grid-template-columns: 1fr; }
  .timeline-track { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .tl-item:nth-child(n+5) { border-top: 1px solid var(--hairline-gold); padding-top: 22px; }
  .tl-item:nth-child(n+5)::before { top: -5px; }
  .chron-row { grid-template-columns: 90px 1fr; gap: 18px; padding: 18px 20px; }
  .chron-year { font-size: 24px; }
}
@media (max-width: 640px) {
  .qt { padding: 24px 20px 20px; }
  .qt blockquote { font-size: 17px; }
  .timeline-track { grid-template-columns: 1fr 1fr; }
  .tl-item:nth-child(n+3) { border-top: 1px solid var(--hairline-gold); padding-top: 22px; }
  .tl-item:nth-child(n+3)::before { top: -5px; }
  .tl-item:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .tl-item:nth-child(-n+2)::before { top: -27px; }
  .diag-result { padding: 18px 18px; }
  .diag-result-actions .btn { white-space: normal; text-align: center; }
}

/* ═══ Тональная система разделов (03.10.2026) ═══
   Смыслы различаются оттенком: Государство — сталь, Личность — аметист, Бизнес — шалфей,
   Технологии — бирюза, остальное — золото. Плюс чередование фонов: кабинет / бумага / чернила. */
:root {
  --t-gos: #7FA7D9;
  --t-lich: #A594D6;
  --t-biz: #7FB39A;
  --t-tech: #6FB8B0;
  --paper: #151C2B;
  --ink: #07090D;
}

/* тональная линия сверху и номер раздела в тоне */
section { --tone: var(--gold); }
section::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--tone) 0%, color-mix(in srgb, var(--tone) 35%, transparent) 38%, transparent 70%); z-index: 2; pointer-events: none; }
section .sec-num { color: var(--tone); }
section .sec-num::after { background: color-mix(in srgb, var(--tone) 45%, transparent); }
section .sec-bg-num { color: color-mix(in srgb, var(--tone) 6%, transparent); }
section .sec-glow { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--tone) 7%, transparent) 0%, transparent 70%); }

/* ── фоны: бумага (чуть светлее) и чернила (темнее) ── */
.bg-paper, #about, #otzyvy, #expert, #deviz, #hronika, #publikacii, #effekt, #materialy, #doverie {
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%); }
.bg-paper .pr, #about .pr, #deviz .pr, #principy .pr { background: var(--paper); }
#otzyvy .qt, #materialy .ex, #publikacii .strip, #doverie .strip { background: var(--bg); }
#about .about-cols, #otzyvy .sec-lead { position: relative; z-index: 1; }

.bg-ink, #facts, #contacts, #svyaz, #rekvizity { background: var(--ink); }
#facts { background-image:
  linear-gradient(rgba(234,231,224,.035) 1px, transparent 1px),
  linear-gradient(90deg, rgba(234,231,224,.035) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top; }
#facts .facts { background: var(--ink); }
#facts .fact { background: var(--ink); }
#contacts, #svyaz { border-top: 1px solid var(--hairline-gold); }
#contacts::before, #svyaz::before { height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 20%, transparent 70%); }
#contacts input, #contacts textarea, #svyaz input, #svyaz textarea { background: #0E1320; }
#contacts .c-card, #svyaz .c-card { background: var(--ink); }

/* ── Метод (Колосова): тёплая кабинетная виньетка ── */
#kolosova { background: radial-gradient(ellipse at 18% 55%, rgba(201,168,106,.09) 0%, transparent 55%), var(--bg); }

/* ── Технологии: бирюзовая прохлада и плотная сетка точек ── */
#tech { --tone: var(--t-tech);
  background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--t-tech) 12%, transparent) 0%, transparent 55%),
              radial-gradient(rgba(111,184,176,.07) 1px, transparent 1px) 0 0 / 22px 22px, var(--bg); }
#tech .tech-card { border-color: color-mix(in srgb, var(--t-tech) 30%, var(--hairline)); }
#tech .tag { color: var(--t-tech); border-color: color-mix(in srgb, var(--t-tech) 40%, transparent); }
#tech .tech-card h3 { color: var(--text); }

/* ── Направления и услуги: три оттенка ── */
.dir:nth-child(1), #services-gos, #gosudarstvo { --tone: var(--t-gos); }
.dir:nth-child(2), #services-lich, #lichnost { --tone: var(--t-lich); }
.dir:nth-child(3), #services-biz, #biznes { --tone: var(--t-biz); }
.dir { position: relative; }
.dir::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tone); z-index: 3; }
.dir .risk { color: var(--tone); }
.dir .dir-action-link { color: var(--tone); }
.dir .dir-media-scrim { background: linear-gradient(to top, rgba(12,16,23,.92) 0%, rgba(12,16,23,.35) 55%, color-mix(in srgb, var(--tone) 18%, transparent) 100%); }
.service-block { position: relative; }
.service-block::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--tone); }
.service-block .service-block-tag { color: var(--tone); }
.service-block .service-list li::before { background: var(--tone); }
.service-block-header { border-bottom-color: color-mix(in srgb, var(--tone) 35%, var(--hairline)); }

/* страница направлений: секция целиком в своём тоне */
#gosudarstvo .svc i, #lichnost .svc i, #biznes .svc i { color: var(--tone); }
#gosudarstvo .svc .svc-link, #lichnost .svc .svc-link, #biznes .svc .svc-link { color: var(--tone); }
#gosudarstvo .knowhow, #lichnost .knowhow, #biznes .knowhow { border-left-color: var(--tone); }
#gosudarstvo .who-label, #lichnost .who-label, #biznes .who-label { color: var(--tone); }
#gosudarstvo .dir-intro-media figcaption b, #lichnost .dir-intro-media figcaption b, #biznes .dir-intro-media figcaption b { color: var(--tone); }
#gosudarstvo .dir-intro-media, #lichnost .dir-intro-media, #biznes .dir-intro-media { border-top: 3px solid var(--tone); }
#lichnost { background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%); }
.chip[data-chip="gosudarstvo"] b { color: var(--t-gos); }
.chip[data-chip="lichnost"] b { color: var(--t-lich); }
.chip[data-chip="biznes"] b { color: var(--t-biz); }
.chip[data-chip="gosudarstvo"].is-active { border-color: var(--t-gos); color: var(--t-gos); background: color-mix(in srgb, var(--t-gos) 12%, transparent); }
.chip[data-chip="lichnost"].is-active { border-color: var(--t-lich); color: var(--t-lich); background: color-mix(in srgb, var(--t-lich) 12%, transparent); }
.chip[data-chip="biznes"].is-active { border-color: var(--t-biz); color: var(--t-biz); background: color-mix(in srgb, var(--t-biz) 12%, transparent); }

/* ── Диагностика: явные чекбоксы ── */
.diag-item { padding-right: 56px; }
.diag-item::before { content: ""; position: absolute; right: 18px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--hairline-gold); background: rgba(201,168,106,.06); transition: border-color .2s, background .2s; z-index: 1; }
.diag-item:hover::before { border-color: var(--gold); }
.diag-item[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); }
.diag-item[aria-pressed="true"]::after { right: 18px; top: 16px; background: transparent; color: #0C1017; }
.case.diag-item .case-num, .when.diag-item > b { margin-right: 0; }
.diag-hint { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); position: relative; z-index: 1; }
.diag-hint i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(201,168,106,.1); flex-shrink: 0; }
.diag-result { --tone: var(--gold); }
.diag-result[data-dir="gos"] { border-left-color: var(--t-gos); } .diag-result[data-dir="gos"] i { color: var(--t-gos); }
.diag-result[data-dir="lich"] { border-left-color: var(--t-lich); } .diag-result[data-dir="lich"] i { color: var(--t-lich); }
.diag-result[data-dir="biz"] { border-left-color: var(--t-biz); } .diag-result[data-dir="biz"] i { color: var(--t-biz); }

/* ── Доверие: двойная золотая линия и дорожка ── */
#clients::before { height: 1px; background: var(--hairline-gold); }
#clients::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: color-mix(in srgb, var(--gold) 25%, transparent); pointer-events: none; }

/* ── Отзывы: большая кавычка в фоне вместо номера ── */
#otzyvy .sec-bg-num { font-size: 0; }
#otzyvy .sec-bg-num::before { content: "«»"; font-size: 150px; letter-spacing: -.1em; color: rgba(201,168,106,.06); }

/* ── Хроника: лёгкая вертикальная ось ── */
#hronika .chron { border-left: 2px solid var(--gold-dim); }

/* ── Страница клиентов: стальная линия у клиентов, золото у наград ── */
#klienty { --tone: var(--t-gos); }
#partners { --tone: var(--t-biz); }
#awards { --tone: var(--gold); background: linear-gradient(180deg, var(--bg) 0%, var(--ink) 100%); }

@media (max-width: 640px) {
  .diag-item { padding-right: 52px; }
  .diag-item::before, .diag-item[aria-pressed="true"]::after { right: 14px; top: 14px; }
}
