/* Версия 5.1 — правки группы «home». Только стили главной.
   Файл подключён на всех страницах, поэтому каждое правило привязано
   к классам, которые есть только на index.html (hero--hc, hc, trust, home-org, home-cards…). */

/* ============================================================
   1. Первый экран: сетка «заголовок + вводка» / «соты + квиз»
   ============================================================ */
.hero.hero--hc {
  display: grid; min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "intro" "visual" "aside";
  column-gap: clamp(28px, 3.4vw, 52px); row-gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
  padding-block: clamp(24px, 3vw, 44px) clamp(44px, 5vw, 76px);
}
.hero--hc > .hero__head { grid-area: head; }
.hero--hc > .hero__intro { grid-area: intro; }
.hero--hc > .hero__visual { grid-area: visual; min-width: 0; }
.hero--hc > .hero__aside { grid-area: aside; }
.hero--hc .hero__head .eyebrow { margin-bottom: 14px; }
.hero--hc .hero__lead { margin: 0 0 20px; font-size: clamp(17px, 1.35vw, 20px); }
.hero--hc .hero__micro { display: flex; flex-wrap: wrap; row-gap: 2px; margin-top: 14px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.hero--hc .hero__micro span + span::before { content: none; }
.hero--hc .hero__micro span:not(:last-child)::after { content: "·"; margin: 0 8px; }
.hero--hc .hero__entries { margin-top: 18px; }
.hero--hc .hero__entries a { color: var(--text); font-weight: 500; }
.hero--hc .hc p { max-width: none; }

@media (min-width: 761px) {
  .hero.hero--hc {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "head intro" "visual visual" "aside aside";
  }
  .hero--hc > .hero__head, .hero--hc > .hero__intro { align-self: end; }
  .hero--hc > .hero__aside { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
  .hero--hc .hero__entries { margin-top: 0; flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1260px) {
  .hero.hero--hc {
    grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr);
    grid-template-areas: "head intro" "visual aside";
  }
  .hero--hc .hero__title { font-size: clamp(38px, 3.5vw, 54px); }
  .hero--hc > .hero__aside { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero--hc .hero__entries { margin-top: 18px; flex-direction: row; }
  .hero--hc > .hero__visual { align-self: start; padding-top: 8px; }
}
/* Квиз в узкой колонке: варианты по одному в строку, длинные подписи не ломают «таблетку» */
.hero--hc .quiz-card .opts--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.hero--hc .quiz__counter { color: var(--text-2); font-weight: 400; white-space: nowrap; }
.hero--hc .quiz__foot { color: var(--text-2); }

/* ============================================================
   2. Соты: геометрия
   Координаты в единицах радиуса большой соты R (плоский верх: ширина 2R, высота √3·R).
   Сцена: x от −3.64 до 3.64, y от −2.12 до 2.12 (7.28 × 4.24).
   ============================================================ */
.hc {
  container: hc / inline-size;
  position: relative;
  --hc-clip: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --hc-edge: color-mix(in srgb, var(--accent-text) 42%, var(--accent));
  --hc-glow: color-mix(in srgb, var(--accent) 60%, transparent);
}
.hc__stage {
  position: relative; aspect-ratio: 7.28 / 4.24;
  margin-bottom: clamp(52px, 8cqi, 72px);
}
.hc__stage::before {
  content: ""; position: absolute; inset: -6% 8%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 75%);
}
.hc__steps, .hc__sats { list-style: none; margin: 0; padding: 0; }

.hc__core, .hc__hex, .hc__sat, .hc__deco {
  position: absolute;
  width: calc(var(--w) / 7.28 * 100%);
  left: calc((var(--cx) - var(--w) / 2 + 3.64) / 7.28 * 100%);
  top: calc((var(--cy) - var(--w) * .4330127 + 2.12) / 4.24 * 100%);
  aspect-ratio: 1.1547005;
}

/* Связи и узлы */
.hc__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.hc__links line { stroke: var(--accent); stroke-width: .014; stroke-opacity: .6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-opacity .3s, stroke-width .3s; }
.hc__links circle { fill: var(--accent); stroke: var(--accent); stroke-opacity: .28; stroke-width: .05; }

/* Декоративные «стеклянные» соты над и под центром */
.hc__deco { --w: 1.1; --cx: 0; z-index: 1; clip-path: var(--hc-clip); background: color-mix(in srgb, var(--hc-edge) 50%, transparent); }
.hc__deco::before { content: ""; position: absolute; inset: 1.5px; clip-path: var(--hc-clip); background: color-mix(in srgb, var(--bg-2) 55%, transparent); }
.hc__deco--t { --cy: -1.5; }
.hc__deco--b { --cy: 1.5; }

/* Центральная сота */
.hc__core { --cx: 0; --cy: 0; --w: 2; z-index: 3; }
.hc__core-face {
  position: absolute; inset: 0; clip-path: var(--hc-clip);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(90% 80% at 50% 30%, color-mix(in srgb, var(--straw-soft) 55%, var(--straw)), var(--straw) 70%);
  color: var(--gray-umber);
}
.hc__core-face::before {
  content: ""; position: absolute; inset: 0; background: var(--olive); opacity: .16; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 .5 27.5 8.25v15.5L14 31.5.5 23.75V8.25zM14 24.75 27.5 32.5v15.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 22px 38px repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 .5 27.5 8.25v15.5L14 31.5.5 23.75V8.25zM14 24.75 27.5 32.5v15.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 22px 38px repeat;
}
.hc__logo { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 3.1cqi, 30px); line-height: 1; letter-spacing: .01em; }
.hc__logo em { font-style: normal; color: var(--olive); }
.hc__core-sub { position: relative; max-width: 58%; margin-top: .8em; font-family: var(--font-display); font-weight: 500; font-size: clamp(9px, 1.2cqi, 11.5px); line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; }

/* Большие соты шагов */
.hc__step--1 { --sx: -1.56; --sy: -.9; --sd: .55; }
.hc__step--2 { --sx: 1.56; --sy: -.9; --sd: 1; }
.hc__step--3 { --sx: -1.56; --sy: .9; --sd: 1.45; }
.hc__step--4 { --sx: 1.56; --sy: .9; --sd: 1.9; }
.hc__hex {
  --cx: var(--sx); --cy: var(--sy); --w: 2; --d: var(--sd);
  z-index: 3; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
  transition: transform .45s var(--ease-spring), filter .35s var(--ease);
}
.hc__pic { position: absolute; inset: 0; clip-path: var(--hc-clip); background: var(--hc-edge); color: var(--straw); transition: background .3s; }
.hc__pic img {
  position: absolute; left: 2px; top: 2px; width: calc(100% - 4px); height: calc(100% - 4px); max-width: none;
  object-fit: cover; clip-path: var(--hc-clip); transition: transform .9s var(--ease), filter .5s var(--ease);
}
.hc__pic::after {
  content: ""; position: absolute; inset: 2px; clip-path: var(--hc-clip);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--dark) 52%, transparent) 0%,
    color-mix(in srgb, var(--dark) 76%, transparent) 48%,
    color-mix(in srgb, var(--dark) 90%, transparent) 100%);
}
.hc__glyph { position: absolute; z-index: 1; left: 50%; top: 14%; width: 13%; height: auto; aspect-ratio: 1; transform: translateX(-50%); transition: opacity .3s, transform .45s var(--ease); }
.hc__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
  padding: 30% 15% 0; color: var(--dark-text);
  transition: padding .45s var(--ease);
}
.hc__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(12px, 1.72cqi, 17px); line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--dark-text); }
.hc__text { margin: .55em 0 0; font-size: clamp(11.5px, 1.62cqi, 14.5px); line-height: 1.33; font-weight: 500; color: var(--dark-text); text-wrap: balance; }
.hc__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s; }
.hc__more > p { min-height: 0; overflow: hidden; margin: 0; padding-top: .5em; font-size: clamp(11px, 1.5cqi, 13.5px); line-height: 1.3; font-weight: 500; color: var(--straw); text-wrap: balance; }

