/* =========================================================
   MAXIAN s.r.o. – maxian.site
   Design tokens
   ========================================================= */
:root {
  --c-ink: #222321;
  --c-paper: #F7F7F3;
  --c-mint: #88C6B1;
  --c-mint-dark: #6FB39C;
  --c-mint-soft: #E6F2ED;
  --c-earth: #817561;
  --c-earth-soft: #B3A993;
  --c-white: #FFFFFF;
  --c-line: rgba(34, 35, 33, .12);
  --c-line-dark: rgba(247, 247, 243, .14);
  --grad: linear-gradient(90deg, #817561 0%, #849A85 55%, #88C6B1 100%);

  --f-head: "Titillium Web", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.3rem, 4.2vw + 1rem, 4.2rem);
  --fs-h2: clamp(1.8rem, 2.4vw + 1rem, 2.9rem);
  --fs-h3: clamp(1.25rem, .8vw + 1rem, 1.6rem);
  --fs-body: clamp(1rem, .2vw + .95rem, 1.125rem);
  --fs-small: .9rem;

  --space-section: clamp(72px, 10vw, 128px);
  --space-block: clamp(32px, 5vw, 64px);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px -24px rgba(34, 35, 33, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--c-mint); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-mint); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--c-ink); color: var(--c-paper); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 720px; }
.section { padding-block: var(--space-section); position: relative; }
.section--dark { background: var(--c-ink); color: var(--c-paper); }
.section--mint { background: var(--c-mint-soft); }
.section--white { background: var(--c-white); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
.split-4-8 { grid-template-columns: 4fr 8fr; }
.align-center { align-items: center; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .split-5-7, .split-7-5, .split-4-8 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0,1fr); gap: 16px; } .card { padding: 22px; } }

.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-earth); margin-bottom: 18px;
}
.overline::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.section--dark .overline, .on-dark .overline { color: var(--c-mint); }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); line-height: 1.55; color: rgba(34, 35, 33, .78); max-width: 62ch; }
.section--dark .lead, .on-dark .lead { color: rgba(247, 247, 243, .78); }
.muted { color: rgba(34, 35, 33, .64); }
.section--dark .muted { color: rgba(247, 247, 243, .6); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: var(--space-block); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--c-mint); --fg: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: 999px;
  font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { --bg: var(--c-mint-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(111, 179, 156, .8); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--c-ink); border-color: rgba(34, 35, 33, .3); }
.btn--ghost:hover { --bg: transparent; border-color: var(--c-ink); box-shadow: none; }
.on-dark .btn--ghost, .section--dark .btn--ghost { --fg: var(--c-paper); border-color: rgba(247, 247, 243, .35); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { border-color: var(--c-paper); }
.btn--ink { --bg: var(--c-ink); --fg: var(--c-paper); }
.btn--ink:hover { --bg: #000; box-shadow: 0 12px 24px -12px rgba(0,0,0,.6); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { font-family: var(--f-head); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--c-mint); padding-bottom: 2px; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow .arrow { transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s, color .3s;
}
.site-header.is-scrolled { --header-h: 66px; background: rgba(247, 247, 243, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--c-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav a.nav-link, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; background: none; border: 0; color: inherit; cursor: pointer;
}
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav .has-mega:focus-within > .nav-link { background: rgba(34, 35, 33, .06); }
.nav a.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-mint); border-radius: 0; }
.chev { width: 10px; height: 10px; transition: transform .25s; }
.has-mega { position: relative; }
.has-mega.is-open .chev, .has-mega:hover .chev { transform: rotate(180deg); }
.nav .btn { margin-left: 12px; }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, 92vw);
  background: var(--c-white); color: var(--c-ink);
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px -30px rgba(34, 35, 33, .45), 0 0 0 1px var(--c-line);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  overflow: hidden;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 22px; }
.mega__title { font-family: var(--f-head); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-earth); padding: 6px 12px 10px; font-weight: 600; }
.mega a.mega__item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; }
.mega a.mega__item:hover { background: var(--c-mint-soft); }
.mega__item strong { display: block; font-family: var(--f-head); font-weight: 600; line-height: 1.25; }
.mega__item span { display: block; font-size: .88rem; color: rgba(34, 35, 33, .64); line-height: 1.4; margin-top: 2px; }
.mega__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--c-mint-soft); display: grid; place-items: center; color: var(--c-ink); }
.mega__icon svg { width: 22px; height: 22px; }
.mega__badge { margin: 8px 12px 0; font-size: .78rem; color: var(--c-earth); display: flex; gap: 8px; align-items: center; }
.mega__foot { background: var(--c-ink); color: var(--c-paper); padding: 16px 34px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .95rem; }
.mega__foot a { color: var(--c-mint); font-family: var(--f-head); font-weight: 600; text-decoration: none; white-space: nowrap; }

.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: 12px; color: inherit; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }

