/* ==========================================================================
   Eliathos — web
   Paleta: lesní zelená (podklad), zlatá z loga, olivová a kůra (hnědá).
   Typografie: Bricolage Grotesque (nadpisy), Figtree (text), JetBrains Mono (popisky).
   ========================================================================== */

/* ---------- Fonty (lokálně, bez načítání z Google) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 300 700; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jbmono-latin-ext.woff2") format("woff2");
  font-weight: 400 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jbmono-latin.woff2") format("woff2");
  font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  --forest-975: #070d0a;
  --forest-950: #0b120e;
  --forest-900: #0f1813;
  --forest-850: #131e18;
  --forest-800: #18261e;
  --forest-700: #223428;

  --gold-300: #e6d4a2;
  --gold-400: #d4bd7f;
  --gold-500: #bda360;   /* barva loga */
  --gold-700: #7e6a39;

  --olive-400: #a7ab6c;
  --olive-500: #8a8f55;
  --olive-700: #4d5230;

  --bark-400: #a07e57;
  --bark-600: #6b5236;

  --cream: #ede8da;

  --bg: var(--forest-950);
  --bg-raised: var(--forest-900);
  --surface: var(--forest-850);
  --text: var(--cream);
  --text-muted: #a9ad9b;
  --text-dim: #8a917f;
  --line: rgba(201, 184, 130, 0.13);
  --line-strong: rgba(201, 184, 130, 0.28);
  --line-field: #7d775c;   /* okraj ovládacích prvků: kontrast 3:1 */
  --accent: var(--gold-500);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1680px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;

  /* pozice myši (nastavuje JS), výchozí střed */
  --mx: 50vw;
  --my: 40vh;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-500); color: var(--forest-975); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 4px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold-500); color: var(--forest-975);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Atmosféra: zrno + světlo za myší ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.spotlight {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(189, 163, 96, 0.10), transparent 62%),
    radial-gradient(1100px circle at var(--mx) var(--my), rgba(138, 143, 85, 0.07), transparent 70%);
  transition: opacity .6s;
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(212, 189, 127, 0.55);
  border-radius: 50%;
  opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background-color .35s, border-color .35s;
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background-color: rgba(189, 163, 96, 0.10);
  border-color: rgba(212, 189, 127, 0.8);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 18, 14, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px; color: var(--text-muted);
  border-radius: 999px;
  transition: color .25s, background-color .25s;
}
.nav a:hover { color: var(--text); background: rgba(237, 232, 218, 0.05); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
}
.lang a, .lang span { padding: 5px 10px; border-radius: 999px; color: var(--text-dim); transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--text); }
.lang [aria-current="true"] { background: rgba(189, 163, 96, 0.16); color: var(--gold-300); }

/* ---------- Mobilní menu ---------- */
.menu-btn {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-field); background: transparent; cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.is-menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.is-menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.nav-mobile-only { display: none; }
body.menu-lock { overflow: hidden; }

