/* ============================================================
   ELMOGY TECH — Security Systems
   Design system: ink / paper / signal-red. Control-room HUD.
   ============================================================ */

/* Metric-matched fallback for Latin text while Readex Pro loads (measured: Readex is ~4–9% wider than
   Arial, ascent 1.0 / descent 0.25 em). Prevents English text re-wrapping and shifting the layout (CLS). */
@font-face { font-family: "Readex Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 500; size-adjust: 105%; ascent-override: 95%; descent-override: 24%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Readex Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 900; size-adjust: 103%; ascent-override: 97%; descent-override: 24%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+2000-206F; }
:root {
  --ink: #0b0b0c;
  --ink-2: #111213;
  --ink-3: #18191b;
  --ink-4: #222326;
  --paper: #f3f2ef;
  --paper-2: #e9e7e2;
  --white: #ffffff;
  --red: #e1251b;
  --red-hot: #ff3a2e;
  --red-deep: #9e140e;
  --red-on-dark: #ff5a4f;   /* small red text on ink: AA 4.5:1+ */
  --red-on-light: #b8170f;  /* small red text on paper: AA 4.5:1+ */
  --mute: #8b8d92;
  --mute-2: #5d5f64;
  --line-d: rgba(255, 255, 255, .09);
  --line-d2: rgba(255, 255, 255, .16);
  --line-l: rgba(17, 17, 17, .12);
  --font: "Readex Pro", "Readex Fallback", "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
main:focus { outline: none; }
.skip {
  position: fixed; z-index: 300; top: 12px; right: 12px; padding: 12px 20px;
  background: #fff; color: var(--ink); font-weight: 500; transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }
.eyebrow { font-size: clamp(14px, 1.2vw, 17px); font-weight: 400; color: rgba(255,255,255,.82); display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); flex: none; }

/* ---------- Section shells ---------- */
.sec { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--ink2 { background: var(--ink-2); }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }

/* Tracked label with red rule — taken straight from the profile */
.tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--red-on-dark);
  direction: ltr;
}
.sec--paper .tag { color: var(--red-on-light); }
.sec--paper .tag::before { background: var(--red-on-light); }
.tag::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 64px); margin-top: 18px; font-weight: 600; }
.sec-head p { color: var(--mute); max-width: 440px; font-size: 16.5px; }
.sec--paper .sec-head p { color: var(--mute-2); }
.red { color: var(--red); }
.outline { -webkit-text-stroke: 1.5px currentColor; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding-inline: 28px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 15.5px; white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background .3s var(--ease), color .3s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(-120%); }
.btn:hover { --bg: var(--red-hot); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1px var(--line-d2); clip-path: none; }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: var(--red); }
.btn--sm { height: 44px; padding-inline: 18px; font-size: 14px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; padding-top: 10px; min-height: 44px; transition: color .25s, gap .25s; }
.link-arrow:hover { color: var(--red); gap: 16px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Icons ---------- */
.ico { width: 24px; height: 24px; display: inline-block; flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s, transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(11, 11, 12, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line-d); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__logo { display: flex; align-items: center; min-height: 48px; min-width: 48px; }
.hdr__logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  position: relative; padding: 10px 16px; font-size: 15px; font-weight: 400; color: rgba(255,255,255,.78);
  transition: color .25s;
}
.nav a::after { content: ""; position: absolute; inset-inline: 16px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__cta { display: flex; align-items: center; gap: 18px; }
.hdr__phone { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,.8); direction: ltr; }
.hdr__phone .dot { width: 7px; height: 7px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 0 0 rgba(43,212,107,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(43,212,107,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,107,0); } }
.burger { display: none; width: 46px; height: 46px; position: relative; box-shadow: inset 0 0 0 1px var(--line-d2); }
.burger span { position: absolute; inset-inline: 13px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.mnav nav { display: flex; flex-direction: column; }
.mnav.open { clip-path: inset(0 0 0 0); }
.mnav a[aria-current="page"] { color: var(--red-on-dark); }
.mnav a.mnav__l { display: flex; justify-content: space-between; align-items: baseline; font-size: clamp(30px, 8vw, 44px); font-weight: 500; padding-block: 10px; border-bottom: 1px solid var(--line-d); }
.mnav a.mnav__l small { font-family: var(--mono); font-size: 12px; color: var(--red-on-dark); }
.mnav__foot { margin-top: auto; display: grid; gap: 12px; }

/* ============================================================
   HUD primitives (camera brackets, rec, timestamp)
   ============================================================ */
.brk { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.75); border-style: solid; pointer-events: none; }
.brk.tl { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; }
.brk.tr { top: 14px; right: 14px; border-width: 1.5px 1.5px 0 0; }
.brk.bl { bottom: 14px; left: 14px; border-width: 0 0 1.5px 1.5px; }
.brk.br { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; }
.rec { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; direction: ltr; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.ts { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; direction: ltr; font-variant-numeric: tabular-nums; }
.scan::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: #000; }
.hero__media { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.15) brightness(.62); transform: scale(1.06); }
.hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(to top, var(--ink) 2%, rgba(11,11,12,.25) 45%, rgba(11,11,12,.55) 100%),
  radial-gradient(120% 90% at 30% 60%, transparent 40%, rgba(0,0,0,.6) 100%); }