@media (max-width: 1180px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--c-ink); color: var(--c-paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 96px var(--gutter) 32px; gap: 0; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a.nav-link, .nav button.nav-link { font-size: 1.5rem; padding: 14px 0; width: 100%; justify-content: space-between; border-radius: 0; border-bottom: 1px solid var(--c-line-dark); }
  .nav a.nav-link:hover, .nav button.nav-link:hover { background: none; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; background: transparent; color: var(--c-paper); display: none; opacity: 1; visibility: visible; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
  .has-mega.is-open .mega { display: block; }
  .mega__cols { grid-template-columns: 1fr; padding: 8px 0; }
  .mega a.mega__item:hover { background: rgba(247,247,243,.06); }
  .mega__item span { color: rgba(247, 247, 243, .6); }
  .mega__icon { background: rgba(136, 198, 177, .15); color: var(--c-mint); }
  .mega__foot, .mega__badge { display: none; }
  .nav .btn { margin: 28px 0 0; width: 100%; }
  .nav__phone { display: block !important; text-align: center; margin-top: 16px; color: var(--c-mint); font-family: var(--f-head); font-weight: 600; text-decoration: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--c-paper); background: transparent; box-shadow: none; }
  body.menu-open .brand img { filter: brightness(0) invert(96%); }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav__phone { display: none; }

/* header over dark hero */
.site-header.on-dark-hero { color: var(--c-paper); }
.site-header.on-dark-hero.is-scrolled { background: rgba(34, 35, 33, .6); box-shadow: 0 1px 0 var(--c-line-dark); }
.site-header.on-dark-hero .brand img { filter: brightness(0) invert(96%); }
.site-header.on-dark-hero:not(.is-scrolled) .nav a.nav-link:hover,
.site-header.on-dark-hero:not(.is-scrolled) .nav button.nav-link:hover { background: rgba(247,247,243,.1); }

/* ---------- FLIGHT (scroll drone hero) ---------- */
.flight { position: relative; height: 520vh; background: #161715; color: var(--c-paper); }
.flight__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.flight__sky { position: absolute; inset: 0; background: var(--sky, #F7F7F3); }
.flight__layer { position: absolute; left: 0; right: 0; will-change: transform; pointer-events: none; }
.flight__layer svg { width: 100%; height: 100%; }
.layer-stars { inset: 0; opacity: 0; }
.layer-data { inset: 0; opacity: 0; }
.layer-horizon { bottom: 0; height: 38vh; }
.layer-hills { bottom: 0; height: 34vh; }
.layer-town { bottom: 0; height: 52vh; }
.layer-ground { bottom: 0; height: 36vh; }
.layer-clouds { top: 0; height: 100vh; }
.cloud { position: absolute; border-radius: 999px; background: #a9bbb5; filter: blur(26px); opacity: .5; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #a9bbb5; border-radius: 50%; }
.cloud::before { width: 60%; height: 150%; left: 12%; top: -60%; }
.cloud::after { width: 45%; height: 130%; left: 44%; top: -45%; }

.drone {
  position: absolute; left: 50%; top: 0; width: clamp(230px, 28vw, 400px);
  transform: translate3d(calc(-50% + var(--dx, 0px)), var(--dy, 60vh), 0) rotate(var(--tilt, 0deg));
  will-change: transform; z-index: 5;
  filter: drop-shadow(0 24px 24px rgba(0,0,0,.55)) drop-shadow(0 0 30px rgba(136,198,177,.12));
}
.drone .rotor { transform-box: fill-box; transform-origin: center; animation: spin .09s linear infinite; }
.drone .rotor.r2 { animation-direction: reverse; }
.drone.is-idle .rotor { animation-duration: 1.4s; }
@keyframes spin { 0% { transform: scaleX(1); } 50% { transform: scaleX(.18); } 100% { transform: scaleX(1); } }
.drone__shadow { position: absolute; left: 50%; bottom: 13vh; width: 180px; height: 18px; margin-left: -90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(136,198,177,.35), transparent); width: 260px; margin-left: -130px; height: 30px; z-index: 4; opacity: var(--shadow-o, 1); transform: scale(var(--shadow-s, 1)); }

.flight__copy { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.flight__panel {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  display: flex; align-items: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.flight__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.flight__panel .container { display: grid; grid-template-columns: minmax(0, 520px) 1fr; }
.flight__panel--right .container { grid-template-columns: 1fr minmax(0, 460px) 90px; }
.flight__panel--right .panel-box { grid-column: 2; }
.flight__panel--center .container { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.panel-box { max-width: 520px; }
.panel-box h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 3rem); }
.panel-box .tag { display: inline-block; font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(136, 198, 177, .22); color: var(--c-ink); margin-bottom: 16px; }
.on-dark .panel-box .tag { color: var(--c-mint); background: rgba(136, 198, 177, .14); }
.panel-glass { background: rgba(247, 247, 243, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); box-shadow: 0 0 0 1px rgba(34,35,33,.06); }
.on-dark .panel-glass { background: rgba(34, 35, 33, .55); box-shadow: 0 0 0 1px rgba(247,247,243,.08); }
.hero-title { font-size: clamp(2.6rem, 5vw + 1rem, 5rem); line-height: 1.02; margin-bottom: .35em; }
.hero-title .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flight__panel--intro { align-items: flex-start; padding-top: calc(var(--header-h) + 6vh); }
.flight__panel--intro .container { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.flight__panel--intro .lead { margin-inline: auto; }
.flight__panel--intro .btn-row { justify-content: center; }
.flight__panel.on-dark { color: var(--c-paper); }
.proof-inline { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.proof-inline li { display: flex; gap: 10px; align-items: baseline; }
.proof-inline li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--c-mint); transform: translateY(-1px); }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 7; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-earth); transition: opacity .4s; }
.scroll-hint i { width: 22px; height: 36px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* HUD */
.hud { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 7; display: flex; gap: 14px; align-items: center; font-family: var(--f-head); color: var(--hud, var(--c-ink)); transition: color .4s; }
.hud__bar { width: 3px; height: 38vh; background: rgba(129, 117, 97, .25); border-radius: 3px; position: relative; overflow: hidden; }
.hud__bar b { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--p, 0) * 100%); background: var(--grad); background: linear-gradient(0deg, #817561, #88C6B1); }
.hud__read { display: grid; gap: 14px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.hud__read strong { display: block; font-size: 1.4rem; letter-spacing: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.hud__read span { opacity: .6; }
@media (max-width: 720px) {
  .hud { top: auto; bottom: 22px; transform: none; right: 16px; }
  .hud__bar { height: 90px; }
  .hud__read { gap: 6px; }
  .hud__read strong { font-size: 1.05rem; }
  .hud__read div:nth-child(2) { display: none; }
  .flight__panel .container, .flight__panel--right .container { grid-template-columns: 1fr; }
  .flight__panel--right .panel-box { grid-column: 1; }
  .flight__panel:not(.flight__panel--intro):not(.flight__panel--center) { align-items: flex-end; padding-bottom: 120px; }
  .flight { height: 460vh; }
}

/* reduced motion: static hero */
@media (prefers-reduced-motion: reduce) {
  .flight { height: auto; }
  .flight__stage { position: relative; height: auto; min-height: 100vh; }
  .flight__panel { position: relative; opacity: 1; transform: none; padding: 48px 0; }
  .flight__panel:not(.flight__panel--intro) { display: none; }
  .drone .rotor { animation: none; }
  .hud, .scroll-hint, .layer-clouds { display: none; }
}

/* ---------- Facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 8px clamp(16px, 2.5vw, 36px); border-left: 1px solid rgba(129, 117, 97, .35); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__big { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.7rem, 2vw + 1rem, 2.6rem); line-height: 1.05; color: var(--c-earth); margin-bottom: 10px; }
.fact p { font-size: .95rem; margin: 0; color: rgba(34,35,33,.72); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Path cards ---------- */
.path-card { position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; min-height: 100%; transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-card--light { background: var(--c-mint-soft); }
.path-card--dark { background: var(--c-ink); color: var(--c-paper); }
.path-card h3 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.2rem); }
.path-card .checks { margin: 8px 0 28px; }
.path-card .link-arrow { margin-top: auto; align-self: flex-start; }
.path-card__art { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .5; pointer-events: none; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--c-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222321' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Why (numbered rows) ---------- */
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.rows { border-top: 1px solid var(--c-line); }
.row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.section--dark .rows, .section--dark .row { border-color: var(--c-line-dark); }
.row__num { font-family: var(--f-head); font-weight: 600; color: var(--c-earth); font-size: 1.1rem; padding-top: 4px; }
.section--dark .row__num { color: var(--c-mint); }
.row h3 { margin-bottom: .35em; }
.row p { margin: 0; color: rgba(34,35,33,.72); }
.section--dark .row p { color: rgba(247,247,243,.7); }

/* ---------- Case cards ---------- */
.cases { display: grid; grid-template-columns: 8fr 4fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.case { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 250px; display: flex; align-items: flex-end; color: var(--c-paper); text-decoration: none; isolation: isolate; background: #2d2e2b; }
.case--big { grid-row: span 2; min-height: 540px; }
.case__media { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.case__media svg, .case__media img { width: 100%; height: 100%; object-fit: cover; }
.case:hover .case__media { transform: scale(1.04); }
.case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34,35,33,0) 30%, rgba(34,35,33,.92) 100%); }
.case__body { padding: clamp(20px, 3vw, 32px); }
.case__tag { display: inline-block; font-family: var(--f-head); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--c-mint); color: var(--c-ink); padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.case h3 { margin-bottom: .3em; }
.case p { margin: 0; font-size: .95rem; color: rgba(247,247,243,.78); }
.case p b { color: var(--c-paper); font-weight: 600; }
.mini-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.mini-case { border: 1px solid var(--c-line-dark); border-radius: var(--radius); padding: 22px 24px; }
.mini-case strong { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; display: block; margin-bottom: 4px; }
.mini-case span { font-size: .92rem; color: rgba(247,247,243,.66); }
@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; grid-template-rows: none; }
  .case--big { grid-row: auto; min-height: 420px; }
  .mini-cases { grid-template-columns: 1fr; }
}

/* ---------- Deliverables ---------- */
.deliv { background: var(--c-white); border: 1px solid var(--c-mint-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .3s var(--ease); }
.deliv:hover { border-color: var(--c-mint); transform: translateY(-3px); }
.deliv__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--c-mint-soft); display: grid; place-items: center; margin-bottom: 8px; }
.deliv__icon svg { width: 26px; height: 26px; }
.deliv h3 { margin: 0; font-size: 1.25rem; }
.fmt { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.fmt span { font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: 4px 9px; border-radius: 6px; background: rgba(129,117,97,.12); color: var(--c-earth); font-family: var(--f-head); }
.deliv p { margin: 0; font-size: .95rem; color: rgba(34,35,33,.7); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 var(--space-block); display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: var(--c-mint); opacity: .6; }
.steps li { counter-increment: s; position: relative; padding-right: 8px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--c-paper); border: 2px solid var(--c-mint); font-family: var(--f-head); font-weight: 600; margin-bottom: 18px; position: relative; }
.section--mint .steps li::before { background: var(--c-mint-soft); }
.steps h3 { font-size: 1.2rem; margin-bottom: .35em; }
.steps p { font-size: .96rem; color: rgba(34,35,33,.72); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 0; bottom: 0; left: 24px; right: auto; width: 2px; height: auto; }
  .steps li { display: grid; grid-template-columns: 50px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .steps li::before { grid-row: span 2; margin: 0; }
}

/* ---------- Tech ---------- */
.tech-list { list-style: none; padding: 0; margin: 0; }
.tech-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line-dark); }
.tech-list li span { color: rgba(247,247,243,.55); font-size: .92rem; text-align: right; }
.tech-list li strong { font-family: var(--f-head); font-weight: 600; }
.tech-col h3 { color: var(--c-mint); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.cert { display: inline-flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--radius); border: 1px solid rgba(136,198,177,.4); margin-top: 12px; }
.cert svg { width: 40px; height: 40px; flex: none; color: var(--c-mint); }
.cert strong { display: block; font-family: var(--f-head); font-size: 1.15rem; letter-spacing: .06em; }
.cert span { font-size: .88rem; color: rgba(247,247,243,.65); }

/* ---------- Person ---------- */
.photo-ph { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: linear-gradient(160deg, #cfd6cf, #9fb5a8 55%, #817561); }
.photo-ph__label { position: absolute; left: 16px; bottom: 16px; right: 16px; font-size: .8rem; background: rgba(34,35,33,.7); color: var(--c-paper); padding: 8px 12px; border-radius: 10px; }
.quote { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); line-height: 1.2; margin: 0 0 28px; position: relative; padding-top: 44px; text-wrap: balance; }
.quote::before { content: "„"; position: absolute; top: -30px; left: -4px; font-size: 6rem; line-height: 1; color: var(--c-mint); }
.sign { font-family: var(--f-head); font-weight: 600; }
.sign span { display: block; font-family: var(--f-body); font-weight: 400; font-size: .92rem; color: var(--c-earth); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--c-line); }
.faq details:first-of-type { border-top: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--c-mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222321' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--c-mint); }
.faq details p { padding-right: 44px; color: rgba(34,35,33,.75); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: var(--c-ink); text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
.cta-band .contacts { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-family: var(--f-head); font-weight: 600; }
.cta-band .contacts a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: rgba(247,247,243,.8); padding: 72px 0 28px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--c-line-dark); }
.site-footer h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-mint); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--c-paper); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand .slogan { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; color: var(--c-paper); margin-bottom: 8px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line-dark); display: grid; place-items: center; }
.socials a:hover { border-color: var(--c-mint); }
.socials svg { width: 18px; height: 18px; }
.footer-legal { padding-top: 24px; font-size: .82rem; color: rgba(247,247,243,.5); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* mobile sticky action bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; transform: translateY(140%); transition: transform .4s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { min-height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-head); font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
  .mobile-bar .call { background: var(--c-ink); color: var(--c-paper); }
  .mobile-bar .write { background: var(--c-mint); color: var(--c-ink); }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero.section--dark { background: radial-gradient(1200px 600px at 85% 0%, rgba(136,198,177,.14), transparent 60%), var(--c-ink); }
.crumbs { font-size: .85rem; margin-bottom: 24px; color: var(--c-earth); }
.section--dark .crumbs { color: rgba(247,247,243,.55); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badges span { font-size: .85rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--c-line); }
.section--dark .badges span { border-color: var(--c-line-dark); color: rgba(247,247,243,.8); }

/* compare slider */
.compare { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; user-select: none; --pos: 50%; box-shadow: 0 0 0 1px var(--c-line-dark); }
.compare__img { position: absolute; inset: 0; }
.compare__img svg { width: 100%; height: 100%; }
.compare__img--top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--c-paper); transform: translateX(-1px); pointer-events: none; }
.compare__handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: var(--c-paper); color: var(--c-ink); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__labels { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.compare__labels span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: rgba(34,35,33,.7); color: var(--c-paper); padding: 5px 10px; border-radius: 999px; font-family: var(--f-head); }

