:root {
  --bg: #070907;
  --surface: #0d110e;
  --surface-2: #121713;
  --text: #f4f0e7;
  --muted: #a3a59f;
  --subtle: #6f746e;
  --gold: #c88c24;
  --gold-light: #e8c577;
  --green: #00b852;
  --line: rgba(232, 197, 119, .15);
  --line-strong: rgba(232, 197, 119, .38);
  --shell: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --section: clamp(72px, 7vw, 112px);
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 18% 0%, rgba(200,140,36,.055), transparent 28rem), var(--bg); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: #080a08; background: var(--gold-light); }
.skip { position: fixed; left: 20px; top: -100px; z-index: 999; padding: 10px 16px; color: var(--bg); background: var(--gold-light); }
.skip:focus { top: 20px; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-top: var(--section); }
.section > .shell { position: relative; }
.section > .shell::before { content: ''; position: absolute; top: calc(var(--section) * -1); left: var(--pad); right: var(--pad); height: 1px; background: linear-gradient(90deg, var(--gold), rgba(200,140,36,.1) 30%, transparent 80%); opacity: .45; }
.page-hero + .section,
.detail-hero + .section,
.project-hero + .section,
.route-section.section,
article > .section { --section: clamp(64px, 5.5vw, 84px); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p, a, span { overflow-wrap: break-word; }
.shell > *, [class*="__grid"] > * { min-width: 0; }
h2 { margin-bottom: 0; max-width: 900px; font-size: clamp(2.6rem, 4.7vw, 4.7rem); font-weight: 500; line-height: .97; letter-spacing: -.06em; }
h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.025em; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold-light); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.kicker::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.kicker:has(.status-dot)::before { display: none; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,184,82,.1); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: clamp(36px, 4.5vw, 58px); }
.section-head > p { max-width: 480px; margin: 0; color: var(--muted); }
.section-head__aside { max-width: 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.section-head__aside p { margin: 0; color: var(--muted); }
.text-link { flex: 0 0 auto; padding-bottom: 6px; color: var(--gold-light); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.text-link:hover { color: #ffe0a0; border-color: currentColor; }
.gold-button, .line-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; border-radius: 1px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.gold-button { color: #11110e; background: linear-gradient(135deg, #f0d58f, var(--gold)); }
.gold-button:hover { transform: translateY(-2px); background: linear-gradient(135deg, #ffe6a8, #db9c2f); }
.line-button { color: var(--gold-light); background: transparent; border-color: var(--line-strong); }
.line-button:hover { color: var(--bg); background: var(--gold-light); border-color: var(--gold-light); }

/* chrome */
.service-bar { height: 34px; color: #8d918b; background: #040604; border-bottom: 1px solid rgba(255,255,255,.04); font-size: .72rem; }
.service-bar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.service-bar__inner > span { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .04em; }
.service-bar__inner > div { display: flex; gap: 28px; }
.service-bar a:hover { color: var(--gold-light); }
.header { position: sticky; top: 0; z-index: 80; background: rgba(7,9,7,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px) saturate(120%); }
.header__inner { height: 82px; display: flex; align-items: center; gap: 36px; }
.brand { flex: 0 0 auto; }
.brand img { width: 185px; height: 52px; object-fit: contain; object-position: left center; filter: grayscale(1) sepia(.9) saturate(2.6) hue-rotate(354deg) brightness(.94) contrast(1.06); }
.nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2vw, 34px); }
.nav a { position: relative; color: #c1c2bc; font-size: .79rem; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 1px; background: var(--gold-light); transform: scaleX(0); transition: transform .25s; }
.nav a:hover, .nav a.active { color: var(--gold-light); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.portal-link { padding: 10px 14px; color: #171208; background: var(--gold-light); border: 1px solid var(--gold-light); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.portal-link:hover { background: #f4d58c; border-color: #f4d58c; }
.text-action { padding: 10px 0; color: var(--gold-light); background: none; border: 0; border-bottom: 1px solid var(--line-strong); font-size: .75rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.menu { display: none; width: 44px; height: 44px; position: relative; color: var(--gold-light); background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.menu span { position: absolute; left: 12px; right: 12px; top: 18px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* home hero */
.hero { min-height: calc(100svh - 116px); position: relative; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; overflow: hidden; }
.hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-in 1.2s cubic-bezier(.2,.75,.1,1) both; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,7,5,.99) 0%, rgba(5,7,5,.9) 34%, rgba(5,7,5,.34) 67%, rgba(5,7,5,.08) 100%), linear-gradient(0deg, rgba(5,7,5,.95) 0%, transparent 38%); }
.hero__content { padding-top: clamp(82px, 11vh, 118px); padding-bottom: 92px; }
.hero__content h1 { max-width: 880px; margin: 8px 0 28px; font-size: clamp(4rem, 5.9vw, 6.5rem); font-weight: 500; line-height: .9; letter-spacing: -.07em; }
.hero__content h1 em { color: var(--gold-light); font-style: normal; }
.hero__content > p:not(.kicker) { max-width: 650px; margin-bottom: 0; color: #c5c5bf; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero__actions { display: flex; gap: 12px; margin-top: 38px; }
.hero__foot { position: absolute; right: max(var(--pad), calc((100vw - var(--shell)) / 2 + var(--pad))); bottom: 34px; width: min(35vw, 520px); display: grid; grid-template-columns: 1fr 1fr; padding: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); background: rgba(5, 7, 5, .76); backdrop-filter: blur(14px); }
.hero__foot > div { min-height: 88px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__foot span { color: var(--subtle); font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; }
.hero__foot strong { color: var(--gold-light); font-size: 1.25rem; font-weight: 500; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

/* expertise */
.expertise__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.expertise-card { position: relative; grid-column: span 4; min-height: 520px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.expertise-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(1.04); transition: transform .8s cubic-bezier(.2,.75,.1,1), filter .5s; }
.expertise-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,6,4,.99) 4%, rgba(4,6,4,.76) 40%, rgba(4,6,4,.05) 80%); }
.expertise-card__content { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 42px); }
.expertise-card__content small { margin-bottom: 18px; color: var(--gold-light); font-size: .7rem; letter-spacing: .18em; }
.expertise-card__content strong { max-width: 330px; font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.expertise-card__content > span { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.expertise-card__content b { margin-top: 22px; color: var(--gold-light); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.expertise-card:hover { border-color: var(--line-strong); }
.expertise-card:hover img { transform: scale(1.04); filter: saturate(.9) contrast(1.04); }

/* services index */
.service-index__tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.service-index__tabs button { flex: 1; min-width: 220px; padding: 20px 24px; color: var(--muted); background: transparent; border: 0; border-bottom: 1px solid transparent; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.service-index__tabs button.active { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.service-list { display: none; grid-template-columns: 1fr 1fr; }
.service-list.active { display: grid; }
.service-list a { min-height: 84px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--line); transition: background .2s; }
.service-list a:nth-child(odd) { border-right: 1px solid var(--line); }
.service-list small { color: var(--gold); font-size: .7rem; }
.service-list span { font-size: 1.05rem; }
.service-list b { color: var(--subtle); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.service-list a:hover { background: rgba(232,197,119,.035); }
.service-list a:hover b { color: var(--gold-light); }

/* catalog */
.catalog-showcase { padding-bottom: var(--section); background: linear-gradient(180deg, transparent, rgba(232,197,119,.025)); }
.catalog-groups { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.catalog-showcase .catalog-groups { grid-template-columns: repeat(4, 1fr); }
.catalog-group { min-height: 340px; display: flex; flex-direction: column; padding: 16px 20px 24px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(232,197,119,.018), transparent 62%); transition: background .25s, color .25s; }
.catalog-group__image { width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; flex: 0 0 auto; margin: 0 0 20px; padding: 8px; object-fit: contain; background: radial-gradient(circle at 70% 28%, rgba(200,140,36,.09), transparent 48%), #080b08; border: 1px solid var(--line); filter: saturate(.82) contrast(1.03); transition: transform .65s cubic-bezier(.2,.75,.1,1), filter .35s, border-color .35s; }
.catalog-group small { color: var(--gold); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.catalog-group strong { max-width: 330px; margin-top: auto; font-size: 1.25rem; font-weight: 500; line-height: 1.25; }
.catalog-group span { margin-top: 8px; color: var(--subtle); font-size: .75rem; }
.catalog-group:hover { background: var(--gold-light); color: #10110e; }
.catalog-group:hover small, .catalog-group:hover span { color: #6d521d; }
.catalog-group:hover .catalog-group__image { transform: translateY(-2px); filter: saturate(.94) contrast(1.04); border-color: rgba(109,82,29,.38); }
.catalog-groups--large { grid-template-columns: repeat(3, 1fr); }

/* projects */
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 285px; gap: 18px; }
.project-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.project-card--feature { grid-column: span 2; grid-row: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.72) sepia(.08) brightness(.76); transition: transform .8s cubic-bezier(.2,.75,.1,1), filter .5s; }
.project-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,6,4,.94), transparent 66%); }
.project-card__content { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 24px; }
.project-card__content small { color: var(--gold-light); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.project-card__content strong { margin-top: 8px; font-size: clamp(1rem, 1.5vw, 1.35rem); font-weight: 500; line-height: 1.18; }
.project-card__content b { margin-top: 8px; color: var(--muted); font-size: .72rem; font-weight: 500; }
.project-card:hover img { transform: scale(1.045); filter: grayscale(.12) sepia(.02) brightness(.94); }
.project-grid--compact { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; }
.project-grid--portfolio { grid-auto-rows: 300px; }

/* software */
.software { margin-top: clamp(54px, 5vw, 78px); padding-block: clamp(72px, 6vw, 96px); background: #0a0d0b; }
.software > .shell::before { display: none; }
.software__intro { position: static; }
.software__intro h2 { font-size: clamp(2.8rem, 5.1vw, 4.9rem); }
.software__intro > p { max-width: 440px; margin: 0; color: var(--muted); }
.software__cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.software__cards article { min-height: 260px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr; gap: 24px 18px; align-items: start; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.software__cards small { color: var(--gold); }
.software__cards .signal { justify-self: end; }
.software__copy { min-width: 0; }
.software__copy { grid-column: 1 / -1; align-self: end; }
.software__copy h3 { margin: 0 0 6px; }
.software__copy p { margin: 0; color: var(--muted); }
.signal { height: 54px; display: flex; align-items: end; gap: 5px; }
.signal i { width: 5px; height: 20%; background: var(--gold); animation: signal 2.2s ease-in-out infinite alternate; }
.signal i:nth-child(2) { height: 72%; animation-delay: -.5s; }
.signal i:nth-child(3) { height: 42%; animation-delay: -1.1s; }
.signal i:nth-child(4) { height: 90%; animation-delay: -1.5s; background: var(--green); }
@keyframes signal { to { height: 90%; opacity: .55; } }

/* metrics clients journal */
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-grid > div { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid small { min-height: 18px; color: var(--gold); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.metric-grid strong { color: var(--gold-light); font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.metric-grid span { max-width: 240px; margin-top: 12px; color: var(--muted); }
.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-grid span { min-height: 92px; display: grid; place-items: center; padding: 18px; color: #a6a9a2; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .73rem; font-weight: 500; letter-spacing: .06em; text-align: center; text-transform: uppercase; transition: color .2s, background .2s; }
.client-grid span:hover { color: var(--gold-light); background: rgba(232,197,119,.035); }
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.journal__grid article { min-height: 400px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journal__grid article:first-child { border-left: 1px solid var(--line); }
.journal__image { width: calc(100% + 60px); max-width: none; height: 148px; flex: 0 0 148px; margin: -30px -30px 24px; object-fit: cover; filter: saturate(.72) contrast(1.03); transition: transform .65s cubic-bezier(.2,.75,.1,1), filter .35s; }
.journal__grid article:hover .journal__image { transform: scale(1.025); filter: saturate(.9) contrast(1.03); }
.journal__grid time { color: var(--gold); font-size: .7rem; letter-spacing: .1em; }
.journal__grid h3 { margin: 22px 0 16px; font-size: 1.45rem; }
.journal__grid p { color: var(--muted); }
.journal__grid a { margin-top: auto; color: var(--gold-light); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.journal__grid--index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal__grid--index article { min-height: 430px; }
.journal__grid--index article:nth-child(odd) { border-left: 1px solid var(--line); }
.journal__grid--index h2 { max-width: 620px; margin: 22px 0 16px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.02; letter-spacing: -.045em; }

/* CTA and forms */
.consult { margin-top: clamp(54px, 5vw, 78px); padding-block: clamp(68px, 6vw, 92px); background: radial-gradient(circle at 12% 40%, rgba(200,140,36,.13), transparent 32rem), #0b0f0c; }
.consult > .shell::before { display: none; }
.consult__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(44px, 7vw, 104px); align-items: start; }
.consult__lead { max-width: 650px; margin-top: 26px; color: var(--muted); font-size: 1.06rem; }
.consult__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 0; border-top: 1px solid var(--line-strong); }
.consult__facts div { padding-top: 22px; }
.consult__facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.consult__facts dt { color: var(--gold-light); font-size: 1.5rem; }
.consult__facts dd { margin: 2px 0 0; color: var(--muted); font-size: .75rem; }
.lead-form { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 42px); background: var(--surface-2); border: 1px solid var(--line); }
.lead-form label:not(.consent) { display: flex; flex-direction: column; gap: 7px; }
.lead-form label > span { color: #b0b2ac; font-size: .74rem; }
.lead-form input, .lead-form textarea { width: 100%; padding: 13px 14px; color: var(--text); background: #080b08; border: 1px solid var(--line); border-radius: 0; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,140,36,.1); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #646963; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.consent input { width: 16px; margin-top: 4px; accent-color: var(--gold); }
.consent a { color: var(--gold-light); border-bottom: 1px solid var(--line-strong); }
.form-status { min-height: 1.2em; margin: 0; color: var(--muted); font-size: .78rem; }
.form-status.ok { color: #68d68f; }
.form-status.error { color: #ff8c82; }
.lead-dialog { width: min(92vw, 560px); max-height: 90vh; overflow: auto; padding: 34px; color: var(--text); background: #0b0f0c; border: 1px solid var(--line-strong); }
.lead-dialog::backdrop { background: rgba(2,3,2,.84); backdrop-filter: blur(8px); }
.lead-dialog h2 { font-size: clamp(2.3rem, 6vw, 4rem); }
.lead-dialog > p:not(.kicker) { color: var(--muted); }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; color: var(--gold-light); background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.lead-dialog .lead-form { padding: 0; background: transparent; border: 0; }

/* footer */
.footer { padding: 64px 0 28px; background: #040604; border-top: 1px solid var(--line-strong); }
.footer__primary { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; padding-bottom: 44px; }
.footer__brand img { width: 210px; filter: grayscale(1) sepia(.9) saturate(2.6) hue-rotate(354deg) brightness(.94) contrast(1.06); }
.footer__brand p { max-width: 400px; margin-top: 28px; color: var(--muted); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__nav > div { display: flex; flex-direction: column; gap: 10px; }
.footer__nav span, .footer__contacts span { margin-bottom: 8px; color: var(--gold); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.footer__nav a { color: #b6b7b1; font-size: .88rem; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding: 36px 0; border-block: 1px solid var(--line); }
.footer__contacts div { display: flex; flex-direction: column; }
.footer__contacts a { color: var(--text); font-size: 1rem; }
.footer__contacts p { margin: 0; color: var(--muted); font-size: .82rem; }
.footer__addresses .footer__address-label { margin-top: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; color: #6d716b; font-size: .72rem; }
.footer__top { padding: 0; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; }
.footer__top:hover { color: var(--gold-light); }

/* internal pages */
.page-hero { position: relative; padding: clamp(64px, 6.5vw, 96px) 0 clamp(50px, 5vw, 74px); overflow: hidden; background-image: linear-gradient(rgba(232,197,119,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(232,197,119,.035) 1px, transparent 1px); background-size: 78px 78px; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg), rgba(7,9,7,.66), var(--bg)); pointer-events: none; }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1, .detail-hero h1, .project-hero h1 { max-width: 1120px; margin: 0 0 22px; font-size: clamp(3.2rem, 5.7vw, 6rem); font-weight: 500; line-height: .91; letter-spacing: -.065em; }
.page-hero .shell > p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.page-hero--image { min-height: 500px; display: flex; align-items: end; }
.page-hero--image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(4,6,4,.97), rgba(4,6,4,.5), rgba(4,6,4,.15)), linear-gradient(0deg, rgba(4,6,4,.86), transparent 60%); }
.page-hero--center { min-height: 54vh; display: grid; place-items: center; text-align: center; }
.crumbs { display: flex; gap: 14px; margin-bottom: 24px; color: var(--subtle); font-size: .72rem; }
.crumbs a { color: var(--gold-light); }
.route-section__head { display: grid; grid-template-columns: 46px 1fr auto; gap: 28px; align-items: start; margin-bottom: 38px; }
.route-section__head > span { color: var(--gold); }
.route-section__head h2 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
.route-section__head p { max-width: 720px; margin: 16px 0 0; color: var(--muted); }
.route-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.route-list a { min-height: 178px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.route-list small { color: var(--gold); }
.route-list strong { margin-top: 28px; font-size: 1.22rem; font-weight: 500; }
.route-list span { margin-top: 10px; color: var(--muted); font-size: .84rem; }
.route-list a:hover { background: rgba(232,197,119,.035); }
.route-list--cards { grid-template-columns: repeat(3, 1fr); }
.detail-hero { padding: clamp(64px, 7vw, 98px) 0 56px; }
.detail-hero h1 { font-size: clamp(3rem, 5.2vw, 5.6rem); }
.detail-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.detail-hero__grid > div > p:not(.kicker,.crumbs,.product-price) { max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.detail-hero__grid .gold-button { margin-top: 24px; }
.detail-hero figure { position: relative; margin: 0; min-height: 470px; overflow: hidden; border: 1px solid var(--line); }
.detail-hero figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,5,.76), transparent 45%); }
.detail-hero figure img { width: 100%; height: 100%; position: absolute; object-fit: cover; filter: saturate(.72); }
.detail-hero figcaption { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: var(--gold-light); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.split-copy { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 130px); }
.split-copy > div > p:last-child { max-width: 560px; margin-top: 28px; color: var(--muted); }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-list li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.work-list small { color: var(--gold); }
.assurances { padding-bottom: 0; }
.assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.assurance-grid span { min-height: 110px; display: flex; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assurance-grid i { width: 8px; height: 8px; flex: 0 0 auto; border: 1px solid var(--green); transform: rotate(45deg); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; border-top: 1px solid var(--line-strong); }
.step-grid article { min-height: 178px; padding: 24px 24px 0 0; }
.step-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.step-grid small { color: var(--gold); }
.step-grid p { margin-top: 34px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { min-height: 360px; display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.product-card__index { color: var(--gold); font-size: .68rem; }
.product-card__media { height: 124px; flex: 0 0 124px; margin: 20px 0 22px; overflow: hidden; background: #090b09; border: 1px solid rgba(232,197,119,.1); }
.product-card__media img { width: 100%; height: 100%; padding: 8px; object-fit: contain; filter: saturate(.7) contrast(1.04); transition: transform .55s cubic-bezier(.2,.75,.1,1), filter .35s; }
.product-card strong { margin-top: auto; font-size: 1rem; font-weight: 500; }
.product-card__summary { display: -webkit-box; margin-top: 14px; overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card__price { margin-top: auto; padding-top: 14px; color: var(--gold-light); }
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.product-card:hover .product-card__media img { transform: scale(1.035); filter: saturate(.9) contrast(1.04); }
.detail-hero--product { background: radial-gradient(circle at 76% 45%, rgba(200,140,36,.09), transparent 28rem); }
.product-price { color: var(--gold-light); font-size: 1.4rem; }
.product-visual { min-height: 430px; background: linear-gradient(145deg, #151a16, #080a08); }
.detail-hero .product-visual img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; filter: saturate(.8) contrast(1.03); }
.plain-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.plain-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div, .requisites div { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-list dt, .requisites dt { color: var(--muted); }
.spec-list dd, .requisites dd { margin: 0; }
.project-hero { min-height: 62vh; position: relative; display: flex; align-items: end; padding: 82px 0 58px; overflow: hidden; }
.project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,6,4,.98), rgba(4,6,4,.18) 70%), linear-gradient(90deg, rgba(4,6,4,.68), transparent); }
.project-hero .shell { position: relative; }
.project-hero p:last-child { color: var(--gold-light); font-size: 1.05rem; }
.project-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(46px, 6.5vw, 92px); }
.project-story h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag-list span { padding: 7px 12px; color: var(--gold-light); border: 1px solid var(--line); font-size: .7rem; }
.legal__content { max-width: 1120px; }
.legal__content p, .legal__content li { color: #c2c3bd; }
.legal__content h2 { margin: 46px 0 20px; font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -.04em; }
.legal__content ul { padding-left: 20px; }
.legal--about .legal__content { max-width: var(--shell); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-grid article { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(232,197,119,.025), transparent 62%); }
.about-grid small { color: var(--gold); font-size: .7rem; letter-spacing: .12em; }
.about-grid p { margin: 42px 0 0; }
.requisites { margin: 0; }
.requisites dt { color: var(--gold-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-grid > * { min-height: 172px; display: flex; flex-direction: column; justify-content: center; padding: 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-grid small { color: var(--gold); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.contact-grid strong { margin-top: 16px; font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 500; }
.contact-addresses { justify-content: flex-start; }
.contact-addresses strong { font-size: clamp(1rem, 1.5vw, 1.35rem); }
.contact-addresses strong + small { margin-top: 24px; }
.page-hero--contacts { padding-top: clamp(48px, 4.8vw, 68px); padding-bottom: clamp(36px, 3.5vw, 50px); }
.contacts-section { padding-top: 0; }
.contacts-section > .shell::before { display: none; }
.contacts-page .contact-grid { grid-template-columns: 1.08fr 1.08fr 1.02fr 1.5fr; }
.contacts-page .contact-grid > * { min-height: 220px; padding: 30px clamp(24px, 2.4vw, 38px); }
.contacts-page .contact-grid > a strong { font-size: clamp(1.25rem, 1.8vw, 1.75rem); white-space: nowrap; }
.contacts-page .contact-addresses { justify-content: center; }
.contacts-page .consult { margin-top: 0; padding-block: clamp(52px, 5vw, 70px); }
.contacts-page .consult__grid { align-items: center; }
.contacts-page .lead-form { gap: 12px; padding: clamp(24px, 3vw, 34px); }
.article-hero h1 { max-width: 1180px; font-size: clamp(3.1rem, 5.3vw, 5.7rem); }
.article-layout { display: grid; grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: start; }
.article-meta { position: sticky; top: 132px; display: flex; flex-direction: column; align-items: flex-start; padding-top: 8px; }
.article-meta > span { color: var(--subtle); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.article-meta time { margin: 8px 0 32px; color: var(--gold-light); }
.article-body { max-width: 790px; }
.article-body > p { margin-bottom: 28px; color: #c8cac4; font-size: clamp(1.05rem, 1.45vw, 1.2rem); line-height: 1.82; }
.article-body h2 { margin: 52px 0 22px; font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.05em; }
.article-body ul { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-body li { position: relative; padding: 18px 0 18px 28px; color: #c8cac4; border-bottom: 1px solid var(--line); }
.article-body li::before { content: ''; position: absolute; left: 2px; top: 27px; width: 7px; height: 7px; border: 1px solid var(--green); transform: rotate(45deg); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s cubic-bezier(.2,.75,.1,1); }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .header { backdrop-filter: none; }
  .nav { position: fixed; top: 116px; left: 0; right: 0; bottom: 0; z-index: 79; width: auto; height: auto; flex: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 28px var(--pad); overflow-y: auto; background: #080b08; visibility: hidden; opacity: 0; pointer-events: none; clip-path: inset(0 0 0 100%); transition: clip-path .3s, opacity .3s, visibility .3s; }
  .nav.open { visibility: visible; opacity: 1; pointer-events: auto; clip-path: inset(0); }
  .nav a { width: 100%; padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu { display: block; }
  .header__actions { margin-left: auto; }
  .text-action { display: none; }
  .hero__content { padding-bottom: 72px; }
  .hero__foot { position: static; width: auto; margin-inline: auto; grid-template-columns: repeat(4, 1fr); background: rgba(5, 7, 5, .88); backdrop-filter: none; border-left: 0; }
  .statement__grid { grid-template-columns: 1fr 2fr; }
  .statement__grid > p:last-child { grid-column: 2; }
  .expertise-card { min-height: 540px; }
  .expertise-card__content > span { display: none; }
  .catalog-showcase .catalog-groups { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--feature { grid-column: span 1; grid-row: span 1; }
  .software__intro { position: static; }
  .software__cards { grid-template-columns: 1fr; }
  .software__cards article { min-height: 220px; }
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__contacts { grid-template-columns: 1fr 1fr; }
  .route-list--cards, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-page .contact-grid { grid-template-columns: 1fr 1fr; }
  .contacts-page .contact-grid > * { min-height: 175px; }
}

@media (max-width: 900px) {
  .expertise__grid { display: flex; gap: 16px; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .expertise-card, .expertise-card:nth-child(2) { flex: 0 0 min(70vw, 520px); min-height: 560px; margin: 0; scroll-snap-align: center; }
  .expertise-card__content > span { display: block; }
  .detail-hero__grid, .split-copy, .project-story, .consult__grid { grid-template-columns: 1fr; }
  .detail-hero figure { min-height: 430px; }
  .software__grid { gap: 56px; }
  .footer__primary { grid-template-columns: 1fr; gap: 48px; }
  .article-layout { grid-template-columns: 1fr; gap: 42px; }
  .article-meta { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .article-meta .text-link { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; --section: 84px; }
  .service-bar__inner { justify-content: center; }
  .service-bar__inner > span { display: none; }
  .service-bar__inner > div a:first-child { display: none; }
  .header__inner { height: 72px; }
  .brand img { width: 140px; height: 42px; }
  .portal-link { padding: 9px 10px; font-size: .62rem; }
  .nav { top: 106px; }
  .hero { min-height: auto; }
  .hero__image { opacity: .78; object-position: 68% center; }
  .hero__veil { background: linear-gradient(0deg, rgba(5,7,5,.99) 0%, rgba(5,7,5,.74) 67%, rgba(5,7,5,.28) 100%); }
  .hero__content { padding-top: 100px; padding-bottom: 66px; }
  .hero__content h1 { font-size: clamp(3.2rem, 14.5vw, 5rem); line-height: .9; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .hero__foot > div { min-height: 84px; padding: 14px 12px 14px 0; }
  .hero__foot > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .hero__foot > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__foot > div:nth-child(3) { border-left: 0; }
  .hero__foot strong { font-size: 1rem; }
  .statement__grid { grid-template-columns: 1fr; }
  .statement__grid > p:last-child { grid-column: auto; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 24px; }
  h2 { font-size: clamp(2.5rem, 12vw, 3.7rem); }
  .expertise__grid { gap: 14px; }
  .expertise-card, .expertise-card:nth-child(2) { flex: 0 0 86vw; min-height: 520px; margin: 0; scroll-snap-align: center; }
  .expertise-card__content > span { display: block; }
  .service-list { grid-template-columns: 1fr; }
  .service-list a:nth-child(odd) { border-right: 0; }
  .service-list a { grid-template-columns: 38px 1fr; padding-inline: 12px; }
  .service-list b { display: none; }
  .catalog-groups, .catalog-groups--large { grid-template-columns: 1fr 1fr; }
  .catalog-showcase .catalog-groups { grid-template-columns: 1fr 1fr; }
  .catalog-group { min-height: 320px; padding: 14px 16px 22px; }
  .catalog-group__image { width: 100%; margin: 0 0 18px; padding: 7px; }
  .project-grid, .project-grid--compact, .project-grid--portfolio { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .software__cards article { grid-template-columns: 32px 1fr; grid-template-rows: auto 1fr; gap: 18px 14px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid > div { min-height: 180px; padding: 20px; }
  .metric-grid strong { font-size: clamp(2.2rem, 11vw, 3.8rem); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .journal__grid { grid-template-columns: 1fr; }
  .journal__grid--index { grid-template-columns: 1fr; }
  .journal__grid--index article:nth-child(odd) { border-left: 1px solid var(--line); }
  .journal__grid article { min-height: 400px; border-left: 1px solid var(--line); }
  .consult__facts { margin-top: 36px; }
  .footer__contacts { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .page-hero h1, .detail-hero h1, .project-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .route-section__head { grid-template-columns: 36px 1fr; }
  .route-section__head .text-link { grid-column: 2; justify-self: start; }
  .route-list, .route-list--cards { grid-template-columns: 1fr; }
  .route-list a { min-height: 178px; }
  .detail-hero figure { min-height: 440px; }
  .assurance-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .step-grid article:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card { min-height: 330px; padding: 18px; }
  .spec-list div, .requisites div { grid-template-columns: 1fr; gap: 6px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contacts-page .contact-grid { grid-template-columns: 1fr; }
  .contacts-page .contact-grid > * { min-height: 148px; padding: 24px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid article { min-height: 170px; }
}

@media (max-width: 540px) {
  .page-hero h1, .detail-hero h1, .project-hero h1 { font-size: clamp(2.3rem, 11.3vw, 3.5rem); line-height: .94; letter-spacing: -.06em; }
  .page-hero h1, .detail-hero h1, .project-hero h1 { overflow-wrap: anywhere; }
  .page-hero--catalog h1 { font-size: clamp(2.35rem, 10.7vw, 3.2rem); }
  .crumbs { flex-wrap: wrap; row-gap: 6px; }
  .catalog-groups, .catalog-groups--large, .product-grid { grid-template-columns: 1fr; }
  .catalog-showcase .catalog-groups { grid-template-columns: 1fr; }
  .software__cards article { grid-template-columns: 32px 1fr; }
  .software__cards .signal { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .consult__facts { grid-template-columns: 1fr; border-top: 0; }
  .consult__facts div { padding: 14px 0; border-top: 1px solid var(--line); }
  .consult__facts div + div { padding-left: 0; border-left: 0; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article, .step-grid article + article { min-height: 170px; padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .step-grid p { margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