/* Раскрытие большой соты: наведение, фокус с клавиатуры, касание (класс is-open) */
.hc__hex:is(:hover, :focus-visible, .is-open) { transform: scale(1.07); z-index: 6; filter: drop-shadow(0 0 18px var(--hc-glow)); }
.hc__hex:is(:hover, :focus-visible, .is-open) .hc__pic { background: var(--accent); }
.hc__hex:is(:hover, :focus-visible, .is-open) .hc__pic img { transform: scale(1.08); }
.hc__hex:is(:hover, :focus-visible, .is-open) .hc__glyph { opacity: 0; transform: translate(-50%, -40%); }
.hc__hex:is(:hover, :focus-visible, .is-open) .hc__body { padding-top: 13%; }
.hc__hex:is(:hover, :focus-visible, .is-open) .hc__more { grid-template-rows: 1fr; opacity: 1; }
.hc__hex::before, .hc__sat::before {
  content: ""; position: absolute; inset: -6px; z-index: -1; clip-path: var(--hc-clip);
  background: var(--text); opacity: 0; transition: opacity .2s;
}
.hc__hex:focus-visible::before, .hc__sat:focus-visible::before { opacity: 1; }
/* Сота шага подсвечивается, когда смотрят её малые соты */
.hc__step.is-active .hc__pic, .hc__step:hover .hc__pic { background: var(--accent); }

