:root {
  --bg: #090909;
  --bg2: #171717;
  --gold: #d9b437;
  --gold-dim: #9a7f2a;
  --text: #f2f0e8;
  --muted: #a7a7a7;
  --card: #151517;
  --line: #2a2a2e;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Raleway", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--gold); }
a:hover { color: #e8c85a; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { border-radius: 8px; display: block; box-shadow: 0 0 16px rgba(217, 180, 55, 0.35); transition: box-shadow 0.25s ease; }
.brand:hover .brand__logo { box-shadow: 0 0 28px rgba(217, 180, 55, 0.6); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; color: var(--text); }
.brand__text strong { letter-spacing: 3px; font-size: 18px; }
.brand__text small { letter-spacing: 2px; font-size: 10px; color: var(--gold); }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--gold); }
.header .btn { margin-left: 8px; }

/* Переключатель языков */
.lang { position: relative; display: inline-flex; align-self: center; }
.lang__cur {
  appearance: none; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font: inherit; padding: 6px 12px 6px 10px;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.lang__cur:hover {
  color: var(--text); border-color: rgba(217, 180, 55, 0.45);
  box-shadow: 0 0 0 3px rgba(217, 180, 55, 0.08);
}
.lang__cur svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang__cur .lang__chev { width: 12px; height: 12px; transition: transform 0.2s ease; }
.lang__cur[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__code { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  display: flex; flex-direction: column; min-width: 128px; padding: 5px;
  background: rgba(14, 14, 16, 0.97); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  animation: langIn 0.16s ease;
}
.lang__menu[hidden] { display: none; }
.lang__menu button {
  appearance: none; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px; border-radius: 8px;
  color: var(--muted); font: inherit; font-size: 13px; font-weight: 600;
  padding: 9px 12px; text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang__tag {
  flex: none; font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--gold); border: 1px solid rgba(217, 180, 55, 0.35);
  border-radius: 5px; padding: 2px 5px; line-height: 1.2;
}
.lang__menu button:hover { background: rgba(217, 180, 55, 0.08); color: var(--text); }
.lang__menu button.on { color: var(--gold); }
.lang__menu button.on .lang__tag { background: var(--gold); color: #111; border-color: var(--gold); }
@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: 15px;
  border: 1px solid var(--gold); cursor: pointer;
}
.btn--gold { background: var(--gold); color: #111; }
.btn--gold:hover { background: #e8c85a; color: #111; }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: rgba(217, 180, 55, 0.12); }
.btn:disabled { opacity: 0.55; cursor: wait; }

/* Hero */
.hero { padding: 72px 0 48px; background: radial-gradient(900px 420px at 80% 0%, rgba(217,180,55,0.07), transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16l28-16 28 16v34zM28 134l-28-16V84l28-16 28 16v34z' fill='none' stroke='%23d9b437' stroke-opacity='0.04'/%3E%3C/svg%3E"), var(--bg); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 320px at var(--mx, 80%) var(--my, 0%), rgba(217,180,55,0.07), transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; position: relative; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold); letter-spacing: 4px; font-size: 13px; margin: 0 0 12px; }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; height: 1px; width: 46px; background: var(--gold-dim); flex: none; }
.hero__eyebrow::after { opacity: 0.45; }
.hero h1 { font-size: 60px; line-height: 1.04; margin: 0 0 12px; letter-spacing: 2px; background: linear-gradient(180deg, #f7f2e5 15%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 span { font-size: 24px; letter-spacing: 4px; color: transparent; font-weight: 600; }
@supports not (background-clip: text) { .hero h1, .hero h1 span { color: var(--text); } }
.hero__tagline { display: inline-block; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; border: 1px solid var(--gold-dim); border-radius: 6px; padding: 7px 14px; background: rgba(217, 180, 55, 0.07); }
.hero__sub { font-size: 19px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin: 22px 0; flex-wrap: wrap; }
.hero__points { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.hero__points li { padding-left: 22px; position: relative; margin: 6px 0; }
.hero__points li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; font-size: 11px; top: 4px; }

/* Stagger появления hero */
.hero__copy > * { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
body.loaded .hero__copy > * { opacity: 1; transform: none; }
body.loaded .hero__copy > *:nth-child(1) { transition-delay: 0.05s; }
body.loaded .hero__copy > *:nth-child(2) { transition-delay: 0.12s; }
body.loaded .hero__copy > *:nth-child(3) { transition-delay: 0.19s; }
body.loaded .hero__copy > *:nth-child(4) { transition-delay: 0.26s; }
body.loaded .hero__copy > *:nth-child(5) { transition-delay: 0.33s; }
body.loaded .hero__copy > *:nth-child(6) { transition-delay: 0.40s; }
body.loaded .hero__copy > *:nth-child(7) { transition-delay: 0.47s; }

/* Плашка доверия */

/* Sections */
.section { padding: 86px 0; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__eyebrow { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: 12px; margin: 0 0 12px; }
.section h2 { margin: 0 0 30px; font-size: 34px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  border-top: 3px solid var(--gold);
}
.card h3 { margin: 0 0 8px; letter-spacing: 1px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Hover-подъём карточек */
.card, .step { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card:hover, .step:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(217, 180, 55, 0.25);
}

/* Нумерация секций */
main { counter-reset: starets-sec; }
.section__eyebrow::before { counter-increment: starets-sec; content: "0" counter(starets-sec) " / "; color: var(--gold-dim); }

/* About — фото основателя intentionally сдержанное */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.about__photo img {
  width: 100%; max-width: 200px; border-radius: 12px;
  border: 1px solid var(--line); display: block;
  filter: saturate(0.82) brightness(0.92);
}
.about__role { color: var(--gold); }

/* Contacts */
.contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contacts li { display: flex; gap: 14px; align-items: baseline; }
.contacts li > span:first-child { color: var(--muted); width: 90px; flex: none; }

/* Kraft band — бланк КП как фон */
.kraft-band {
  background: linear-gradient(rgba(11, 11, 12, 0.72), rgba(11, 11, 12, 0.72)), url("assets/blank-kp.jpg") center / cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  text-align: center;
}
.kraft-band__motto {
  margin: 0 0 18px; font-size: 20px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text);
}
.kraft-band__contacts {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  font-size: 17px;
}

/* Terminal */
.terminal {
  background: #0d0d0f; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  font-family: "Consolas", "Menlo", monospace; font-size: 14.5px; line-height: 1.75;
}
.terminal__bar {
  display: flex; align-items: center; gap: 6px;
  background: #161618; padding: 9px 12px; border-bottom: 1px solid var(--line);
}
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; }
.terminal__bar i:first-child { background: var(--gold-dim); }
.terminal__bar span { margin-left: 8px; color: var(--muted); font-size: 12px; }
.terminal__body { padding: 20px; min-height: 260px; color: #e2ddd0; }
.terminal__body div { white-space: pre-wrap; word-break: break-word; }
.tl-prompt { color: var(--gold); }
.tl-ok { color: #7dd87d; }
.tl-warn { color: #ff9d9d; }
.tl-dim { color: var(--muted); }

/* Терминал: градиентная рамка */
.terminal {
  border: 1px solid transparent;
  background:
    linear-gradient(#0d0d0f, #0d0d0f) padding-box,
    linear-gradient(140deg, rgba(217, 180, 55, 0.6), rgba(217, 180, 55, 0.06) 35%, rgba(217, 180, 55, 0.06) 65%, rgba(217, 180, 55, 0.45)) border-box;
}

.cases-sub { font-size: 22px; margin: 44px 0 8px; color: var(--text); }

/* Form */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 640px; }
.form__row { display: grid; gap: 6px; margin-bottom: 14px; }
.form label { font-size: 14px; }
.form input[type="text"], .form select, .form textarea {
  background: #0e0e10; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 11px 12px; font-size: 15px; font-family: inherit; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold-dim); border-color: var(--gold); }
.captcha { display: flex; gap: 10px; align-items: stretch; }
.captcha__q {
  flex: none; display: block; height: 42px; width: auto; object-fit: contain;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: #0e0e10; user-select: none;
}
.captcha input { flex: 1; min-width: 0; width: auto !important; }
.captcha__refresh {
  flex: none; width: 42px; border: 1px solid var(--line); border-radius: 8px;
  background: #0e0e10; color: var(--gold); font-size: 19px; line-height: 1;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.captcha__refresh:hover, .captcha__refresh:focus-visible { border-color: var(--gold); outline: none; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 16px; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.form__status { min-height: 24px; font-size: 14px; }
.form__status.ok { color: #7dd87d; }
.form__status.err { color: #ff9d9d; }

/* Policy */
.policy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.policy p { margin: 0 0 12px; }

/* Footer */
.footer { padding: 32px 0 44px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0 0 6px; }
.footer__nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; padding-top: 4px; }
.footer__nav a { color: var(--muted); text-decoration: none; }
.footer__nav a:hover { color: var(--gold); }

/* Burger (mobile) */
.burger { display: none; }

/* Reveal on scroll (класс добавляет JS; без JS всё видно сразу) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__copy > *, body.loaded .hero__copy > * { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  border-top: 3px solid var(--gold);
}
.step__num { color: var(--gold); font-weight: 800; font-size: 22px; letter-spacing: 2px; }
.step h3 { margin: 8px 0; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 4px 16px;
  display: grid; grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.32s ease;
}
.faq-item[open] { grid-template-rows: auto 1fr; }
.faq-item > p { overflow: hidden; min-height: 0; }
.faq-item summary {
  cursor: pointer; padding: 12px 0; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 20px; flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); font-size: 14px; margin: 0; }
.faq-item[open] p { margin: 0 0 14px; }

/* Consent banner: маленький, правый нижний угол */
.consent-banner {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  max-width: 340px; display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--gold-dim);
  border-radius: var(--radius); padding: 14px 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}
.consent-banner[hidden] { display: none; }
.consent-banner__text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.consent-banner__text a { color: var(--gold); }
.consent-banner__btn { flex-shrink: 0; padding: 8px 18px; font-size: 14px; }
@media (max-width: 560px) {
  .consent-banner { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

/* Back to top */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(11, 11, 12, 0.9);
  color: var(--gold); font-size: 20px; cursor: pointer;
}
.totop:hover { background: var(--gold); color: #111; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); z-index: 100; }

.caret {
  display: inline-block; width: 8px; height: 15px; background: var(--gold);
  vertical-align: -2px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }


/* Severity-бейджи отчёта */
.sev { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--card); }
.sev__title { margin: 0 0 10px; font-weight: 700; }
.sev__badges { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0 0 10px; }
.sev__badges li { font-size: 13px; font-weight: 700; border-radius: 6px; padding: 4px 12px; background: #0e0e10; border: 1px solid var(--line); }
.sev--crit { color: #ff6b6b; border-color: #5c2b2b; }
.sev--high { color: #ffa94d; border-color: #5c4426; }
.sev--med { color: #ffd43b; border-color: #5c5226; }
.sev--low { color: #69db7c; border-color: #2b5c37; }
.sev__note { margin: 0; color: var(--muted); font-size: 14px; }

/* Sticky CTA (только мобильные) */
.sticky-cta { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero { padding: 52px 0 40px; }
  .section { padding: 64px 0; }
  .header__inner { padding-top: 9px; padding-bottom: 9px; }
  .terminal { font-size: 13px; }
  .terminal__body { padding: 14px; min-height: 200px; }
  .hero__sub { font-size: 17px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 200px; }
  #philosophy .ticks { grid-template-columns: 1fr; }
  .header__inner { position: relative; gap: 12px; }
  .header .btn { display: none; }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
    margin-left: auto; background: none; border: 1px solid var(--line);
    border-radius: 8px; padding: 8px 10px; cursor: pointer;
  }
  .burger span { display: block; width: 22px; height: 2px; background: var(--gold); margin: 2.5px 0; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0e0e10; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px 20px 16px; gap: 12px;
  }
  .nav.open { display: flex; }
  .lang { align-self: flex-start; margin-top: 2px; }
  .lang__cur { padding: 10px 16px 10px 13px; }
  .lang__menu button { padding: 12px 14px; }
  .sticky-cta { display: block; position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 55; text-align: center; }
  .totop { bottom: 76px; }
  .footer__inner { flex-direction: column; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ===== Cinematic layer: свечения, иконки, shine, маски (ноль новых запросов) ===== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(217, 180, 55, 0.88); color: #111; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0e0e10; }
::-webkit-scrollbar-thumb { background: #3a3220; border-radius: 6px; border: 2px solid #0e0e10; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }
section[id], .kraft-band { scroll-margin-top: 72px; }

/* Hero: зерно поверх свечения */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}


/* Кнопки: shine-sweep; ghost — заливка слева */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none;
}
.btn:hover::after { left: calc(100% + 80px); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; background: rgba(217, 180, 55, 0.14);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.btn--ghost:hover::before { transform: scaleX(1); }

/* Marquee: fade по краям */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* Карточки и шаги: градиентная кромка вместо плоской */
.card, .step { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.card::before, .step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, #f3df9a 50%, var(--gold) 70%, transparent);
  opacity: 0.55;
}

/* Иконки услуг: приглушены — первым делом взгляд на название и пользу */
.card__icon {
  width: 32px; height: 32px; color: var(--gold-dim); margin-bottom: 12px;
  filter: drop-shadow(0 0 6px rgba(217, 180, 55, 0.25));
  transition: filter 0.25s ease, color 0.25s ease;
}
.card__icon svg { width: 100%; height: 100%; display: block; }
.card:hover .card__icon { color: var(--gold); filter: drop-shadow(0 0 10px rgba(217, 180, 55, 0.5)); }

/* Номера шагов: контурные */
.step__num { color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
@supports not (-webkit-text-stroke: 1px black) { .step__num { color: var(--gold); } }

/* Stagger появления сеток */
.cards .rv:nth-child(2), .steps .rv:nth-child(2) { transition-delay: 0.08s; }
.cards .rv:nth-child(3), .steps .rv:nth-child(3) { transition-delay: 0.16s; }
.cards .rv:nth-child(4), .steps .rv:nth-child(4) { transition-delay: 0.24s; }

/* Фото основателя: золотые уголки */
.about__photo { position: relative; }
.about__photo::before, .about__photo::after {
  content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--gold);
}
.about__photo::before { top: -8px; left: -8px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.about__photo::after { bottom: -8px; right: -8px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }

/* Kraft-band: виньетка */
.kraft-band { position: relative; }
.kraft-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55));
}
.kraft-band__inner { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .btn::after, .btn--ghost::before { display: none; }
  .cards .rv, .steps .rv { transition-delay: 0s; }
}

/* ===== Контентная волна 2: столпы, тики, чипы, цифры, темы ===== */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar__num { color: var(--gold); letter-spacing: 4px; font-size: 12px; font-weight: 700; margin: 0 0 6px; text-transform: uppercase; }
.pillar__list { list-style: none; padding: 0; margin: 12px 0; color: var(--muted); font-size: 14px; }
.pillar__list li { padding: 4px 0 4px 20px; position: relative; }
.pillar__list li::before { content: "–"; color: var(--gold); position: absolute; left: 4px; }

.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "◆"; color: var(--gold); position: absolute; left: 4px; font-size: 12px; top: 4px; }
.ticks--light li { color: var(--text); }

/* Philosophy — читаемая раскладка: лид ~620px, тики в две колонки */
.philo__lead { max-width: 620px; font-size: 18px; margin: 0 0 4px; }
.philo .ticks { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin-top: 22px; }

/* Вводные абзацы секций — ограниченная ширина колонки */
.container > p.muted, .kraft-band__inner > p { max-width: 620px; }
.policy { max-width: 660px; }

.chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0 0 22px; }
.chips li {
  font-size: 13.5px; color: var(--text); border: 1px solid var(--gold-dim);
  border-radius: 999px; padding: 7px 16px; background: rgba(217, 180, 55, 0.06);
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 6px 0 18px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, #f3df9a 50%, var(--gold) 70%, transparent);
}
.stat strong { display: block; font-size: 30px; color: var(--gold); letter-spacing: 1px; }
.stat span { font-size: 13px; color: var(--muted); }

/* Темы обращения: сетка чекбоксов */
.topics { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.topics legend { font-size: 14px; padding: 0 6px; }
.topics label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0 8px 8px 0;
  cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.topics label:hover { border-color: var(--gold-dim); color: var(--text); }
.topics label:has(input:checked) { border-color: var(--gold); color: var(--gold); background: rgba(217, 180, 55, 0.08); }
.topics input { accent-color: var(--gold); margin: 0; }

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* --- 404 --- */
.err404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.err404__logo { margin-bottom: 24px; }
.err404__code {
  font-family: monospace;
  color: var(--gold);
  font-size: 64px;
  line-height: 1;
  margin: 0;
}
.err404 h1 { margin: 8px 0; }
.err404 .muted { max-width: 420px; }
.err404 p:last-child { margin-top: 24px; }
