/* PentestBlock — тёмная тема, Space Grotesk для заголовков, Inter для текста, JetBrains Mono для кода */
:root {
  --bg: #070a0f;
  --bg-2: #0b1017;
  --surface: #0f151d;
  --surface-2: #141c26;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #e9eef4;
  --muted: #8f9bab;
  --accent: #6ee7a0;
  --accent-ink: #06130c;
  --accent-dim: rgba(110, 231, 160, .14);
  --crit: #ff5c5c; --high: #ff9b4a; --med: #f2cf4a; --low: #5fb0ff; --info: #8f9bab;
  --radius: 14px;
  --head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.03em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
code { font-family: var(--mono); font-size: .85em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 820px; }
.wrap.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.center { text-align: center; }
section { padding: 6rem 0; position: relative; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 3rem; }
.label { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.intro { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.note, .small { color: var(--muted); font-size: .92rem; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 1px solid var(--line-2); background: var(--surface); white-space: nowrap; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(110, 231, 160, .4); }
.btn.primary:hover { box-shadow: 0 8px 30px -8px rgba(110, 231, 160, .6); }
.btn.ghost { background: transparent; }
.btn.small { padding: .55rem 1rem; font-size: .9rem; }
.link { display: inline-flex; align-items: center; gap: .35rem; color: var(--accent); font-weight: 600; font-size: .95rem; }
.link svg { transition: transform .15s; }
.link:hover svg { transform: translateX(3px); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 10, 15, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 2rem; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.logo .mark { width: 1.7rem; height: 1.7rem; }
.menu { display: flex; gap: 1.6rem; color: var(--muted); font-size: .95rem; font-weight: 500; }
.menu a:hover { color: var(--ink); }
.right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; gap: .15rem; font-family: var(--mono); font-size: .8rem; }
.lang a { padding: .3rem .5rem; border-radius: 6px; color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--accent-dim); color: var(--accent); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; position: relative; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.burger span { top: 20px; }
.burger span::before { top: -6px; left: 0; } .burger span::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Первый экран */
.hero { padding: 6.5rem 0 5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 70%); opacity: .5; pointer-events: none; }
.hero::after { content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; max-width: 760px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(110, 231, 160, .16), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: .4rem .9rem .4rem .6rem; margin-bottom: 1.6rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--accent-dim); } 50% { box-shadow: 0 0 0 7px rgba(110, 231, 160, .05); } }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 54ch; margin-top: 1.2rem; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 2.2rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem .9rem; color: var(--muted); font-size: .9rem; }
.badges li { display: flex; align-items: center; gap: .45rem; }
.badges li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Терминал */
.term { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(110, 231, 160, .05); overflow: hidden; font-family: var(--mono); font-size: .86rem; }
.term-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: .78rem; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-bar i:first-child { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: .5rem; }
.term-body { margin: 0; padding: 1.2rem 1.2rem 1.4rem; line-height: 1.75; white-space: pre-wrap; min-height: 300px; color: var(--muted); }
.term-body span { display: block; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.term-body span.on { opacity: 1; transform: none; }
.term-body .c { color: var(--ink); } .term-body .w { color: var(--high); } .term-body .g { color: var(--accent); }
.term-body .c:last-child::after { content: ""; display: inline-block; width: .55em; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: .2em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Отрасли */
.industries { padding: 0 0 5rem; }
.industries .label { color: var(--muted); max-width: 60ch; letter-spacing: .08em; text-transform: none; font-size: .85rem; }
.ind { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.ind li { padding: 1.4rem 1.5rem; border-right: 1px solid var(--line); }
.ind li:last-child { border-right: 0; }
.ind h3 { font-size: 1rem; margin-bottom: .35rem; }
.ind p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Услуги */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: rgba(110, 231, 160, .45); transform: translateY(-2px); }
.svc header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.icon { width: 2.7rem; height: 2.7rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent-dim); color: var(--accent); }
.icon svg { width: 1.4rem; height: 1.4rem; }
.kind { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .6rem; }
.svc p { color: var(--muted); font-size: .97rem; }
.svc ul { margin: .2rem 0 1.4rem; display: grid; gap: .4rem; font-size: .92rem; }
.svc ul li { display: flex; gap: .5rem; align-items: flex-start; }
.svc ul svg { color: var(--accent); margin-top: .2rem; width: 1em; height: 1em; }
.svc footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.price.big { font-size: 2.4rem; display: block; line-height: 1; }

/* Процесс */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { position: relative; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 1px; background: var(--accent); }
.num { font-family: var(--mono); color: var(--accent); font-size: .85rem; display: block; margin-bottom: .7rem; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .92rem; margin-bottom: .6rem; }
.dur { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .05em; }
.standards { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--muted); font-size: .9rem; }
.standards span { margin-right: .5rem; }
.standards code { border: 1px solid var(--line-2); border-radius: 6px; padding: .3rem .6rem; background: var(--surface); color: var(--ink); font-size: .8rem; }