/* Малые соты */
.hc__sat {
  --w: 1.17; --d: calc(var(--sd) + .45);
  z-index: 4; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
  transition: left .4s var(--ease), top .4s var(--ease), width .4s var(--ease), filter .3s, opacity .3s;
}
.hc__sat:nth-child(2) { --d: calc(var(--sd) + .6); }
.hc__step--1 .hc__sat:nth-child(1) { --cx: -2.87; --cy: -1.6; --ocx: -2.55; --ocy: -1.22; }
.hc__step--1 .hc__sat:nth-child(2) { --cx: -3.03; --cy: -0.55; --ocx: -2.62; --ocy: -0.55; }
.hc__step--2 .hc__sat:nth-child(1) { --cx: 2.87; --cy: -1.6; --ocx: 2.55; --ocy: -1.22; }
.hc__step--2 .hc__sat:nth-child(2) { --cx: 3.03; --cy: -0.55; --ocx: 2.62; --ocy: -0.55; }
.hc__step--3 .hc__sat:nth-child(1) { --cx: -3.03; --cy: 0.55; --ocx: -2.62; --ocy: 0.55; }
.hc__step--3 .hc__sat:nth-child(2) { --cx: -2.87; --cy: 1.6; --ocx: -2.55; --ocy: 1.22; }
.hc__step--4 .hc__sat:nth-child(1) { --cx: 3.03; --cy: 0.55; --ocx: 2.62; --ocy: 0.55; }
.hc__step--4 .hc__sat:nth-child(2) { --cx: 2.87; --cy: 1.6; --ocx: 2.55; --ocy: 1.22; }
.hc__sat-in {
  position: absolute; inset: 0; clip-path: var(--hc-clip);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 1.5%; background: var(--hc-edge); transition: background .3s;
}
.hc__sat-in::before {
  content: ""; position: absolute; inset: 1.5px; clip-path: var(--hc-clip); z-index: 0;
  background: color-mix(in srgb, var(--bg-2) 86%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .3s;
}
.hc__sat-t, .hc__sat-d { position: relative; z-index: 1; }
.hc__sat-t { display: block; font-weight: 600; font-size: clamp(10.5px, 1.44cqi, 13px); line-height: 1.2; letter-spacing: -.01em; color: var(--text); hyphens: manual; }
.hc__sat-d {
  display: block; max-height: 0; opacity: 0; overflow: hidden;
  font-size: clamp(10.5px, 1.4cqi, 12.5px); line-height: 1.3; font-weight: 500; color: var(--text-2);
  transition: max-height .4s var(--ease), opacity .3s, margin .3s;
}
.hc__sat:is(:hover, :focus-visible, .is-open) { --w: 1.9; --cx: var(--ocx); --cy: var(--ocy); z-index: 7; filter: drop-shadow(0 0 16px var(--hc-glow)); }
.hc__sat:is(:hover, :focus-visible, .is-open) .hc__sat-in { background: var(--accent); padding: 0 13%; }
.hc__sat:is(:hover, :focus-visible, .is-open) .hc__sat-in::before { background: var(--bg-2); }
.hc__sat:is(:hover, :focus-visible, .is-open) .hc__sat-d { max-height: 7em; opacity: 1; margin-top: .45em; }
.hc__step.is-active .hc__sat-in, .hc__step:has(.hc__hex:hover) .hc__sat-in { background: var(--accent); }

/* Пока смотрят один шаг, остальные отходят на второй план */
.hc[data-active] .hc__step:not(.is-active) .hc__pic img { filter: saturate(.55) brightness(.8); }
.hc[data-active] .hc__step:not(.is-active) .hc__sat { opacity: .72; }
.hc[data-active="1"] .hc__links [data-s="1"],
.hc[data-active="2"] .hc__links [data-s="2"],
.hc[data-active="3"] .hc__links [data-s="3"],
.hc[data-active="4"] .hc__links [data-s="4"] { stroke-opacity: 1; stroke-width: .024; }

/* Главный смысл схемы и подсказка для клавиатуры — под сотами */
.hc__motto, .hc__hint {
  position: absolute; left: 0; right: 0; top: calc(100% + clamp(14px, 2.2cqi, 22px));
  margin: 0 auto; text-align: center; transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.hc__motto { max-width: 46ch; font-family: var(--font-display); font-weight: 400; font-size: clamp(14px, 1.9cqi, 18px); line-height: 1.35; color: var(--text-2); }
.hc__hint { max-width: 60ch; font-size: 13px; line-height: 1.4; color: var(--text-2); opacity: 0; pointer-events: none; }
.hc.show-hint .hc__hint { opacity: 1; }
.hc.show-hint .hc__motto { opacity: 0; }

/* ============================================================
   3. Сборка: CSS-переходы, запуск классом is-play, финал — is-done.
   Без JS (нет класса .js) и при prefers-reduced-motion схема сразу собрана.
   ============================================================ */
.hc__core { --d: 0; }
.hc__deco { --d: 2.55; }
.js .hc:not(.is-play) .hc__core { opacity: 0; transform: scale(.5); }
.js .hc:not(.is-play) .hc__hex { opacity: 0; transform: translate(calc(var(--sx) * -50%), calc(var(--sy) * -57.735%)) scale(.3); }
.js .hc:not(.is-play) .hc__sat { opacity: 0; transform: translate(calc((var(--sx) - var(--cx)) * 85.47%), calc((var(--sy) - var(--cy)) * 98.69%)) scale(.25); }
.js .hc:not(.is-play) .hc__deco { opacity: 0; transform: scale(.4); }
.js .hc:not(.is-play) .hc__links line { stroke-dashoffset: 1; }
.js .hc:not(.is-play) .hc__links circle { opacity: 0; }
.js .hc:not(.is-done) .hc__motto { opacity: 0; transform: translateY(10px); }
.hc.is-play:not(.is-done) :is(.hc__core, .hc__hex, .hc__sat, .hc__deco) {
  transition: opacity .55s var(--ease) calc(var(--d) * 1s), transform .85s var(--ease-spring) calc(var(--d) * 1s);
}
.hc.is-play:not(.is-done) .hc__links line { transition: stroke-dashoffset .6s var(--ease) calc(var(--d) * 1s); }
.hc.is-play:not(.is-done) .hc__links circle { transition: opacity .4s var(--ease) calc(var(--d) * 1s); }
/* Страховка: если скрипт схемы не запустился, через 4 с показываем собранное состояние */
@keyframes hc-failsafe { to { opacity: 1; transform: none; stroke-dashoffset: 0; } }
.js .hc:not(.is-play) :is(.hc__core, .hc__hex, .hc__sat, .hc__deco),
.js .hc:not(.is-play) .hc__links :is(line, circle) { animation: hc-failsafe .01s linear 4s forwards; }
.js .hc:not(.is-done) .hc__motto { animation: hc-failsafe .01s linear 5s forwards; }

/* Финал: волна света проходит по всей конструкции — система собрана */
@keyframes hc-sys { 0%, 100% { filter: none; } 45% { filter: drop-shadow(0 0 16px var(--hc-glow)) brightness(1.06); } }
@keyframes hc-node { 50% { opacity: .35; } }
@media (prefers-reduced-motion: no-preference) {
  .hc.is-done .hc__core { animation: hc-sys 1.2s var(--ease) 0s 1; }
  .hc.is-done .hc__hex { animation: hc-sys 1.2s var(--ease) .14s 1; }
  .hc.is-done .hc__sat { animation: hc-sys 1.2s var(--ease) .28s 1; }
  .hc.is-done .hc__links circle { animation: hc-node 3s ease-in-out 1.4s infinite; }
}

/* ============================================================
   4. Узкий контейнер (телефон): вертикальная схема «центр → 4 шага»
   ============================================================ */
@container hc (max-width: 599px) {
  .hc__stage {
    aspect-ratio: auto; margin-bottom: 0;
    display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; row-gap: 20px; align-items: center;
  }
  .hc__stage::before { inset: -10px auto auto -30px; width: 140px; height: 140px; }
  .hc__links, .hc__deco, .hc__hint { display: none; }
  .hc__core { position: relative; left: auto; top: auto; width: 72px; grid-column: 1; grid-row: 1; }
  .hc__logo { font-size: 10.5px; letter-spacing: 0; }
  .hc__core-sub { display: none; }
  .hc__motto { position: static; grid-column: 2; grid-row: 1; margin: 0; max-width: none; text-align: left; font-family: var(--font-text); font-weight: 600; font-size: 15.5px; line-height: 1.4; color: var(--text); }
  .hc.show-hint .hc__motto { opacity: 1; }
  .hc__steps { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 16px; position: relative; }
  .hc__steps::before {
    content: ""; position: absolute; left: 35px; top: -20px; bottom: 36px; width: 2px;
    background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 20%, transparent));
  }
  .hc__step { position: relative; }
  .hc__hex {
    position: relative; left: auto; top: auto; width: auto; aspect-ratio: auto;
    display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; align-items: start;
    border-radius: 4px;
  }
  .hc__pic { position: relative; inset: auto; width: 72px; aspect-ratio: 1.1547005; }
  .hc__glyph { top: 50%; width: 36%; transform: translate(-50%, -50%); }
  .hc__body { position: static; padding: 3px 0 0; align-items: flex-start; text-align: left; color: var(--text); }
  .hc__title { font-size: 15px; letter-spacing: .05em; color: var(--text); }
  .hc__text { margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--text-2); text-wrap: pretty; }
  .hc__more > p { font-size: 14px; color: var(--accent-text); padding-top: 6px; }
  .hc__hex:is(:hover, :focus-visible, .is-open) { transform: none; filter: none; }
  .hc__hex:is(:hover, :focus-visible, .is-open) .hc__glyph { opacity: 1; transform: translate(-50%, -50%); }
  .hc__hex:is(:hover, :focus-visible, .is-open) .hc__body { padding-top: 3px; }
  .hc__hex:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
  .hc__hex::before, .hc__sat::before { display: none; }
  .hc__hex:focus-visible .hc__pic { background: var(--accent); }
  .hc__sats { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 86px; }
  .hc__sat { position: static; width: auto; aspect-ratio: auto; left: auto; top: auto; max-width: 100%; }
  .hc__sat-in {
    position: relative; inset: auto; clip-path: none; display: block; text-align: left;
    padding: 5px 11px 5px 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2);
  }
  .hc__sat-in::before {
    inset: auto; left: 10px; top: 10px; width: 9px; height: 10px; background: var(--accent);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hc__sat-t { font-size: 13px; letter-spacing: 0; }
  .hc__sat-t br { display: none; }
  .hc__sat-d { display: none; font-size: 13.5px; }
  .hc__sat:is(:hover, :focus-visible, .is-open) .hc__sat-d { display: block; }
  .hc__sat:is(:hover, :focus-visible, .is-open) { filter: none; }
  .hc__sat:is(:hover, :focus-visible, .is-open) .hc__sat-in { background: var(--accent-2); padding: 6px 12px 8px 27px; border-color: var(--accent-text); }
  .hc__sat:is(:hover, :focus-visible, .is-open) .hc__sat-in::before { background: var(--accent-text); }
  .hc__sat.is-open { flex-basis: 100%; }
  .hc__sat:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
  .hc__step.is-active .hc__sat-in, .hc__step:has(.hc__hex:hover) .hc__sat-in { background: var(--bg-2); border-color: var(--accent-text); }
  .hc[data-active] .hc__step:not(.is-active) .hc__sat { opacity: 1; }
  /* Без JS на телефоне раскрывать нечем — пояснения видны сразу */
  html:not(.js) .hc__more { grid-template-rows: 1fr; opacity: 1; }
  html:not(.js) .hc__sat-d { display: block; }
  /* Сборка сверху вниз вместо разлёта от центра */
  .js .hc:not(.is-play) .hc__hex { transform: translateY(18px); }
  .js .hc:not(.is-play) .hc__sat { transform: scale(.7); }
}

