/* СМЭУ — премиальный многостраничный дизайн */
:root {
  --night: #0a0c0f;
  --night-2: #111419;
  --night-3: #181c23;
  --line-d: rgba(255,255,255,.09);
  --paper: #f4f4f1;
  --white: #ffffff;
  --ink: #0a0c0f;
  --ink-2: #3b4250;
  --muted: #6d7482;
  --line: #e2e3e0;
  --amber: #ffb400;
  --amber-2: #ffc933;
  --red: #ff3b30;
  --green: #22c55e;
  --wa: #25d366;
  --r: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
::selection { background: var(--amber); color: var(--ink); }
.wrap { width: min(1320px, 100% - 48px); margin: 0 auto; }
.loading { min-height: 100vh; display: grid; place-items: center; background: var(--night); color: rgba(255,255,255,.4); }

/* типографика */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.h-xl { font-size: clamp(44px, 7.4vw, 112px); }
.h-l { font-size: clamp(34px, 4.6vw, 68px); }
.h-m { font-size: clamp(26px, 2.8vw, 40px); }
.h-s { font-size: 22px; font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-2); }
.dark .lead, .hero .lead, .phero .lead { color: rgba(255,255,255,.72); }
.muted { color: var(--muted); }
.dark .muted { color: rgba(255,255,255,.55); }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.dark .label, .hero .label, .phero .label { color: rgba(255,255,255,.55); }
.label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: -14px 0 0 var(--red), 14px 0 0 var(--green); margin: 0 14px; }
.accent { color: var(--amber); }

/* кнопки */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border-radius: 999px; font: 600 16px/1 var(--body); border: 0; cursor: pointer; transition: background .3s var(--ease), color .3s, transform .3s var(--ease), box-shadow .3s; white-space: nowrap; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-2); box-shadow: 0 10px 40px rgba(255,180,0,.35); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #242933; }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.link { font-weight: 600; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link:hover { color: var(--amber); }