/* ---------- Tlačítka ---------- */
.btn {
  --b-bg: var(--gold-500);
  --b-fg: var(--forest-975);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 16px; letter-spacing: .005em;
  border: 1px solid transparent;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease);
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, .35), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { box-shadow: 0 10px 40px -10px rgba(189, 163, 96, .55); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  --b-bg: transparent; --b-fg: var(--text);
  border-color: var(--line-field);
}
.btn--ghost::before { background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(189, 163, 96, .22), transparent 70%); }
.btn--ghost:hover { border-color: var(--gold-500); box-shadow: none; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
[data-magnetic] { will-change: transform; transition: transform .5s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 2vh);
  overflow: hidden;
}
.hero::after { /* jemný přechod do další sekce */
  content: ""; position: absolute; inset: auto 0 0; height: 180px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 4vw;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold-400);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--olive-400);
  box-shadow: 0 0 0 0 rgba(167, 171, 108, .6);
  animation: pulse 2.6s 4;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(167, 171, 108, .55); }
  70% { box-shadow: 0 0 0 10px rgba(167, 171, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(167, 171, 108, 0); }
}
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(44px, min(6vw, 11.5vh), 120px);
  line-height: .94;
  letter-spacing: -0.035em;
  margin: 0;
}
.display .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.06em; }
.display .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.display .line:nth-child(2) > span { animation-delay: .1s; }
.display .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: translateY(0); } }
.gold {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--olive-400) 100%);
  -webkit-background-clip: text; background-clip: text;
  /* Přechod se kreslí jen uvnitř rámečku textu. Záporné prostrkání posune tvar
     posledního písmene (např. „o“) mimo rámeček a přechod ho vpravo ořízne.
     Rezerva do stran a dolů to řeší, záporný okraj ji vyrovná v rozložení. */
  padding: 0 .08em .12em;
  margin: 0 -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-lead {
  max-width: 600px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-lead strong { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: .45s; } .d2 { animation-delay: .6s; } .d3 { animation-delay: .75s; } .d4 { animation-delay: .9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  max-height: 70vh;
  justify-self: center;
  width: 100%;
}
.hero-visual .layer { position: absolute; inset: 0; }
.halo {
  position: absolute; inset: 8% 4%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(189, 163, 96, .20), transparent 72%),
    radial-gradient(closest-side at 60% 70%, rgba(138, 143, 85, .18), transparent 80%);
  filter: blur(10px);
}
.branch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.branch .b-stem { fill: none; stroke: var(--gold-500); stroke-width: 2.6; stroke-linecap: round; }
.branch .b-twig { fill: none; stroke: var(--gold-500); stroke-width: 1.5; stroke-linecap: round; opacity: .9; }
.orbit {
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.orbit.o2 { inset: 12%; border-style: dashed; border-color: rgba(201, 184, 130, .10); animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.olive {
  position: absolute;
  width: var(--s, 14px); height: calc(var(--s, 14px) * 1.4);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--olive-400), var(--olive-700) 70%);
  box-shadow: inset -2px -3px 6px rgba(0, 0, 0, .35);
  transform: rotate(var(--r, -20deg));
  opacity: .85;
}
.olive.gold-o { background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--gold-700) 75%); }
.olive.bark-o { background: radial-gradient(circle at 35% 30%, var(--bark-400), var(--bark-600) 75%); }
.leaf {
  position: absolute;
  width: var(--s, 46px); height: calc(var(--s, 46px) * .42);
  border: 1.5px solid rgba(189, 163, 96, .55);
  border-radius: 100% 0;
  transform: rotate(var(--r, 30deg));
}
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings .ring { stroke: rgba(201, 184, 130, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rings .ring--dash {
  stroke: rgba(201, 184, 130, .22); stroke-dasharray: 2 8;
  transform-box: view-box; transform-origin: 300px 370px;
  animation: spin 140s linear infinite;
}
.rings .chord { stroke: rgba(201, 184, 130, .09); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.rings .flow {
  stroke: url(#lg-flow); stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 150 1640.7;
  animation: flow 18s linear infinite;
}
.rings .flow--inner { stroke-dasharray: 80 1208.1; opacity: .7; animation: flow-inner 26s linear infinite reverse; }
@keyframes flow { to { stroke-dashoffset: -1790.7; } }
@keyframes flow-inner { to { stroke-dashoffset: -1288.1; } }
.rings .node { fill: var(--gold-500); stroke: none; }
.tag-float {
  transform: translate(-50%, -50%);
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(19, 30, 24, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text);
  white-space: nowrap;
}
.tag-float i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

.hero-foot {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 24px;
  align-items: start;
  padding: 22px 0 26px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: -0.03em;
}
.stat-label { color: var(--text-dim); margin-top: 10px; }
.scroll-hint { align-self: end; display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); }
.scroll-hint .bar { width: 1px; height: 38px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-hint .bar::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold-400); animation: drip 2s var(--ease) 5; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.marquee-item {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -0.01em; line-height: 1.2;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-item.outline { color: rgba(189, 163, 96, .85); }
.marquee-sep { width: 6px; height: 8px; border-radius: 50%; background: var(--olive-500); opacity: .7; transform: rotate(-25deg); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekce ---------- */
.section { padding: clamp(96px, 13vw, 200px) 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 4vw; align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.section-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  color: var(--gold-400);
  font-size: 16px; font-weight: 500; letter-spacing: .01em;
}
.section-kicker::before {
  content: ""; flex-shrink: 0;
  width: 10px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--gold-700) 78%);
  transform: rotate(-28deg);
}
.h2, .contact-title, .card h3, .doc-hero h1 { text-wrap: balance; }
p, .manifesto-text { text-wrap: pretty; }
.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(38px, 5.2vw, 92px);
  line-height: .98; letter-spacing: -0.035em;
  margin: 0;
}
.section-intro { color: var(--text-muted); font-size: clamp(17px, 1.3vw, 20px); max-width: 620px; margin: 0; }

/* Služby */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  --x: 50%; --y: 50%;
  position: relative;
  padding: clamp(28px, 3vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 38, 30, .65), rgba(15, 24, 19, .65));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .6s var(--ease), border-color .4s;
  min-height: 380px;
  display: flex; flex-direction: column;
}
.card::before { /* světlo pod kurzorem */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(480px circle at var(--x) var(--y), rgba(189, 163, 96, .13), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.card::after { /* zlatý okraj pod kurzorem */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--x) var(--y), rgba(212, 189, 127, .8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card-top { display: flex; align-items: flex-start; padding-bottom: 48px; }
.card-num { color: var(--text-dim); }
.card-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-400);
  transition: transform .6s var(--ease), background-color .4s, color .4s;
}
.card:hover .card-icon { transform: rotate(-8deg) scale(1.06); background: var(--gold-500); color: var(--forest-975); }
.card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.card p { color: var(--text-muted); margin: 0; max-width: 520px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 28px 0 0; list-style: none; }
.tags li {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-muted);
}