@media (prefers-reduced-motion: reduce) {
  .js .hc :is(.hc__core, .hc__hex, .hc__sat, .hc__deco, .hc__motto),
  .js .hc .hc__links :is(line, circle) {
    opacity: 1 !important; transform: none !important; animation: none !important; stroke-dashoffset: 0 !important;
  }
  .hc :is(.hc__core, .hc__hex, .hc__sat, .hc__deco, .hc__motto, .hc__body, .hc__more, .hc__sat-d, .hc__pic img, .hc__glyph) { transition: none !important; }
  .hc.show-hint .hc__motto { opacity: 0 !important; }
}

/* ============================================================
   5. Контраст тонких подписей на главной (п. 2) и карточки центров (п. 15)
   ============================================================ */
.home-cards .ccard__region { color: var(--text-2); font-weight: 500; }
.home-cards .ccard h3 { font-size: 17px; line-height: 1.22; }
.home-cards .tag { color: var(--text); border-color: color-mix(in srgb, var(--text) 28%, transparent); font-weight: 500; }
.home-cards .passport { gap: 10px 14px; }
.home-cards .passport div { align-content: start; }
.home-cards .passport dt { color: var(--text-2); font-weight: 500; font-size: 11.5px; letter-spacing: .06em; line-height: 1.3; }
.home-cards .passport dd { font-weight: 600; font-size: 14.5px; color: var(--text); }
.home-cards .ccard__price small { color: var(--text-2); }
.home-cards .ccard__badge { font-weight: 600; }

