/* Gurnama Hyzmat — дизайн сайта: строгий морской / индустриальный стиль */
:root {
  --ink: #0a1c2e; --ink-2: #102a43; --ink-3: #17395a; --ink-4: #0d2236;
  --paper: #fff; --tint: #eef1f4; --tint-2: #e3e8ed; --line: #d3dae1; --line-d: rgba(255,255,255,.16);
  --text: #0a1c2e; --muted: #56677a; --muted-d: #9db0c3;
  --acc: #0e7ab0; --acc-2: #0b6896; --acc-l: #6cc3ea; --acc-ink: #fff; --red: #b3262d; --ok: #1f8a57; --err: #c23b3b;
  --r: 2px;
  --fh: 'Fira Sans Condensed', 'IBM Plex Sans', system-ui, sans-serif; --fb: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hdr: 80px; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--fb); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.noscroll { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc); color: #fff; }
.ic { flex: none; display: block; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.js .ssr { display: none; }
.ssr { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.ssr h1 { font: 700 32px/1.2 var(--fh); text-transform: uppercase; margin: 20px 0; } .ssr h2 { margin: 24px 0 8px; } .ssr li { margin: 6px 0; } .ssr a { color: var(--acc); }

/* ---------- типографика ---------- */
.h1 { font: 700 clamp(34px, 4.8vw, 64px)/1.05 var(--fh); letter-spacing: .01em; text-transform: uppercase; }
.h2 { font: 700 clamp(28px, 3.3vw, 44px)/1.1 var(--fh); letter-spacing: .01em; text-transform: uppercase; }
.h3 { font: 600 clamp(20px, 1.7vw, 24px)/1.25 var(--fh); letter-spacing: .02em; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--fh); letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.kicker::before { content: ''; width: 28px; height: 3px; background: var(--red); }
.prose p { margin-bottom: 1.1em; color: #28394c; font-size: 18px; } .prose p:last-child { margin-bottom: 0; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 30px; border-radius: var(--r); font: 600 14px/1 var(--fh); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 13px; }
.btn--lg { height: 60px; padding: 0 36px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--acc { background: var(--acc); color: #fff; }
.btn--acc:hover { background: var(--acc-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--glass { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--glass:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.lform--dark .btn--ghost { color: #fff; }

/* ---------- шапка ---------- */
.hdr { position: fixed; top: 0; right: 0; bottom: auto; left: 0; z-index: 60; height: var(--hdr); transition: background .3s, color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr--over { color: #fff; background: linear-gradient(180deg, rgba(10,28,46,.7), rgba(10,28,46,0)); border-bottom-color: rgba(255,255,255,.14); }
.hdr--solid { background: #fff; border-color: var(--line); color: var(--ink); }
.hdr--shadow { box-shadow: 0 2px 0 rgba(10,28,46,.04); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin-left: 12px; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; padding: 0 16px; font: 600 14px/1 var(--fh); letter-spacing: .12em; text-transform: uppercase; opacity: .88; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { opacity: 1; }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.hdr__phone { display: flex; align-items: center; gap: 9px; font: 600 15px/1 var(--fb); white-space: nowrap; letter-spacing: .01em; }
.hdr__phone .ic { color: var(--acc-l); } .hdr--solid .hdr__phone .ic { color: var(--acc); }
.langs { display: flex; gap: 0; }
.langs button { padding: 8px 10px; font: 600 12.5px/1 var(--fh); letter-spacing: .14em; opacity: .6; transition: .2s; position: relative; }
.langs button + button::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: currentColor; opacity: .3; }
.langs button:hover { opacity: 1; }
.langs button.on { opacity: 1; box-shadow: inset 0 -2px 0 var(--red); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.mnav { z-index: 55; position: fixed; top: var(--hdr); right: 0; bottom: 0; left: 0; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 0 32px; overflow-y: auto; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { font: 700 28px/1.2 var(--fh); text-transform: uppercase; letter-spacing: .04em; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.mnav nav a.on { color: var(--acc-l); }
.mnav__foot { display: grid; gap: 18px; justify-items: start; padding-top: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 640px; height: 100vh; height: 100svh; max-height: 1000px; background: var(--ink); color: #fff; overflow: hidden; }
.hero__slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.on { opacity: 1; }
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: center/cover no-repeat; transform: scale(1.06); transition: transform 9s linear; filter: saturate(.85); }
.hero__slide.on .hero__bg { transform: scale(1); }
.hero__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(10,28,46,.92) 0%, rgba(10,28,46,.72) 42%, rgba(10,28,46,.25) 100%), linear-gradient(0deg, rgba(10,28,46,.85) 0%, rgba(10,28,46,0) 38%); }
.hero::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(90deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 3; background: linear-gradient(90deg, var(--acc) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66% 100%); }
.hero__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr) + 30px); padding-bottom: 60px; }
.hero__content { max-width: 880px; animation: rise .9s var(--ease) both; border-left: 4px solid var(--red); padding-left: clamp(22px, 3vw, 40px); }
.hero__kicker { display: block; font: 600 14px/1.4 var(--fh); letter-spacing: .24em; text-transform: uppercase; color: var(--acc-l); }
.hero__title { font: 700 clamp(36px, 5.6vw, 82px)/1.02 var(--fh); letter-spacing: .005em; text-transform: uppercase; margin: 22px 0 24px; text-wrap: balance; }
.hero__lead { font-size: clamp(17px, 1.45vw, 21px); color: #cbd6e1; max-width: 620px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- секции ---------- */
.sec { padding: clamp(72px, 9vw, 124px) 0; position: relative; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--ink); color: #fff; }
.shead { display: grid; gap: 18px; margin-bottom: clamp(36px, 4.5vw, 60px); grid-template-columns: 1fr auto; align-items: end; padding-top: 28px; border-top: 1px solid var(--ink); }
.shead > .kicker, .shead > .h2, .shead > .lead { grid-column: 1; }
.shead > :not(.kicker):not(.h2):not(.lead) { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.shead--light { border-color: var(--line-d); }
.shead--light .kicker { color: var(--acc-l); }
.shead--light .lead { color: var(--muted-d); }
.shead--center { text-align: center; justify-items: center; grid-template-columns: 1fr; }

/* ---------- о компании ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__grid--page { align-items: start; }
.about__media { position: relative; }
.about__media::before { content: ''; position: absolute; left: -16px; top: -16px; width: 38%; height: 38%; border-left: 3px solid var(--red); border-top: 3px solid var(--red); }
.about__media img { position: relative; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r); filter: saturate(.9); }
.about__badge { position: absolute; right: 0; bottom: 0; z-index: 2; background: var(--ink); color: #fff; padding: 22px 30px; border-top: 3px solid var(--acc); }
.about__badge small { display: block; font: 600 12px/1 var(--fh); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 8px; }
.about__badge b { font: 700 44px/1 var(--fh); letter-spacing: .01em; }
.about__txt .shead { margin-bottom: 24px; }
.about__txt .lead { margin-bottom: 28px; }
.checks { display: grid; gap: 0; margin-bottom: 36px; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checks .ic { color: #fff; background: var(--acc); padding: 3px; width: 22px; height: 22px; margin-top: 2px; border-radius: 0; }
.checks--2 { grid-template-columns: 1fr 1fr; margin: 0; gap: 0 32px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 3px solid var(--ink); }
.stat { padding: 30px 28px 6px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: flex; align-items: baseline; font: 700 clamp(44px, 5vw, 72px)/1 var(--fh); letter-spacing: .005em; color: var(--ink); }
.stat b i { font-style: normal; color: var(--red); }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); background: #fff; }
.feat { padding: 30px 26px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat:first-child { border-left: 0; }
.feat__ic { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: #fff; margin-bottom: 22px; }
.feat p { font-weight: 500; font-size: 17px; }

/* ---------- услуги ---------- */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.scard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); transition: border-color .25s, transform .3s var(--ease); }
.scard:hover { border-top-color: var(--red); transform: translateY(-4px); }
.scard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .9s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.04); }
.scard__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.scard__n { font: 700 14px/1 var(--fh); letter-spacing: .18em; color: var(--acc); margin-bottom: 14px; }
.scard h3 { font: 700 21px/1.2 var(--fh); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 12px; }
.scard p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.scard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font: 600 13.5px/1 var(--fh); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); padding-top: 18px; border-top: 1px solid var(--line); }
.scard__more .ic { transition: transform .25s var(--ease); }
.scard:hover .scard__more .ic { transform: translateX(5px); }

/* ---------- процесс ---------- */
.process { overflow: hidden; }
.process::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%); }
.process .wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.step { position: relative; padding: 34px 28px 36px; border-left: 1px solid var(--line-d); }
.step:first-child { border-left: 0; padding-left: 0; }
.step__n { display: block; font: 700 54px/1 var(--fh); color: transparent; -webkit-text-stroke: 1.5px var(--acc-l); margin-bottom: 22px; letter-spacing: .02em; }
.step h3 { font: 700 19px/1.25 var(--fh); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted-d); font-size: 15.5px; }

/* ---------- проекты ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.chip { height: 50px; padding: 0 22px; font: 600 14px/1 var(--fh); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); position: relative; transition: color .2s; }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--ink); }
.chip.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pgrid--home { grid-template-columns: repeat(6, 1fr); }
.pgrid--home > .pcard { grid-column: span 2; }
.pgrid--home > .pcard--big { grid-column: span 6; }
.pgrid--home > .pcard:nth-child(2), .pgrid--home > .pcard:nth-child(3) { grid-column: span 3; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.pcard:hover { border-color: var(--ink); transform: translateY(-4px); }
.pcard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.tag { position: absolute; top: 0; left: 0; padding: 9px 14px; background: var(--ink); color: #fff; font: 600 12px/1 var(--fh); letter-spacing: .14em; text-transform: uppercase; border-bottom: 3px solid var(--red); }
.pcard__body { padding: 24px 28px 28px; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 500 13px/1.5 var(--fh); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pcard__meta span + span::before { content: '/'; margin-right: 16px; color: var(--red); }
.pcard h3 { font: 700 21px/1.25 var(--fh); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 16px; }
.pcard__go { position: absolute; top: 0; right: 0; width: 52px; height: 52px; display: grid; place-items: center; background: var(--acc); color: #fff; opacity: 0; transition: opacity .25s; }
.pcard:hover .pcard__go, .pcard--big .pcard__go { opacity: 1; }
.pcard--big { display: grid; grid-template-columns: 1.5fr 1fr; border-top: 3px solid var(--ink); }
.pcard--big .pcard__img { aspect-ratio: auto; min-height: 440px; }
.pcard--big .pcard__body { padding: 44px; display: flex; flex-direction: column; justify-content: flex-end; }
.pcard--big h3 { font-size: clamp(24px, 2.4vw, 34px); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- сертификаты ---------- */
.certs { background: var(--tint); }
.certs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { text-align: left; display: flex; flex-direction: column; gap: 6px; }
.cert__img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 12px; margin-bottom: 12px; transition: border-color .25s, transform .3s var(--ease); }
.cert__img img { width: 100%; height: 100%; object-fit: contain; }
.cert:hover .cert__img { border-color: var(--ink); transform: translateY(-4px); }
.cert__zoom { position: absolute; right: 0; bottom: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; transition: .25s; }
.cert:hover .cert__zoom, .prj__cover:hover .cert__zoom { opacity: 1; }
.cert__t { font: 600 16px/1.3 var(--fh); letter-spacing: .03em; text-transform: uppercase; }
.cert__m { font-size: 14px; color: var(--muted); }

/* ---------- отзывы ---------- */
.arrows { display: flex; gap: 8px; }
.arr { width: 52px; height: 52px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--ink); transition: .2s; }
.arr:hover { background: var(--ink); color: #fff; }
.tst__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 24px; margin: -4px -4px 0; }
.tst__track::-webkit-scrollbar { display: none; }
.tcard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--tint); border-top: 3px solid var(--ink); }
.tcard__stars { display: flex; gap: 3px; color: var(--red); }
.tcard__stars .ic { fill: currentColor; } .tcard__stars .off { color: #c5ccd3; }
.tcard blockquote { font-size: 17.5px; line-height: 1.6; flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 14px; }
.tcard__av { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 20px/1 var(--fh); flex: none; }
.tcard figcaption b { display: block; font-weight: 600; } .tcard figcaption small { color: var(--muted); font-size: 14px; }

/* ---------- партнёры ---------- */
.partners { padding-top: 0; }
.tst + .partners, .certs + .partners, .sec--tint + .partners, .process + .partners { padding-top: clamp(72px, 9vw, 124px); }
.partners__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ptile { display: grid; place-items: center; height: 130px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.ptile:hover { background: var(--tint); }
.ptile img { max-height: 56px; max-width: 80%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .3s; }
.ptile:hover img { filter: none; opacity: 1; }
.ptile__name { display: flex; align-items: center; gap: 10px; font: 600 15px/1.2 var(--fh); letter-spacing: .06em; text-transform: uppercase; color: #3b4a5c; text-align: center; }
.ptile__name i { width: 10px; height: 10px; flex: none; }

/* ---------- заявка + форма ---------- */
.cta { background: var(--ink); color: #fff; overflow: hidden; border-top: 6px solid var(--acc); }
.cta::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 15% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 15% 0%, #000, transparent 70%); }
.cta__in { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cta .kicker { color: var(--acc-l); }
.cta .h2 { margin: 18px 0 20px; }
.cta .lead { color: var(--muted-d); }
.cta__contacts { display: grid; gap: 14px; margin-top: 36px; }
.cta__contacts a { display: inline-flex; align-items: center; gap: 14px; font: 600 22px/1.2 var(--fh); letter-spacing: .04em; }
.cta__contacts .ic { width: 46px; height: 46px; padding: 12px; background: rgba(255,255,255,.08); color: var(--acc-l); box-shadow: inset 0 0 0 1px var(--line-d); }
.cta__ml { font-size: 18px !important; color: #d4dde7; }
.lform { background: #fff; color: var(--ink); padding: clamp(24px, 3vw, 40px); border-top: 3px solid var(--ink); }
.lform--dark { background: var(--ink-2); color: #fff; border-top-color: var(--red); box-shadow: inset 0 0 0 1px var(--line-d); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 8px; }
.fld--full { grid-column: 1 / -1; }
.fld > span { font: 600 13px/1 var(--fh); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lform--dark .fld > span { color: var(--muted-d); }
.fld input, .fld select, .fld textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; font-size: 16px; }
.fld textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 120px; }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2356677a' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.lform--dark .fld input, .lform--dark .fld select, .lform--dark .fld textarea { background-color: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); color: #fff; }
.lform--dark .fld select option { color: var(--ink); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(14,122,176,.25); }
.lform--dark .fld input:focus, .lform--dark .fld select:focus, .lform--dark .fld textarea:focus { border-color: var(--acc-l); }
.fld.err input, .fld.err textarea { border-color: var(--err); }
.lform__err { margin-top: 14px; color: var(--err); font-weight: 500; font-size: 15px; }
.lform--dark .lform__err { color: #ff9d9d; }
.lform__foot { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.lform__foot small { flex: 1; min-width: 200px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.lform--dark .lform__foot small { color: var(--muted-d); }
.lform__ok { text-align: center; padding: 30px 0; display: grid; justify-items: center; gap: 14px; }
.lform__okic { width: 72px; height: 72px; display: grid; place-items: center; background: var(--ok); color: #fff; animation: rise .5s var(--ease); }
.lform__ok h3 { font: 700 24px/1.3 var(--fh); text-transform: uppercase; letter-spacing: .03em; }
.lform__ok p { color: var(--muted); } .lform--dark .lform__ok p { color: var(--muted-d); }

/* ---------- внутренние страницы ---------- */
.phero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--hdr) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 92px); overflow: hidden; border-bottom: 6px solid var(--acc); }
.phero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: center/cover no-repeat; opacity: .34; filter: saturate(.7); }
.phero::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(10,28,46,.97) 25%, rgba(10,28,46,.55)); }
.phero::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); }
.phero__in { position: relative; z-index: 2; }
.phero .h1 { max-width: 920px; text-wrap: balance; }
.phero__lead { margin-top: 20px; max-width: 680px; font-size: clamp(17px, 1.4vw, 20px); color: #c4d0dc; }
.crumbs { display: flex; flex-wrap: wrap; gap: 12px; font: 600 13px/1 var(--fh); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 28px; }
.crumbs a:hover { color: #fff; } .crumbs .cur { color: var(--acc-l); }
.svc, .prj { display: grid; grid-template-columns: 1fr 380px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.svc__main, .prj__main { display: grid; gap: 28px; min-width: 0; }
.svc__cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.block { padding: clamp(24px, 3vw, 36px); background: var(--tint); border-top: 3px solid var(--ink); }
.block .h3 { margin-bottom: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 10px 16px; background: #fff; font-weight: 500; font-size: 15px; border: 1px solid var(--line); }
.tl { display: grid; }
.tl li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tl li:last-child { border-bottom: 0; }
.tl li > span { font: 700 26px/1 var(--fh); color: var(--acc); padding-top: 8px; }
.tl h3 { font: 600 18px/1.3 var(--fh); letter-spacing: .03em; text-transform: uppercase; margin: 6px 0 4px; }
.tl p { color: var(--muted); font-size: 16px; }
.faq { background: #fff; margin-bottom: 8px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--acc); } .faq[open] summary .ic { transform: rotate(45deg); }
.faq p { padding: 0 20px 20px; color: var(--muted); }
.svc__side, .prj__side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 12px; }
.sidecard { background: var(--ink); color: #fff; padding: 32px; display: grid; gap: 12px; border-top: 4px solid var(--red); }
.sidecard h3 { font: 700 22px/1.25 var(--fh); letter-spacing: .03em; text-transform: uppercase; }
.sidecard > p { color: var(--muted-d); margin-bottom: 10px; }
.sidecard__list { margin-top: 20px; display: grid; }
.sidecard__list small { color: var(--muted-d); text-transform: uppercase; letter-spacing: .16em; font: 600 12px/1 var(--fh); margin-bottom: 8px; }
.sidecard__list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-d); font-size: 15px; color: #d4dde7; transition: color .2s; }
.sidecard__list a:hover { color: var(--acc-l); }
.prj__cover { position: relative; overflow: hidden; display: block; width: 100%; }
.prj__cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.prj__gt { margin-top: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery button { overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.facts { background: var(--tint); padding: 8px 28px; margin-bottom: 8px; border-top: 3px solid var(--ink); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); } .facts div:last-child { border-bottom: 0; }
.facts dt { font: 600 12px/1 var(--fh); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-weight: 600; font-size: 17px; margin-top: 6px; }

.cnt { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cnt__cards { display: grid; gap: 0; border-top: 3px solid var(--ink); }
.ccard { display: flex; gap: 18px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .2s, padding .25s var(--ease); }
a.ccard:hover { background: var(--tint); padding-left: 14px; }
.ccard__ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ccard small { display: block; font: 600 12px/1 var(--fh); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ccard b { display: block; font-weight: 600; font-size: 18px; line-height: 1.4; margin-top: 6px; }
.cnt__social { margin-top: 18px; }
.cnt__form .h3 { margin-bottom: 20px; }
.map { position: relative; height: 480px; background: var(--tint); border-top: 6px solid var(--acc); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.9) contrast(1.05); display: block; }
.map__btn { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }
.social { display: flex; gap: 8px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s; }
.social a:hover { background: var(--acc); color: #fff; box-shadow: none; }

.nf { padding: calc(var(--hdr) + 100px) 0 120px; text-align: center; }
.nf .wrap { display: grid; justify-items: center; gap: 18px; }
.nf b { font: 700 clamp(100px, 18vw, 200px)/1 var(--fh); color: var(--ink); -webkit-text-stroke: 0; border-bottom: 8px solid var(--red); padding-bottom: 6px; }

/* ---------- подвал ---------- */
.ftr { background: var(--ink-4); color: #a9b9c9; font-size: 15.5px; border-top: 6px solid var(--acc); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.2fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.ftr .logo { margin-bottom: 22px; } .ftr .logo img { height: 52px; }
.ftr__brand p { margin-bottom: 24px; line-height: 1.6; max-width: 380px; }
.ftr .social a { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); color: #fff; } .ftr .social a:hover { background: var(--acc); box-shadow: none; }
.ftr h4 { color: #fff; font: 700 14px/1 var(--fh); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.ftr ul { display: grid; gap: 12px; }
.ftr ul a { transition: color .2s; } .ftr ul a:hover { color: var(--acc-l); }
.ftr__c li { display: flex; gap: 12px; align-items: flex-start; }
.ftr__c .ic { color: var(--acc-l); margin-top: 3px; }
.ftr__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-d); font-size: 14px; }
.ftr__bar .langs { color: #fff; }
.ftr__top { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 600 13px/1 var(--fh); letter-spacing: .14em; text-transform: uppercase; } .ftr__top:hover { color: var(--acc-l); }

/* ---------- чат ---------- */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 70; }
.chat__fab { position: relative; width: 62px; height: 62px; display: grid; place-items: center; background: var(--acc); color: #fff; box-shadow: 0 8px 24px rgba(10,28,46,.35); transition: background .2s; border-bottom: 3px solid var(--red); }
.chat__fab:hover { background: var(--acc-2); }
.chat__badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.chat__panel { position: absolute; right: 0; bottom: 78px; width: 370px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 140px); display: flex; flex-direction: column; background: #fff; overflow: hidden; box-shadow: 0 24px 64px rgba(10,28,46,.35); transform-origin: bottom right; border-top: 4px solid var(--red); }
.chat__hd { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink); color: #fff; }
.chat__hd b { display: block; font: 700 15px/1.2 var(--fh); letter-spacing: .08em; text-transform: uppercase; }
.chat__hd small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted-d); }
.chat__hd small i { width: 7px; height: 7px; border-radius: 50%; background: #8492a6; }
.chat__hd small.on i { background: #3ddc84; }
.chat__hd button { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; } .chat__hd button:hover { background: rgba(255,255,255,.1); }
.chat__av img { width: 38px; height: 38px; background: #fff; padding: 3px; }
.chat__intro { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; background: var(--tint); }
.chat__intro p { color: var(--muted); text-align: center; margin-bottom: 6px; }
.chat__intro input { height: 50px; padding: 0 16px; border: 1px solid var(--line); outline: none; background: #fff; } .chat__intro input:focus { border-color: var(--acc); }
.chat__msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: var(--tint); }
.msg { max-width: 82%; padding: 10px 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg--me { align-self: flex-end; background: var(--ink); color: #fff; }
.msg--me.pending { opacity: .6; }
.msg--them { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.msg--typing { display: flex; gap: 4px; padding: 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b0; animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .2s; } .msg--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat__in { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__in input { flex: 1; height: 46px; padding: 0 16px; border: 1px solid var(--line); outline: none; background: var(--tint); } .chat__in input:focus { border-color: var(--acc); background: #fff; }
.chat__in button { width: 46px; height: 46px; display: grid; place-items: center; background: var(--acc); color: #fff; }

/* ---------- лайтбокс, тосты ---------- */
.lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; background: rgba(5,12,20,.95); display: grid; place-items: center; padding: 60px 80px; }
.lb figure { display: grid; justify-items: center; gap: 14px; max-height: 100%; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lb figcaption { color: #c4d0dc; font-size: 15px; text-align: center; }
.lb__x, .lb__a { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); transition: background .2s; }
.lb__x:hover, .lb__a:hover { background: var(--acc); }
.lb__x { top: 20px; right: 20px; } .lb__a { top: 50%; margin-top: -27px; } .lb__a--l { left: 20px; } .lb__a--r { right: 20px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 110; background: var(--ink); color: #fff; padding: 14px 22px; font-weight: 500; border-left: 4px solid var(--red); }

/* ---------- анимации ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.fade-enter-active, .fade-leave-active { transition: opacity .25s; } .fade-enter-from, .fade-leave-to { opacity: 0; }
.page-enter-active, .page-leave-active { transition: opacity .22s ease; } .page-enter-from, .page-leave-to { opacity: 0; }
.pop-enter-active, .pop-leave-active { transition: opacity .2s, transform .25s var(--ease); } .pop-enter-from, .pop-leave-to { opacity: 0; transform: translateY(12px) scale(.97); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .hero__bg { transform: none !important; } }

/* ---------- адаптив ---------- */
@media (max-width: 1200px) {
  .hdr__phone span { display: none; }
  .hdr__phone { width: 44px; height: 44px; justify-content: center; box-shadow: inset 0 0 0 1px rgba(127,127,127,.4); }
  .nav a { padding: 0 11px; } .nav a::after { left: 11px; right: 11px; }
  .partners__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  :root { --hdr: 70px; }
  .nav, .hdr__langs, .hdr__cta { display: none; }
  .burger { display: inline-flex; }
  .hdr__right { gap: 10px; }
  .about__grid, .cta__in, .cnt, .svc, .prj { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .svc__side, .prj__side { position: static; }
  .sgrid, .pgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps, .feats { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; } .step { border-bottom: 1px solid var(--line-d); } .feat:nth-child(3) { border-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat { padding-bottom: 8px; }
  .pcard--big { grid-template-columns: 1fr; }
  .pcard--big .pcard__img { min-height: 0; aspect-ratio: 16 / 9; } .pcard--big .pcard__body { padding: 28px; }
  .tst__track { grid-auto-columns: calc((100% - 28px) / 2); }
  .certs__grid { grid-template-columns: repeat(3, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .shead { grid-template-columns: 1fr; padding-top: 22px; }
  .shead > :not(.kicker):not(.h2):not(.lead) { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .hero { min-height: 600px; } .hero__in { padding-bottom: 40px; }
  .hero__content { border-left-width: 3px; padding-left: 18px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .sgrid, .pgrid, .pgrid--3, .pgrid--home { grid-template-columns: 1fr; }
  .pgrid--home > .pcard, .pgrid--home > .pcard--big, .pgrid--home > .pcard:nth-child(2), .pgrid--home > .pcard:nth-child(3) { grid-column: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .steps, .feats { grid-template-columns: 1fr; }
  .step, .step:first-child { border-left: 0; padding-left: 0; } .feat { border-left: 0; }
  .checks--2, .fgrid { grid-template-columns: 1fr; }
  .stat b { font-size: 40px; } .stat { padding: 22px 16px 4px; } .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .tst__track { grid-auto-columns: 88%; }
  .certs__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); } .ptile { height: 100px; }
  .about__badge { padding: 16px 20px; } .about__badge b { font-size: 32px; } .about__media::before { left: -8px; top: -8px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .ftr__bar { flex-direction: column; align-items: flex-start; }
  .map { height: 380px; }
  .lb { padding: 70px 12px; } .lb__a { top: auto; bottom: 16px; margin: 0; }
  .chat { right: 16px; bottom: 16px; } .chat__fab { width: 56px; height: 56px; }
  .chat__panel { position: fixed; right: 12px; left: 12px; bottom: 84px; width: auto; max-width: none; height: min(560px, calc(100vh - 110px)); }
  .lform__foot .btn { width: 100%; }
}