/* Manifest */
.manifesto { padding: clamp(80px, 10vw, 160px) 0; }
.manifesto-text {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: "opsz" 96;
  font-size: clamp(32px, 4.6vw, 84px);
  line-height: 1.08; letter-spacing: -0.03em;
  margin: 0; max-width: 1400px;
}
.manifesto-text .w { opacity: .4; transition: opacity .25s linear, color .25s; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-text .w.hl.on { color: var(--gold-400); }
.manifesto-sign { margin-top: 48px; display: flex; align-items: center; gap: 16px; color: var(--text-dim); }
.manifesto-sign img { height: 44px; width: auto; }

/* Přístup */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step {
  position: relative;
  padding: 36px 28px 40px 0;
  border-right: 1px solid var(--line);
}
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step::before { /* postupující linka */
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--gold-500);
  transition: width 1.2s var(--ease);
}
.step.is-in::before { width: 100%; }
.step:nth-child(2)::before { transition-delay: .15s; }
.step:nth-child(3)::before { transition-delay: .3s; }
.step:nth-child(4)::before { transition-delay: .45s; }
.step-icon { display: block; width: 52px; height: 52px; color: var(--gold-400); margin-bottom: 56px; }
.step-icon svg { width: 100%; height: 100%; overflow: visible; }
.step-icon .fill { fill: var(--gold-500); stroke: none; }
.step-icon path, .step-icon ellipse:not(.fill) { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.step.is-in .step-icon path, .step.is-in .step-icon ellipse:not(.fill) { stroke-dashoffset: 0; }
.step-icon .fill { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity .6s .9s, transform .8s var(--ease) .9s; }
.step.is-in .step-icon .fill { opacity: 1; transform: none; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.2vw, 36px); letter-spacing: -0.025em; margin: 0 0 12px; line-height: 1.05; }
.step p { margin: 0; color: var(--text-muted); font-size: 16px; }

