/* ===== Fonts (self-hosted, SIL OFL: Barlow Condensed, Inter) ===== */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-800-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Cyrillic (Russian pages): Inter has it; Barlow Condensed doesn't, so headings use Oswald for Cyrillic letters only */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/oswald-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/oswald-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/oswald-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* metric-matched fallback so text doesn't jump when Inter loads */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }

/* ===== Kranesta — design tokens ===== */
:root {
  --bg: #0e1116;
  --bg-2: #141922;
  --bg-3: #1b212b;
  --line: #262e3a;
  --text: #e9edf2;
  --muted: #8e99a7;
  --accent-fg: #ffc21a;
  --glass: rgba(14, 17, 22, .8);
  --glass-strong: rgba(20, 25, 34, .96);
  --grid-1: rgba(255, 255, 255, .045);
  --grid-2: rgba(255, 255, 255, .02);
  --soft: rgba(255, 255, 255, .03);
  --ok: #5fd97a;
  --err: #ff6b4a;
  --prose: #c9d1db;
  --placeholder: #5b6573;
  --skyline: #151a22;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
  --accent: #ffc21a;
  --accent-2: #ff9f1a;
  --accent-ink: #14110a;
  --red: #e8492e;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
/* Light theme: follows the system unless the visitor picked one (data-theme on <html>) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --bg: #f5f6f8;
  --bg-2: #ffffff;
  --bg-3: #eceff3;
  --line: #dce1e7;
  --text: #11151b;
  --muted: #5a6573;
  --accent-fg: #9a6300;
  --glass: rgba(245, 246, 248, .86);
  --glass-strong: rgba(255, 255, 255, .97);
  --grid-1: rgba(17, 21, 27, .055);
  --grid-2: rgba(17, 21, 27, .025);
  --soft: rgba(17, 21, 27, .03);
  --ok: #1d8a3d;
  --err: #c2321a;
  --prose: #2b323c;
  --placeholder: #9aa4b1;
  --skyline: #dfe4ea;
  --shadow: 0 24px 50px -28px rgba(17, 21, 27, .28);
  color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f6f8;
  --bg-2: #ffffff;
  --bg-3: #eceff3;
  --line: #dce1e7;
  --text: #11151b;
  --muted: #5a6573;
  --accent-fg: #9a6300;
  --glass: rgba(245, 246, 248, .86);
  --glass-strong: rgba(255, 255, 255, .97);
  --grid-1: rgba(17, 21, 27, .055);
  --grid-2: rgba(17, 21, 27, .025);
  --soft: rgba(17, 21, 27, .03);
  --ok: #1d8a3d;
  --err: #c2321a;
  --prose: #2b323c;
  --placeholder: #9aa4b1;
  --skyline: #dfe4ea;
  --shadow: 0 24px 50px -28px rgba(17, 21, 27, .28);
  color-scheme: light;
}
/* Header, hero (crane scene) and footer stay dark in both themes */
.nav, .hero, .footer, .lightbox, .theme-dark {
  --bg: #0e1116;
  --bg-2: #141922;
  --bg-3: #1b212b;
  --line: #262e3a;
  --text: #e9edf2;
  --muted: #8e99a7;
  --accent-fg: #ffc21a;
  --glass: rgba(14, 17, 22, .8);
  --glass-strong: rgba(20, 25, 34, .96);
  --grid-1: rgba(255, 255, 255, .045);
  --grid-2: rgba(255, 255, 255, .02);
  --soft: rgba(255, 255, 255, .03);
  --ok: #5fd97a;
  --err: #ff6b4a;
  --prose: #c9d1db;
  --placeholder: #5b6573;
  --skyline: #151a22;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.accent { color: var(--accent-fg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 194, 26, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 194, 26, 0); } }

/* ===== Buttons ===== */
.btn {
  --pad: 14px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --pad: 10px 16px; font-size: .88rem; }
.btn--lg { --pad: 18px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 194, 26, .55); }
.btn--accent:hover { background: #ffd24d; box-shadow: 0 14px 40px -10px rgba(255, 194, 26, .7); }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--soft); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-fg); }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.5rem/1 var(--head); letter-spacing: .08em; }
.logo__hook { width: 22px; height: 28px; color: var(--accent-fg); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 14px; font-size: .92rem; color: var(--muted); transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 24px; background: var(--glass-strong); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 14px 0; font: 700 1.8rem/1 var(--head); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }

/* ===== Blueprint background ===== */
.blueprint {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-1) 1px, transparent 1px),
    linear-gradient(var(--grid-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-2) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 80%);
}
.blueprint--soft { opacity: .6; }