.hero__net { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .9; }
.hero__hud { position: absolute; inset: calc(var(--header-h) + 8px) var(--gutter) 24px; z-index: 3; pointer-events: none; }
.hero__hud .brk { width: 34px; height: 34px; border-color: rgba(255,255,255,.5); }
.hero__hud .brk.tl, .hero__hud .brk.tr { top: 0; } .hero__hud .brk.bl, .hero__hud .brk.br { bottom: 0; }
.hero__hud .brk.tl, .hero__hud .brk.bl { left: 0; } .hero__hud .brk.tr, .hero__hud .brk.br { right: 0; }
.hero__meta { position: absolute; top: 18px; inset-inline: 56px; display: flex; justify-content: space-between; color: rgba(255,255,255,.8); direction: ltr; }
.hero__meta .cam { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; }
.hero__cross { position: absolute; width: 64px; height: 64px; top: 46%; left: 72%; translate: -50% -50%; opacity: .55; transition: top .9s var(--ease), left .9s var(--ease); }
.hero__cross::before, .hero__cross::after { content: ""; position: absolute; background: #fff; }
.hero__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.hero__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.hero__cross i { position: absolute; inset: 18px; border: 1px solid var(--red); }
.hero__cross b { position: absolute; top: -20px; left: 40px; font: 500 10px var(--mono); letter-spacing: .14em; color: var(--red); white-space: nowrap; }

.hero__body { position: relative; z-index: 4; margin-top: auto; padding-top: calc(var(--header-h) + 80px); padding-bottom: 40px; }
.hero__title { margin: 0; font-size: clamp(46px, 8.4vw, 128px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.hero__title .l { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .l > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero__title .l:nth-child(2) > span { animation-delay: .1s; }
/* Descriptive, keyword-bearing H1 styled as the small headline above the slogan */
h1.eyebrow { margin: 0; font-size: clamp(14px, 1.25vw, 17px); font-weight: 400; line-height: 1.6; letter-spacing: 0; max-width: 60ch; }
.cta-note { flex-basis: 100%; display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); margin-top: 4px; }
.cta-note .ico { width: 18px; height: 18px; color: var(--red-on-dark); }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero__pause {
  position: absolute; z-index: 5; left: var(--gutter); bottom: 150px; width: 44px; height: 44px;
  display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.45);
  box-shadow: inset 0 0 0 1px var(--line-d2); transition: background .2s;
}
.hero__pause:hover { background: var(--red); }
.hero__pause .ico { width: 18px; height: 18px; }
.motion-off .marquee__track, .motion-off .rec::before { animation-play-state: paused; }
.hero__title .dot { color: var(--red); }
.hero__row { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: space-between; align-items: end; gap: 32px; margin-top: 36px; }
.hero__lead { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.78); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats { position: relative; z-index: 4; border-top: 1px solid var(--line-d); background: linear-gradient(to bottom, rgba(11,11,12,.4), var(--ink)); }
.hero__stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hstat { padding: 26px 0 30px; padding-inline-end: 24px; border-inline-start: 1px solid var(--line-d); padding-inline-start: 24px; }
.hstat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.hstat b { display: block; font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1.1; direction: ltr; text-align: right; }
.hstat b em { font-style: normal; color: var(--red); }
.hstat > span { color: var(--mute); font-size: 14px; }
.sec--paper .hstat > span { color: var(--mute-2); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line-d); overflow: hidden; background: var(--ink); padding-block: 22px; }
.marquee__track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 28px; padding-inline: 28px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; white-space: nowrap; color: rgba(255,255,255,.9); }
.marquee__item::after { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }
@keyframes marq { to { transform: translateX(50%); } }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.phero { position: relative; padding-top: calc(var(--header-h) + clamp(70px, 10vw, 140px)); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; border-bottom: 1px solid var(--line-d); }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.38) contrast(1.1); }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), rgba(11,11,12,.55) 60%, rgba(11,11,12,.75)); }
.phero .wrap { position: relative; z-index: 2; }
.crumbs { margin-bottom: 28px; font-size: 13.5px; color: var(--mute); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.crumbs li { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; background: var(--red); flex: none; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--mute); max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phero h1:not(.eyebrow), .phero__title { margin: 0; font-size: clamp(42px, 7vw, 104px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; max-width: 14ch; }
.phero__row { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: space-between; align-items: end; gap: 24px; margin-top: 32px; }
.phero__row p { color: rgba(255,255,255,.72); font-size: 18px; }
.phero__idx { font-family: var(--mono); font-size: clamp(64px, 10vw, 150px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); direction: ltr; }

/* ============================================================
   Control room (signature)
   ============================================================ */
.cr { background: var(--ink); }
.cr__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid var(--line-d); border-bottom: 0; background: var(--ink-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--mute); direction: ltr; flex-wrap: wrap; }
.cr__bar b { color: #fff; font-weight: 500; }
.cr__bar .ok { color: #2bd46b; }
.cr__grid {
  display: grid; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d);
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px);
}
.feed { position: relative; overflow: hidden; background: #000; cursor: zoom-in; }
.feed.w2 { grid-column: span 2; } .feed.h2 { grid-row: span 2; }
.feed img, .feed video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.08) brightness(.88); transition: filter .5s, transform 1.2s var(--ease); }
.feed:hover img, .feed:hover video { filter: none; transform: scale(1.04); }
.feed__ov { position: absolute; inset: 0; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 32%, transparent 62%, rgba(0,0,0,.7)); pointer-events: none; }
.feed__top, .feed__bot { display: flex; justify-content: space-between; align-items: center; gap: 8px; direction: ltr; }
.feed__id { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; font-weight: 500; }
.feed__loc { font-size: 13px; font-weight: 400; direction: rtl; }
.feed .brk { opacity: 0; transition: opacity .3s, inset .3s; width: 16px; height: 16px; }
.feed:hover .brk { opacity: 1; }
.feed.is-alert { outline: 2px solid var(--red); outline-offset: -2px; }
.feed.is-alert .feed__id::after { content: " · MOTION"; color: var(--red-hot); }
.cr__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; color: var(--mute); }

/* ============================================================
   Services index (editorial list with cursor preview)
   ============================================================ */