/* Четыре ситуации: заголовок коротко, ситуации — списком */
.now-intro .lead { margin: 0 0 14px; }
.now-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.now-index a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0;
  font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.now-index a::before { content: ""; flex: none; width: 11px; height: 13px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.now-index a:hover { color: var(--accent-text); border-color: var(--accent-text); }
.now-head { align-items: start; }
@media (max-width: 520px) { .now-index { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   6. «Почему нам стоит доверять»: заметный блок-панель
   ============================================================ */
.trust__panel {
  position: relative; padding: clamp(24px, 4vw, 64px);
  background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--accent-text) 45%, var(--line));
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
  box-shadow: var(--shadow);
}
.trust__panel::before {
  content: ""; position: absolute; top: 0; right: 0; width: 44px; height: 44px; background: var(--accent);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.trust__panel::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), transparent 70%); pointer-events: none;
}
.trust__panel .section-head { margin-bottom: clamp(26px, 3.5vw, 44px); }
.trust__k { font-family: var(--font-display); font-weight: 500; font-size: clamp(14px, 1.35vw, 18px); letter-spacing: .05em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; hyphens: manual; -webkit-hyphens: manual; }
.trust__who {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 64px); align-items: start;
  padding-bottom: clamp(26px, 3.5vw, 44px); border-bottom: 1px solid var(--line);
}
.trust__big { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.38; }
.trust__facts { display: grid; gap: 14px; }
.trust__facts li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.trust__facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.trust__facts b { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; color: var(--accent-text); }
.trust__facts span { font-size: 15.5px; color: var(--text); line-height: 1.4; }