/* ===== Hero ===== */
.hero { position: relative; }
.hero__sticky { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding-bottom: 40px;
  background: radial-gradient(ellipse 60% 50% at 75% 60%, rgba(255, 194, 26, .08), transparent 70%), var(--bg); }
.hero__inner { position: relative; width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px; padding-top: 72px; }
.hero__title { font-family: var(--head); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(3.4rem, 9vw, 8.2rem); line-height: .88; font-weight: 800; margin: 0 0 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero__lead { max-width: 30rem; color: var(--muted); font-size: 1.08rem; margin-bottom: 34px; opacity: 0; animation: fade 1s .45s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade 1s .6s var(--ease) forwards; }
.hero .eyebrow { opacity: 0; animation: fade 1s .05s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__visual { position: relative; align-self: center; margin-right: calc(-1 * var(--gutter)); opacity: 0; animation: fade 1.2s .3s var(--ease) forwards; }

/* ===== Interactive crane ===== */
.crane-svg { display: block; width: 100%; height: auto; max-height: 70vh; overflow: visible; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.crane-svg:focus-visible { outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 12px; }
.crane-svg #cg-hang { cursor: grab; touch-action: none; }
.crane-svg.is-dragging, .crane-svg.is-dragging #cg-hang { cursor: grabbing; }
.crane-svg .cg-ground { stroke: var(--line); stroke-width: 2; }
.crane-svg .cg-ticks line { stroke: var(--line); stroke-width: 2; }
.crane-svg .skyline { fill: var(--skyline); }
.crane-svg .skyline .win { fill: #ffc21a; opacity: .12; animation: twinkle 7s infinite; }
@keyframes twinkle { 0%, 100% { opacity: .1; } 50% { opacity: .35; } }
.crane-svg .tvlight { fill: #ff4a3a; animation: blink 1.6s infinite; }
.crane-svg .beacon { animation: blink 1.1s infinite; }
.crane-svg .beacon.b2 { animation-delay: .55s; }
@keyframes blink { 0%, 55% { opacity: 1; } 60%, 100% { opacity: .15; } }
.crane-svg .cg-brand { font: 800 9px/1 var(--head); letter-spacing: .2em; opacity: .9; }
.crane-svg .cg-cw { font: 700 24px var(--body); fill: #2a313b; }
.crane-svg .cg-dim line, .crane-svg .cg-dim path { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.crane-svg #cg-hline { stroke-dasharray: 5 5; transition: opacity .3s; }
.crane-svg .cg-dim text { fill: var(--accent-fg); font: 600 14px var(--body); letter-spacing: .04em; transition: opacity .3s; }
.crane-svg .cg-target rect { fill: rgba(110, 231, 135, .06); stroke: var(--ok); stroke-width: 2; stroke-dasharray: 8 6; opacity: .35; transition: opacity .3s; animation: march 1s linear infinite; }
.crane-svg .cg-target text { fill: var(--ok); font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .55; transition: opacity .3s; }
.crane-svg .cg-target.is-active rect { opacity: 1; fill: rgba(110, 231, 135, .12); }
.crane-svg .cg-target.is-active text { opacity: 1; }
@keyframes march { to { stroke-dashoffset: -28; } }
.crane-svg .cg-hint { opacity: 0; transition: opacity .4s; pointer-events: none; }
.crane-svg .cg-hint.is-shown { opacity: 1; animation: bob 1.6s ease-in-out infinite; }
.crane-svg .cg-hint.is-gone { opacity: 0 !important; animation: none; }
.crane-svg .cg-hint rect { fill: var(--accent); }
.crane-svg .cg-hint text { fill: var(--accent-ink); font: 700 13px var(--body); }
@keyframes bob { 50% { transform: translateY(-6px); } }
.crane-svg.is-overload #cg-load { animation: shake .35s; }
@keyframes shake { 25% { transform: translate(-2px, 46px); } 75% { transform: translate(2px, 46px); } }
.crane-svg .cg-puff { fill: #8e99a7; opacity: .5; animation: puff 1s ease-out forwards; }
@keyframes puff { to { transform: translate(var(--dx), -18px) scale(2.2); opacity: 0; } }

.lmi { position: relative; z-index: 2; margin: 0 var(--gutter) 4px 0; padding: 12px 16px 10px; border-radius: 14px; background: var(--glass-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); font-size: .8rem; transition: border-color .3s; }
.lmi__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.lmi__head span { font: 800 1.05rem/1 var(--head); letter-spacing: .14em; color: var(--accent-fg); }
.lmi__head small { color: var(--muted); font-size: .7rem; text-align: right; }
.lmi dl { margin: 0; display: grid; grid-template-columns: repeat(5, auto); gap: 4px 18px; }
.lmi dl div { display: grid; gap: 1px; }
.lmi dt { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.lmi dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.lmi__util { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.lmi__util label { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; min-width: 8.6em; }
.lmi__util label b { margin-left: 4px; color: var(--text); font-size: .95rem; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.lmi__util input { --f: 0; --c: var(--ok); flex: 1; min-width: 0; height: 24px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.lmi.is-warn .lmi__util input { --c: var(--accent); }
.lmi.is-over { border-color: rgba(232, 73, 46, .7); }
.lmi.is-over .lmi__util input { --c: var(--red); }
.lmi__util input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--c) calc(9px + var(--f) * (100% - 18px)), var(--line) 0); }
.lmi__util input::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--c) calc(9px + var(--f) * (100% - 18px)), var(--line) 0); }
.lmi__util input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--text); border: 3px solid var(--c); box-shadow: 0 2px 8px rgba(0, 0, 0, .5); transition: transform .15s; }
.lmi__util input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 3px solid var(--c); }
.lmi__util input:hover::-webkit-slider-thumb, .lmi__util input:active::-webkit-slider-thumb { transform: scale(1.15); }
.lmi__util input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.lmi__msg { margin-top: 6px; min-height: 1.35em; font-size: .76rem; line-height: 1.35; color: var(--muted); }
.lmi__msg.is-over { color: var(--err); }
.lmi__msg.is-warn { color: var(--accent-fg); }
.lmi__msg.is-ok { color: var(--ok); }
.loads { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; padding-right: var(--gutter); }
.loads button { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font: 500 .8rem var(--body); cursor: pointer; transition: all .25s; }
.loads button b { color: var(--text); font-weight: 600; }
.loads button:hover { border-color: var(--accent); color: var(--text); }
.loads button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.loads button[aria-checked="true"] b { color: var(--accent-ink); }
.crane-note { text-align: center; font-size: .72rem; color: var(--muted); margin-top: 10px; padding-right: var(--gutter); }
.crane-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crane-note a:hover { color: var(--accent-fg); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }
.hero__scroll i { width: 1.5px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: drip 1.8s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: 18px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: 800 1.6rem/1 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.marquee__track b { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 760px; }
.section__sub { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Values ===== */
.values { padding-top: clamp(90px, 12vw, 150px); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { position: relative; background: var(--bg); padding: 40px 34px 44px; transition: background .4s; }
.value:hover { background: var(--bg-2); }
.value__num { position: absolute; top: 26px; right: 30px; font: 700 1rem var(--head); color: var(--muted); }
.value__icon { width: 46px; height: 46px; color: var(--accent-fg); margin-bottom: 30px; }
.value h3 { margin-bottom: 12px; }
.value p { color: var(--muted); }

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 30px;
  border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease);
  transform-style: preserve-3d;
}
.service::before { /* spotlight following cursor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 194, 26, .12), transparent 60%);
}
.service:hover { border-color: rgba(255, 194, 26, .45); }
.service:hover::before { opacity: 1; }
.service__idx { font: 600 .95rem var(--head); color: var(--accent-fg); margin-bottom: auto; }
.service h3 { font-size: 1.85rem; margin: 40px 0 12px; }
.service p { color: var(--muted); }
.service--cta { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.service--cta .service__idx, .service--cta p { color: var(--accent-ink); }
.service--cta p { opacity: .75; }
.service__arrow { position: absolute; right: 28px; top: 22px; font-size: 2rem; transition: transform .4s var(--ease); }
.service--cta:hover .service__arrow { transform: translateX(6px) rotate(-45deg); }
.service--cta::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%); }

/* ===== Fleet ===== */
.fleet { background: linear-gradient(var(--bg), var(--bg-2) 40%, var(--bg)); }
.picker { padding: 30px 32px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); margin-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 48px; }
.picker__row { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 26px; }
.crane-svg { transition: opacity .25s; }
.crane-svg.is-swapping { opacity: 0; }
.loads.cranes { margin-top: 10px; }
.loads.cranes button[aria-checked="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.loads.cranes button[aria-checked="true"] b { color: var(--bg); }
.loads.cranes + .loads { margin-top: 8px; }
.picker__label { grid-column: 1 / -1; font: 600 .78rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.picker__value { font: 800 4.4rem/1 var(--head); color: var(--accent-fg); min-width: 2.6ch; display: flex; align-items: baseline; gap: 6px; }
.picker__value span { font-size: 1.6rem; color: var(--muted); }
.picker input[type=range] { width: 100%; align-self: center; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill, 15%), var(--line) var(--fill, 15%)); }
.picker input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); border: 5px solid var(--bg); box-shadow: 0 0 0 2px var(--accent), 0 6px 20px rgba(255, 194, 26, .5); transition: transform .2s; }
.picker input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.picker input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 5px solid var(--bg); box-shadow: 0 0 0 2px var(--accent); }
.picker__scale { grid-column: 2; display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.picker__note { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; margin-top: 14px; }

.fleet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crane-card { position: relative; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .4s, opacity .5s, filter .5s, transform .5s var(--ease); }
.crane-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.crane-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.crane-card:hover .crane-card__img img { transform: scale(1.06); }
.crane-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.crane-card__body p { color: var(--muted); flex: 1; }
.crane-card__body .btn { align-self: flex-start; }
.crane-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.crane-card__top h3 { font-size: 1.7rem; }
.crane-card__cap { display: flex; align-items: baseline; gap: 8px; }
.crane-card__cap strong { font: 800 3.4rem/1 var(--head); color: var(--accent-fg); }
.crane-card__cap span { color: var(--muted); font-size: .9rem; }
.badge { font: 700 .72rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em; padding: 7px 10px; border-radius: 999px; background: rgba(76, 217, 100, .14); color: var(--ok); transition: all .3s; white-space: nowrap; }
.crane-card.is-match { border-color: rgba(255, 194, 26, .55); box-shadow: 0 0 0 1px rgba(255, 194, 26, .25), var(--shadow); }
.crane-card.is-nomatch { opacity: .4; filter: grayscale(.8); }
.crane-card.is-nomatch .badge { background: rgba(232, 73, 46, .14); color: var(--err); }
.crane-card--other .badge { background: var(--soft); color: var(--muted); }

/* ===== Process ===== */
.process__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.process__steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: linear-gradient(90deg, var(--accent) var(--progress, 0%), var(--line) var(--progress, 0%)); }
.step { position: relative; }
.step__n { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); font: 800 1.6rem var(--head); margin-bottom: 26px; transition: border-color .5s, background .5s, color .5s; }
.step.is-lit .step__n { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ===== Works ===== */
.works__grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-auto-rows: clamp(180px, 22vw, 290px); gap: 18px; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.work:first-child { grid-row: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .6)); opacity: .7; transition: opacity .4s; }
.work:hover img { transform: scale(1.07); filter: saturate(1.05); }
.work__zoom { position: absolute; right: 18px; bottom: 18px; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1.6rem; transform: scale(.6); opacity: 0; transition: all .4s var(--ease); }
.work:hover .work__zoom, .work:focus-visible .work__zoom { transform: none; opacity: 1; }