.svc-list { border-top: 1px solid var(--line-l); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.2fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center;
  padding-block: 30px; border-bottom: 1px solid var(--line-l); transition: padding .45s var(--ease), color .3s;
}
.svc-row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.svc-row > * { position: relative; z-index: 1; }
.svc-row:hover { color: #fff; padding-inline: 24px; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row__n { font-family: var(--mono); font-size: 15px; color: var(--red-on-light); direction: ltr; text-align: right; transition: color .3s; }
.svc-row:hover .svc-row__n { color: var(--red-on-dark); }
.svc-row:focus-visible { outline-offset: -2px; }
.svc-row h3 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 500; }
.svc-row p { color: var(--mute-2); font-size: 15px; transition: color .3s; }
.svc-row:hover p { color: rgba(255,255,255,.65); }
.svc-row__go { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-l); border-radius: 50%; transition: background .3s, border-color .3s, transform .45s var(--ease); }
.svc-row:hover .svc-row__go { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.svc-row__go svg { width: 20px; height: 20px; }
.svc-row__thumb { display: none; }
.cursor-prev {
  position: fixed; z-index: 60; width: 300px; height: 360px; pointer-events: none; overflow: hidden;
  top: 0; left: 0; opacity: 0; transition: opacity .3s;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.cursor-prev.on { opacity: 1; }
.cursor-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.cursor-prev img.on { opacity: 1; }
.cursor-prev .rec { position: absolute; top: 12px; left: 12px; z-index: 2; color: #fff; }

/* ============================================================
   Coverage planner
   ============================================================ */
.plan { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 0; border: 1px solid var(--line-d); background: var(--ink-2); }
.plan__stage { position: relative; border-inline-end: 1px solid var(--line-d); background:
  linear-gradient(var(--line-d) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, var(--line-d) 1px, transparent 1px) 0 0 / 40px 40px, #0d0e0f; }
.plan__stage svg { width: 100%; height: auto; display: block; }
.plan__hint { position: absolute; bottom: 14px; inset-inline-start: 16px; font-size: 13px; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.plan__side { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.gauge { display: flex; align-items: flex-end; gap: 16px; }
.gauge b { font-size: clamp(56px, 6vw, 84px); line-height: .9; font-weight: 600; direction: ltr; font-variant-numeric: tabular-nums; }
.gauge b small { font-size: .45em; color: var(--red); }
.gauge span { color: var(--mute); font-size: 14px; padding-bottom: 6px; }
.meter { height: 6px; background: var(--ink-4); position: relative; overflow: hidden; }
.meter i { position: absolute; inset-block: 0; right: 0; background: var(--red); width: 0; transition: width .5s var(--ease); }
.plan__kv { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); }
.plan__kv div { padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.plan__kv div:nth-child(odd) { border-inline-end: 1px solid var(--line-d); padding-inline-end: 16px; }
.plan__kv div:nth-child(even) { padding-inline-start: 16px; }
.plan__kv dt { color: var(--mute); font-size: 13px; }
.plan__kv dd { margin: 4px 0 0; font-size: 22px; font-weight: 500; direction: ltr; text-align: right; }
.seg { display: inline-flex; border: 1px solid var(--line-d2); }
.seg button { padding: 9px 16px; font-size: 14px; color: var(--mute); transition: background .25s, color .25s; }
.seg button.on { background: #fff; color: var(--ink); }
.cam-node { cursor: pointer; }
.cam-node .cone { transition: opacity .35s; }
.cam-node.off .cone { opacity: 0; }
.cam-node .body { transition: fill .25s; }
.cam-node.off .body { fill: #3a3b3f; }
.cam-node:hover .ring { opacity: 1; }
.cam-node .ring { opacity: 0; transition: opacity .25s; }
.sweep { transform-box: fill-box; }

/* ============================================================
   Process
   ============================================================ */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps__line { position: absolute; top: 31px; inset-inline: 0; height: 1px; background: var(--line-l); }
.steps__line i { position: absolute; inset-block: 0; right: 0; width: 0; background: var(--red); transition: width 1.6s var(--ease); }
.in .steps__line i { width: 100%; }
.step { position: relative; padding-inline-end: 24px; }
.step__n { position: relative; z-index: 1; width: 62px; height: 62px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-l); font-family: var(--mono); font-size: 18px; font-weight: 500; margin-bottom: 26px; transition: background .4s, color .4s, border-color .4s; }
.in .step__n { background: var(--ink); color: #fff; border-color: var(--ink); }
.in .step:nth-child(2) .step__n { transition-delay: .2s; } .in .step:nth-child(3) .step__n { transition-delay: .5s; }
.in .step:nth-child(4) .step__n { transition-delay: .8s; } .in .step:nth-child(5) .step__n { transition-delay: 1.1s; }
.in .step:nth-child(6) .step__n { transition-delay: 1.4s; background: var(--red); border-color: var(--red); }
.step h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.step p { color: var(--mute-2); font-size: 15px; }

/* ============================================================
   Sectors
   ============================================================ */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.sector { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: #000; }
.sector img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.5); transition: filter .6s, transform 1.4s var(--ease); }
.sector:hover img { filter: grayscale(0) brightness(.6); transform: scale(1.06); }
.sector__c { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.sector__n { position: absolute; top: 22px; inset-inline-end: 26px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.6); direction: ltr; }
.sector .ico { width: 34px; height: 34px; color: var(--red); margin-bottom: 18px; }
.sector h3 { font-size: 24px; font-weight: 500; }
.sector p { color: rgba(255,255,255,.7); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.sector:hover p { max-height: 80px; opacity: 1; margin-top: 8px; }

/* ============================================================
   Split feature (smart locks video)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.vstack { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-items: start; }
.vstack .vcard:nth-child(2) { margin-top: 56px; } .vstack .vcard:nth-child(3) { margin-top: 112px; }
.vcard { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard .rec { position: absolute; top: 10px; left: 10px; color: #fff; }
.vcard .ts { position: absolute; bottom: 10px; left: 10px; color: rgba(255,255,255,.85); }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 0; }
.checks li { display: flex; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line-d); }
.sec--paper .checks li { border-color: var(--line-l); }
.checks li::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; transform: rotate(45deg); }

/* ============================================================
   Why / after-sales grid
   ============================================================ */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); border-inline-start: 1px solid var(--line-l); }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.cell { padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-l); border-inline-end: 1px solid var(--line-l); position: relative; transition: background .35s; }
.cell:hover { background: #fff; }
.cell .ico { width: 36px; height: 36px; color: var(--red); margin-bottom: 26px; }
.cell h3 { font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.cell p { color: var(--mute-2); font-size: 15px; }
.cell__n { position: absolute; top: 22px; inset-inline-end: 24px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.sec:not(.sec--paper) .cells { border-color: var(--line-d); }
.sec:not(.sec--paper) .cell { border-color: var(--line-d); }
.sec:not(.sec--paper) .cell:hover { background: var(--ink-3); }
.sec:not(.sec--paper) .cell p { color: var(--mute); }

/* ============================================================
   CTA band
   ============================================================ */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.cta .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-block: clamp(70px, 9vw, 130px); }
.cta h2 { font-size: clamp(36px, 5.6vw, 84px); line-height: 1.12; font-weight: 600; }
.cta p { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 520px; }
.cta__acts { display: grid; gap: 12px; }
.cta .btn { --bg: var(--ink); }
.cta .btn:hover { --bg: #fff; --fg: var(--ink); }
.cta .btn--ghost { --bg: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }

/* ============================================================
   Footer
   ============================================================ */
.ftr { background: #070708; border-top: 1px solid var(--line-d); padding-top: clamp(64px, 8vw, 110px); font-size: 15px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.ftr__brand img { height: 64px; width: auto; margin-bottom: 22px; }
.ftr__brand p { color: var(--mute); max-width: 320px; }
.ftr__h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .26em; color: var(--red-on-dark); font-weight: 500; margin-bottom: 20px; direction: ltr; text-align: right; line-height: 1.5; }
.ftr__muted { color: var(--mute); }
.ftr .ftr__contact a.ftr__wa { font-family: var(--font); font-size: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr ul a { color: rgba(255,255,255,.75); transition: color .2s; }
.ftr ul a:hover { color: var(--red); }
.ftr__contact a { display: block; font-family: var(--mono); font-size: 18px; direction: ltr; text-align: right; color: #fff; }
.ftr__contact a:hover { color: var(--red); }
.ftr__legal { border-top: 1px solid var(--line-d); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--mute); font-size: 13px; }
.ftr__legal span b { color: rgba(255,255,255,.8); font-family: var(--mono); font-weight: 400; }
.ftr__mega { font-weight: 700; font-size: clamp(60px, 17vw, 270px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); direction: ltr; text-align: center; white-space: nowrap; overflow: hidden; padding-top: 10px; user-select: none; }

/* Floating WhatsApp */
.wa-fab { position: fixed; z-index: 80; bottom: 22px; left: 22px; width: 58px; height: 58px; display: grid; place-items: center; background: #1fb655; color: #fff; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; fill: currentColor; }
/* Call button: phones only, appears after the first scroll, hidden on the contact page */
.call-fab { display: none; }
@media (max-width: 960px) {
  .call-fab { position: fixed; z-index: 80; bottom: 92px; left: 16px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.35); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .call-fab svg { width: 24px; height: 24px; fill: currentColor; }
  .fab-on .call-fab, .no-js .call-fab, .call-fab:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
  body[data-page="contact"] .call-fab { display: none; }
  [dir="ltr"] .call-fab { left: auto; right: 16px; }
}

/* ============================================================
   Services page
   ============================================================ */
.svc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-layout > * { min-width: 0; } /* lets the horizontal service index scroll instead of widening the page on mobile */
.svc-toc { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 2px; }
.svc-toc a { display: flex; gap: 14px; align-items: center; padding: 11px 14px; font-size: 15px; color: var(--mute); border-inline-start: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.svc-toc a span { font-family: var(--mono); font-size: 12px; }
.svc-toc a:hover { color: #fff; }
.svc-toc a.on { color: #fff; border-color: var(--red); background: var(--ink-3); }
.svc-toc a.on span { color: var(--red-on-dark); }
.svc-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-d); }
.svc-block:first-child { padding-top: 0; }
.svc-block__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.svc-block__media img, .svc-block__media video { width: 100%; height: 100%; object-fit: cover; }
.svc-block__media .feed__ov { background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 25%, transparent 75%, rgba(0,0,0,.6)); }
.svc-block__n { font-family: var(--mono); font-size: 13px; color: var(--red-on-dark); letter-spacing: .2em; direction: ltr; text-align: right; display: block; margin-bottom: 18px; }
.svc-block h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; margin-bottom: 14px; }
.svc-block .lead { color: rgba(255,255,255,.72); font-size: 18px; }
.svc-block .checks li { font-size: 16px; }
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ============================================================
   Projects page
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { height: 44px; padding-inline: 18px; border: 1px solid var(--line-d2); font-size: 14.5px; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 10px; transition: background .25s, color .25s, border-color .25s; }
.chip small { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.chip:hover { color: #fff; border-color: #fff; }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.chip.on { background: var(--red-deep); border-color: var(--red-deep); }
.chip.on small { color: #fff; }
.masonry { columns: 4 260px; column-gap: 12px; }
.tile { position: relative; break-inside: avoid; margin-bottom: 12px; overflow: hidden; background: #000; cursor: zoom-in; display: block; width: 100%; }
.tile img, .tile video { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .4s; filter: brightness(.92); }
.tile:hover img, .tile:hover video { transform: scale(1.05); filter: brightness(1); }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); display: flex; justify-content: space-between; align-items: end; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); text-align: start; }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__cap b { font-weight: 500; font-size: 14.5px; }
.tile__cap span { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .14em; direction: ltr; }
.tile__play { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.tile__play svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.tile.hide { display: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(5,5,6,.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.open { opacity: 1; visibility: visible; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); direction: ltr; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--mute); }
.lb__x { width: 46px; height: 46px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d2); color: #fff; }
.lb__x:hover { background: var(--red); box-shadow: none; }
.lb__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(56px, 8vw, 120px); min-height: 0; }
.lb__media { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; max-height: calc(100svh - 160px); }
.lb__stage img { max-width: 100%; max-height: calc(100svh - 160px); object-fit: contain; }
.lb__stage video { height: calc(100svh - 160px); width: auto; max-width: 100%; background: #000; }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d2); color: #fff; background: rgba(0,0,0,.4); }
.lb__nav:hover { background: var(--red); box-shadow: none; }
.lb__nav.prev { right: clamp(8px, 2vw, 32px); } .lb__nav.next { left: clamp(8px, 2vw, 32px); }
.lb__nav svg { width: 22px; height: 22px; }
.lb__cap { padding: 18px var(--gutter) 24px; text-align: center; font-size: 16px; }

/* ============================================================
   About page
   ============================================================ */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.about-intro .big { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.6; font-weight: 400; }
.about-intro .big em { font-style: normal; color: var(--red); }
.about-intro p + p { margin-top: 18px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.collage img:nth-child(2) { margin-top: 64px; }
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.vmv > div { background: var(--ink); padding: clamp(28px, 3.4vw, 48px); min-height: 340px; display: flex; flex-direction: column; }
.vmv h3 { font-size: 30px; font-weight: 500; margin-top: auto; margin-bottom: 12px; }
.vmv p { color: var(--mute); font-size: 16px; }
.vmv .k { font-family: var(--mono); font-size: 12px; letter-spacing: .26em; color: var(--red-on-dark); direction: ltr; text-align: right; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.values span { padding: 6px 12px; border: 1px solid var(--line-d2); font-size: 14px; color: rgba(255,255,255,.85); }
.legal-card { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-l); background: #fff; }
.legal-card div { padding: 26px 28px; border-inline-start: 1px solid var(--line-l); }
.legal-card div:first-child { border-inline-start: 0; }
.legal-card dt { color: var(--mute-2); font-size: 13.5px; margin-bottom: 6px; }
.legal-card dd { margin: 0; font-family: var(--mono); font-size: 20px; direction: ltr; text-align: right; }

/* ============================================================
   Contact / quote builder
   ============================================================ */
.qb { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); border: 1px solid var(--line-d); background: var(--ink-2); }
.qb__main { padding: clamp(24px, 4vw, 52px); border-inline-end: 1px solid var(--line-d); min-width: 0; }
.qb__prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 40px; }
.qb__prog button { text-align: start; padding-top: 12px; min-height: 48px; min-width: 0; border-top: 2px solid var(--ink-4); font-size: 13px; color: var(--mute); transition: border-color .3s, color .3s; }
.qb__prog button span { font-family: var(--mono); display: block; font-size: 11px; letter-spacing: .14em; }
.qb__prog button.done { border-color: rgba(225,37,27,.5); color: rgba(255,255,255,.75); }
.qb__prog button.on { border-color: var(--red); color: #fff; }
.qb__step { display: none; animation: stepIn .5s var(--ease); }
.qb__step.on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.qb__step h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; margin-bottom: 8px; }
.qb__step > p { color: var(--mute); margin-bottom: 28px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt { position: relative; text-align: start; padding: 20px 18px; border: 1px solid var(--line-d2); display: flex; flex-direction: column; gap: 14px; transition: border-color .25s, background .25s; min-height: 124px; }
.opt .ico { width: 30px; height: 30px; color: var(--mute); transition: color .25s; }
.opt b { font-weight: 500; font-size: 16px; line-height: 1.4; }
.opt:hover { border-color: rgba(255,255,255,.4); }
.opt.on { border-color: var(--red); background: rgba(225,37,27,.08); }
.opt.on .ico { color: var(--red); }
.opt::after { content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 18px; height: 18px; border: 1px solid var(--line-d2); transition: background .2s, border-color .2s; }
.opt.on::after { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--red); }
.opts.radio .opt::after { border-radius: 50%; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; color: rgba(255,255,255,.8); }
.field input, .field textarea, .field select { width: 100%; background: var(--ink); border: 1px solid var(--line-d2); padding: 15px 16px; font-size: 16px; outline: none; transition: border-color .2s; border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field textarea { min-height: 110px; resize: vertical; }
.field .err { color: var(--red-hot); font-size: 13px; display: none; }
.field.bad input { border-color: var(--red-hot); } .field.bad .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.range { display: grid; gap: 14px; margin-bottom: 26px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; }
.range__top b { font-size: 34px; font-weight: 600; direction: ltr; }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--ink-4); outline: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: var(--red); border: 4px solid var(--ink-2); box-shadow: 0 0 0 1px var(--red); cursor: pointer; }
.range input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--red); border: 3px solid var(--ink-2); border-radius: 0; cursor: pointer; }
.qb__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.qb__side { padding: clamp(24px, 3vw, 40px); background: var(--ink); display: flex; flex-direction: column; gap: 22px; position: relative; }
.ticket { border: 1px dashed var(--line-d2); padding: 22px; font-size: 14.5px; position: relative; }
.ticket__h { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--mute); padding-bottom: 14px; border-bottom: 1px dashed var(--line-d2); margin-bottom: 14px; direction: ltr; }
.ticket__h b { color: #fff; font-weight: 500; }
.ticket dl { margin: 0; display: grid; gap: 12px; }
.ticket dt { color: var(--mute); font-size: 12.5px; }
.ticket dd { margin: 2px 0 0; min-height: 1.5em; }
.ticket dd.empty { color: var(--mute-2); }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.ccard { background: var(--ink); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; transition: background .3s; min-height: 200px; }
a.ccard:hover { background: var(--ink-3); }
.ccard .ico { width: 30px; height: 30px; color: var(--red); }
.ccard dt { color: var(--mute); font-size: 13.5px; margin-top: auto; }
.ccard dd { margin: 4px 0 0; font-size: 20px; font-weight: 500; }
.ccard dd.ltr { font-family: var(--mono); direction: ltr; text-align: right; display: block; }
.map { position: relative; height: 420px; border: 1px solid var(--line-d); overflow: hidden; background: var(--ink-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }
.map .brk { z-index: 2; }
.faq { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: 24px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; flex: none; position: relative; border: 1px solid var(--line-l); transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .3s; }
.faq details[open] summary i { background: var(--red); border-color: var(--red); color: #fff; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { padding-bottom: 26px; color: var(--mute-2); max-width: 760px; }

/* Toast */
.toast { position: fixed; z-index: 160; bottom: 28px; left: 50%; translate: -50% 20px; background: #fff; color: var(--ink); padding: 14px 22px; font-size: 15px; opacity: 0; visibility: hidden; transition: opacity .3s, translate .3s var(--ease), visibility .3s; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.toast.on { opacity: 1; visibility: visible; translate: -50% 0; }
.toast::before { content: ""; width: 8px; height: 8px; background: var(--red); }

/* ============================================================
   Reveal
   ============================================================ */
/* ============================================================
   Articles: cards
   ============================================================ */
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.sec--paper .acards { background: var(--line-l); border-color: var(--line-l); }
.acard { display: flex; flex-direction: column; background: var(--ink); color: #fff; transition: background .3s; min-width: 0; }
.sec--paper .acard { background: var(--paper); color: var(--ink); }
.acard:hover { background: var(--ink-3); }
.sec--paper .acard:hover { background: #fff; }
.acard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.9); transition: transform 1.1s var(--ease), filter .4s; }
.acard:hover .acard__img img { transform: scale(1.05); filter: none; }
.acard__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 28px; flex: 1; }
.acard__meta { display: flex; gap: 14px; font-size: 13px; color: var(--mute); }
.sec--paper .acard__meta { color: var(--mute-2); }
.acard__meta span:first-child { color: var(--red-on-dark); }
.sec--paper .acard__meta span:first-child { color: var(--red-on-light); }
.acard__t { font-size: 20px; font-weight: 500; line-height: 1.5; }
.acard__d { color: var(--mute); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sec--paper .acard__d { color: var(--mute-2); }
.acard .link-arrow { margin-top: auto; align-self: flex-start; font-size: 15px; }
.acards--index .acard:first-child { grid-column: span 2; grid-row: span 2; }
.acards--index .acard:first-child .acard__img { aspect-ratio: 16 / 9; }
.acards--index .acard:first-child .acard__t { font-size: clamp(24px, 2.4vw, 32px); }

/* ============================================================
   Article page
   ============================================================ */
.phero--art h1:not(.eyebrow) { max-width: 22ch; font-size: clamp(32px, 4.6vw, 64px); }
.art__lead { margin-top: 22px; max-width: 680px; color: rgba(255,255,255,.78); font-size: 18px; }
.art__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--mute); }
.art__meta > * { display: inline-flex; align-items: center; gap: 8px; }
.art__meta > * + *::before { content: ""; width: 4px; height: 4px; background: var(--red); }
.art__sec { padding-top: clamp(48px, 6vw, 80px); }
.art__layout { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: clamp(32px, 5vw, 80px); justify-content: center; align-items: start; }
.art__side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 22px; }
.art__side-h { font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.art__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.art__toc li { counter-increment: toc; }
.art__toc a { display: flex; gap: 12px; padding: 9px 12px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.7); border-inline-start: 2px solid var(--line-d); transition: color .2s, border-color .2s, background .2s; }
.art__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--mute); padding-top: 3px; }
.art__toc a:hover { color: #fff; }
.art__toc a.on { color: #fff; border-color: var(--red); background: var(--ink-3); }
.art__cta { border: 1px solid var(--line-d); padding: 20px; display: grid; gap: 14px; justify-items: start; background: var(--ink-2); }
.art__cta p { font-weight: 500; }
.art__cta .link-arrow { font-size: 14px; }

.prose { font-size: 18px; line-height: 2; color: rgba(255,255,255,.86); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose__hero { margin: 0 0 2em; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.prose__hero img { width: 100%; height: 100%; object-fit: cover; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; color: #fff; margin-top: 2.2em; line-height: 1.45; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2::before { content: ""; display: block; width: 34px; height: 2px; background: var(--red); margin-bottom: 18px; }
.prose h3 { font-size: 21px; color: #fff; margin-top: 1.8em; }
.prose strong { color: #fff; font-weight: 500; }
.prose a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--red-on-dark); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--red); }
.prose ol li::marker { color: var(--red-on-dark); font-family: var(--mono); font-size: .85em; }
.prose .checklist { list-style: none; padding: 0; border-top: 1px solid var(--line-d); }
.prose .checklist li { display: flex; gap: 14px; align-items: baseline; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.prose .checklist li::before { content: ""; width: 14px; height: 8px; border: solid var(--red); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-3px); flex: none; }
.note { border-inline-start: 3px solid var(--red); background: var(--ink-2); padding: 18px 22px; font-size: 16.5px; line-height: 1.9; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-d); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.7; min-width: 520px; }
.prose th, .prose td { padding: 13px 16px; text-align: start; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.prose thead th { background: var(--ink-3); color: #fff; font-weight: 500; font-size: 14px; }
.prose tbody th { color: #fff; font-weight: 500; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.art__end { margin-top: 3em; padding: 28px; border: 1px solid var(--line-d); background: var(--ink-2); font-size: 17px; }
.art__end-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Service → article link */
.svc-read { margin-top: 18px; font-size: 14.5px; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.svc-read .ico { width: 18px; height: 18px; color: var(--red-on-dark); }
.svc-read a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* Map facade */
.map__facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(225,37,27,.12), transparent 60%),
    linear-gradient(var(--line-d) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line-d) 1px, transparent 1px) 0 0 / 40px 40px, var(--ink-2); }
.map__facade .ico { width: 40px; height: 40px; color: var(--red); }
.map__t { font-size: 22px; font-weight: 500; }
.map__d { color: var(--mute); margin-bottom: 8px; }

.phero--404 { min-height: 80svh; display: flex; align-items: center; border-bottom: 0; }

/* Focus visibility for custom controls */
.feed:focus-visible, .tile:focus-visible, .acard:focus-visible, .opt:focus-visible, .chip:focus-visible { outline: 2px solid var(--red-on-dark); outline-offset: 2px; }
.cam-node:focus { outline: none; }
.cam-node:focus-visible .ring { opacity: 1; stroke: var(--red-on-dark); stroke-width: 2; }
.tile:focus-visible .tile__cap { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .art__layout { grid-template-columns: minmax(0, 1fr); }
  .art__side { position: static; order: 2; }
  .art__toc { display: none; }
}
@media (max-width: 960px) {
  .acards { grid-template-columns: 1fr 1fr; }
  .acards--index .acard:first-child { grid-column: span 2; grid-row: auto; }
  .hero__pause { bottom: 196px; }
}
@media (max-width: 640px) {
  .acards { grid-template-columns: 1fr; }
  .acards--index .acard:first-child { grid-column: auto; }
  .prose { font-size: 17px; }
  .art__end-acts .btn { flex: 1 1 100%; justify-content: center; }
  .hero__pause { bottom: auto; top: calc(var(--header-h) + 14px); left: 50%; translate: -50% 0; width: 40px; height: 40px; }
}

/* ============================================================
   Mobile polish
   ============================================================ */
.vcard { cursor: zoom-in; }
.vcard__play, .feed__play { position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: none; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.vcard__play svg, .feed__play svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.lite .vcard__play { display: grid; }
.plan__hint { position: static; padding: 12px 16px 0; }
.plan__cams { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 16px; border-top: 1px solid var(--line-d); }
.plan__cam { min-width: 52px; height: 44px; padding-inline: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--mute); border: 1px solid var(--line-d2); background: transparent; transition: background .2s, color .2s, border-color .2s; }
.plan__cam.on { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.plan__cam:focus-visible { outline: 2px solid var(--red-on-dark); outline-offset: 2px; }
.cam-node .hit { cursor: pointer; }
.ftr ul a { display: inline-block; padding-block: 9px; line-height: 1.6; min-width: 44px; }
.ftr ul { gap: 0; }
.ftr__muted { padding-block: 9px; }
@media (hover: none) {
  .sector img { filter: grayscale(.4) brightness(.5); }
  .sector p { max-height: none; opacity: 1; margin-top: 8px; }
}
@media (max-width: 1100px) {
  .art__side { display: none; }
}
@media (max-width: 960px) {
  .vmv > div { min-height: 0; gap: 10px; }
  .vmv h3 { margin-top: 18px; }
}
@media (max-width: 640px) {
  .hero__pause { top: calc(var(--header-h) + 14px); left: var(--gutter); translate: none; width: 40px; height: 40px; }
  .hero__meta .rec { visibility: hidden; }
  .plan__hint { position: static; padding: 12px 16px 0; }
  .ftr { padding-bottom: 72px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .ccard { min-height: 150px; padding: 20px 16px; gap: 12px; }
  .ccard dd { font-size: 16px; }
  .ccard dd.ltr { font-size: 16px; }
  .lb__cap { padding-inline: 72px; font-size: 14px; }
  /* comparison tables become stacked cards */
  .table-wrap { border: 0; overflow: visible; }
  .prose table.rtable { min-width: 0; }
  .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rtable, .rtable tbody, .rtable tr, .rtable th, .rtable td { display: block; width: 100%; }
  .rtable tr { border: 1px solid var(--line-d); margin-bottom: 10px; background: var(--ink-2); }
  .prose .rtable tbody th { background: var(--ink-3); font-size: 16px; }
  .prose .rtable td { display: grid; grid-template-columns: 38% 1fr; gap: 10px; padding: 10px 14px; }
  .rtable td::before { content: attr(data-label); color: var(--mute); font-size: 13px; }
  .prose .rtable tbody tr > *:last-child { border-bottom: 0; }
}

/* ============================================================
   Service pages, privacy, form confirmation, consent
   ============================================================ */
.phero__title--svc { font-size: clamp(34px, 5vw, 72px); max-width: 18ch; }
.phero--plain { padding-bottom: clamp(40px, 5vw, 64px); }
.split--svc { align-items: start; }
.svc-h { font-size: clamp(26px, 3vw, 40px); font-weight: 600; margin: 18px 0 18px; }
.svc-p { color: rgba(255,255,255,.78); font-size: 17px; }
.svc-p + .svc-p { margin-top: 14px; }
.sgal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sgal--one { grid-template-columns: 1fr; }
.sgal__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; cursor: zoom-in; }
.sgal__item:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.sgal--one .sgal__item { aspect-ratio: 4 / 3; }
.sgal__item img, .sgal__item video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sgal__item:hover img, .sgal__item:hover video { transform: scale(1.04); }
.sgal__item:focus-visible { outline: 2px solid var(--red-on-dark); outline-offset: 2px; }
.forwho p { font-size: 13.5px; color: var(--mute-2); margin-bottom: 10px; }
.forwho ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-width: 460px; }
.forwho li { padding: 6px 12px; border: 1px solid var(--line-l); font-size: 14px; background: #fff; }
.cells--2 { grid-template-columns: repeat(2, 1fr); }
.cell a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.faq--dark { border-color: var(--line-d); }
.faq--dark details { border-color: var(--line-d); }
.faq--dark summary i { border-color: var(--line-d2); }
.faq--dark details p { color: var(--mute); }
.svc-others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.svc-others a { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--ink); font-size: 15px; min-height: 64px; transition: background .25s; }
.svc-others a:hover { background: var(--ink-3); }
.svc-others .ico { color: var(--red-on-dark); width: 22px; height: 22px; }
.svc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.svc-acts .link-arrow { color: #fff; }
.prose--page { max-width: 760px; }
.note-muted { color: var(--mute); font-size: 14px; }
.q-consent { font-size: 13.5px; color: var(--mute); margin-top: 6px; }
.q-consent a, .consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.qb__done { display: grid; gap: 14px; justify-items: start; animation: stepIn .5s var(--ease); }
.qb__done:focus { outline: none; }
.qb__done-ico .ico, .qb__done > .ico { width: 44px; height: 44px; color: #1fb655; }
.qb__done h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; }
.qb__done p { color: rgba(255,255,255,.78); }
.qb__done-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.qb__edit { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.consent { position: fixed; z-index: 170; bottom: max(16px, env(safe-area-inset-bottom, 0px)); right: 16px; left: 90px; max-width: 560px; margin-inline-start: auto; background: var(--ink-3); border: 1px solid var(--line-d2); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: 14.5px; }
.consent div { display: flex; gap: 8px; }
@media (max-width: 960px) {
  .svc-others { grid-template-columns: 1fr 1fr; }
  .cells--2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-others a { padding: 14px 12px; font-size: 14px; }
  .consent { left: 16px; bottom: 144px; }
  .svc-acts .btn { flex: 1 1 100%; justify-content: center; }
}

/* ============================================================
   Language switch + English (left-to-right) overrides
   Most layout uses logical properties and flips by itself; these are the physical ones.
   ============================================================ */
.lang { font-size: 14px; font-weight: 500; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; color: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px var(--line-d2); transition: background .2s, color .2s; }
.lang:hover { background: #fff; color: var(--ink); }
.mnav .lang { align-self: flex-start; margin-top: 18px; }
[dir="ltr"] body { font-family: var(--font); }
[dir="ltr"] .skip { right: auto; left: 12px; }
[dir="ltr"] .btn::after { transform: translateX(-120%); }
[dir="ltr"] .btn:hover::after { transform: translateX(120%); }
[dir="ltr"] .btn:hover svg { transform: translateX(4px); }
[dir="ltr"] .marquee__track { animation-name: marqLtr; }
@keyframes marqLtr { to { transform: translateX(-50%); } }
[dir="ltr"] .hstat b, [dir="ltr"] .svc-row__n, [dir="ltr"] .plan__kv dd, [dir="ltr"] .ftr__h, [dir="ltr"] .ftr__contact a,
[dir="ltr"] .svc-block__n, [dir="ltr"] .vmv .k, [dir="ltr"] .legal-card dd, [dir="ltr"] .ccard dd.ltr, [dir="ltr"] .phase .when { text-align: left; }
[dir="ltr"] .meter i, [dir="ltr"] .steps__line i { right: auto; left: 0; }
[dir="ltr"] .lb__nav.prev { right: auto; left: clamp(8px, 2vw, 32px); }
[dir="ltr"] .lb__nav.next { left: auto; right: clamp(8px, 2vw, 32px); }
[dir="ltr"] .wa-fab { left: auto; right: 22px; }
[dir="ltr"] .consent { left: 16px; right: 90px; margin-inline-start: 0; margin-inline-end: auto; }
[dir="ltr"] .hero__pause { left: auto; right: var(--gutter); }
[dir="ltr"] .hero__cross { left: 28%; }
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] .hero__title, [dir="ltr"] .phero__title { letter-spacing: -.025em; }
[dir="ltr"] .tile__play { right: auto; left: 12px; }
@media (max-width: 960px) {
  [dir="ltr"] .steps__line { right: auto; left: 31px; }
}
@media (max-width: 640px) {
  [dir="ltr"] .wa-fab { left: auto; right: 16px; }
  [dir="ltr"] .consent { right: 16px; }
  [dir="ltr"] .hero__pause { right: auto; left: var(--gutter); }
}

/* Only hidden when JS is running (html.js), so crawlers / no-JS always see content. */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
/* Image reveal: a cover panel slides off. The element itself stays visible so IntersectionObserver can see it
   (a clip-path of 100% made IO treat it as invisible — that was the services-page bug). */
.mask-img { position: relative; }
.js .mask-img::before { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--ink); transform-origin: top; transition: transform 1.2s var(--ease); pointer-events: none; }
.js .mask-img.in::before { transform: scaleY(0); }
.js img.mask-img { opacity: 0; transform: scale(1.03); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js img.mask-img.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv, .js img.mask-img { opacity: 1; transform: none; }
  .js .mask-img::before { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .nav, .hdr__phone { display: none; }
  .burger { display: block; }
  .hdr__cta { margin-inline-start: auto; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-toc { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 6px; scrollbar-width: none; }
  .svc-toc a { white-space: nowrap; border-inline-start: 0; border-bottom: 2px solid transparent; }
  .svc-toc a.on { border-color: var(--red); }
}
@media (max-width: 960px) {
  .hero__row, .phero__row, .sec-head, .cta .wrap { grid-template-columns: 1fr; }
  .hero__stats .wrap { grid-template-columns: 1fr 1fr; }
  .hstat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .hstat:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .cr__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .feed.h2 { grid-row: span 1; }
  .svc-row { grid-template-columns: 56px minmax(0, 1fr) 44px; }
  .svc-row p { grid-column: 2 / 3; grid-row: 2; margin-top: -14px; }
  .svc-row__go { width: 44px; height: 44px; grid-column: 3; grid-row: 1 / 3; }
  .plan, .qb, .split, .about-intro, .svc-block { grid-template-columns: minmax(0, 1fr); }
  .plan > *, .qb > *, .split > *, .about-intro > *, .svc-block > * { min-width: 0; }
  .plan__stage, .qb__main { border-inline-end: 0; border-bottom: 1px solid var(--line-d); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { top: 0; bottom: 0; right: 31px; left: auto; width: 1px; height: auto; }
  .steps__line i { width: 100% !important; height: 0; top: 0; bottom: auto; transition: height 1.6s var(--ease); }
  .in .steps__line i { height: 100%; }
  .step { display: grid; grid-template-columns: 62px 1fr; gap: 0 22px; padding: 0; }
  .step__n { margin: 0; grid-row: span 2; }
  .sectors, .cells, .vmv { grid-template-columns: 1fr 1fr; }
  .opts { grid-template-columns: 1fr 1fr; }
  .legal-card { grid-template-columns: 1fr; }
  .legal-card div { border-inline-start: 0; border-top: 1px solid var(--line-l); }
  .legal-card div:first-child { border-top: 0; }
  .phero__idx { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .hdr__logo img { height: 36px; }
  .hdr__cta .btn { display: none; }
  .hero__title { font-size: clamp(40px, 12.5vw, 64px); }
  .hero__meta { inset-inline: 40px; }
  .hero__meta .loc { display: none; }
  .hero__cross { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hero__body { padding-top: calc(var(--header-h) + 48px); }
  .hstat { padding-block: 18px 20px; }
  .cta__acts .btn { justify-content: center; }
  .cr__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .feed.w2 { grid-column: span 2; }
  .feed__loc { display: none; }
  .sectors, .cells, .vmv { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .vstack { gap: 8px; }
  .vstack .vcard:nth-child(2) { margin-top: 28px; } .vstack .vcard:nth-child(3) { margin-top: 56px; }
  .opts { grid-template-columns: 1fr 1fr; }
  .opt { min-height: 104px; padding: 16px 14px; }
  .row2 { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .svc-pair { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; column-gap: 8px; }
  .tile { margin-bottom: 8px; }
  .lb__stage { padding: 0 8px; }
  .lb__nav { top: auto; bottom: -66px; translate: none; }
  .wa-fab { width: 52px; height: 52px; bottom: 16px; left: 16px; }
  .call-fab { bottom: 80px; }
  .collage img:nth-child(2) { margin-top: 32px; }
  .qb__prog { gap: 4px; margin-bottom: 28px; }
  .qb__prog button { font-size: 12px; line-height: 1.5; }
  .qb__main { padding-inline: 18px; }
  .plan__side { padding: 22px 18px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; }
  .crumbs [aria-current] { max-width: 100%; }
  .tile__cap { opacity: 1; transform: none; padding: 28px 10px 8px; }
  .tile__cap span { display: none; }
  .tile__cap b { font-size: 12.5px; line-height: 1.5; }
}