.trust__crit {
  display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 2fr); gap: clamp(24px, 3vw, 48px); align-items: center;
  padding-block: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line);
}
.trust__crit-head p { margin: 0; color: var(--text-2); font-size: 16px; }
/* Восемь сот в два ряда по четыре со сдвигом — без пустоты справа */
.trust .hexgrid--8 { grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: 6px; max-width: none; width: 100%; }
.trust .hexgrid--8 .hex:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.trust .hexgrid--8 .hex:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
.trust .hexgrid--8 .hex:nth-child(3) { grid-area: 1 / 5 / 2 / 7; }
.trust .hexgrid--8 .hex:nth-child(4) { grid-area: 1 / 7 / 2 / 9; }
.trust .hexgrid--8 .hex:nth-child(5) { grid-area: 2 / 2 / 3 / 4; }
.trust .hexgrid--8 .hex:nth-child(6) { grid-area: 2 / 4 / 3 / 6; }
.trust .hexgrid--8 .hex:nth-child(7) { grid-area: 2 / 6 / 3 / 8; }
.trust .hexgrid--8 .hex:nth-child(8) { grid-area: 2 / 8 / 3 / 10; }
.trust .hexgrid--8 .hex:nth-child(n+4) { margin-top: 0; }
.trust .hexgrid--8 .hex:nth-child(n+5) { margin-top: -26%; }
.trust .hex { background: color-mix(in srgb, var(--accent-text) 55%, var(--line)); }
.trust .hex__in { background: var(--bg); padding: 24% 12%; }
.trust .hex__title { font-size: clamp(13px, 1.12vw, 16px); color: var(--text); }
.trust .hex__text { color: var(--text-2); font-size: 13px; }
.trust .hex .tick { color: var(--accent-text); }
@media (hover: hover) {
  .trust .hex:hover, .trust .hex:focus-within { background: var(--accent); }
  .trust .hex:hover .hex__in, .trust .hex:focus-within .hex__in { background: var(--accent-2); }
}