/* Отчёт */
.dl { display: grid; gap: 1.2rem; margin-top: 2rem; }
.dl li { padding-left: 1.2rem; border-left: 2px solid var(--accent); }
.dl h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.dl p { color: var(--muted); margin: 0; font-size: .95rem; }
.report { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.report-head .label { margin: 0; }
.stamp { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--crit); border: 1px solid var(--crit); border-radius: 4px; padding: .15rem .45rem; opacity: .8; transform: rotate(-3deg); }
.report h3 { font-size: 1.1rem; margin-bottom: 1.2rem; }
.sevs { display: grid; gap: .7rem; }
.sev { display: grid; grid-template-columns: 7.5rem 1fr 2rem; align-items: center; gap: .8rem; font-size: .9rem; }
.sev span { color: var(--muted); }
.sev i { display: block; height: 10px; border-radius: 5px; background: var(--line); position: relative; overflow: hidden; }
.sev i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 5px; background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1) .2s; }
.reveal.on .sev i::after { transform: none; }
.sev b { font-family: var(--mono); text-align: right; }
.sev.crit { --c: var(--crit); } .sev.high { --c: var(--high); } .sev.med { --c: var(--med); } .sev.low { --c: var(--low); } .sev.info { --c: var(--info); }
.report-foot { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* vCISO */
.vciso { padding: 2rem 0 6rem; }
.vciso-card { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid rgba(110, 231, 160, .3); border-radius: 20px; padding: 2.6rem; position: relative; overflow: hidden; }
.vciso-card::before { content: ""; position: absolute; top: -40%; right: -10%; width: 50%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(110, 231, 160, .18), transparent 70%); pointer-events: none; }
.pill { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: .3rem .7rem; margin-bottom: 1rem; }
.ticks { display: grid; gap: .55rem; margin-top: 1.2rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks svg { color: var(--accent); margin-top: .25rem; }
.vciso-card aside { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: .6rem; align-self: center; }
.per { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.vciso-card aside p { color: var(--muted); font-size: .92rem; margin: .4rem 0 1rem; }

/* Прайс */
.table-wrap { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
th { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { font-family: var(--head); font-weight: 600; white-space: nowrap; }
th.num { font-family: var(--mono); font-weight: 500; }
tbody tr:hover { background: rgba(255, 255, 255, .02); }
.tag { font-family: var(--mono); font-size: .75rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag.monthly { color: var(--accent); border-color: rgba(110, 231, 160, .4); background: var(--accent-dim); }
.tag.semi { color: var(--low); border-color: rgba(95, 176, 255, .4); }
#pricing .note { margin-top: 1.2rem; }

/* Комплаенс */
.comp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.comp li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.std { font-family: var(--head); font-weight: 700; font-size: 1.3rem; display: block; margin-bottom: .6rem; color: var(--accent); }
.comp p { color: var(--muted); font-size: .92rem; margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; width: 1.4rem; height: 1.4rem; flex: none; border: 1px solid var(--line-2); border-radius: 50%; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .2s; }
.faq summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq p { color: var(--muted); margin: 0 0 1.4rem; max-width: 65ch; }

/* Контакты */
.contact { padding-bottom: 7rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 2rem 0; }
.facts li { display: flex; flex-direction: column; gap: .15rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.facts span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.addr { display: flex; gap: .5rem; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.addr svg { color: var(--accent); margin-top: .2rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 2.2rem; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.contact-card h3 { font-size: 1.5rem; }
.contact-card > p { color: var(--muted); }
.contacts { display: grid; gap: .6rem; margin: 1.4rem 0 1rem; }
.contacts .btn { justify-content: flex-start; }
.contacts .btn:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.plain { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.5rem; }
.plain a { color: var(--accent); text-decoration: underline; }

footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
footer .lang a { color: var(--muted); }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .term-body span { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .comp, .ind { grid-template-columns: repeat(2, 1fr); }
  .ind li:nth-child(2n) { border-right: 0; } .ind li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero .wrap, .wrap.two { grid-template-columns: 1fr; gap: 2.5rem; }
  .vciso-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 4rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1rem; }
  .menu.open { display: flex; }
  .menu a { padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .burger { display: block; }
  .top .btn { display: none; }
  .svc-grid, .steps, .comp, .ind, .facts { grid-template-columns: 1fr; }
  .ind li { border-right: 0; border-bottom: 1px solid var(--line); }
  .ind li:last-child { border-bottom: 0; }
  .term-body { min-height: 0; font-size: .78rem; }
  th, td { padding: .8rem .9rem; }
  th:last-child, td:last-child { display: none; }
  .vciso-card { padding: 1.6rem; }
  .contact-card { padding: 1.6rem; }
  .price.big { font-size: 2rem; }
}
