/* nocv.io — корпоративная страница ООО «НОЦВ». Направление «Тёмный премиум»:
   глубокий чернильно-синий фон, золото в акцентах, стеклянные панели, мягкое свечение за знаком,
   крупный контурный шестигранник как водяной знак. Одна тема (тёмная), все цвета — через токены :root.
   Без JavaScript; анимации только CSS и отключаются при prefers-reduced-motion. */
:root {
  --bg-top: #0b1020;                    /* верх градиента фона */
  --bg-bot: #141d3a;                    /* низ градиента фона */
  --text: #eef1f8;                      /* основной текст */
  --text-soft: #cfd6e8;                 /* лид, абзацы */
  --muted: #a9b4cf;                     /* подписи, вторичное (≥ 7:1 на фоне) */
  --gold: #c9a45c;                      /* золото: акценты, узлы, свечение */
  --gold-soft: #e6cf98;                 /* светлое золото для текста */
  --gold-deep: #a8843f;                 /* тёмное золото для градиентов кнопки */
  --gold-a10: rgba(201, 164, 92, .10);
  --gold-a18: rgba(201, 164, 92, .18);
  --gold-a30: rgba(201, 164, 92, .30);
  --gold-a45: rgba(201, 164, 92, .45);
  --gold-a60: rgba(201, 164, 92, .60);
  --glass: rgba(150, 172, 235, .07);    /* стекло: фон панели (лёгкий синий тон) */
  --glass-hi: rgba(170, 188, 240, .11); /* стекло: верхний блик градиента */
  --line: rgba(255, 255, 255, .10);     /* тонкая светлая рамка */
  --line-strong: rgba(255, 255, 255, .18);
  --shadow: 0 24px 60px rgba(3, 6, 18, .55);
  --header-bg: rgba(11, 16, 32, .62);
  --btn-ink: #0f1526;                   /* текст на золотой кнопке */
  --blue-glow: rgba(78, 110, 220, .22); /* синий шар в декоре */
  --radius: 20px;
  --font-head: "Manrope", "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Golos Text", "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "PT Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg-bot); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, #0f1630 45%, var(--bg-bot) 100%);
  color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  text-rendering: optimizeLegibility; font-kerning: normal;
  overflow-x: hidden;
}
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 28px; }
a { color: var(--text); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.nobr { white-space: nowrap; }
[id] { scroll-margin-top: 96px; }
.code { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
svg { display: block; }

/* Декор: закреплённые светящиеся шары за всей страницей (без filter — дешёвые радиальные градиенты) */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-a { width: 820px; height: 820px; top: -300px; right: -220px; background: radial-gradient(circle, var(--gold-a18) 0%, rgba(201, 164, 92, .06) 35%, transparent 65%); animation: drift 28s ease-in-out infinite alternate; }
.orb-b { width: 900px; height: 900px; bottom: -380px; left: -320px; background: radial-gradient(circle, var(--blue-glow) 0%, rgba(78, 110, 220, .08) 35%, transparent 65%); animation: drift 34s ease-in-out infinite alternate-reverse; }
.orb-c { width: 520px; height: 520px; top: 42%; left: -220px; background: radial-gradient(circle, var(--gold-a10) 0%, transparent 62%); animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(46px, 34px, 0); } }

/* Стекло */
.glass {
  position: relative;
  background: linear-gradient(160deg, var(--glass-hi), var(--glass) 55%, rgba(150, 172, 235, .045));
  border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .09);
}