.trust__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 44px); padding-top: clamp(28px, 4vw, 52px); }
.trust__card { padding: clamp(20px, 2.4vw, 32px); background: var(--bg); border: 1px solid var(--line); }
.trust__orgs { display: grid; gap: 14px; margin-bottom: 20px; }
.trust__orgs li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; }
.trust__orgs b { display: block; font-size: 16px; line-height: 1.3; color: var(--text); }
.trust__orgs span { font-size: 14px; line-height: 1.4; color: var(--text-2); }
.trust__logo { display: grid; place-items: center; width: 58px; height: 58px; padding: 5px; background: var(--seashell); border: 1px solid var(--line); }
.trust__logo img { width: 100%; height: 100%; object-fit: contain; }
.trust__deeds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.trust__deeds li { padding-left: 16px; border-left: 2px solid var(--accent); }
.trust__deeds b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.25; margin-bottom: 6px; color: var(--text); }
.trust__deeds span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }

@media (max-width: 1100px) {
  .trust__crit { grid-template-columns: minmax(0, 1fr); }
  .trust__crit-head { max-width: 60ch; }
}
@media (max-width: 900px) {
  .trust__who, .trust__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .trust__panel { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
  .trust__panel::before { width: 28px; height: 28px; }
  .trust__deeds { grid-template-columns: minmax(0, 1fr); }
}

/* На сенсорных экранах и телефоне описание критерия видно всегда — показываем критерии
   карточками с сотой-маркером, чтобы текст не обрезался краями шестиугольника */
@media (hover: none), (max-width: 640px) {
  .trust .hexgrid--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust .hexgrid--8 .hex:nth-child(n) { grid-area: auto; margin-top: 0; }
  .trust .hex { aspect-ratio: auto; clip-path: none; background: none; transform: none; }
  .trust .hex::after { left: 16px; top: 18px; transform: none; opacity: 1; }
  .trust .hex__in {
    position: relative; inset: auto; clip-path: none; height: 100%;
    display: block; text-align: left; padding: 14px 16px 16px 40px;
    background: var(--bg); border: 1px solid var(--line);
  }
  .trust .hex .tick { display: none; }
  .trust .hex__title { display: block; font-size: 15.5px; }
  .trust .hex__text { display: block; max-height: none; opacity: 1; margin-top: 6px; font-size: 14.5px; line-height: 1.45; }
}
@media (max-width: 640px) { .trust .hexgrid--8 { grid-template-columns: minmax(0, 1fr); } }
@media (hover: none), (max-width: 640px) { .trust__hint { display: none; } }

/* ============================================================
   7. Цены (раздел 3) и благотворительные организации (раздел 4)
   ============================================================ */
.fmt__cond { list-style: none; margin: 4px 0 0; padding: 0; font-size: 15px; color: var(--text-2); }
.fmt__cond li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.fmt__cond li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 9px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.fmt-note { margin: 22px 0 0; padding: 18px 20px; background: var(--accent-2); color: var(--text); font-size: 15px; line-height: 1.55; border-left: 3px solid var(--accent-text); }

.home-orgs { margin-top: 0; }
.dark .home-org { display: flex; flex-direction: column; }
.home-org__logo { display: grid; place-items: center; height: 132px; margin-bottom: 20px; padding: 14px; background: var(--seashell); }
.home-org__logo img { height: 104px; width: auto; max-width: 80%; object-fit: contain; }
.dark .home-org .founder__k { font-weight: 500; font-size: 11.5px; line-height: 1.4; }
.dark .home-org h3 { font-size: 19px; margin: 4px 0 12px; }
.dark .home-org p { color: color-mix(in srgb, var(--dark-text) 84%, transparent); }
.home-org__link { margin-top: auto; padding-top: 6px; }
.dark .home-org__link a { color: var(--straw); }
.home-org__more { margin-top: clamp(28px, 3.5vw, 44px); }
.dark .home-org__more .link-arrow { color: var(--straw); }

/* Соты в одну колонку (планшет): не растягиваем схему на всю ширину */
@media (max-width: 1259px) { .hero--hc .hc { max-width: 880px; margin-inline: auto; } }

/* ============================================================
   Правка: левые соты упирались в край секции
   ============================================================ */
/* Раскрытая малая сота сдвигается к центру. Прежнее правило проигрывало
   по специфичности координатам «по месту» и сота росла, не сдвигаясь. */
.hc .hc__step .hc__sat:is(:hover, :focus-visible, .is-open) { --cx: var(--ocx); --cy: var(--ocy); }
/* Секция первого экрана не обрезает схему по своему краю:
   свечение и раскрытая сота могут заходить в поле страницы,
   а горизонтальную прокрутку и так отсекает body. */
.hero.hero--hc { overflow-x: visible; }

/* ============================================================
   Плавность сот: анимируем только transform и opacity
   ============================================================ */
/* Размытие фона под каждой малой сотой перерисовывалось на каждом кадре — заменено плотной заливкой */
.hc__sat-in::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--bg-2) 93%, transparent); }
/* Сцена изолирована: перестроение одной соты не пересчитывает страницу */
.hc__stage { contain: layout; }
/* На время сборки соты — отдельные слои видеокарты */
.hc.is-play:not(.is-done) :is(.hc__core, .hc__hex, .hc__sat, .hc__deco) { will-change: transform, opacity; }
.hc__hex { will-change: transform; }
.hc__hex { transition: transform .45s var(--ease-spring); }