/* ===== Testimonials ===== */
.quotes { position: relative; max-width: 980px; }
.quotes__track { display: grid; overflow: hidden; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateX(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0 0 34px; font: 600 clamp(1.7rem, 3.6vw, 3rem)/1.15 var(--head); text-transform: none; letter-spacing: 0; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote figcaption strong { display: block; }
.quote figcaption small { color: var(--muted); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); font: 700 1.1rem var(--head); color: var(--accent-fg); }
.quotes__nav { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.quotes__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.2rem; cursor: pointer; transition: all .3s; }
.quotes__btn:hover { border-color: var(--accent); color: var(--accent-fg); }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dots button { width: 28px; height: 4px; border-radius: 4px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.quotes__dots button.is-active { background: var(--accent); width: 46px; }

/* ===== Contact ===== */
.contact { background: var(--bg-2); overflow: hidden; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.bigphone { display: inline-block; margin: 30px 0 36px; font: 800 clamp(2.4rem, 5.4vw, 4.4rem)/1 var(--head); color: var(--text); border-bottom: 3px solid var(--accent); padding-bottom: 6px; transition: color .3s; }
.bigphone:hover { color: var(--accent-fg); }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.contact__list li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact__list span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; padding-top: 3px; }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.form h3 { font-size: 2rem; margin-bottom: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font: 400 1rem var(--body); transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 194, 26, .14); }
.field.is-invalid input { border-color: var(--red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-size: .95rem; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: var(--err); }
.form__legal { font-size: .78rem; color: var(--muted); }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.footer .logo { color: var(--text); font-size: 1.3rem; }
.footer a[href^="tel"]:hover { color: var(--accent-fg); }

.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--accent-fg); }
.footer__links a[hidden] { display: none; }