/* Klienti */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.client {
  --x: 50%; --y: 50%;
  position: relative;
  height: clamp(180px, 16vw, 260px);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
  background: rgba(15, 24, 19, .5);
}
.client::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(300px circle at var(--x) var(--y), rgba(189, 163, 96, .14), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.client:hover::before { opacity: 1; }
.client-logo {
  width: var(--w, 60%); aspect-ratio: var(--ar, 3);
  background-color: var(--text-muted);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: background-color .4s, transform .6s var(--ease);
}
.client:hover .client-logo { background-color: var(--gold-400); transform: scale(1.04); }
.client-name { position: absolute; left: 22px; bottom: 18px; color: var(--text-dim); }

/* Tým */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4vw; align-items: start; }
.team > div:last-child { padding-top: 56px; }   /* nadpis zarovnaný s horní hranou 17+ */
#proc-my, #why-us { padding-bottom: clamp(48px, 6vw, 96px); }
.big-num {
  font-family: var(--font-display); font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(140px, 20vw, 360px);
  line-height: .8; letter-spacing: -0.035em;
  margin: 0;
}
.big-num sup { font-size: .35em; vertical-align: top; position: relative; top: .25em; margin-left: .04em; color: var(--gold-500); -webkit-text-fill-color: var(--gold-500); }
.big-num-label { margin-top: 26px; color: var(--text-muted); max-width: 360px; }
.roles { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.role {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.role { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.role.is-in { opacity: 1; transform: none; }
.role:nth-child(2) { transition-delay: .12s; }
.role:nth-child(3) { transition-delay: .24s; }
.no-js .role { opacity: 1; transform: none; }
.no-js .role-icon :is(path, circle, ellipse) { stroke-dashoffset: 0; }
.no-js .role-icon .fill { opacity: 1; transform: none; }
.role-icon { display: block; width: 60px; height: 60px; color: var(--gold-400); margin-top: calc(clamp(24px, 2vw, 32px) * .58 - 30px); }
.role-icon svg { width: 100%; height: 100%; overflow: visible; }
.role-icon .fill { fill: var(--gold-500); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity .6s, transform .8s var(--ease); }
.role-icon :is(path, circle:not(.fill), ellipse:not(.fill)) { stroke-dasharray: 130; stroke-dashoffset: 130; transition: stroke-dashoffset 1.8s var(--ease); }
.is-in .role-icon :is(path, circle:not(.fill), ellipse:not(.fill)) { stroke-dashoffset: 0; }
.is-in .role-icon .fill { opacity: 1; transform: none; }
.role:nth-child(1) .role-icon * { transition-delay: .3s; }
.role:nth-child(2) .role-icon * { transition-delay: .55s; }
.role:nth-child(3) .role-icon * { transition-delay: .8s; }
.role:nth-child(1) .role-icon .fill { transition-delay: 1.3s; }
.role:nth-child(2) .role-icon .fill { transition-delay: 1.55s; }
.role h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2vw, 32px); letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.1; }
.role p { margin: 0; color: var(--text-muted); font-size: 16px; }

/* Kontakt */
.contact {
  position: relative; z-index: 2;
  padding: clamp(110px, 13vw, 200px) 0 clamp(90px, 10vw, 160px);
}
.contact::before {
  content: ""; position: absolute; left: 0; top: 40%; width: 900px; height: 700px; max-width: 100%;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(189, 163, 96, .13), transparent 70%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 140px); align-items: start;
}
.contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.contact-title {
  font-family: var(--font-display); font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(46px, 6vw, 104px); line-height: .95; letter-spacing: -0.04em;
  margin: 0;
}
.kern { letter-spacing: .02em; }
.contact-lead { margin: 32px 0 0; max-width: 440px; color: var(--text-muted); font-size: clamp(17px, 1.3vw, 19px); }
.contact-lead a { color: var(--gold-300); border-bottom: 1px solid rgba(212, 189, 127, .35); transition: border-color .2s; }
.contact-lead a:hover { border-color: var(--gold-300); }