/* шапка */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .4s, backdrop-filter .4s, transform .4s var(--ease); }
.hdr.solid { background: rgba(10,12,15,.82); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line-d); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; gap: 36px; height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo small { display: block; font: 500 11px var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 2px; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { padding: 10px 14px; border-radius: 999px; font-size: 15px; color: rgba(255,255,255,.75); transition: color .2s, background .2s; }
.menu a:hover { color: #fff; background: rgba(255,255,255,.07); }
.menu a.on { color: var(--ink); background: var(--amber); }
.hdr-phone { font-weight: 600; font-size: 15px; white-space: nowrap; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); cursor: pointer; position: relative; margin-left: auto; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger i:nth-child(1) { top: 19px; } .burger i:nth-child(2) { top: 27px; }
.nav-open .burger i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .burger i:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; padding: 120px 24px 40px; display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.nav-open .mnav { opacity: 1; pointer-events: auto; }
.mnav a { font-family: var(--display); font-size: 30px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--line-d); }
.mnav .btn { margin-top: 28px; align-self: flex-start; font-family: var(--body); font-size: 16px; }

/* главный экран */
.hero { position: relative; min-height: clamp(640px, 100svh, 1000px); background: var(--night); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: kenburns 24s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,12,15,.6) 0%, rgba(10,12,15,.15) 35%, rgba(10,12,15,.85) 80%, var(--night) 100%), linear-gradient(90deg, rgba(10,12,15,.8), transparent 70%); }
.hero-in { position: relative; z-index: 2; margin-top: auto; padding: 160px 0 56px; }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 580px; margin: 32px 0 44px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { position: relative; z-index: 2; border-top: 1px solid var(--line-d); }
.hero-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hstat { padding: 32px 28px 36px 0; }
.hstat + .hstat { padding-left: 28px; border-left: 1px solid var(--line-d); }
.hstat b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.hstat span { color: rgba(255,255,255,.55); font-size: 15px; }
.signal-lights { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1320px) / 2)); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; padding: 16px; border-radius: 40px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--line-d); backdrop-filter: blur(6px); }
.signal-lights i { width: 22px; height: 22px; border-radius: 50%; background: #2a2e36; }
.signal-lights i:nth-child(1) { animation: sig-r 6s infinite; }
.signal-lights i:nth-child(2) { animation: sig-y 6s infinite; }
.signal-lights i:nth-child(3) { animation: sig-g 6s infinite; }
@keyframes sig-r { 0%, 30% { background: var(--red); box-shadow: 0 0 24px var(--red); } 33%, 100% { background: #2a2e36; box-shadow: none; } }
@keyframes sig-y { 0%, 30% { background: #2a2e36; box-shadow: none; } 33%, 45% { background: var(--amber); box-shadow: 0 0 24px var(--amber); } 48%, 88% { background: #2a2e36; box-shadow: none; } 90%, 100% { background: var(--amber); box-shadow: 0 0 24px var(--amber); } }
@keyframes sig-g { 0%, 45% { background: #2a2e36; box-shadow: none; } 48%, 88% { background: var(--green); box-shadow: 0 0 24px var(--green); } 90%, 100% { background: #2a2e36; box-shadow: none; } }

/* внутренний заголовок страницы */
.phero { position: relative; background: var(--night); color: #fff; padding: 190px 0 90px; overflow: hidden; }
.phero-bg { position: absolute; inset: 0; opacity: .32; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 25%, rgba(10,12,15,.3)), linear-gradient(0deg, var(--night), transparent 50%); }
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { max-width: 16ch; }
.phero .lead { max-width: 640px; margin-top: 28px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 36px; }
.crumbs a:hover { color: var(--amber); }

/* секции */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec.tight { padding: clamp(60px, 7vw, 96px) 0; }
.paper { background: var(--paper); }
.dark { background: var(--night); color: #fff; }
.sec-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.sec-top .lead { max-width: 560px; margin-top: 24px; margin-bottom: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.two.top { align-items: start; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* появление при скролле */
.js .rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .hero-media img, .marquee-track, .signal-lights i { animation: none !important; } }

/* бегущая строка брендов */
.marquee { overflow: hidden; background: var(--night); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: 30px 0; }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--display); font-size: 26px; font-weight: 500; color: rgba(255,255,255,.35); white-space: nowrap; letter-spacing: .02em; }
.marquee span::after { content: '●'; font-size: 10px; color: var(--amber); margin-left: 72px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* о компании — главная */
.big-year { font-family: var(--display); font-weight: 700; font-size: clamp(110px, 17vw, 260px); line-height: .82; letter-spacing: -.06em; background: linear-gradient(180deg, var(--ink) 30%, #9aa0aa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-year-cap { font-size: 18px; color: var(--muted); margin-top: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 40px; }
.fact { padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 24px; }
.fact b { display: block; font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.fact span { color: var(--muted); font-size: 15px; }

/* направления — строки */
.rows { border-top: 1px solid var(--line); }
.dark .rows { border-color: var(--line-d); }
.row { display: grid; grid-template-columns: 90px 1fr 1fr 40px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .4s; position: relative; }
.dark .row { border-color: var(--line-d); }
.row .n { font-family: var(--display); font-size: 15px; color: var(--muted); }
.row h3 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.row p { margin: 0; color: var(--muted); }
.row .ar { font-size: 22px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.row:hover { padding-left: 16px; padding-right: 16px; background: var(--paper); }
.row:hover .ar { transform: rotate(-45deg); color: var(--ink); }

/* карточки решений */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .tile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.bento .tile:nth-child(2), .bento .tile:nth-child(3) { grid-column: span 2; }
.bento .tile:nth-child(n+4) { grid-column: span 2; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; border-radius: var(--r); overflow: hidden; background: var(--night-2); color: #fff; isolation: isolate; }
.bento .tile:nth-child(1) { min-height: 700px; }
.tile .tm { position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #232833, var(--night-2) 70%); transition: transform 1.2s var(--ease); }
.tile .tm img { width: 100%; height: 100%; object-fit: contain; padding: 36px 36px 140px; }
.tile .tm img.cover { object-fit: cover; padding: 0; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,12,15,.95) 10%, rgba(10,12,15,0) 60%); }
.tile:hover .tm { transform: scale(1.06); }
.tile .tb { padding: 30px; }
.tile .cat { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.tile h3 { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.bento .tile:nth-child(1) h3 { font-size: clamp(28px, 3vw, 44px); }
.tile p { color: rgba(255,255,255,.6); font-size: 15px; margin: 10px 0 0; max-width: 46ch; }
.tile .go { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); display: grid; place-items: center; font-size: 20px; transition: background .3s, color .3s, transform .4s var(--ease); }
.tile:hover .go { background: var(--amber); color: var(--ink); transform: rotate(-45deg); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { font: 500 15px var(--body); padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: all .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* АСУДД-блок */
.screen { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.modes { display: grid; gap: 0; border-top: 1px solid var(--line-d); counter-reset: m; }
.mode { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-d); }
.mode::before { counter-increment: m; content: '0' counter(m); font-family: var(--display); color: var(--amber); font-size: 15px; padding-top: 4px; }
.mode b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.mode span { color: rgba(255,255,255,.55); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 20px; border-radius: 999px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.dark .chip { background: transparent; box-shadow: inset 0 0 0 1px var(--line-d); color: rgba(255,255,255,.85); }

/* карточки общего вида */
.card { background: #fff; border-radius: var(--r); padding: 34px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.paper .card { box-shadow: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(10,12,15,.08); }
.dark .card { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-d); }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 22px; margin-bottom: 14px; letter-spacing: -.02em; }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; font-size: 15px; }
.dark .card ul { color: rgba(255,255,255,.6); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--amber); color: var(--ink); margin-bottom: 18px; }
.module b { font-family: var(--display); font-weight: 600; font-size: 22px; display: block; margin-bottom: 8px; letter-spacing: .01em; }

/* результаты */
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line-d); }
.num { padding: 40px 28px 40px 0; border-bottom: 1px solid var(--line-d); }
.num + .num { padding-left: 28px; border-left: 1px solid var(--line-d); }
.num b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 4.2vw, 64px); white-space: nowrap; letter-spacing: -.05em; line-height: 1; color: var(--amber); margin-bottom: 14px; }
.num span { color: rgba(255,255,255,.6); }
.paper .nums, .light-nums { border-color: var(--line); }
.paper .num, .light-nums .num { border-color: var(--line); }
.paper .num b { color: var(--ink); }
.paper .num span { color: var(--muted); }

/* цитата / фото */
.quote-img { position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; }
.quote-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,15,.9), transparent 55%); }
.quote-img figcaption { position: absolute; z-index: 1; left: 36px; right: 36px; bottom: 36px; color: #fff; font-family: var(--display); font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }

/* кейс */
.case-img { border-radius: var(--r); overflow: hidden; height: 100%; min-height: 460px; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table td:not(:first-child), .table th:not(:first-child) { text-align: right; white-space: nowrap; font-family: var(--display); font-weight: 500; }
.cost .total { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 24px; }
.cost li { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cost ul { padding: 0; gap: 0; }
.cost li b { color: var(--ink); font-family: var(--display); font-size: 18px; white-space: nowrap; }

/* проблемы и фото */
.photo-card { border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 3/4; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-card:hover img { transform: scale(1.05); }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 26px 26px; color: #fff; font-family: var(--display); font-size: 20px; font-weight: 500; background: linear-gradient(0deg, rgba(10,12,15,.9), transparent); }
.photo-card figcaption::before { content: '!'; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); font-size: 15px; margin-right: 12px; vertical-align: 2px; }
.problem { padding: 32px; border-radius: var(--r); background: var(--night-2); color: #fff; }
.problem b { display: block; font-family: var(--display); font-weight: 500; font-size: 20px; margin-bottom: 10px; }
.problem b::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-right: 12px; box-shadow: 0 0 16px var(--red); vertical-align: 3px; }
.problem span { color: rgba(255,255,255,.6); }
.feat { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 14px; }
.feat div::before { content: counter(f, decimal-leading-zero); counter-increment: f; font-family: var(--display); font-size: 13px; color: var(--muted); padding-top: 3px; }
.feat { counter-reset: f; }

/* оборудование */
.eq { text-align: left; padding: 28px; }
.eq .ph { height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; border-radius: 16px; background: var(--paper); }
.eq .ph img { max-height: 130px; width: auto; }
.eq b { display: block; font-size: 17px; }
.eq span { color: var(--muted); font-size: 14px; }
.ctrl .ph { height: 220px; border-radius: 16px; background: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; overflow: hidden; }
.ctrl .ph img { max-height: 200px; width: auto; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }

/* компании, лицензии, география */
.company { display: flex; gap: 26px; align-items: flex-start; }
.company img { width: 84px; height: 84px; border-radius: 20px; object-fit: contain; background: #fff; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.company ul { list-style: none; padding: 0; margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { padding: 20px 0 20px 44px; border-bottom: 1px solid var(--line); position: relative; font-size: 18px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.lic { display: flex; gap: 20px; align-items: center; }
.lic .ic { flex: none; width: 64px; height: 84px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.lic .ic img { width: 100%; height: 100%; object-fit: cover; }
.lic .ic svg { width: 30px; color: var(--muted); }
.lic p { margin: 0; font-weight: 500; }
.cities { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.city { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.city:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.city:nth-child(even) { padding-left: 20px; }
.city b { font-family: var(--display); font-weight: 500; font-size: 18px; }
.city span { font-size: 13px; color: var(--muted); text-align: right; }
.city.now span { color: #0c8a3a; font-weight: 600; }

/* страница решения */
.sol-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.sol-media { border-radius: var(--r); background: radial-gradient(circle at 50% 40%, #232833, var(--night-2) 70%); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sol-media img { max-height: 86%; object-fit: contain; }
.sol-media img.cover { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.sol-body { font-size: 19px; color: var(--ink-2); }
.bul { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.bul li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.bul li::before { content: ''; position: absolute; left: 4px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }

/* CTA */
.cta { background: var(--amber); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta h2 { max-width: 15ch; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; }
.cta p { font-size: 20px; margin-bottom: 32px; }
.cta::after { content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; border: 80px solid rgba(10,12,15,.06); }

/* форма */
.form { display: grid; gap: 16px; }
.form .r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; padding: 26px 20px 10px; border-radius: 16px; border: 1px solid var(--line-d); background: var(--night-2); color: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 21px; top: 18px; font-size: 16px; color: rgba(255,255,255,.45); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,180,0,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 9px; font-size: 12px; color: var(--amber); }
.hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.5em; }
.form-msg.ok { color: var(--amber); }
.form-msg.err { color: #ff8a80; }
.form-msg a { color: var(--wa); font-weight: 600; }
.contact-big a, .contact-big span { display: block; font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.contact-big a:hover { color: var(--amber); }
.clist { display: grid; gap: 30px; }
.clist small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 8px; }

/* подвал */
.ftr { background: var(--night); color: rgba(255,255,255,.6); padding: 100px 0 36px; border-top: 1px solid var(--line-d); }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 80px; }
.ftr h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr a:hover { color: var(--amber); }
.ftr .logo { color: #fff; margin-bottom: 20px; }
.ftr-word { font-family: var(--display); font-weight: 700; font-size: clamp(80px, 19vw, 300px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); user-select: none; margin-bottom: 40px; }
.ftr-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; padding-top: 28px; border-top: 1px solid var(--line-d); }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 32px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* адаптив */
@media (max-width: 1180px) {
  .menu, .hdr-phone, .hdr .btn { display: none; }
  .burger { display: block; }
  .signal-lights { display: none; }
}
@media (max-width: 1000px) {
  .two, .sol-hero, .cta .wrap { grid-template-columns: 1fr; }
  .sec-top { grid-template-columns: 1fr; }
  .g4, .feat { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .tile:nth-child(n) { grid-column: span 1; grid-row: auto; min-height: 400px; }
  .bento .tile:nth-child(1) { grid-column: span 2; min-height: 520px; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .hstat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hstat:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .row { grid-template-columns: 60px 1fr 30px; }
  .row p { grid-column: 2; }
  .row .ar { grid-row: 1; grid-column: 3; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hdr-in { height: 72px; }
  .g2, .g3, .g4, .feat, .form .r2, .cities, .facts, .bento { grid-template-columns: 1fr; }
  .bento .tile:nth-child(n) { grid-column: auto; min-height: 380px; }
  .city:nth-child(n), .fact:nth-child(n) { padding-left: 0; padding-right: 0; border-right: 0; }
  .hstat { padding: 22px 12px 24px 0; }
  .hstat + .hstat { padding-left: 12px; }
  .hstat:nth-child(3) { padding-left: 0; }
  .num { padding: 28px 0; }
  .num + .num { padding-left: 0; border-left: 0; }
  .phero { padding: 140px 0 60px; }
  .card { padding: 26px; }
  .company { flex-direction: column; }
  .ftr-top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .table th, .table td { padding: 14px; font-size: 14px; }
  .quote-img { min-height: 420px; }
  .case-img { min-height: 300px; }
}

/* доработки */
.display + .lead, .display + p.lead { margin-top: 28px; }
.about-photo { margin-top: 48px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* телефоны: крупные заголовки не должны вылезать за экран */
.display { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 640px) {
  .h-xl { font-size: clamp(32px, 9.4vw, 44px); }
  .h-l { font-size: clamp(26px, 7.6vw, 34px); }
  .h-m { font-size: 24px; }
  .big-year { font-size: 26vw; }
  .tile h3, .bento .tile:nth-child(1) h3 { font-size: 22px; }
  .contact-big a, .contact-big span { font-size: 22px; overflow-wrap: anywhere; }
  .ftr-word { font-size: 26vw; }
}
.row > * { min-width: 0; }
@media (max-width: 640px) { .row { grid-template-columns: 34px 1fr 18px; gap: 12px; } .row h3 { font-size: 19px; } .row:hover { padding-left: 0; padding-right: 0; background: none; } }