/* ===== Cookie consent ===== */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(440px, calc(100% - 32px)); padding: 20px 22px; border-radius: var(--radius); background: var(--glass-strong); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; color: var(--muted);
  opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.consent.is-shown { opacity: 1; transform: none; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }

/* reserved space for the crane demo (filled by crane.js) → no layout shift */
.hero__visual .lmi:empty { min-height: 118px; }
.crane-stage { aspect-ratio: 740 / 370; }
.loads:empty { min-height: 37px; }
.crane-note:empty { min-height: 1.6em; }

/* ===== FAQ ===== */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq .section__sub a { color: var(--accent-fg); }
.faq__list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; font: 700 1.35rem/1.15 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; color: var(--accent-fg); font-size: 1.6rem; line-height: .8; transition: transform .3s var(--ease); flex: none; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--accent-fg); }
.faq__list p { color: var(--muted); margin-top: 12px; max-width: 62ch; }
.faq__links { display: block; margin-top: 8px; font-size: .9rem; }
.faq__links a { color: var(--accent-fg); text-decoration: underline; text-underline-offset: 3px; }
.footer__nap { font-style: normal; color: var(--muted); font-size: .88rem; line-height: 1.6; flex-basis: 100%; order: 3; }
.footer__nap strong { color: var(--text); }
.footer__nap a:hover { color: var(--accent-fg); }