/* Свечение — слой под сотой с анимацией прозрачности вместо фильтра drop-shadow */
.hc__hex::after, .hc__sat::after, .hc__core::after {
  content: ""; position: absolute; inset: -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--hc-glow), transparent 74%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.hc .hc__hex:is(:hover, :focus-visible, .is-open),
.hc .hc__step .hc__sat:is(:hover, :focus-visible, .is-open) { filter: none; }
.hc__hex:is(:hover, :focus-visible, .is-open)::after,
.hc__sat:is(:hover, :focus-visible, .is-open)::after { opacity: 1; }

/* Финальная «волна света» — тоже через прозрачность */
@keyframes hc-glow { 0%, 100% { opacity: 0; } 45% { opacity: .9; } }
@media (prefers-reduced-motion: no-preference) {
  .hc.is-done .hc__core, .hc.is-done .hc__hex, .hc.is-done .hc__sat { animation: none; }
  .hc.is-done .hc__core::after { animation: hc-glow 1.2s var(--ease) 0s 1; }
  .hc.is-done .hc__hex::after { animation: hc-glow 1.2s var(--ease) .14s 1; }
  .hc.is-done .hc__sat::after { animation: hc-glow 1.2s var(--ease) .28s 1; }
}
@container hc (max-width: 599px) {
  .hc__hex::after, .hc__sat::after, .hc__core::after { display: none; }
  .hc__hex, .hc.is-play:not(.is-done) :is(.hc__core, .hc__hex, .hc__sat, .hc__deco) { will-change: auto; }
}