/* cards generic */
.card { background: var(--c-white); border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--c-line); }
.section--dark .card { background: rgba(247,247,243,.04); box-shadow: 0 0 0 1px var(--c-line-dark); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--c-mint-soft); display: grid; place-items: center; margin-bottom: 18px; color: var(--c-ink); }
.section--dark .card__icon { background: rgba(136,198,177,.14); color: var(--c-mint); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; }
.card p { margin: 0; font-size: .97rem; color: rgba(34,35,33,.72); }
.section--dark .card p { color: rgba(247,247,243,.7); }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--c-line); background: var(--c-white); }
.section--dark .table-wrap { background: rgba(247,247,243,.03); box-shadow: 0 0 0 1px var(--c-line-dark); }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data th, table.data td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--c-line); vertical-align: top; font-size: .97rem; }
.section--dark table.data th, .section--dark table.data td { border-color: var(--c-line-dark); }
table.data th { font-family: var(--f-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-earth); font-weight: 600; }
.section--dark table.data th { color: var(--c-mint); }
table.data td:first-child { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; }
table.data tr:last-child td { border-bottom: 0; }

.callout { border-left: 3px solid var(--c-mint); padding: 8px 0 8px 22px; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); line-height: 1.3; margin-top: var(--space-block); }

/* TAK diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.flow__node { border: 1.5px solid rgba(136,198,177,.6); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.flow__node svg { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--c-mint); }
.flow__node strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; }
.flow__node span { font-size: .85rem; color: rgba(247,247,243,.6); }
.flow__arrow { color: var(--c-mint); font-size: 1.6rem; }
@media (max-width: 700px) { .flow { grid-template-columns: 1fr; } .flow__arrow { transform: rotate(90deg); justify-self: center; } }

/* forms */
.form-card { background: var(--c-white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow), 0 0 0 1px var(--c-line); color: var(--c-ink); }
.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--c-mint-soft); transition: background .3s; }
.progress span.on { background: var(--c-mint); }
.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.is-active { display: block; animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-step legend { font-family: var(--f-head); font-weight: 600; font-size: 1.45rem; margin-bottom: 6px; padding: 0; }
.form-step .hint { font-size: .92rem; color: rgba(34,35,33,.6); margin-bottom: 20px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; }
.tile label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--c-line); cursor: pointer; font-family: var(--f-head); font-weight: 600; line-height: 1.25; transition: border-color .2s, background .2s; min-height: 64px; }
.tile label svg { width: 24px; height: 24px; flex: none; color: var(--c-earth); }
.tile input:checked + label { border-color: var(--c-mint); background: var(--c-mint-soft); }
.tile input:checked + label svg { color: var(--c-ink); }
.tile input:focus-visible + label { outline: 3px solid var(--c-mint); outline-offset: 2px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 500; font-size: .93rem; margin-bottom: 6px; }
.field .opt { color: rgba(34,35,33,.5); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--c-line); background: var(--c-paper); font: inherit; font-size: 1rem; color: var(--c-ink); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-mint); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; }
.chip label { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--c-line); font-size: .92rem; cursor: pointer; margin: 0; font-weight: 500; }
.chip input:checked + label { border-color: var(--c-mint); background: var(--c-mint-soft); }
.chip input:focus-visible + label { outline: 3px solid var(--c-mint); outline-offset: 2px; }
.cond { display: none; }
.cond.is-shown { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 8px 0 20px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--c-mint-dark); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; align-items: center; }
.form-error { color: #a4422c; font-size: .9rem; margin-top: 10px; display: none; }
.form-error.show { display: block; }
.hp { position: absolute; left: -5000px; }
.small-note { font-size: .85rem; color: rgba(34,35,33,.55); margin-top: 12px; }

.contact-big a { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem); text-decoration: none; line-height: 1.3; }
.contact-big a:hover { color: var(--c-earth); }
.contact-big .lbl { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-earth); font-family: var(--f-head); font-weight: 600; margin-top: 24px; display: block; }
.alert { margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: rgba(129,117,97,.1); font-size: .93rem; }

