:root {
  --content: 1180px;
  --blue-950: #072943;
  --blue-900: #0d3d63;
  --blue-800: #0d568a;
  --blue-700: #176ea8;
  --blue-600: #2d82bc;
  --blue-100: #e9f3fb;
  --blue-50: #f4f9fd;
  --teal-700: #087f83;
  --teal-600: #0da3a4;
  --teal-100: #e1f7f5;
  --green-700: #168646;
  --green-100: #e9f8ee;
  --orange-600: #e87d32;
  --orange-100: #fff0e4;
  --purple-700: #6751b7;
  --purple-100: #f0edff;
  --red: #e2242a;
  --ink: #112e45;
  --muted: #5d7182;
  --line: #cedce7;
  --line-strong: #a8c0d2;
  --paper: #ffffff;
  --surface: #f7fafc;
  --section-y: clamp(3.5rem, 6vw, 4.8rem);
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --shadow-card: 0 14px 38px rgba(10, 43, 67, 0.08);
  --shadow-hover: 0 22px 52px rgba(10, 43, 67, 0.14);
  --sans: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.97rem;
  line-height: 1.56;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid #f5a45d; outline-offset: 3px; }
::selection { background: #ccefeb; color: var(--blue-950); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(var(--content), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
section[id] { scroll-margin-top: 88px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 500; padding: 0.7rem 1rem; border-radius: 0.55rem; background: white; color: var(--blue-900); font-weight: 800; text-decoration: none; box-shadow: var(--shadow-card); }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(206, 220, 231, 0.88); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px) saturate(1.15); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 1rem; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 0.78rem; color: var(--blue-950); text-decoration: none; }
.brand-mark { position: relative; width: 60px; height: 60px; flex: 0 0 60px; overflow: hidden; border: 2px solid #b8d4e7; border-radius: 50%; background: white; box-shadow: 0 5px 16px rgba(13, 71, 120, 0.12); }
.brand-mark img { position: absolute; width: 74px; height: 74px; max-width: none; left: -7px; top: -4px; }
.brand-copy { min-width: 0; display: grid; gap: 0.12rem; }
.brand-copy strong { color: var(--blue-950); font-size: 1.04rem; line-height: 1.12; letter-spacing: -0.015em; }
.brand-copy small { max-width: 250px; color: #657c8e; font-size: 0.68rem; line-height: 1.24; }
.site-nav { display: flex; align-items: center; gap: clamp(0.55rem, 1.3vw, 1rem); margin-left: auto; }
.site-nav a { padding: 0.45rem 0.18rem; color: #38566d; font-size: 0.82rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--blue-700); }
.menu-toggle { display: none; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 0.52rem; padding: 0.72rem 1.08rem; border: 1px solid transparent; border-radius: 0.65rem; cursor: pointer; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0.6rem 0.82rem; font-size: 0.78rem; }
.button-primary { background: var(--blue-700); color: white; box-shadow: 0 9px 24px rgba(23, 110, 168, 0.2); }
.button-primary:hover { background: var(--blue-800); box-shadow: 0 13px 28px rgba(13, 86, 138, 0.26); }
.button-outline { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.7); color: var(--blue-900); }
.button-outline:hover { border-color: var(--blue-700); background: white; }
.button-white { background: white; color: var(--blue-900); }
.button-white:hover { box-shadow: 0 12px 28px rgba(3, 24, 39, 0.24); }
.button-full { width: 100%; }

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f9fcff 0%, #edf6fc 56%, #f9fcff 100%); }
.hero-grid-pattern { position: absolute; inset: 0; z-index: -2; opacity: 0.72; background-image: linear-gradient(rgba(23, 110, 168, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 110, 168, 0.055) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, black, rgba(0,0,0,.72) 58%, transparent); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -110px; top: -160px; border: 72px solid rgba(232, 125, 50, 0.10); border-radius: 50%; }
.hero-layout { min-height: 590px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr); align-items: center; gap: clamp(2rem, 5vw, 4.6rem); padding-block: 3.4rem; }
.eyebrow { display: flex; align-items: center; gap: 0.58rem; margin: 0 0 0.85rem; color: var(--blue-700); font-size: 0.69rem; font-weight: 860; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: #a9e8e4; }
.hero-copy h1 { max-width: 680px; margin: 0; color: var(--blue-950); font-size: clamp(2.9rem, 5.2vw, 4.65rem); font-weight: 820; letter-spacing: -0.055em; line-height: 0.99; }
.hero-copy h1 em { color: var(--blue-700); font-style: normal; }
.hero-lead { max-width: 680px; margin: 1.25rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.55rem; }
.hero-facts { max-width: 650px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-top: 1.75rem; }
.hero-facts div { display: grid; gap: 0.12rem; padding: 0.78rem 0.85rem; border: 1px solid rgba(168, 192, 210, 0.7); border-radius: 0.7rem; background: rgba(255,255,255,.72); }
.hero-facts strong { color: var(--blue-900); font-size: 1.22rem; line-height: 1.1; }
.hero-facts span { color: var(--muted); font-size: 0.71rem; }

.hero-showcase { display: grid; gap: 0.85rem; }
.hero-logo-card { min-height: 265px; display: grid; grid-template-columns: 178px 1fr; align-items: center; gap: 1.4rem; padding: 1.25rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: white; box-shadow: var(--shadow-card); }
.hero-logo-wrap { position: relative; width: 174px; height: 174px; overflow: hidden; border: 2px solid #bad5e6; border-radius: 50%; background: white; box-shadow: inset 0 0 0 7px #f1f7fb, 0 12px 28px rgba(13, 71, 120, 0.12); }
.hero-logo-wrap img { position: absolute; width: 208px; height: 208px; max-width: none; left: -17px; top: -10px; }
.hero-logo-copy { display: grid; gap: 0.45rem; }
.hero-logo-copy span { color: var(--red); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-logo-copy strong { color: var(--blue-950); font-size: 1.55rem; line-height: 1.12; letter-spacing: -0.03em; }
.hero-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hero-mini-card { min-height: 112px; display: grid; grid-template-columns: auto 1fr; align-content: center; align-items: center; gap: 0.15rem 0.75rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.92); color: var(--ink); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.hero-mini-card:hover { transform: translateY(-3px); border-color: var(--blue-600); box-shadow: var(--shadow-card); }
.hero-mini-card .card-icon { grid-row: 1 / span 2; }
.hero-mini-card strong { font-size: 0.93rem; line-height: 1.2; }
.hero-mini-card small { color: var(--muted); font-size: 0.69rem; line-height: 1.35; }
.hero-mini-wide { grid-column: 1 / -1; min-height: 82px; grid-template-columns: auto 1fr auto; }
.hero-mini-wide span:not(.card-icon) { display: grid; gap: 0.15rem; }
.mini-arrow { width: 20px; height: 20px; fill: none; stroke: var(--blue-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 0.72rem; background: var(--blue-100); color: var(--blue-700); }
.card-icon svg, .step-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon-green { background: var(--green-100); color: var(--green-700); }
.card-icon-orange { background: var(--orange-100); color: var(--orange-600); }
.card-icon-purple { background: var(--purple-100); color: var(--purple-700); }
.card-icon-blue { background: var(--blue-100); color: var(--blue-700); }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.56fr); align-items: end; gap: 2rem; margin-bottom: 1.8rem; }
.section-heading h2, .about-copy h2, .noko-copy h2, .request-copy h2 { margin: 0; color: var(--blue-950); font-size: clamp(2rem, 3.5vw, 3.15rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.section-heading > p, .heading-action p { margin: 0; color: var(--muted); }
.section-heading-controls { grid-template-columns: 1fr auto; }

.about { background: white; }
.about-panel { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(470px, 1.06fr); gap: 2.2rem; padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.about-copy > p:not(.eyebrow) { max-width: 590px; margin: 1rem 0 1.1rem; color: var(--muted); }
.about-location { display: flex; align-items: center; gap: 0.55rem; color: var(--blue-800); font-size: 0.78rem; font-weight: 750; }
.about-location svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.about-grid article { min-height: 120px; display: flex; gap: 0.8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.about-grid strong { display: block; margin: 0.05rem 0 0.28rem; color: var(--blue-950); font-size: 0.88rem; }
.about-grid p { margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.45; }

.directions { border-top: 1px solid #e6eef4; background: var(--blue-50); }
.direction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.direction-card { min-height: 315px; display: flex; flex-direction: column; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 24px rgba(10,43,67,.05); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.direction-card:hover { transform: translateY(-4px); border-color: #a6c2d5; box-shadow: var(--shadow-hover); }
.direction-card-accent { background: linear-gradient(145deg, #fff 0%, #eef7fc 100%); }
.card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.card-number { color: #91a7b8; font-size: 0.73rem; font-weight: 850; letter-spacing: 0.12em; }
.direction-card h3 { margin: 0; color: var(--blue-950); font-size: 1.47rem; line-height: 1.16; letter-spacing: -0.025em; }
.direction-card > p { margin: 0.75rem 0 1.15rem; color: var(--muted); font-size: 0.88rem; }
.card-link { width: fit-content; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; color: var(--blue-700); font-size: 0.79rem; font-weight: 820; text-decoration: none; }
.card-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }
.card-link:hover svg { transform: translateX(3px); }

.noko { background: white; }
.noko-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, 0.88fr); overflow: hidden; border-radius: var(--radius); background: linear-gradient(138deg, var(--blue-950), #0a5c78); color: white; box-shadow: 0 22px 58px rgba(7, 41, 67, 0.18); }
.noko-copy { padding: clamp(1.7rem, 4vw, 3rem); }
.noko-copy h2 { color: white; }
.noko-copy > p:not(.eyebrow) { max-width: 650px; margin: 1rem 0 1.15rem; color: #c8dfe9; }
.noko-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.35rem; }
.noko-badges span { display: inline-flex; align-items: center; gap: 0.32rem; padding: 0.38rem 0.55rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.07); color: #e0eef3; font-size: 0.68rem; font-weight: 720; }
.noko-badges svg { width: 14px; height: 14px; fill: none; stroke: #7de0d6; stroke-width: 2; }
.noko-process { display: grid; align-content: center; gap: 0.7rem; padding: 1.1rem; background: rgba(255,255,255,.07); }
.noko-process article { display: flex; gap: 0.9rem; padding: 1rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); background: rgba(255,255,255,.08); }
.step-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 0.7rem; background: white; color: var(--blue-800); }
.noko-process small { display: block; color: #8fe1dc; font-size: 0.63rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.noko-process strong { display: block; margin-top: 0.2rem; font-size: 0.95rem; }
.noko-process p { margin: 0.22rem 0 0; color: #cfe0e8; font-size: 0.76rem; }
.sector-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.48rem; margin-top: 0.9rem; padding-inline: 0.2rem; }
.sector-row strong { margin-right: 0.2rem; color: var(--blue-900); font-size: 0.76rem; }
.sector-row span { padding: 0.35rem 0.62rem; border: 1px solid var(--line); border-radius: 999px; background: var(--blue-50); color: #4c6679; font-size: 0.69rem; font-weight: 720; }

.projects { overflow: hidden; padding-block: clamp(2.8rem, 4.6vw, 3.5rem); border-top: 1px solid #e4edf3; background: var(--surface); }
.rail-controls { display: flex; align-items: center; gap: 0.42rem; }
.rail-controls > span { min-width: 67px; color: #718596; font-size: 0.72rem; }
.rail-controls strong { color: var(--blue-950); font-size: 1.1rem; }
.rail-controls b { font-weight: inherit; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 0.72rem; background: white; color: var(--blue-900); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, color 160ms ease; }
.icon-button:hover { border-color: var(--blue-700); background: var(--blue-700); color: white; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.project-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; padding: 0.15rem 0 1rem; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #8bb5ce #e3edf3; }
.project-card { min-width: 0; min-height: 430px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 24px rgba(10,43,67,.06); transition: transform 180ms ease, box-shadow 180ms ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.project-shot { position: relative; aspect-ratio: 16 / 8.55; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-shot-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-body { min-height: 225px; display: flex; flex-direction: column; padding: 1rem 1.1rem 1.05rem; }
.project-meta { display: flex; align-items: center; gap: 0.6rem; }
.project-meta .card-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 0.62rem; }
.project-meta .card-icon svg { width: 18px; height: 18px; }
.project-meta small { color: var(--blue-700); font-size: 0.64rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.project-body h3 { margin: 0.72rem 0 0; color: var(--blue-950); font-size: 1.42rem; line-height: 1.14; letter-spacing: -0.03em; }
.project-body > p { display: -webkit-box; min-height: 4.15em; margin: 0.55rem 0 0.8rem; overflow: hidden; color: var(--muted); font-size: 0.79rem; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.project-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.project-tags span, .project-state { padding: 0.28rem 0.48rem; border-radius: 999px; background: var(--blue-50); color: #536f82; font-size: 0.61rem; font-weight: 750; }
.project-state { color: var(--blue-700); white-space: nowrap; }
.project-footer > a { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-700); color: white; }
.project-footer > a:hover { background: var(--blue-900); }
.project-footer > a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.project-shot-noko { padding: 0.85rem; background: linear-gradient(145deg, #e9f8f7, #d7eef7); }
.shot-toolbar { height: 16px; display: flex; gap: 4px; align-items: center; }
.shot-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: #7fa9bd; }
.shot-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
.shot-metrics span { display: grid; padding: 0.45rem; border: 1px solid rgba(13,86,138,.14); border-radius: 0.5rem; background: rgba(255,255,255,.76); }
.shot-metrics b { color: var(--blue-900); font-size: 0.83rem; }
.shot-metrics small { color: #6b8495; font-size: 0.48rem; }
.shot-bars { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0.85rem; height: 74px; display: flex; align-items: end; gap: 0.45rem; padding: 0.55rem 0.7rem 0; border-left: 1px solid #aac6d4; border-bottom: 1px solid #aac6d4; }
.shot-bars i { width: 15%; height: var(--bar); border-radius: 0.28rem 0.28rem 0 0; background: linear-gradient(180deg, #42c4bc, var(--blue-700)); }
.project-shot-vpr { padding: 1rem; background: linear-gradient(145deg, var(--blue-950), #0c6680); color: white; }
.vpr-title { display: flex; align-items: baseline; justify-content: space-between; }
.vpr-title span { font-size: 2rem; font-weight: 900; letter-spacing: -0.05em; }
.vpr-title small { color: #9fd5df; font-size: 0.53rem; font-weight: 800; text-transform: uppercase; }
.vpr-grid { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; height: 92px; display: flex; align-items: end; gap: 0.45rem; }
.vpr-grid::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 100% 23px; }
.vpr-grid i { position: relative; width: 13%; height: var(--v); border-radius: 0.28rem 0.28rem 0 0; background: linear-gradient(180deg, #66ddd4, #24a1b4); }
.vpr-line { position: absolute; width: 85px; height: 32px; right: 1.2rem; top: 3.25rem; border-top: 2px solid #f2a259; transform: skewY(-11deg); }
.project-shot-rpd { background: linear-gradient(145deg, #edeaff, #d9e8fb); }
.rpd-sheet { position: absolute; width: 42%; height: 74%; left: 23%; top: 12%; padding: .62rem; border: 1px solid rgba(103,81,183,.24); border-radius: .45rem; background: white; box-shadow: 0 12px 25px rgba(38,47,92,.16); transform: rotate(-2deg); }
.rpd-sheet-back { left: 43%; top: 17%; background: #f8f6ff; transform: rotate(7deg); }
.rpd-sheet b { color: var(--purple-700); font-size: .8rem; letter-spacing: .08em; }
.rpd-sheet span { float: right; color: #9b93bd; font-size: .55rem; font-weight: 800; }
.rpd-sheet i { display: block; height: 4px; margin-top: .44rem; border-radius: 3px; background: #d8d5e9; }
.rpd-sheet i:nth-of-type(2) { width: 78%; }.rpd-sheet i:nth-of-type(3) { width: 62%; }
.rpd-sheet em { position: absolute; right: .5rem; bottom: .45rem; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-700); color: white; font-size: .54rem; font-style: normal; font-weight: 900; }
.rpd-flow { position: absolute; left: .85rem; bottom: .7rem; display: flex; gap: .28rem; }
.rpd-flow span { width: 22px; height: 5px; border-radius: 4px; background: rgba(103,81,183,.25); }
.rpd-flow span:last-child { background: var(--purple-700); }
.project-shot-diagnostics { background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.92) 0 9%, transparent 10%), linear-gradient(145deg, #e9faf4, #d8f1ef); }
.diagnostic-center { position: absolute; z-index: 2; left: 50%; top: 43%; width: 52px; height: 52px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 6px solid rgba(13,163,164,.18); border-radius: 50%; background: var(--teal-700); color: white; font-size: .8rem; font-weight: 900; box-shadow: 0 8px 22px rgba(8,127,131,.25); }
.diagnostic-orbit { position: absolute; width: 148px; height: 148px; left: 50%; top: 43%; transform: translate(-50%,-50%); border: 1px dashed rgba(8,127,131,.35); border-radius: 50%; }
.diagnostic-orbit span { position: absolute; left: 50%; top: 50%; width: 31px; height: 31px; display: grid; place-items: center; margin: -15px; transform: rotate(var(--a)) translateX(74px) rotate(calc(-1 * var(--a))); border: 1px solid rgba(8,127,131,.22); border-radius: 50%; background: white; color: var(--teal-700); font-size: .48rem; font-weight: 900; box-shadow: 0 5px 12px rgba(8,127,131,.1); }
.route-line { position: absolute; right: .85rem; bottom: .7rem; display: flex; align-items: center; gap: .18rem; }
.route-line i { width: 22px; height: 6px; border-radius: 4px; background: #9bdad1; }
.route-line i:nth-child(2) { background: #61c1b4; }.route-line i:nth-child(3) { background: #2aa294; }.route-line i:nth-child(4) { width: 30px; background: var(--teal-700); }
.project-shot-bashstat { display: grid; grid-template-columns: repeat(6, 1fr); align-content: center; padding: 1rem; background: linear-gradient(145deg, #f2fbfa, #d8f2ef); color: var(--teal-700); }
.project-shot-bashstat > span { font-size: clamp(1.4rem, 2.2vw, 2.3rem); font-weight: 800; text-align: center; }
.project-shot-bashstat > div { grid-column: 1 / -1; margin-top: 1rem; padding-top: 0.65rem; border-top: 1px solid #8ec8c1; color: #4a807c; font-size: 0.54rem; font-weight: 850; letter-spacing: 0.12em; text-align: center; }
.project-shot-lms { display: grid; grid-template-columns: 25% 75%; background: #f5f8fc; }
.project-shot-lms aside { display: grid; align-content: start; gap: 0.55rem; padding: 0.8rem 0.55rem; background: var(--blue-950); }
.project-shot-lms aside::before { content: "LMS"; margin-bottom: 0.5rem; color: white; font-size: 0.7rem; font-weight: 900; text-align: center; }
.project-shot-lms aside i { height: 8px; border-radius: 999px; background: rgba(255,255,255,.24); }
.project-shot-lms .lms-main { padding: 0.85rem; }
.lms-head { display: flex; justify-content: space-between; }
.lms-head i { width: 45%; height: 9px; border-radius: 999px; background: #9ab5c7; }
.lms-head i:last-child { width: 16%; background: var(--orange-600); }
.lms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin-top: 0.85rem; }
.lms-cards span { height: 48px; border: 1px solid #cddbe4; border-radius: 0.45rem; background: white; }
.lms-cards span:nth-child(2) { background: var(--teal-100); }
.lms-table { display: grid; gap: 0.35rem; margin-top: 0.65rem; }
.lms-table i { height: 8px; border-radius: 999px; background: #d2dee7; }
.project-shot-college { display: grid; place-items: center; background: #eef7ff; }
.college-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(23,110,168,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(23,110,168,.08) 1px, transparent 1px); background-size: 24px 24px; }
.project-shot-college img { position: relative; width: 118px; height: 118px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(13,61,99,.12)); }
.project-shot-college > span { position: absolute; left: 50%; bottom: 0.65rem; transform: translateX(-50%); color: var(--blue-900); font-size: 0.48rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; white-space: nowrap; }
.project-shot-zari { background: radial-gradient(circle at 50% 30%, #1f9d9a, #062d4a 67%); }
.project-shot-zari img { width: 100%; height: 100%; object-fit: contain; object-position: center 25%; }
.project-shot-zari > div { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0.75rem; height: 22px; display: flex; align-items: center; justify-content: center; gap: 0.28rem; }
.project-shot-zari span { width: 5px; height: 35%; border-radius: 999px; background: #67e3db; animation: wave 1.4s ease-in-out infinite alternate; }
.project-shot-zari span:nth-child(2) { height: 70%; animation-delay: .15s; }.project-shot-zari span:nth-child(3) { height: 100%; animation-delay: .3s; }.project-shot-zari span:nth-child(4) { height: 60%; animation-delay: .45s; }.project-shot-zari span:nth-child(5) { height: 42%; animation-delay: .6s; }
@keyframes wave { to { transform: scaleY(.45); opacity: .55; } }

.workshops { background: white; }
.heading-action { display: grid; gap: 0.7rem; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.audience-grid article { min-height: 128px; display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.audience-grid article:hover { transform: translateY(-3px); border-color: #a8c4d7; box-shadow: var(--shadow-card); }
.audience-grid strong { display: block; margin-top: 0.08rem; color: var(--blue-950); font-size: 0.91rem; }
.audience-grid p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.75rem; }

.books { overflow: hidden; border-top: 1px solid #deebf3; background: #eff6fb; }
.cover-filters { display: flex; flex-wrap: wrap; gap: 0.42rem; margin: -0.45rem 0 1.15rem; }
.filter-button { min-height: 34px; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.42rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: white; color: #506a7c; cursor: pointer; font-size: 0.69rem; font-weight: 760; }
.filter-button span { min-width: 21px; padding: 0.05rem 0.25rem; border-radius: 999px; background: var(--blue-50); color: #668092; font-size: 0.59rem; }
.filter-button:hover, .filter-button.is-active { border-color: var(--blue-700); background: var(--blue-700); color: white; }
.filter-button.is-active span { background: rgba(255,255,255,.18); color: white; }
.cover-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 1rem; overflow-x: auto; padding: 0.15rem 0 1rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #8bb5ce #dce9f1; }
.cover-card { min-width: 0; scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; gap: 0.65rem; padding: 0.55rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; color: var(--ink); cursor: zoom-in; text-align: left; box-shadow: 0 6px 18px rgba(10,43,67,.05); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.cover-card[hidden] { display: none; }
.cover-card:hover { transform: translateY(-4px); border-color: #9bbbd0; box-shadow: var(--shadow-card); }
.cover-image { width: 100%; aspect-ratio: 8 / 11; display: grid; place-items: center; overflow: hidden; border-radius: 0.55rem; background: #e6eef3; }
.cover-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cover-name { display: grid; align-content: start; gap: 0.14rem; min-height: 43px; padding: 0 0.18rem 0.1rem; }
.cover-name small { color: var(--blue-700); font-size: 0.58rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.cover-name strong { display: -webkit-box; overflow: hidden; color: var(--blue-950); font-size: 0.72rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gallery-hint { margin: 0.45rem 0 0; color: #738797; font-size: 0.69rem; }
.gallery-hint span { color: var(--blue-700); font-weight: 900; }

.request { position: relative; overflow: hidden; background: var(--blue-950); color: white; }
.request::before { content: ""; position: absolute; width: 500px; height: 500px; right: -170px; top: -290px; border: 72px solid rgba(13,163,164,.09); border-radius: 50%; }
.request-layout { position: relative; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.02fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.request-copy h2 { color: white; }
.request-copy > p:not(.eyebrow) { max-width: 530px; margin: 1rem 0 1.3rem; color: #c8dae4; }
.contact-cards { display: grid; gap: 0.55rem; }
.contact-cards > a, .contact-cards > div { display: flex; align-items: center; gap: 0.75rem; padding: 0.68rem; border: 1px solid rgba(255,255,255,.14); border-radius: 0.7rem; background: rgba(255,255,255,.055); text-decoration: none; }
.contact-cards > a:hover { border-color: rgba(105,220,212,.55); background: rgba(255,255,255,.09); }
.contact-cards .card-icon { width: 38px; height: 38px; flex-basis: 38px; background: rgba(255,255,255,.1); color: #81e1da; }
.contact-cards .card-icon svg { width: 18px; height: 18px; }
.contact-cards span:not(.card-icon) { display: grid; }
.contact-cards small { color: #8eabb9; font-size: 0.61rem; }
.contact-cards strong { color: white; font-size: 0.78rem; }
.request-form { display: grid; gap: 0.8rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field { display: grid; gap: 0.3rem; }
.field label { color: #e5eff4; font-size: 0.69rem; font-weight: 800; }
.field label span { color: #ffaf77; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.2); border-radius: 0.58rem; background: #0d3b5d; color: white; }
.field input, .field select { min-height: 44px; padding: 0.62rem 0.72rem; }
.field textarea { min-height: 112px; resize: vertical; padding: 0.68rem 0.72rem; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #87a4b4; }
.field small { justify-self: end; color: #8fa8b6; font-size: 0.62rem; }
.consent { display: flex; align-items: flex-start; gap: 0.55rem; color: #b8cad4; font-size: 0.65rem; line-height: 1.4; }
.consent input { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 0.05rem; accent-color: var(--teal-600); }
.consent a { color: #9ee5df; font-weight: 760; text-underline-offset: 2px; }
.consent a:hover { color: white; }
.form-status { min-height: 1.2em; margin: -0.15rem 0 0; color: #9ee5df; font-size: 0.69rem; font-weight: 700; }
.form-status.is-error { color: #ffb48a; }
.form-note { margin: -0.3rem 0 0; color: #8fa7b5; font-size: 0.61rem; }
.form-note strong { color: #b8d2df; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.site-footer { padding: 2.5rem 0 1rem; border-top: 1px solid #183f5b; background: #041e31; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.72fr 0.72fr 0.82fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-logo { position: relative; width: 76px; height: 76px; flex: 0 0 76px; overflow: hidden; border: 2px solid rgba(255,255,255,.28); border-radius: 50%; background: white; }
.footer-logo img { position: absolute; width: 94px; height: 94px; max-width: none; left: -9px; top: -5px; }
.footer-brand strong { font-size: 0.96rem; }
.footer-brand p { max-width: 430px; margin: 0.2rem 0 0; color: #91aab8; font-size: 0.72rem; }
.footer-column { display: grid; align-content: start; gap: 0.32rem; }
.footer-column > strong { margin-bottom: 0.25rem; color: #8fded8; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-column a { color: #d9e5eb; font-size: 0.72rem; text-decoration: none; }
.footer-column a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; padding-top: 0.85rem; border-top: 1px solid rgba(255,255,255,.1); color: #718e9e; font-size: 0.64rem; }
.footer-bottom a { color: #9db4c1; text-decoration: none; }

.cover-dialog { width: min(95vw, 1180px); max-width: none; height: min(94dvh, 880px); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: var(--blue-950); color: white; box-shadow: 0 40px 120px rgba(0,0,0,.55); }
.cover-dialog::backdrop { background: rgba(2, 19, 31, .82); backdrop-filter: blur(9px); }
.dialog-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.dialog-shell header { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.68rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.dialog-shell header > div { min-width: 0; display: grid; gap: 0.04rem; }
.dialog-shell header span { color: #86dfd8; font-size: 0.62rem; font-weight: 850; letter-spacing: 0.1em; }
.dialog-shell h2 { max-width: 930px; margin: 0; overflow: hidden; color: white; font-size: 0.88rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.dialog-close, .dialog-arrow { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.07); color: white; cursor: pointer; }
.dialog-close { width: 40px; height: 40px; flex: 0 0 40px; }
.dialog-close svg, .dialog-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dialog-stage { position: relative; min-height: 0; overflow: hidden; background: radial-gradient(circle at 50% 15%, rgba(45,130,188,.18), transparent 38%), #061d30; }
.dialog-stage img { position: absolute; inset: 0.8rem 4rem; width: calc(100% - 8rem); height: calc(100% - 1.6rem); max-width: none; max-height: none; border-radius: 0.4rem; object-fit: contain; box-shadow: 0 24px 74px rgba(0,0,0,.5); }
.dialog-arrow { position: absolute; z-index: 2; top: 50%; width: 44px; height: 44px; transform: translateY(-50%); }
.dialog-prev { left: 0.8rem; }.dialog-next { right: 0.8rem; }
.dialog-arrow:hover, .dialog-close:hover { border-color: #79ddd6; background: rgba(13,163,164,.16); }
.noscript { margin: 0; padding: 0.7rem 1rem; background: #fff1d7; color: #5f4700; text-align: center; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms ease, transform 560ms ease; }
.js .reveal-delay { transition-delay: 90ms; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .brand-copy small { max-width: 220px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 2rem; }
  .hero-logo-card { grid-template-columns: 142px 1fr; min-height: 225px; }
  .hero-logo-wrap { width: 140px; height: 140px; }
  .hero-logo-wrap img { width: 169px; height: 169px; left: -15px; top: -8px; }
  .hero-logo-copy strong { font-size: 1.3rem; }
  .about-panel { grid-template-columns: 1fr 1fr; }
  .project-rail { grid-auto-columns: calc((100% - 1rem) / 2); }
}

@media (max-width: 880px) {
  .shell { width: min(100% - 2rem, 760px); }
  .header-inner { min-height: 76px; }
  .brand-mark { width: 54px; height: 54px; flex-basis: 54px; }
  .brand-mark img { width: 67px; height: 67px; left: -7px; top: -4px; }
  .menu-toggle { min-height: 42px; display: inline-flex; align-items: center; gap: 0.42rem; margin-left: auto; padding: 0.5rem 0.68rem; border: 1px solid var(--line); border-radius: 0.6rem; background: white; color: var(--blue-900); cursor: pointer; font-size: 0.72rem; font-weight: 800; }
  .menu-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; margin: 0; padding: 0.6rem 1rem 0.8rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.99); box-shadow: 0 18px 35px rgba(10,43,67,.1); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 0.72rem; border-bottom: 1px solid #e7eef3; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; padding-block: 3.2rem; }
  .hero-showcase { grid-template-columns: minmax(260px,.9fr) 1fr; }
  .hero-logo-card { grid-template-columns: 112px 1fr; min-height: 190px; }
  .hero-logo-wrap { width: 112px; height: 112px; }
  .hero-logo-wrap img { width: 136px; height: 136px; left: -12px; top: -6px; }
  .hero-mini-grid { grid-template-columns: 1fr; }
  .hero-mini-wide { grid-column: auto; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 0.7rem; }
  .section-heading-controls { grid-template-columns: 1fr auto; align-items: end; }
  .about-panel { grid-template-columns: 1fr; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 245px; }
  .noko-panel { grid-template-columns: 1fr; }
  .noko-process { grid-template-columns: repeat(3, 1fr); }
  .noko-process article { display: grid; gap: 0.55rem; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .request-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .contact-cards > a, .contact-cards > div { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cover-rail { grid-auto-columns: 164px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 1.2rem, 560px); }
  .section { padding-block: 3.2rem; }
  section[id] { scroll-margin-top: 74px; }
  .header-inner { min-height: 72px; }
  .brand { gap: 0.58rem; }
  .brand-mark { width: 50px; height: 50px; flex-basis: 50px; }
  .brand-mark img { width: 63px; height: 63px; left: -7px; top: -4px; }
  .brand-copy strong { font-size: 0.93rem; }
  .brand-copy small { display: none; }
  .menu-toggle { width: 42px; padding: 0; justify-content: center; }
  .menu-toggle span { display: none; }
  .site-nav { top: 72px; }
  .hero-layout { padding-block: 2.7rem; }
  .hero-copy h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .hero-lead { font-size: 0.93rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 0.4rem; }
  .hero-facts div { padding: 0.62rem 0.48rem; }
  .hero-facts strong { font-size: 1rem; }
  .hero-facts span { font-size: 0.59rem; line-height: 1.25; }
  .hero-showcase { grid-template-columns: 1fr; }
  .hero-logo-card { grid-template-columns: 104px 1fr; min-height: 160px; padding: 0.9rem; }
  .hero-logo-wrap { width: 104px; height: 104px; }
  .hero-logo-wrap img { width: 127px; height: 127px; left: -12px; top: -6px; }
  .hero-logo-copy strong { font-size: 1.05rem; }
  .hero-mini-grid { grid-template-columns: 1fr 1fr; }
  .hero-mini-card { min-height: 96px; display: grid; grid-template-columns: auto 1fr; padding: 0.68rem; }
  .hero-mini-card small { display: none; }
  .hero-mini-wide { grid-column: 1 / -1; min-height: 72px; grid-template-columns: auto 1fr auto; }
  .hero-mini-grid { display: none; }
  .section-heading h2, .about-copy h2, .noko-copy h2, .request-copy h2 { font-size: clamp(1.85rem, 9vw, 2.45rem); }
  .section-heading-controls { grid-template-columns: 1fr; }
  .rail-controls { justify-self: start; }
  .about-panel { padding: 1.1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid article { min-height: 0; }
  .direction-card { min-height: 0; }
  .noko-copy { padding: 1.3rem; }
  .noko-process { grid-template-columns: 1fr; padding: 0.8rem; }
  .noko-process article { display: flex; }
  .sector-row { align-items: flex-start; }
  .sector-row strong { width: 100%; }
  .project-rail { grid-auto-columns: 88%; }
  .project-card { min-height: 425px; }
  .project-body { min-height: 225px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: 0; }
  .cover-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.35rem; scrollbar-width: none; }
  .cover-filters::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; }
  .cover-rail { grid-auto-columns: 144px; gap: 0.75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-brand { grid-column: auto; align-items: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cover-dialog { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .dialog-stage img { inset: 0.55rem 2.8rem; width: calc(100% - 5.6rem); height: calc(100% - 1.1rem); }
  .dialog-arrow { width: 38px; height: 38px; }
  .dialog-prev { left: 0.28rem; }.dialog-next { right: 0.28rem; }
  .dialog-shell h2 { max-width: calc(100vw - 98px); }
}

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

/* Правовые документы */
.legal-page { min-height: 100vh; background: #f4f8fb; }
.legal-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(206,220,231,.9); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.legal-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal-header .brand-mark { width: 52px; height: 52px; flex-basis: 52px; }
.legal-header .brand-mark img { width: 65px; height: 65px; }
.legal-back { min-height: 42px; display: inline-flex; align-items: center; gap: .42rem; padding: .55rem .78rem; border: 1px solid var(--line-strong); border-radius: .65rem; background: white; color: var(--blue-900); font-size: .78rem; font-weight: 820; text-decoration: none; }
.legal-back:hover { border-color: var(--blue-700); color: var(--blue-700); }
.legal-main { padding: 2rem 0 3.5rem; }
.legal-shell { display: grid; gap: 1rem; }
.legal-shell-narrow { max-width: 930px; }
.legal-hero { position: relative; overflow: hidden; padding: clamp(1.5rem,4vw,2.5rem); border-radius: var(--radius); background: linear-gradient(135deg,var(--blue-950),#0b6884); color: white; box-shadow: 0 18px 48px rgba(7,41,67,.16); }
.legal-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -145px; border: 46px solid rgba(255,255,255,.07); border-radius: 50%; }
.legal-kicker { position: relative; z-index: 1; margin: 0 0 .65rem; color: #9be4df; font-size: .67rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.legal-hero h1 { position: relative; z-index: 1; max-width: 900px; margin: 0; font-size: clamp(2rem,4.5vw,3.7rem); line-height: 1.02; letter-spacing: -.045em; }
.legal-hero > p:last-child { position: relative; z-index: 1; max-width: 800px; margin: .9rem 0 0; color: #cfe2eb; font-size: .88rem; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: start; gap: 1rem; }
.legal-nav { position: sticky; top: 94px; display: grid; gap: .14rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; box-shadow: 0 8px 24px rgba(10,43,67,.05); }
.legal-nav strong { margin: 0 0 .42rem; color: var(--blue-950); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.legal-nav a { padding: .42rem .5rem; border-radius: .42rem; color: #526b7d; font-size: .71rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.legal-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.legal-document { display: grid; gap: .8rem; }
.legal-document-single { max-width: 930px; }
.legal-card { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 1rem; padding: clamp(1.15rem,2.5vw,1.7rem); scroll-margin-top: 96px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; box-shadow: 0 7px 20px rgba(10,43,67,.045); }
.legal-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: .65rem; background: var(--blue-100); color: var(--blue-700); font-size: .69rem; font-weight: 900; letter-spacing: .07em; }
.legal-card h2 { margin: .08rem 0 .72rem; color: var(--blue-950); font-size: clamp(1.18rem,2vw,1.55rem); line-height: 1.15; letter-spacing: -.025em; }
.legal-card p { margin: 0 0 .7rem; color: #4e6678; font-size: .79rem; line-height: 1.62; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a, .legal-footer a { color: var(--blue-700); font-weight: 760; text-underline-offset: 2px; }
.legal-details { display: grid; grid-template-columns: 1.45fr 1fr; gap: .6rem; }
.legal-details p { margin: 0; padding: .72rem; border-radius: .6rem; background: var(--surface); }
.legal-details p:first-child, .legal-details p:last-child { grid-column: 1 / -1; }
.legal-details strong { color: var(--blue-950); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.legal-table-wrap { margin-bottom: .8rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .65rem; }
.legal-table { width: 100%; min-width: 660px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: .7rem; border-bottom: 1px solid #e3ebf1; text-align: left; vertical-align: top; }
.legal-table th { background: var(--blue-50); color: var(--blue-900); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; }
.legal-table td { color: #4e6678; font-size: .72rem; line-height: 1.45; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .85rem 1rem; border-radius: .65rem; background: var(--teal-100); color: #315b62; font-size: .75rem; }
.legal-callout strong { color: var(--teal-700); }
.legal-callout-wide { margin: .2rem 0 0; border: 1px solid #bde5df; }
.legal-card-consent { grid-template-columns: 46px minmax(0,1fr); }
.legal-footer { padding: 1.15rem 0; border-top: 1px solid var(--line); background: white; color: #6d8292; font-size: .67rem; }
.legal-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-template-columns: 1fr 1fr; }
  .legal-nav strong { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .legal-header .brand-copy small { display: none; }
  .legal-header-inner { min-height: 70px; }
  .legal-main { padding-top: .75rem; }
  .legal-hero { padding: 1.35rem; }
  .legal-hero h1 { font-size: clamp(1.85rem,10vw,2.5rem); }
  .legal-layout { gap: .7rem; }
  .legal-nav { display: none; }
  .legal-card, .legal-card-consent { grid-template-columns: 1fr; gap: .7rem; padding: 1rem; }
  .legal-number { width: 36px; height: 36px; }
  .legal-details { grid-template-columns: 1fr; }
  .legal-details p:first-child, .legal-details p:last-child { grid-column: auto; }
  .legal-callout { align-items: flex-start; flex-direction: column; }
  .legal-footer > div { align-items: flex-start; flex-direction: column; }
}