/* ===== Articles: list ===== */
.posts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.post-row:hover { padding-left: 10px; }
.post-row__img { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-3); }
.post-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-row:hover .post-row__img img { transform: scale(1.06); }
.post-row__meta { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.post-row h2, .post-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; margin-bottom: 8px; transition: color .3s; }
.post-row:hover h2, .post-row:hover h3 { color: var(--accent-fg); }
.post-row p { color: var(--muted); max-width: 60ch; }
.post-row__arrow { font-size: 1.6rem; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.post-row:hover .post-row__arrow { transform: translateX(6px); color: var(--accent-fg); }
.page-head { padding: 140px 0 50px; }
.page-head h1 { font-size: clamp(3rem, 8vw, 5.6rem); line-height: .9; }
.page-head p { color: var(--muted); margin-top: 18px; max-width: 46ch; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--accent-fg); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ===== Articles: single ===== */
.article { padding: 130px 0 40px; }
.article__wrap { width: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.article h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: .95; margin-bottom: 20px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--muted); margin-bottom: 30px; }
.article__lead { font-size: 1.2rem; line-height: 1.6; color: var(--text); margin-bottom: 34px; }
.article__hero { width: min(1000px, 100% - 2 * var(--gutter)); margin: 0 auto 50px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-3); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__hero:has(+ .credit) { margin-bottom: 10px; }
.credit { width: min(1000px, 100% - 2 * var(--gutter)); margin: 0 auto 50px; font-size: .75rem; color: var(--muted); text-align: right; }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--accent-fg); }
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--prose); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--text); margin-top: 2em; line-height: 1.05; }
.prose h3 { font-size: 1.35rem; color: var(--text); margin-top: 1.6em; }
.prose a { color: var(--accent-fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent-fg); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--text); font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.6em 0; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.prose .table-wrap { overflow-x: auto; }
.prose .stat { display: flex; gap: 18px; align-items: baseline; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); }
.prose .stat strong { font: 800 2.8rem/1 var(--head); color: var(--accent-fg); flex: none; }
.prose .stat span { color: var(--muted); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.prose summary { cursor: pointer; color: var(--text); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose summary::after { content: "+"; color: var(--accent-fg); font-size: 1.3rem; line-height: 1; transition: transform .3s; }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details p { margin-top: 10px; }
.sources { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.sources h2 { font-size: 1.1rem; margin: 0 0 10px; }
.sources ol { padding-left: 1.2em; }
.sources a { color: var(--muted); word-break: break-word; }
.article-cta { margin: 60px auto 0; width: min(720px, 100% - 2 * var(--gutter)); padding: 30px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.article-cta h2 { font-size: 1.9rem; }
.article-cta p { opacity: .8; }
.article-cta .btn { background: var(--accent-ink); color: var(--accent); }
.related { width: min(720px, 100% - 2 * var(--gutter)); margin: 70px auto 0; }
.related h2 { font-size: 1.4rem; margin-bottom: 6px; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--accent); z-index: 70; }

/* ===== Mobile call button ===== */
.callfab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 0 12px 30px -8px rgba(255, 194, 26, .6); transform: translateY(120%); transition: transform .5s var(--ease); }
.callfab svg { width: 20px; height: 20px; animation: ring 3s infinite; }
.callfab.is-shown { transform: none; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-16deg); } 92% { transform: rotate(14deg); } 96% { transform: rotate(-8deg); } }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5, 7, 10, .92); backdrop-filter: blur(6px); padding: 60px 16px; animation: fadein .3s; }
.lightbox[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { text-align: center; color: var(--muted); margin-top: 14px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(14, 17, 22, .7); color: var(--text); font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { border-color: var(--accent); color: var(--accent-fg); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }

/* ===== Local SEO section ===== */
.local { background: var(--bg-2); }
.local__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.local__text { color: var(--muted); max-width: 66ch; }
.local__text p + h3, .local__text p + p { margin-top: 18px; }
.local__text h3 { color: var(--text); font-size: 1.35rem; margin-bottom: 8px; }
.local__text a:not(.btn) { color: var(--accent-fg); text-decoration: underline; text-underline-offset: 3px; }
.local__areas strong { color: var(--text); }
.local__text .btn { margin-top: 26px; }

/* ===== Theme toggle ===== */
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); color: var(--text); cursor: pointer; transition: border-color .25s, color .25s; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme]) .theme-toggle .i-moon { display: block; }
}
.nav__links + .theme-toggle { margin-left: 8px; }