/* ---------- Kontaktní formulář: otázky pod sebou, jen podtržená pole ---------- */
.contact-form { display: grid; gap: 8px; padding-top: 8px; position: relative; }
/* potvrzení odeslání: formulář se rozmaže, přes něj se vykreslí check */
.contact-form > :not(.form-success) { transition: filter .7s var(--ease), opacity .7s var(--ease); }
.contact-form.is-sent > :not(.form-success) { filter: blur(10px); opacity: .25; pointer-events: none; }
.contact-form.is-sent.is-leaving > :not(.form-success) { filter: none; opacity: 1; }
.form-success {
  position: absolute; inset: -16px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.form-success::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(360px, 100%); aspect-ratio: 1;
  transform: translate(-50%, -58%);
  background: radial-gradient(closest-side, rgba(189, 163, 96, .16), transparent 70%);
  pointer-events: none;
}
.form-success:focus { outline: none; }
.contact-form.is-sent .form-success { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.contact-form.is-sent.is-leaving .form-success { opacity: 0; transition: opacity .6s var(--ease); }
.success-check { position: relative; width: 96px; height: 96px; margin-bottom: 22px; overflow: visible; }
.success-check circle {
  stroke: var(--gold-500); stroke-width: 2;
  stroke-dasharray: 277; stroke-dashoffset: 277;
  transform: rotate(-90deg); transform-origin: 48px 48px;
}
.success-check path {
  stroke: var(--gold-300); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 64; stroke-dashoffset: 64;
}
.is-sent .success-check circle { animation: draw-stroke 1s var(--ease) .15s forwards; }
.is-sent .success-check path { animation: draw-stroke .6s var(--ease) .85s forwards; }
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }
.success-title, .success-text { position: relative; opacity: 0; transform: translateY(10px); }
.is-sent .success-title { animation: success-in .7s var(--ease) 1s forwards; }
.is-sent .success-text { animation: success-in .7s var(--ease) 1.15s forwards; }
@keyframes success-in { to { opacity: 1; transform: none; } }
.success-title {
  margin: 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 3.2vw, 48px);
  letter-spacing: -0.03em; line-height: 1; color: var(--text);
}
.success-text { margin: 12px 0 0; max-width: 360px; text-wrap: balance; color: var(--text-muted); font-size: 17px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; padding: 22px 0 0; }
.field label, .field .field-label {
  display: block; margin-bottom: 6px;
  color: var(--gold-400); font-size: 15px; font-weight: 500;
}
.input, .select-btn {
  width: 100%;
  padding: 10px 0 16px;
  border: 0; border-bottom: 1px solid var(--line-field); border-radius: 0;
  background: transparent; color: var(--text);
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.02em; line-height: 1.2;
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.input::placeholder { color: rgba(237, 232, 218, .58); }
.input:focus, .select-btn:focus { outline: none; }
.input:focus-visible, .select-btn:focus-visible { box-shadow: inset 0 -2px 0 var(--gold-400); }
/* automatické vyplňování prohlížeče: pole zůstane průhledné, obarví se jen text.
   Pozadí prohlížeče se ořízne do tvaru písmen (pod krémovou výplní není vidět),
   dlouhý přechod ho navíc v Chrome/Edge vůbec nenechá naběhnout. */
.input:is(:-webkit-autofill, :autofill),
.input:is(:-webkit-autofill, :autofill):hover,
.input:is(:-webkit-autofill, :autofill):focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-color 600000s 0s, color 600000s 0s;
}
.field::after { /* zlatá linka, která se při fokusu protáhne */
  content: ""; position: absolute; left: 0; right: 0; height: 1px; bottom: var(--line-y, 0);
  background: linear-gradient(90deg, var(--gold-300), var(--olive-400));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.field:focus-within::after { transform: scaleX(1); }
.field.has-select::after { display: none; }
.field.is-invalid .input, .field.is-invalid .select-btn { border-bottom-color: #d98a6a; }
.field.is-invalid label, .field.is-invalid .field-label { color: #e59c7e; }

.textarea {
  display: block; resize: none; overflow: hidden;
  min-height: 2.4em;
  font-family: var(--font-body); font-size: clamp(18px, 1.4vw, 21px); letter-spacing: 0; line-height: 1.5;
}
.field-opt { color: var(--text-dim); font-weight: 400; }
.field-err { color: #e59c7e; font-weight: 500; }
.field--message.is-prompted label { animation: prompt 1s var(--ease); }
.field--message.is-prompted::after { transform: scaleX(1); }
@keyframes prompt { 0% { transform: translateY(6px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.select-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; cursor: pointer; }
.select-btn:focus-visible { border-bottom-color: var(--gold-500); }
.select-value { color: rgba(237, 232, 218, .58); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select.has-value .select-value { color: var(--text); }
.select-chev {
  flex-shrink: 0; width: 40px; height: 40px; padding: 11px; border-radius: 50%;
  border: 1px solid var(--line-field); color: var(--gold-400);
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.select-btn:hover .select-chev { border-color: var(--gold-500); }
.select.is-open .select-chev { transform: rotate(180deg); background: var(--gold-500); color: var(--forest-975); border-color: var(--gold-500); }
/* seznam se rozbalí přímo v toku stránky, nic ho nepřekryje */
.select-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s .55s; }
.select.is-open .select-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease); }
.select-panel > * { min-height: 0; overflow: hidden; }
.select-list { margin: 0; padding: 0; list-style: none; }
.select-list [role="option"] {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted); font-size: 17px; cursor: pointer;
  opacity: 0; transform: translateY(-6px);
  transition: color .2s, padding .4s var(--ease), opacity .35s, transform .45s var(--ease);
}
.select.is-open [role="option"] { opacity: 1; transform: none; }
.select.is-open [role="option"]:nth-child(2) { transition-delay: 0s, 0s, .04s, .04s; }
.select.is-open [role="option"]:nth-child(3) { transition-delay: 0s, 0s, .08s, .08s; }
.select.is-open [role="option"]:nth-child(4) { transition-delay: 0s, 0s, .12s, .12s; }
.select.is-open [role="option"]:nth-child(5) { transition-delay: 0s, 0s, .16s, .16s; }
.select-list [role="option"]::before {
  content: ""; flex-shrink: 0; width: 9px; height: 12px; border-radius: 50%;
  border: 1px solid var(--gold-700); transform: rotate(-28deg);
  transition: background-color .25s, border-color .25s;
}
.select-list [role="option"]:hover, .select.kbd [role="option"].is-active { color: var(--text); padding-left: 12px; }
.select-list [role="option"]:hover::before, .select.kbd [role="option"].is-active::before { border-color: var(--gold-500); }
.select-list [role="option"][aria-selected="true"] { color: var(--gold-300); }
.select-list [role="option"][aria-selected="true"]::before { background: var(--gold-500); border-color: var(--gold-500); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.contact-form .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.form-status { font-size: 15px; color: var(--text-dim); }
.form-note { margin: 18px 0 0; max-width: 520px; font-size: 14px; color: var(--text-dim); }
.form-note a, .footer-bottom a { color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--line-field); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.form-note a:hover, .footer-bottom a:hover { color: var(--gold-300); text-decoration-color: var(--gold-500); }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: var(--olive-400); }
.form-status[data-state="error"] { color: #e59c7e; }

/* ---------- Patička ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--forest-975); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--text-dim); font-size: 15px; margin: 0; max-width: 340px; }
.footer-col h2 { margin: 0 0 18px; color: var(--gold-400); font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: var(--text-muted); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-app { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--text) !important; }
.footer-app .app-dot { width: 22px; height: 22px; border-radius: 7px; background: #b3292b; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--text-dim);
}

/* ---------- Reveal při scrollu ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Právní / podpora stránky ---------- */
.doc-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.doc-hero .app-badge, .doc-meta, .footer-bottom { text-transform: none; letter-spacing: .02em; }
.doc-hero .app-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--text-muted); }
.doc-hero .app-badge .app-dot--img { background: none; border-radius: 10px; box-shadow: 0 0 0 1px rgba(189, 163, 96, .4); }
.nw { white-space: nowrap; }
.doc-hero .app-badge .app-dot { width: 34px; height: 34px; border-radius: 10px; background: #b3292b; color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.doc-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(42px, 6vw, 104px); letter-spacing: -0.035em; line-height: .96; margin: 0; }
.doc-hero p { color: var(--text-muted); max-width: 680px; margin: 24px 0 0; font-size: 19px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; color: var(--text-dim); }
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(32px, 6vw, 120px); padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(80px, 10vw, 160px); }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.doc-toc h2 { margin: 0 0 16px; color: var(--gold-400); font-weight: 500; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.doc-toc a { display: block; padding: 6px 0; color: var(--text-dim); font-size: 15px; transition: color .2s; }
.doc-toc a:hover { color: var(--text); }
.doc { font-size: 17px; }
.doc h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.2vw, 34px); letter-spacing: -0.02em; line-height: 1.15; margin: 64px 0 18px; scroll-margin-top: calc(var(--header-h) + 24px); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--text-muted); }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--gold-300); text-decoration: underline; text-decoration-color: rgba(212, 189, 127, .4); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--gold-300); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--gold-500); }
.doc .box { border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; background: rgba(19, 30, 24, .6); margin: 24px 0; }
.doc .box p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); }
.doc th { color: var(--text); font-weight: 600; font-size: 14px; }
.doc .table-scroll { overflow-x: auto; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--gold-400); font-size: 22px; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; }
.faq details > div p { margin: 0 0 10px; }
.support-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 56px; }
.support-cards .card { min-height: 0; }
.support-cards .card h2 { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.support-cards .card a.big { font-family: var(--font-display); font-size: 22px; color: var(--gold-300); text-decoration: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 900px) {
  .team { grid-template-columns: 1fr; row-gap: clamp(56px, 9vw, 88px); }
  .team > div:last-child { padding-top: 0; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49; overflow-y: auto;
    display: flex; flex-direction: column; gap: 4px;
    margin: 0; padding: 20px var(--gutter) 32px;
    background: rgba(11, 18, 14, .97);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
  }
  .is-menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease); }
  .is-menu-open.site-header { background: rgba(11, 18, 14, .97); border-bottom-color: var(--line); }
  .nav a {
    padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; color: var(--text);
  }
  .nav a:hover { background: none; color: var(--gold-300); }
  .nav-mobile-only { display: block; }
  .nav a.nav-mail { margin-top: 20px; border-bottom: 0; font-family: var(--font-body); font-size: 18px; letter-spacing: 0; color: var(--gold-300); }
}
@media (max-width: 1100px) and (orientation: portrait) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 64px); }
  .hero-grid { padding-bottom: 48px; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { position: absolute; right: -18%; top: 8%; width: 70%; max-width: 620px; opacity: .3; z-index: -1; pointer-events: none; }
  .hero-visual .tag-float { display: none; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .brand img { height: 28px; }
  .header-actions .btn { display: none; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-visual { right: -38%; top: 14%; width: 110%; opacity: .18; }
  .hero-foot { grid-template-columns: 1fr; gap: 0; padding: 8px 0 28px; }
  .hero-foot .scroll-hint { display: none; }
  .hero-foot > div {
    display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: baseline; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .hero-foot > div:last-of-type { border-bottom: 0; }
  .stat-num { font-size: 24px; }
  .stat-label { margin-top: 0; font-size: 11px; letter-spacing: .05em; }
  .services { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-top { padding-bottom: 36px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 32px; border-right: 0; }
  .step:nth-child(n+2) { border-top: 1px solid var(--line); }
  .step-icon { margin-bottom: 28px; width: 44px; height: 44px; }
  .clients { grid-template-columns: 1fr; }
  .role { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .role-icon { width: 40px; height: 40px; margin-top: -2px; }
  .role-icon svg { stroke-width: 2; }
  .contact-mail { padding: 10px 10px 10px 22px; gap: 12px; font-size: clamp(18px, 5.4vw, 26px); }
  .footer-grid { grid-template-columns: 1fr; }
  .support-cards { grid-template-columns: 1fr; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { padding: 4px 0; border: 0; }
  .doc tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .doc td:first-child { color: var(--text); font-weight: 600; }
  .doc td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
}

/* ---------- Omezení pohybu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .display .line > span, .fade-up { transform: none; opacity: 1; }
  .emblem .draw { stroke-dashoffset: 0; }
  .emblem .tree, .emblem .fruit { opacity: 1; }
  [data-reveal], .role { opacity: 1; transform: none; }
  .manifesto-text .w { opacity: 1; }
  .role-icon :is(path, circle, ellipse) { stroke-dashoffset: 0 !important; }
  .role-icon .fill { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .spotlight, .cursor { display: none; }
}