/* Шапка: стеклянная полоса, липкая на широких экранах */
header.top { position: relative; z-index: 20; background: var(--header-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; justify-content: space-between; align-items: center; gap: 14px 32px; flex-wrap: wrap; padding-block: 16px; }
.mark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.mark .emblem { flex: none; color: var(--gold); filter: drop-shadow(0 0 10px var(--gold-a30)); }
.mark > span { font-family: var(--font-head); font-weight: 800; font-size: 23px; letter-spacing: .14em; line-height: 1.05; }
.mark small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; max-width: 30em; }
nav { display: flex; flex-wrap: wrap; gap: 4px 30px; }
nav a { position: relative; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; padding-block: 8px; transition: color .25s; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
nav a:hover { color: var(--text); }
nav a:hover::after { transform: scaleX(1); }

/* Первый экран: заявление слева, стеклянная карточка справа, водяной знак и свечение позади */
.hero-band { position: relative; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.halo { position: absolute; width: 760px; height: 760px; left: calc(50% - 48px); top: 12px; border-radius: 50%; background: radial-gradient(circle, var(--gold-a30) 0%, rgba(201, 164, 92, .10) 32%, transparent 64%); animation: breathe 9s ease-in-out infinite; }
.watermark { position: absolute; width: 800px; height: 800px; left: 50%; top: -8px; color: var(--gold); opacity: .17; }
@keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 400px); gap: 48px 72px; align-items: center; padding-block: 76px 88px; }
.intro > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.intro > :nth-child(1) { animation-delay: .05s; }
.intro > :nth-child(2) { animation-delay: .15s; }
.intro > :nth-child(3) { animation-delay: .25s; }
.intro > :nth-child(4) { animation-delay: .35s; }
.intro > :nth-child(5) { animation-delay: .45s; }
.record { animation: rise .9s .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 22px; line-height: 1.5; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin-right: 12px; margin-top: -2px; background: var(--gold); }
h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(38px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 26px; text-wrap: balance; }
.grad { color: var(--gold-soft); }
.lead { font-size: 18.5px; line-height: 1.6; color: var(--text-soft); max-width: 36em; margin: 0; text-wrap: pretty; }
.status { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: var(--gold-a10); border: 1px solid var(--gold-a30); max-width: 40em; }
.status .ico { flex: none; margin-top: 3px; fill: none; stroke: var(--gold-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.status p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-soft); text-wrap: pretty; }
.status strong { color: var(--text); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; overflow: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s, background-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--btn-ink); background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 52%, var(--gold-deep) 100%); box-shadow: 0 12px 30px var(--gold-a30), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold:hover { box-shadow: 0 16px 38px var(--gold-a45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-a10); }

/* Карточка компании */
.record { padding: 26px 28px 12px; }
.record::before { content: ""; position: absolute; top: -1px; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.record-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.seal { position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; color: var(--gold); }
.seal::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; background: radial-gradient(circle, var(--gold-a45) 0%, var(--gold-a10) 45%, transparent 70%); }
.seal svg { position: relative; filter: drop-shadow(0 0 12px var(--gold-a60)); }
.record h2 { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .01em; line-height: 1.25; margin: 0; }
.record dl { margin: 0; }
.record dl > div { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.record dt { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.record dd { margin: 0; font-size: 15.5px; line-height: 1.45; }
.record dd.code { font-size: 15px; color: var(--gold-soft); }
.record dd.pending::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-a18), 0 0 12px var(--gold-a60); vertical-align: 2px; }

/* Разделы */
section.wrap { padding-block: 72px; position: relative; }
section.wrap + section.wrap::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent); }
.sec-head { margin-bottom: 40px; }
h2.sec { position: relative; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.1vw, 38px); line-height: 1.15; letter-spacing: -.01em; margin: 0; padding-top: 18px; text-wrap: balance; }
h2.sec::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); box-shadow: 0 0 12px var(--gold-a45); }
.sec-head .eyebrow { margin-bottom: 10px; }
.sec-head .eyebrow + h2.sec { padding-top: 0; }
.sec-head .eyebrow + h2.sec::before { content: none; }

/* Лента ключевых дат: горизонтальный маршрут с золотыми узлами и свечением */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent 0%, var(--gold) 6%, var(--gold) 90%, transparent 100%); opacity: .6; box-shadow: 0 0 14px var(--gold-a30); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3e3b8, var(--gold) 60%, var(--gold-deep)); box-shadow: 0 0 0 5px var(--gold-a18), 0 0 22px var(--gold-a60); }
.timeline li:nth-child(2)::after { animation-delay: .8s; }
.timeline li:nth-child(3)::after { animation-delay: 1.6s; }
.timeline li:nth-child(4)::after { animation-delay: 2.4s; }
 100% { transform: scale(3.2); opacity: 0; } }
.timeline time { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.timeline .pre { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--gold-soft); }
.timeline p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; padding-right: 8px; }

/* Карточки с иконками: деятельность и контакты */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 30px 28px 28px; transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s, box-shadow .4s; }
.card:hover { transform: translateY(-4px); border-color: var(--gold-a45); box-shadow: 0 30px 70px rgba(3, 6, 18, .6), 0 0 0 1px var(--gold-a18), inset 0 1px 0 rgba(255, 255, 255, .1); }
.icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; color: var(--gold-soft); background: linear-gradient(160deg, var(--gold-a18), var(--gold-a10)); border: 1px solid var(--gold-a30); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 24px rgba(3, 6, 18, .35); }
.icon svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.card a.mail { font-family: var(--font-mono); font-size: 19px; color: var(--gold-soft); text-decoration-color: var(--gold-a60); }
.card a.mail:hover { color: var(--text); }