/* ===== Trust strip (hero) ===== */
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; opacity: 0; animation: fade 1s .75s var(--ease) forwards; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ===== Proof: works + reviews ===== */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.review { margin: 0; padding: 28px 30px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.review blockquote { margin: 0; font: 600 1.35rem/1.3 var(--head); letter-spacing: .005em; }
.review figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review figcaption strong { display: block; }
.review figcaption small { color: var(--muted); }
.review__stars { color: var(--accent); letter-spacing: 2px; font-size: .95rem; }

/* ===== Contact: optional details ===== */
.form__more { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 4px 16px; }
.form__more[open] { padding-bottom: 16px; }
.form__more summary { cursor: pointer; list-style: none; padding: 12px 0; color: var(--muted); font-size: .92rem; display: flex; justify-content: space-between; gap: 10px; }
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary::after { content: "+"; color: var(--accent-fg); font-size: 1.3rem; line-height: .9; transition: transform .3s var(--ease); }
.form__more[open] summary::after { transform: rotate(45deg); }
.form__more summary:hover { color: var(--text); }
.form__more > .form__row + .form__row, .form__more > .form__row { margin-top: 12px; }
.contact__list a:hover { color: var(--accent-fg); }
.form__lead { color: var(--muted); font-size: .92rem; margin-top: -8px; }

/* ===== Footer (always dark) ===== */
.footer { background: var(--bg); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; }
.footer__cols a { color: var(--muted); }
.footer__cols a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: 8px; }
  .theme-toggle { margin-left: auto; }
  .services__grid, .fleet__grid { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process__steps::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; padding: 96px 0 0; gap: 26px; }
  .trust { margin-top: 20px; gap: 8px 16px; font-size: .85rem; }
  .local__grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .review { padding: 22px; }
  .review blockquote { font-size: 1.2rem; }
  .hero__sticky { min-height: 0; padding-bottom: 24px; }
  .hero__visual .lmi:empty { min-height: 92px; }
  .crane-stage { aspect-ratio: 700 / 410; }
  .loads:empty { min-height: 74px; }
  .loads.cranes:empty { min-height: 33px; }
  .crane-note:empty { min-height: 3em; }
  .faq__grid { grid-template-columns: 1fr; }
  .lmi { margin: 0 var(--gutter) 6px; padding: 9px 12px 8px; }
  .lmi__head { margin-bottom: 4px; }
  .lmi dl { grid-template-columns: repeat(3, auto); column-gap: 14px; }
  .lmi dl div:nth-child(2), .lmi dl div:nth-child(3) { display: none; }   /* boom + height: shown in the scene */
  .lmi dd { font-size: .9rem; }
  .crane-svg { touch-action: pan-y; }   /* swiping over the scene scrolls the page… */
  .crane-svg #cg-hang { touch-action: none; }   /* …dragging the load moves it; a tap sends it there */
  .lmi__msg { min-height: 0; }
  .loads { padding: 0 var(--gutter); }
  .loads button { padding: 7px 11px; font-size: .74rem; }
  .crane-note { padding: 0 var(--gutter); }
  .hero__title { font-size: clamp(3.2rem, 15vw, 5rem); margin-bottom: 18px; }
  .hero__lead { font-size: 1rem; margin-bottom: 24px; }
  .hero__actions .btn { flex: 1; --pad: 16px 18px; }
  .hero__visual { margin: 0 calc(-1 * var(--gutter)); }
  .crane-svg { max-height: none; }
  .hero__scroll { display: none; }
  .values__grid, .services__grid, .fleet__grid, .process__steps { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { margin-top: 26px; }
  .works__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 12px; }
  .work { aspect-ratio: 1; }
  .work:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .picker { grid-template-columns: 1fr; padding: 24px; }
  .picker__row { grid-template-columns: 1fr; }
  .picker__scale { grid-column: 1; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .callfab { display: inline-flex; }
  .footer { padding-bottom: 96px; }
  .post-row { grid-template-columns: 96px 1fr; gap: 16px; }
  .post-row__arrow { display: none; }
  .post-row p { display: none; }
  .article__hero { aspect-ratio: 4 / 3; }
  .article-cta { padding: 24px; }
  .marquee__track { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.article-cta a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* tipping over: broken house + site inspector */
.crane-svg .building .b-roof { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.crane-svg .building.is-broken .b-roof { transform: translateY(22px) rotate(-2.5deg); }
.crane-svg .building .b-cracks { opacity: 0; transition: opacity .25s; }
.crane-svg .building.is-broken .b-cracks { opacity: 1; }
.crane-svg .building.is-broken { animation: bShake .45s; }
@keyframes bShake { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } }
.crane-svg .cg-insp .insp-arm, .crane-svg .cg-insp .insp-leg { transform-box: fill-box; transform-origin: 50% 6%; transition: transform .35s var(--ease); }
.crane-svg .cg-insp .insp-head { transform-box: fill-box; transform-origin: 50% 90%; }
.crane-svg .cg-insp.is-walking .insp-leg.l, .crane-svg .cg-insp.is-walking .insp-arm.r { animation: inspStep .42s ease-in-out infinite alternate; }
.crane-svg .cg-insp.is-walking .insp-leg.r, .crane-svg .cg-insp.is-walking .insp-arm.l { animation: inspStep .42s ease-in-out infinite alternate-reverse; }
@keyframes inspStep { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
.crane-svg .cg-insp.is-stress .insp-arm.l { transform: rotate(-155deg); }
.crane-svg .cg-insp.is-stress .insp-arm.r { transform: rotate(155deg); }
.crane-svg .cg-insp.is-stress .insp-head { animation: inspShake .38s ease-in-out infinite; }
@keyframes inspShake { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
.crane-svg .cg-insp .insp-bubble { opacity: 0; transition: opacity .3s .2s; }
.crane-svg .cg-insp.is-stress .insp-bubble { opacity: 1; }
.crane-svg .cg-insp .insp-bubble text { font: 700 10.5px var(--body); fill: #14110a; }
@media (prefers-reduced-motion: reduce) { .crane-svg .cg-insp * { animation: none !important; } }

/* language switcher: LT · EN · RU · PL */
.langs { display: flex; align-items: center; gap: 2px; padding: 3px; flex: none; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.langs a { padding: 8px 7px; border-radius: 9px; font: 700 .7rem/1 var(--body); letter-spacing: .06em; color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.langs a:hover { color: var(--text); }
.langs a[aria-current="page"] { background: var(--line); color: var(--text); }
.nav__links + .langs { margin-left: 8px; }
.nav__inner > .langs + .theme-toggle { margin-left: 0; }
.mobile-menu .langs { justify-self: start; margin-top: 16px; }
.mobile-menu .langs a { padding: 11px 13px; border: 0; font: 700 .9rem/1 var(--body); text-transform: none; }
@media (max-width: 1000px) { .nav__inner > .langs { margin-left: auto; } }
@media (max-width: 760px) { .nav__inner > .langs { display: none; } .nav__inner > .langs + .theme-toggle { margin-left: auto; } }