.place { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--c-line-dark); }
.place--main { border: 2px solid var(--c-mint); }
.place h3 { margin-bottom: 4px; }
.place .kicker { font-family: var(--f-head); font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-mint); margin-bottom: 12px; display: block; }
.place address { font-style: normal; margin: 12px 0 20px; line-height: 1.7; }
.map-ph { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 360px; background: #2b2c29; display: grid; place-items: center; }
.map-ph svg.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ph .btn { position: relative; }

/* prose (legal) */
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.stack > * + * { margin-top: 16px; }
.row__num svg { width: 28px; height: 28px; color: var(--c-earth); }
.section--dark .row__num svg { color: var(--c-mint); }

/* ===== Dark cinematic flight overrides ===== */
.flight .hero-title, .flight h2 { color: var(--c-paper); }
.flight .lead { color: rgba(247,247,243,.76); }
.flight .overline { color: var(--c-mint); }
.flight .btn--ghost { --fg: var(--c-paper); border-color: rgba(247,247,243,.35); }
.flight .btn--ghost:hover { border-color: var(--c-paper); }
.flight .panel-glass { background: rgba(22, 23, 21, .55); box-shadow: 0 0 0 1px rgba(247,247,243,.08), 0 30px 60px -30px rgba(0,0,0,.6); color: var(--c-paper); }
.flight .panel-glass p { color: rgba(247,247,243,.78); }
.flight .panel-box .tag { color: var(--c-mint); background: rgba(136, 198, 177, .12); }
.flight .scroll-hint { color: var(--c-mint); }
.flight .hud { color: var(--c-paper); }
.flight__glow { position: absolute; left: -10%; right: -10%; bottom: -20vh; height: 70vh; background: radial-gradient(60% 60% at 50% 60%, rgba(176,138,94,.28), rgba(136,198,177,.08) 55%, transparent 75%); pointer-events: none; }
.flight__vignette { position: absolute; inset: 0; pointer-events: none; z-index: 5; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.45)); }
.hero-title .grad-text { background: linear-gradient(90deg, #B3A993, #88C6B1); -webkit-background-clip: text; background-clip: text; }

/* ===== Darker, more editorial site ===== */
.section--deep { background: #191A18; }
.section--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.section--dark > .container { position: relative; }
.section--dark .fact { border-color: var(--c-line-dark); }
.section--dark .fact p { color: rgba(247,247,243,.62); }
.fact__big { background: linear-gradient(90deg, #B3A993, #88C6B1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .path-card--dark { background: #2A2B28; box-shadow: 0 0 0 1px var(--c-line-dark); }
.section--dark .path-card--light { background: var(--c-paper); color: var(--c-ink); }
.section--dark .path-card--light .overline { color: var(--c-earth); }
.section--dark .card:hover, .section--dark .mini-case:hover { box-shadow: 0 0 0 1px rgba(136,198,177,.45); }
.section--dark .steps li::before { background: #191A18; color: var(--c-paper); }
.section--dark .steps p { color: rgba(247,247,243,.66); }
.section--dark .deliv { background: rgba(247,247,243,.03); border-color: var(--c-line-dark); }
.section--dark .deliv p { color: rgba(247,247,243,.66); }
.section--dark .deliv__icon { background: rgba(136,198,177,.14); color: var(--c-mint); }
.section--dark .fmt span { background: rgba(136,198,177,.12); color: var(--c-mint); }
.section-head h2 { letter-spacing: -.015em; }
h1, h2 { font-weight: 600; }
.card { transition: box-shadow .3s, transform .3s var(--ease); }
.card:hover { transform: translateY(-3px); }
.big-num { font-family: var(--f-head); font-weight: 700; font-size: clamp(4rem, 8vw, 7rem); line-height: .9; background: linear-gradient(180deg, rgba(136,198,177,.5), rgba(136,198,177,0)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.page-hero.section--dark .contact-big a { color: var(--c-paper); }
.page-hero.section--dark .contact-big a:hover { color: var(--c-mint); }
.page-hero.section--dark .contact-big .lbl { color: var(--c-mint); }
.page-hero.section--dark .alert { background: rgba(247,247,243,.06); color: rgba(247,247,243,.85); }
.page-hero.section--dark .photo-ph { box-shadow: 0 0 0 1px var(--c-line-dark); }
.section--dark .lead a { color: var(--c-mint); }
.section--dark .chip label { border-color: var(--c-line-dark); }
.section--dark .chip input:checked + label { background: var(--c-mint); border-color: var(--c-mint); color: var(--c-ink) !important; }
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; row-gap: 24px; }
  .fact, .fact:nth-child(3) { border-left: 0; padding-left: 0; padding-top: 20px; border-top: 1px solid var(--c-line-dark); }
  .fact:first-child { border-top: 0; padding-top: 0; }
}

.site-footer .btn { white-space: nowrap; font-size: .9rem; padding: 10px 18px; }
.page-hero h1 { max-width: 18ch; }
.case--cta::after { display: none; }
.mobile-bar svg { width: 18px; height: 18px; flex: none; }
.big-num { background: linear-gradient(90deg, #B3A993, #88C6B1); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; margin-bottom: 12px; }
/* hlavička vždy tmavá – všetky úvody stránok sú tmavé */
.site-header { color: var(--c-paper); }
.site-header .brand img { filter: brightness(0) invert(96%); }
.site-header.is-scrolled { background: rgba(25, 26, 24, .82); box-shadow: 0 1px 0 var(--c-line-dark); }
.site-header .nav a.nav-link:hover, .site-header .nav button.nav-link:hover, .site-header .nav .has-mega:focus-within > .nav-link { background: rgba(247,247,243,.1); }
.mobile-bar .call { box-shadow: 0 0 0 1px rgba(247,247,243,.25), 0 10px 30px -10px rgba(0,0,0,.4); }
.quote::before { top: -58px; }
.section--dark .quote { color: var(--c-paper); }
.section--dark .sign span { color: var(--c-earth-soft); }

/* vlnovky – prvok zo starého webu */
.waves { overflow: hidden; }
.waves::after { content: ""; position: absolute; top: 0; right: 0; width: min(520px, 40vw); height: 100%; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='400' viewBox='0 0 420 400'%3E%3Cg fill='none' stroke='%23F7F7F3' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 0 Q30 18 60 0 Q90 -18 120 0 Q150 18 180 0 Q210 -18 240 0 Q270 18 300 0 Q330 -18 360 0 Q390 18 420 0'/%3E%3Cpath d='M0 22 Q30 40 60 22 Q90 4 120 22 Q150 40 180 22 Q210 4 240 22 Q270 40 300 22 Q330 4 360 22 Q390 40 420 22'/%3E%3Cpath d='M0 44 Q30 62 60 44 Q90 26 120 44 Q150 62 180 44 Q210 26 240 44 Q270 62 300 44 Q330 26 360 44 Q390 62 420 44'/%3E%3Cpath d='M0 66 Q30 84 60 66 Q90 48 120 66 Q150 84 180 66 Q210 48 240 66 Q270 84 300 66 Q330 48 360 66 Q390 84 420 66'/%3E%3Cpath d='M0 88 Q30 106 60 88 Q90 70 120 88 Q150 106 180 88 Q210 70 240 88 Q270 106 300 88 Q330 70 360 88 Q390 106 420 88'/%3E%3Cpath d='M0 110 Q30 128 60 110 Q90 92 120 110 Q150 128 180 110 Q210 92 240 110 Q270 128 300 110 Q330 92 360 110 Q390 128 420 110'/%3E%3Cpath d='M0 132 Q30 150 60 132 Q90 114 120 132 Q150 150 180 132 Q210 114 240 132 Q270 150 300 132 Q330 114 360 132 Q390 150 420 132'/%3E%3Cpath d='M0 154 Q30 172 60 154 Q90 136 120 154 Q150 172 180 154 Q210 136 240 154 Q270 172 300 154 Q330 136 360 154 Q390 172 420 154'/%3E%3Cpath d='M0 176 Q30 194 60 176 Q90 158 120 176 Q150 194 180 176 Q210 158 240 176 Q270 194 300 176 Q330 158 360 176 Q390 194 420 176'/%3E%3Cpath d='M0 198 Q30 216 60 198 Q90 180 120 198 Q150 216 180 198 Q210 180 240 198 Q270 216 300 198 Q330 180 360 198 Q390 216 420 198'/%3E%3Cpath d='M0 220 Q30 238 60 220 Q90 202 120 220 Q150 238 180 220 Q210 202 240 220 Q270 238 300 220 Q330 202 360 220 Q390 238 420 220'/%3E%3Cpath d='M0 242 Q30 260 60 242 Q90 224 120 242 Q150 260 180 242 Q210 224 240 242 Q270 260 300 242 Q330 224 360 242 Q390 260 420 242'/%3E%3Cpath d='M0 264 Q30 282 60 264 Q90 246 120 264 Q150 282 180 264 Q210 246 240 264 Q270 282 300 264 Q330 246 360 264 Q390 282 420 264'/%3E%3Cpath d='M0 286 Q30 304 60 286 Q90 268 120 286 Q150 304 180 286 Q210 268 240 286 Q270 304 300 286 Q330 268 360 286 Q390 304 420 286'/%3E%3Cpath d='M0 308 Q30 326 60 308 Q90 290 120 308 Q150 326 180 308 Q210 290 240 308 Q270 326 300 308 Q330 290 360 308 Q390 326 420 308'/%3E%3Cpath d='M0 330 Q30 348 60 330 Q90 312 120 330 Q150 348 180 330 Q210 312 240 330 Q270 348 300 330 Q330 312 360 330 Q390 348 420 330'/%3E%3Cpath d='M0 352 Q30 370 60 352 Q90 334 120 352 Q150 370 180 352 Q210 334 240 352 Q270 370 300 352 Q330 334 360 352 Q390 370 420 352'/%3E%3Cpath d='M0 374 Q30 392 60 374 Q90 356 120 374 Q150 392 180 374 Q210 356 240 374 Q270 392 300 374 Q330 356 360 374 Q390 392 420 374'/%3E%3C/g%3E%3C/svg%3E"); background-size: 420px 400px; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.waves > .container { z-index: 1; }

/* ===== Rozcestník „S čím prichádzate?“ ===== */
.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.need { display: grid; grid-template-columns: 52px 1fr 28px; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease); }
.need:hover { box-shadow: 0 0 0 2px var(--c-mint), var(--shadow); transform: translateY(-2px); }
.need__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--c-mint-soft); display: grid; place-items: center; }
.need__icon svg { width: 26px; height: 26px; }
.need strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.need em { display: block; font-style: normal; font-size: .9rem; color: rgba(34,35,33,.6); margin-top: 4px; }
.need__go { font-size: 1.3rem; color: var(--c-earth); transition: transform .25s var(--ease); }
.need:hover .need__go { transform: translateX(4px); color: var(--c-ink); }
.cta-note { font-size: .88rem; opacity: .75; margin-top: 10px; }

/* ===== Mobil: opravy a zjemnenie ===== */
@media (max-width: 960px) {
  .sticky-col { position: static; }
  .needs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --space-section: 64px; --space-block: 32px; --header-h: 64px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }
  .lead { font-size: 1.05rem; }
  .overline { font-size: .72rem; letter-spacing: .14em; margin-bottom: 12px; }
  .section-head { margin-bottom: 24px; }
  .btn { min-height: 48px; padding: 12px 22px; font-size: 1rem; }
  .brand img { height: 26px; }
  .need { grid-template-columns: 44px 1fr 20px; gap: 14px; padding: 16px 18px; }
  .need__icon { width: 44px; height: 44px; }
  .need strong { font-size: 1.02rem; }
  .row { grid-template-columns: 40px 1fr; gap: 12px; padding: 20px 0; }
  .card { padding: 20px; }
  .quote { font-size: 1.45rem; padding-top: 30px; }
  .quote::before { font-size: 4rem; top: -40px; }
  .fact__big { font-size: 1.9rem; }
  .cases .case, .grid-2 > .case { min-height: 360px !important; }
  .case h3 { font-size: 1.2rem; }
  .cta-band h2 { font-size: 1.6rem; }
  .page-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px; }
  .page-hero h1 { font-size: 2rem; }
  .big-num { font-size: 4rem; }
  .tech-list li { flex-wrap: wrap; }

  /* let dronu na mobile */
  .flight { height: 440vh; }
  .drone { width: clamp(170px, 50vw, 230px); }
  .hero-title { font-size: 2.15rem; }
  .flight__panel--intro { padding-top: calc(var(--header-h) + 28px); }
  .flight__panel--intro .lead { font-size: 1rem; }
  .flight__panel--intro .btn-row { gap: 10px; }
  .flight__panel:not(.flight__panel--intro):not(.flight__panel--center) { align-items: flex-end; padding-bottom: 22px; }
  .flight .panel-glass { padding: 18px 18px 20px; border-radius: 18px; }
  .panel-box h2 { font-size: 1.35rem; margin-bottom: .4em; }
  .panel-box p { font-size: .95rem; margin-bottom: .5em; }
  .panel-box .tag { font-size: .66rem; padding: 5px 10px; margin-bottom: 10px; }
  .flight .proof-inline { display: none; }
  .hud { top: calc(var(--header-h) + 14px); bottom: auto; right: 16px; transform: none; gap: 10px; }
  .hud__bar { display: none; }
  .hud__read { gap: 0; text-align: right; }
  .hud__read div:not(:first-child) { display: none; }
  .hud__read strong { font-size: 1.05rem; }
  .scroll-hint { bottom: 18px; font-size: .66rem; }
  .flight__panel--center img { width: 220px !important; }
}
@media (max-width: 720px) {
  .grid-3:has(> .deliv) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .deliv { padding: 16px; gap: 8px; }
  .deliv__icon { width: 38px; height: 38px; margin-bottom: 2px; }
  .deliv h3 { font-size: 1rem; }
  .deliv p { font-size: .85rem; }
  .fmt span { font-size: .68rem; padding: 3px 7px; }
}
@media (max-width: 720px) {
  .flight__panel--intro { padding-top: calc(var(--header-h) + 54px); }
  .flight__panel--intro .btn--ghost, .flight__panel--intro .cta-note { display: none; }
  .flight__panel--intro .overline::before { display: none; }
  .flight__panel--intro .lead { margin-bottom: 18px; }
}
@media (max-width: 720px) and (max-height: 720px) {
  .hero-title { font-size: 1.8rem; }
  .flight__panel--intro { padding-top: calc(var(--header-h) + 40px); }
  .flight__panel--intro .lead { font-size: .92rem; line-height: 1.5; }
  .drone { width: 160px; }
  .panel-box p { font-size: .88rem; }
}
@media (min-width: 721px) {
  .drone { width: clamp(200px, 18vw, 280px); }
  .flight .panel-box { max-width: 440px; }
  .flight__panel .container { grid-template-columns: minmax(0, 440px) 1fr; }
  .flight__panel--right .container { grid-template-columns: 1fr minmax(0, 420px) 70px; }
}
@media (min-width: 721px) and (max-width: 1280px) {
  .flight .panel-box { max-width: 390px; }
  .flight__panel .container { grid-template-columns: minmax(0, 390px) 1fr; }
  .flight__panel--right .container { grid-template-columns: 1fr minmax(0, 380px) 140px; }
  .panel-box h2 { font-size: 2rem; }
}
/* notebooky a tablety: panely dole, dron hore – nič sa neprekrýva */
@media (min-width: 721px) and (max-width: 1280px) {
  .flight__panel:not(.flight__panel--intro):not(.flight__panel--center) { align-items: flex-end; padding-bottom: 36px; }
  .flight__panel .container, .flight__panel--right .container { grid-template-columns: minmax(0, 560px) 1fr; }
  .flight__panel--right .panel-box { grid-column: 1; }
  .flight .panel-box { max-width: 560px; }
  .panel-box h2 { font-size: 1.9rem; }
  .flight__panel--intro { padding-top: calc(var(--header-h) + 5vh); }
}
@media (min-width: 721px) and (max-width: 1280px) {
  .hero-title { font-size: clamp(2.4rem, 4.2vw, 3.4rem); }
  .flight__panel--intro .lead { font-size: 1.05rem; max-width: 56ch; }
  .hud { top: calc(var(--header-h) + 18px); transform: none; gap: 10px; }
  .hud__bar { display: none; }
  .hud__read { gap: 0; text-align: right; }
  .hud__read div:not(:first-child) { display: none; }
  .hud__read strong { font-size: 1.1rem; }
}
@media (min-width: 721px) and (max-width: 1280px) {
  .flight__panel--intro .container { grid-template-columns: 1fr; }
  .flight__panel--intro .cta-note { display: none; }
}
@media (min-width: 721px) and (max-height: 760px) {
  .flight__panel--intro .cta-note { display: none; }
  .hero-title { font-size: clamp(2.3rem, 3.6vw, 3.4rem); }
}
.flight__panel--intro .container, .flight__panel--center .container { grid-template-columns: 1fr !important; }
@media (min-width: 1281px) {
  .panel-box h2 { font-size: clamp(1.8rem, 2.1vw, 2.6rem); }
  .flight__panel--right .container { grid-template-columns: 1fr minmax(0, 400px) 130px; }
}
/* realistická 3D scéna (WebGL) */
.flight__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.flight.gl-on .flight__sky, .flight.gl-on .flight__glow, .flight.gl-on .layer-horizon, .flight.gl-on .layer-hills,
.flight.gl-on .layer-town, .flight.gl-on .layer-ground, .flight.gl-on .layer-clouds, .flight.gl-on .layer-stars,
.flight.gl-on .drone__shadow { display: none; }
.flight.gl-on.mesh-ready .drone { visibility: hidden; }
.flight.gl-on .flight__vignette { background: radial-gradient(120% 90% at 50% 45%, transparent 60%, rgba(0,0,0,.35)); }
.flight.gl-on .flight__panel--intro::before { content: ""; position: absolute; inset: 0 0 35% 0; background: linear-gradient(180deg, rgba(14,15,14,.72), rgba(14,15,14,.35) 70%, transparent); pointer-events: none; z-index: -1; }
.flight.gl-on .layer-data { mix-blend-mode: screen; }

/* Photographic fallback retains the scroll story without WebGL. */
.flight__landscape { position:absolute; inset:-5%; background:url('../img/landscape.webp') center/cover no-repeat; transform:scale(calc(1.15 - var(--p,0) * .12)) translateY(calc(var(--p,0) * 3%)); opacity:calc(1 - var(--p,0) * .55); pointer-events:none; }
.flight__landscape::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(10,18,23,.48),rgba(10,18,23,.08) 48%,rgba(10,18,23,.28)); }
.flight.gl-on .flight__landscape { display:none; }
.flight:not(.gl-on) .layer-town, .flight:not(.gl-on) .layer-hills, .flight:not(.gl-on) .layer-horizon, .flight:not(.gl-on) .layer-ground, .flight:not(.gl-on) .layer-stars { display:none; }
.flight__panel--intro { text-shadow:0 2px 24px rgba(0,0,0,.3); }
@media (prefers-reduced-motion: reduce) { .flight__landscape { transform:none; } }

.drone { height:auto; filter:drop-shadow(0 12px 16px rgba(0,0,0,.22)); }

/* Cinema v2: photographic assets remain visible even if canvas is unavailable. */
.flight .layer-clouds, .flight .layer-stars, .flight .layer-town,
.flight .layer-horizon, .flight .layer-hills, .flight .layer-ground,
.flight .layer-data, .flight .drone__shadow { display:none; }
.flight__gl { transition:opacity .5s ease; }
.flight__landscape { background-image:linear-gradient(rgba(8,18,28,.28),rgba(8,18,28,.18)),url('../img/landscape.webp'); opacity:1; }
.flight__landscape::after { background-image:url('../img/cinema-clouds.webp'); background-position:center; background-size:cover; opacity:clamp(0,calc((var(--p,0) - .4) * 2.8),1); }
.flight .panel-box { background:rgba(12,25,29,.73); border:1px solid rgba(255,255,255,.14); box-shadow:0 12px 48px rgba(0,0,0,.12); backdrop-filter:blur(12px); }
.flight__panel--intro::before { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(9,18,25,.4),rgba(9,18,25,.15) 62%,transparent); z-index:-1; pointer-events:none; }
.flight.gl-on .flight__panel--intro::before { inset:0; background:linear-gradient(180deg,rgba(9,18,25,.28),rgba(9,18,25,.18) 62%,transparent); }
.flight .drone { width:clamp(240px,30vw,580px); }
@media (max-width:720px) { .flight .drone { width:70vw; } }
@media (prefers-reduced-motion:reduce) { .flight__gl { transition:none; } }
