:root {
  --bg: #F6F7F9;
  --white: #FFFFFF;
  --fg: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --line2: #CBD5E1;
  --accent: #1D4ED8;
  --ink: #1D4ED8;
  --tint: #E8EEFF;
  --dark-tile: #1E293B;
  --dark-line: #334155;
  --dark-text: #CBD5E1;
  --yellow: #FCD34D;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -18px rgba(15, 23, 42, .18);
  --shadow-hover: 0 1px 2px rgba(15, 23, 42, .06), 0 24px 48px -24px rgba(15, 23, 42, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a { color: var(--ink); }
a:hover { color: var(--fg); }

img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sec { padding-top: 110px; }
.gap { padding-top: 24px; }

.over { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.over-light { color: var(--yellow); }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 12px 0 0; }
.h2s { font-size: clamp(26px, 3vw, 38px); }
.h2-light { color: #fff; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 640px; margin: 14px 0 0; }
.lead-sm { font-size: 17.5px; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -12px var(--accent); }
.btn-line { background: var(--white); color: var(--fg); border-color: var(--line2); }
.btn-line:hover { color: var(--fg); border-color: var(--fg); }
.btn-white { background: #fff; color: var(--fg); }
.btn-white:hover { color: var(--fg); transform: translateY(-1px); }
.btn-ghost-dark { color: #fff; border-color: #475569; padding: 0 10px; font-size: 14.5px; }
.btn-ghost-dark:hover { color: #fff; border-color: #fff; }
.btn-sm { min-height: 46px; padding: 0 20px; }
.btn-block { width: 100%; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; }
.card-hover:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow-hover); }

.ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--ink); flex-shrink: 0; }
.ico-sm { width: 40px; height: 40px; border-radius: 11px; }
.ico-xs { width: 38px; height: 38px; border-radius: 10px; }
.ico-md { width: 46px; height: 46px; border-radius: 12px; }

.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.chk svg { flex-shrink: 0; margin-top: 3px; color: var(--ink); }
.chk-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

.tag { font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.tag-white { background: var(--white); }
.tag-dark { background: var(--dark-tile); border-color: var(--dark-line); color: #E2E8F0; }
.tag-accent { background: var(--tint); color: var(--ink); border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.logo:hover { color: var(--fg); }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 800; font-size: 17px; }
.logo-sub { font-size: 13.5px; color: var(--muted); }

.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 10px 4px; }
.nav a:hover { color: var(--ink); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line2); background: var(--white); color: var(--fg); align-items: center; justify-content: center; cursor: pointer; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.mmenu { display: none; background: var(--white); border-top: 1px solid var(--line); }
.mmenu-inner { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 22px; }
.mmenu-link { color: var(--fg); text-decoration: none; font-size: 21px; font-weight: 800; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mmenu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mmenu-note { font-size: 15px; color: var(--muted); text-align: center; margin-top: 10px; }

.hero { padding-top: 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-author { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-author img { display: block; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; object-position: center 28%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.hero-author-copy { display: flex; flex-direction: column; gap: 2px; }
.hero-author-copy strong { color: var(--fg); font-size: 16px; font-weight: 800; line-height: 1.3; }
.hero-author-copy span { color: var(--muted); font-size: 14px; line-height: 1.35; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--muted); background: var(--white); border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 999px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }
.hero-title { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 0; }
.hero-title span { color: var(--ink); }
.hero-text { font-size: 19.5px; color: var(--muted); max-width: 580px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.quick { padding: 10px; }
.quick-title { padding: 12px 16px 8px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.srow { display: flex; align-items: center; gap: 14px; padding: 9px 16px; border-radius: 12px; text-decoration: none; color: var(--fg); transition: background .2s; }
.srow:hover { background: var(--tint); color: var(--fg); }
.srow-num { font-size: 13px; font-weight: 800; color: var(--ink); width: 24px; }
.srow-label { font-weight: 700; font-size: 16px; line-height: 1.3; }
.srow-arrow { margin-left: auto; color: var(--muted); transition: transform .2s, color .2s; flex-shrink: 0; }
.srow:hover .srow-arrow { transform: translateX(4px); color: var(--ink); }

.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.svc { padding: 28px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.svc-head { display: flex; align-items: center; justify-content: space-between; }
.svc-num { font-size: 13px; font-weight: 800; color: var(--muted); }
.svc-title { font-size: 21px; font-weight: 800; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.svc-desc { margin: 0; color: var(--muted); font-size: 16px; }
.svc-list { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.svc-tags { margin-top: auto; padding-top: 8px; }
.svc-more { font-weight: 800; font-size: 15.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border-top: 1px solid var(--line); padding-top: 12px; }

.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; border-radius: 28px; padding: 48px; }
.band-top { align-items: start; }
.panel { border-radius: 28px; padding: 48px; }
.b-white { background: var(--white); border: 1px solid var(--line); }
.b-tint { background: var(--tint); }
.b-dark { background: var(--fg); color: #fff; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.panel-head .h2 { max-width: 760px; }
.dark-text { margin: 14px 0 0; color: var(--dark-text); font-size: 17.5px; }

.cart { background: var(--bg); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-title { font-weight: 800; font-size: 17px; }
.carriers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cbtn { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line2); background: var(--white); color: var(--fg); font-family: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: all .2s; }
.cbtn:hover { border-color: var(--fg); }
.cbtn.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cart-body { display: flex; flex-direction: column; gap: 10px; }
.mfield { border: 1.5px solid var(--line2); border-radius: 12px; padding: 10px 14px; background: var(--white); }
.mfield-on { border-color: var(--accent); }
.mfield small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mfield b { font-size: 15.5px; }

.infobox { background: var(--white); border-radius: 18px; padding: 22px; margin-top: 22px; }
.infobox h3 { margin: 0; font-size: 17px; font-weight: 800; }
.infobox p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.infobox .tags { margin-top: 14px; }

.stack-col { display: flex; flex-direction: column; gap: 18px; }
.node { border-radius: 18px; background: var(--white); border: 1px solid var(--line); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.node-main { border: 2px solid var(--accent); }
.node-dark { background: var(--dark-tile); border-color: var(--dark-line); box-shadow: none; }
.node-title { font-weight: 800; font-size: 18px; color: var(--fg); }
.node-sub { font-size: 13.5px; color: var(--muted); }
.node-dark .node-title { color: #fff; }
.node-dark .node-sub { color: var(--dark-text); }
.diag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 12px; color: var(--ink); }
.diag-dark { color: #E2E8F0; }
.flows { display: flex; flex-direction: column; gap: 14px; }
.flow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.flow span:last-child { color: var(--fg); }
.diag-dark .flow span:last-child { color: inherit; }
.ln { flex: 1; min-width: 24px; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: dash 1.2s linear infinite; }
.ln-rev { animation-direction: reverse; }
@keyframes dash { to { background-position: 28px 0; } }

.ben { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line); }
.ben p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

.mig-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 22px; }
.note { font-size: 14.5px; color: var(--muted); margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--bg); }
.mig-scheme { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.plats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.plat { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 15.5px; }
.plat-muted { color: var(--muted); }
.mig-target { width: 100%; max-width: 360px; }
.mig-target .node-title { font-size: 24px; }
.mig-target .node-sub { font-size: 15px; margin-top: 4px; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.lst { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.lst-gray { background: var(--bg); }
.lst h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.extra-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.projects-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--line2); background: var(--white); color: var(--fg); font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .2s; }
.pill:hover { border-color: var(--fg); }
.pill.is-on { background: var(--fg); border-color: var(--fg); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.pgrid > article { grid-column: span 2; }
.pgrid > .card-project-featured { grid-column: span 3; }
.pcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: inherit; text-decoration: none; color: var(--fg); }
.pcard:hover { color: var(--fg); }
.pcover { position: relative; height: 214px; margin: 0; padding: 30px 12px 0; background: #E8EDF5; overflow: hidden; }
.pcover::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 30px; background-color: #E8EDF5; background-image: radial-gradient(circle at 17px 15px, #F87171 4px, transparent 4.5px), radial-gradient(circle at 32px 15px, #FBBF24 4px, transparent 4.5px), radial-gradient(circle at 47px 15px, #34D399 4px, transparent 4.5px); background-repeat: no-repeat; pointer-events: none; }
.pcover img { width: 100%; height: 100%; border-radius: 8px 8px 0 0; object-fit: cover; object-position: top center; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card-project-featured .pcover { height: 292px; }
.pcard:hover .pcover img { transform: scale(1.015); }
.pbody { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ptype { font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ptitle { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0; }
.pdesc { margin: 0; color: var(--muted); font-size: 15.5px; }
.pmore { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--ink); font-size: 15px; }

.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.tech > .tt:last-child:nth-child(3n + 1) { grid-column: 2; }
.tt { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: var(--dark-tile); border: 1px solid var(--dark-line); transition: transform .2s, border-color .2s; }
.tt:hover { transform: translateY(-3px); border-color: #94A3B8; }
.tt-glyph { width: 52px; height: 52px; border-radius: 14px; background: var(--fg); border: 1px solid var(--dark-line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0; }
.tt-group { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 2px; }
.tt-name { display: block; font-size: 17.5px; color: #fff; }
.tt-desc { font-size: 14.5px; color: var(--dark-text); }
.stack-note { margin: 0; color: var(--dark-text); max-width: 420px; font-size: 16.5px; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 40px 0 0; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.step-no { font-size: 13px; font-weight: 800; color: #fff; background: var(--accent); width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step h3 { font-size: 18px; font-weight: 800; margin: 16px 0 0; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

.cgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.crows { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.crow { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color .2s, transform .2s; }
.crow:hover { color: var(--fg); border-color: var(--ink); transform: translateX(3px); }
.crow-label { display: block; font-size: 14px; color: var(--muted); }
.crow-value { font-weight: 800; }
.crow-go { margin-left: auto; font-weight: 700; color: var(--ink); font-size: 15px; white-space: nowrap; }
.formbox { padding: 36px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field textarea, .field select { font-family: inherit; font-size: 16.5px; color: var(--fg); background: var(--white); border: 1.5px solid var(--line2); border-radius: 12px; padding: 13px 16px; min-height: 52px; outline: none; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #64748B; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.form-submit { min-height: 56px; font-size: 17px; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px 0; }
.sent[hidden], .form[hidden] { display: none; }
.sent h3 { font-size: 24px; font-weight: 800; margin: 0; }
.sent p { margin: 0; color: var(--muted); }
.ico-ok { background: #DCFCE7; color: #15803D; }

.foot { margin-top: 110px; background: var(--fg); color: #fff; }
.foot a { color: var(--dark-text); text-decoration: none; font-size: 15px; }
.foot a:hover { color: #fff; }
.foot-inner { padding-top: 60px; padding-bottom: 30px; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col-title { font-weight: 800; }
.foot-about { color: var(--dark-text); font-size: 15.5px; max-width: 340px; margin: 16px 0 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 14.5px; color: var(--dark-text); }
.foot-short { margin-top: 96px; background: var(--fg); color: #fff; }
.foot-short-inner { padding-top: 34px; padding-bottom: 34px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; font-size: 15px; }
.foot-short a { color: #E2E8F0; text-decoration: none; }
.foot-short a:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }

.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15.5px; min-height: 44px; }
.back:hover { color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; background: var(--tint); color: var(--ink); }
.chip-main { background: var(--accent); color: #fff; }
.case-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 20px 0 0; max-width: 980px; }
.case-lead { font-size: 19px; color: var(--muted); max-width: 760px; margin: 20px 0 0; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.fact-label { display: block; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.fact-value { font-weight: 800; }

.shots-sec { padding-top: 32px; scroll-margin-top: 100px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shots-edison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot { margin: 0; }
.shot-main { grid-column: 1 / -1; }
.shot-btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); aspect-ratio: 4 / 3; transition: border-color .2s, transform .25s; }
.shot-main .shot-btn { aspect-ratio: 16 / 9; }
.shots-edison .shot-main { grid-column: 1 / -1; }
.shot-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.shot-btn img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); font-weight: 600; }

.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 80px; }
.case-main { display: flex; flex-direction: column; gap: 64px; }
.case-text { color: var(--muted); margin: 14px 0 0; }
.case-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.case-list .chk { font-size: 16px; }
.aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.aside-box { padding: 24px; }
.aside-title { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.aside-title + .tags { margin-top: 12px; }
.tags + .aside-title { margin-top: 22px; }
.aside-cta { background: var(--fg); color: #fff; border-color: var(--fg); }
.aside-cta h2 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.3; }
.aside-cta p { margin: 8px 0 0; font-size: 15.5px; color: var(--dark-text); }
.aside-cta .btn-white { margin-top: 18px; }
.aside-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.next { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; text-decoration: none; color: var(--fg); }
.next:hover { color: var(--fg); }
.next-label { display: block; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.next-title { font-size: clamp(21px, 2.4vw, 28px); font-weight: 800; }
.next-arrow { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.not-found { padding: 120px 0; text-align: center; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 42, .92); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; color: #fff; }
.lightbox-caption { font-weight: 700; }
.lightbox-count { color: var(--dark-text); font-size: 15px; }
.lightbox-close, .lightbox-nav { width: 46px; height: 46px; border-radius: 12px; border: 1px solid #475569; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-close { margin-left: auto; }
.lightbox-close:hover, .lightbox-nav:hover { border-color: #fff; }
.lightbox-stage { flex: 1; overflow-y: auto; padding: 0 20px 20px; }
.lightbox-stage img { margin: 0 auto; max-width: min(1200px, 100%); border-radius: 12px; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ln { animation: none; }
}

@media (max-width: 1080px) {
  .hero-grid, .band, .cgrid, .case-body { grid-template-columns: 1fr; }
  .sgrid, .pgrid, .tech, .steps, .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech > .tt:last-child:nth-child(3n + 1) { grid-column: auto; }
  .pgrid > article, .pgrid > .card-project-featured { grid-column: auto; }
  .card-project-featured .pcover { height: 244px; }
  .band-rev > :first-child { order: 2; }
  .aside { position: static; }
}
@media (max-width: 900px) {
  .nav, .hdr-cta { display: none !important; }
  .burger { display: inline-flex; }
  .mmenu.is-open { display: block; }
}
@media (max-width: 760px) {
  .shots, .facts { grid-template-columns: 1fr; }
  .hdr-tg { display: none !important; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .sec { padding-top: 80px; }
  .sgrid, .pgrid, .tech, .steps, .fgrid, .f2, .two, .mig-list { grid-template-columns: 1fr; }
  .band, .panel, .formbox { padding: 28px 20px; }
  .flow { font-size: 12px; }
  .diag { grid-template-columns: 1fr; gap: 16px; }
  .diag .flows { order: 2; }
  .diag .node-end { order: 3; }
  .next { padding: 22px 20px; }
}

.btn-gap { margin-top: 26px; }
.case-top { padding-top: 32px; }
.next-sec { padding-top: 96px; }
.hdr-tg { margin-left: auto; }
.foot-copy { color: var(--dark-text); }
.not-found .case-title { margin: 0 auto; }
.not-found .case-lead { margin: 20px auto 0; }
.not-found .case-actions { justify-content: center; }
.btn-sm { white-space: nowrap; }

@media (max-width: 480px) {
  .header-row > .logo > .logo-name { display: none; }
  .header-row > .btn-primary { margin-left: auto; }
}

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.feature h3 { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 17px; font-weight: 800; }
.feature h3 svg { color: var(--ink); flex-shrink: 0; }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.svc-links { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.svc-links a { font-weight: 700; font-size: 15px; text-decoration: none; }
.pgrid > [hidden] { display: none; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