/* Правовая основа и уведомление */
.law-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .95fr); gap: 32px 56px; align-items: start; }
.prose p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: var(--text-soft); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.notice { padding: 26px 28px 26px 32px; }
.notice::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); box-shadow: 0 0 12px var(--gold-a45); }
.notice .icon { width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; }
.notice p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-soft); text-wrap: pretty; }

/* Реквизиты: выписка на стекле */
.req-wrap { padding: 10px 32px; max-width: 900px; }
table.req { border-collapse: collapse; width: 100%; font-size: 15.5px; }
table.req th, table.req td { text-align: left; padding: 15px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.req tr:first-child th, table.req tr:first-child td { border-top: none; }
table.req th { font-weight: 500; color: var(--muted); width: 34%; padding-right: 28px; font-size: 14.5px; }
table.req td { line-height: 1.55; }
table.req td.code { font-size: 15px; color: var(--gold-soft); }

/* Подвал */
footer { border-top: 1px solid var(--line); background: rgba(5, 8, 18, .35); }
.foot-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; padding-block: 26px 30px; font-size: 14px; color: var(--muted); }
.foot-in span + span::before { content: "·"; margin: 0 14px; color: var(--gold); }
.foot-in a { color: var(--muted); }
.foot-in a:hover { color: var(--text); }

@media (min-width: 900px) {
  header.top { position: sticky; top: 0; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 56px 64px; align-items: start; }
  .record { max-width: 520px; }
  .halo { left: auto; right: -300px; top: -120px; width: 640px; height: 640px; }
  .watermark { left: auto; right: -260px; top: -40px; width: 560px; height: 560px; opacity: .13; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .timeline::before { content: none; }
  .timeline li { padding-top: 34px; }
  .timeline li::before,   .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .law-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .orb { animation: none; will-change: auto; }
  .glass:not(header.top) { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .top-in { padding-block: 12px 10px; gap: 8px 20px; }
  .mark { gap: 12px; }
  .mark .emblem { width: 38px; height: 38px; }
  .mark > span { font-size: 21px; }
  .mark small { font-size: 10px; letter-spacing: .08em; margin-top: 4px; }
  nav { width: 100%; gap: 0 18px; }
  nav a { font-size: 14px; padding-block: 5px; }
  .hero { gap: 32px; padding-block: 44px 52px; }
  h1 { margin-bottom: 20px; }
  .lead { font-size: 17px; }
  .status { padding: 16px; gap: 12px; margin-top: 22px; }
  .status p { font-size: 15px; }
  .actions { margin-top: 24px; gap: 12px; }
  .btn { padding: 13px 20px; font-size: 15px; }
  .halo { right: -340px; top: -180px; }
  .watermark { right: -300px; top: -60px; width: 480px; height: 480px; opacity: .12; }
  .record { padding: 22px 20px 8px; }
  .record-head { gap: 14px; }
  .seal { width: 52px; height: 52px; }
  .seal svg { width: 46px; height: 46px; }
  section.wrap { padding-block: 52px; }
  section.wrap + section.wrap::before { left: 20px; right: 20px; }
  .sec-head { margin-bottom: 28px; }
  h2.sec { font-size: 27px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 30px; }
  .timeline::before { content: ""; left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold) 0%, var(--gold) 85%, transparent 100%); }
  .timeline li { padding-top: 0; }
  .timeline li::before,   .timeline time { font-size: 22px; }
  .timeline p { margin-top: 6px; font-size: 15px; }
  .cards, .cards.two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { padding: 24px 22px 22px; }
  .icon { width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; }
  .prose p { font-size: 16px; }
  .notice { padding: 22px 20px 22px 26px; }
  .req-wrap { padding: 6px 20px; }
  table.req th, table.req td { display: block; width: auto; padding: 0; border-top: none; }
  table.req tr { display: block; padding: 13px 0; border-top: 1px solid var(--line); }
  table.req tr:first-child { border-top: none; }
  table.req th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
  table.req td { font-size: 15.5px; }
  .foot-in { flex-direction: column; gap: 6px; padding-block: 22px 26px; }
  .foot-in span + span::before { content: none; }
}
@media (max-width: 560px) {
  nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .bg, .hero-art, .halo, .watermark, .orb { display: none !important; }
  body, .hero-band, header.top, footer { background: #fff !important; color: #111 !important; }
  .glass, .card, .record, .notice { background: #fff !important; border-color: #999 !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  a { color: #111 !important; }
}
