/* ARB craft — vzhľad podľa návrhu „ARB craft — webová stránka" a dizajnového systému Drevo.
   Písma (Fraunces, Source Sans 3, IBM Plex Mono — SIL OFL 1.1, licencia v /fonts/OFL.txt)
   sú na vlastnom serveri: žiadne Google Fonts, žiadny prenos IP adries tretej strane. */

/* ── písma ────────────────────────────────────────────────── */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ── tokeny Drevo (svetlá téma) ───────────────────────────── */
:root {
  --surface-100: #f7f2e9; --surface-200: #efe7d9; --surface-raised: #fffcf7;
  --line: #d9ccb6; --line-strong: #8a7861; --line-dash: #a8977f;
  --ink: #221a12; --ink-muted: #64533f; --ink-faint: #8a7861;
  --oak: #8a4b14; --oak-strong: #6e3b0e; --on-oak: #fffcf7;
  --amber: #e3a640; --on-amber: #221a12; --amber-deep: #7a4f00;
  --spruce: #1b5c4a; --spruce-strong: #134738; --on-spruce: #fffcf7;
  --rust: #a3381a; --on-rust: #fffcf7;
  --bark: #2b2017; --bark-line: #4a3a2c; --on-bark: #efe5d6; --on-bark-muted: #b9a991;
  --link: var(--oak); --focus: var(--spruce); --success: var(--spruce); --warning: var(--amber-deep); --danger: var(--rust);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(34, 26, 18, 0.10); --shadow-md: 0 12px 32px -12px rgba(34, 26, 18, 0.28);
  --stroke-hairline: 1px; --stroke-icon: 1.5px; --stroke-rule: 2px;
  --content-max: 1200px; --measure: 68ch; --header-height: 64px;
  --dash: repeating-linear-gradient(to right, var(--line-dash) 0 8px, transparent 8px 14px);
}

/* ── základ ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font: 400 17px/26px var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--oak-strong); }
p { margin: 0; }
.muted { color: var(--ink-muted); }
.arb-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip:focus { left: 16px; padding: 10px 16px; background: var(--bark); color: var(--on-bark); border-radius: var(--radius-sm); }
.ico { flex: none; fill: none; stroke: currentColor; stroke-width: var(--stroke-icon); stroke-linecap: round; stroke-linejoin: round; }

/* ── komponenty Drevo (výber z components/bundle.css) ─────── */
.dr-link { color: var(--link); text-decoration: underline; text-decoration-thickness: var(--stroke-hairline); text-underline-offset: .15em; transition: color 150ms ease-out; }
.dr-link:hover { color: var(--oak-strong); }
.dr-link:focus-visible { outline: none; border-radius: var(--radius-sm); box-shadow: 0 0 0 2px var(--surface-100), 0 0 0 4px var(--focus); }

.dr-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-5); border: var(--stroke-hairline) solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out; }
.dr-btn .ico { width: 20px; height: 20px; transition: transform 200ms ease-out; }
.dr-btn--primary { background: var(--oak); color: var(--on-oak); border-color: var(--oak); }
.dr-btn--primary:hover { background: var(--oak-strong); border-color: var(--oak-strong); color: var(--on-oak); }
.dr-btn--primary:hover .ico { transform: translateX(3px); }
.dr-btn--secondary { color: var(--oak); border-color: var(--oak); }
.dr-btn--secondary:hover { background: var(--surface-200); color: var(--oak-strong); border-color: var(--oak-strong); }
.dr-btn--lg { min-height: 52px; padding: 0 var(--space-6); font-size: 17px; }
.dr-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface-100), 0 0 0 4px var(--focus); }
.dr-btn[disabled] { opacity: .45; cursor: progress; }

.dr-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.dr-field__label { font: 600 16px/22px var(--font-sans); color: var(--ink); }
.dr-field__label small { font-size: inherit; font-weight: 400; color: var(--ink-muted); }
.dr-input { box-sizing: border-box; width: 100%; height: 44px; padding: 0 var(--space-3); border: var(--stroke-hairline) solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font: 400 17px/1 var(--font-sans); transition: border-color 150ms ease-out, box-shadow 150ms ease-out; }
.dr-input::placeholder { color: var(--ink-faint); }
.dr-input:hover { border-color: var(--ink-muted); }
.dr-input:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--surface-100), 0 0 0 4px var(--focus); }
.dr-input[aria-invalid="true"] { border-color: var(--rust); }
.dr-field__hint { margin: 0; font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.field__error { color: var(--rust); }

.dr-notice { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); border: var(--stroke-hairline) solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font: 400 15px/22px var(--font-sans); }
.dr-notice__icon { width: 20px; height: 20px; margin-top: 1px; color: var(--ink-muted); }
.dr-notice--success { border-color: var(--success); }
.dr-notice--success .dr-notice__icon { color: var(--success); }
.dr-notice--danger { border-color: var(--danger); }
.dr-notice--danger .dr-notice__icon { color: var(--danger); }

.dr-card { display: flex; flex-direction: column; background: var(--surface-raised); border: var(--stroke-hairline) solid var(--line); border-radius: var(--radius-md); overflow: hidden; color: var(--ink); transition: box-shadow 150ms ease-out, border-color 150ms ease-out; }
.dr-card:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.dr-card__media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; background: var(--surface-200); }
.dr-card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); flex: 1; }
.dr-card__kicker { font: 600 13px/18px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.dr-card__title { margin: 0; font: 600 20px/26px var(--font-sans); }

.dr-spec { width: 100%; border-collapse: collapse; font: 400 15px/22px var(--font-sans); color: var(--ink); background: var(--surface-raised); }
.dr-spec th, .dr-spec td { padding: var(--space-2) var(--space-3); border-bottom: var(--stroke-hairline) solid var(--line); text-align: left; vertical-align: top; }
.dr-spec thead th { font: 600 13px/18px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); border-bottom: var(--stroke-hairline) solid var(--line-strong); }
.dr-spec th[scope="row"] { font-weight: 600; width: 40%; }
.dr-spec tbody tr:hover { background: var(--surface-200); }

/* ── hlavička ─────────────────────────────────────────────── */
.dr-header { display: flex; align-items: center; gap: var(--space-6); height: var(--header-height); background: var(--surface-100); border-bottom: var(--stroke-hairline) solid var(--line); color: var(--ink); }
.dr-header__nav { display: flex; gap: var(--space-1); }
.dr-header__link { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink-muted); text-decoration: none; font: 600 15px/1 var(--font-sans); transition: color 150ms ease-out, background-color 150ms ease-out; }
.dr-header__link:hover { color: var(--ink); background: var(--surface-200); }
.dr-header__link:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface-100), 0 0 0 4px var(--focus); }

.arb-header.dr-header { position: sticky; top: 0; z-index: 20; gap: 24px; padding: 0 max(24px, calc((100% - 1200px) / 2)); }
.arb-brandrow { display: flex; align-items: center; }
.arb-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.arb-brand:hover { color: var(--ink); }
.arb-brand:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface-100), 0 0 0 4px var(--focus); }
.arb-brand__mark { fill: none; stroke: currentColor; stroke-width: 1.5; }
.arb-brand__pith { fill: currentColor; stroke: none; }
.arb-brand__word { display: inline-flex; align-items: baseline; gap: 8px; }
.arb-brand__arb { font: 600 24px/1 var(--font-display); letter-spacing: -.01em; }
.arb-brand__craft { font: 600 13px/1 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }
.arb-brand--bark, .arb-brand--bark:hover { color: var(--on-bark); }
.arb-brand--bark .arb-brand__craft { color: var(--on-bark-muted); }
.arb-brand--bark:focus-visible { box-shadow: 0 0 0 2px var(--bark), 0 0 0 4px var(--amber); }
.arb-nav.dr-header__nav { margin-left: auto; gap: 4px; }
.arb-nav .dr-header__link { gap: 8px; height: 40px; }
.arb-lang {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 var(--space-2);
  border: var(--stroke-hairline) solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink-muted); font: 500 13px/1 var(--font-mono); letter-spacing: .08em; text-decoration: none;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}
.arb-lang:hover { color: var(--oak); border-color: var(--oak); }
.arb-lang:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface-100), 0 0 0 4px var(--focus); }

/* ── úvod: logo a majitelia vľavo, tri oblasti vpravo ─────── */
.arb-split {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(640px, calc(100vh - 64px), 900px); border-bottom: 1px solid var(--line);
}
.arb-split > * { position: relative; z-index: 1; }
.arb-split > .arb-forest { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; max-height: 640px; opacity: .6; pointer-events: none; }
.arb-hero__left { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 48px 32px; }

.arb-logo { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1; container-type: inline-size; }
.arb-logo__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arb-logo__svg--grain { opacity: .2; }
.arb-logo__title {
  position: absolute; left: 49.06%; top: 49.53%; transform: translate(-50%, -50%); margin: 0;
  display: flex; flex-direction: column; align-items: stretch; gap: 2.63cqw; font-weight: 400;
}
.arb-logo__arb {
  display: block; text-align: center; font-family: var(--font-display); font-optical-sizing: auto; font-weight: 600;
  font-size: 21.56cqw; line-height: .9; letter-spacing: -.01em; color: var(--ink);
}
.arb-logo__subrow { display: flex; align-items: center; gap: 3cqw; }
.arb-logo__hair { flex: 1; height: 1px; background: var(--line-strong); }
.arb-logo__craft {
  font-weight: 600; font-size: max(12px, 3.28cqw); line-height: 1; letter-spacing: .48em; padding-left: .48em;
  text-transform: uppercase; color: var(--ink-muted); text-shadow: 0 0 6px var(--surface-100), 0 0 2px var(--surface-100);
}

.arb-owners { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.arb-owner { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.arb-owner__img { display: block; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.arb-owner__img--empty { display: flex; align-items: center; justify-content: center; background: var(--surface-200); color: var(--ink-muted); }
.arb-owner__name { display: flex; flex-direction: column; align-items: center; font: 600 20px/26px var(--font-display); text-align: center; }
.arb-owner__role { font: 400 15px/22px var(--font-mono); color: var(--ink-muted); }

.arb-panels { position: relative; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.arb-panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; align-items: center;
  padding: 32px 48px; background: transparent; color: var(--ink); text-decoration: none; transition: background-color 200ms ease-out;
}
.arb-panel + .arb-panel::before { content: ""; position: absolute; z-index: 2; left: 48px; right: 48px; top: 0; height: 1px; background: var(--dash); pointer-events: none; }
.arb-panel:hover { color: var(--ink); }
.arb-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.arb-panel:hover .arb-panel__title { color: var(--oak); }
.arb-panel > span { position: relative; z-index: 1; }
.arb-panel__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.arb-panel__num { font: 400 13px/18px var(--font-mono); color: var(--ink-muted); }
.arb-panel__title { font: 600 40px/44px var(--font-display); letter-spacing: -.01em; transition: color 150ms ease-out; }
.arb-panel__desc { max-width: 36ch; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.arb-panel__more { display: inline-flex; align-items: center; gap: 8px; padding-top: 4px; font-weight: 600; font-size: 15px; line-height: 22px; color: var(--oak); }
.arb-panel__more .ico { transition: transform 200ms ease-out; }
.arb-panel:hover .arb-panel__more .ico { transform: translateX(4px); }
.arb-panel__media {
  align-self: stretch; min-height: 160px; display: flex; align-items: center; justify-content: center; padding: 12px;
  background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.arb-panel__media .kresba { width: 100%; height: 100%; max-height: 180px; }

/* zvýraznenie pri prejdení myšou: vlnitý ľavý okraj, jedna súvislá krivka cez všetky tri oblasti */
.arb-panel > .arb-hl { position: absolute; z-index: 0; inset: 0; opacity: 0; transition: opacity 250ms ease-out; pointer-events: none; }
.arb-hl::after { content: ""; position: absolute; left: 40px; right: 0; top: 0; bottom: 0; background: var(--surface-200); }
.arb-wave { position: absolute; z-index: 0; left: -40px; top: 0; width: 80px; height: 100%; overflow: visible; pointer-events: none; }
.arb-wave__fill { fill: var(--surface-200); }
.arb-wave__line { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.01; transition: stroke-dashoffset 600ms cubic-bezier(.45, .05, .3, 1); }
.arb-panel:hover > .arb-hl, .arb-panel:focus-visible > .arb-hl { opacity: .8; }
.arb-panel:hover .arb-wave__line, .arb-panel:focus-visible .arb-wave__line { stroke-dashoffset: 0; }

/* animácia loga: 1) nápis, 2) obrys, 3) letokruhy od stredu, trhlina pri prechode obrysu */
.arb-word { animation: arb-rise 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
.arb-sub { animation: arb-sub .9s cubic-bezier(.2, .7, .2, 1) .6s both; }
.arb-hair { animation: arb-hair 1.1s cubic-bezier(.6, 0, .2, 1) .75s both; }
.arb-hair-l { transform-origin: 100% 50%; }
.arb-hair-r { transform-origin: 0 50%; }
.arb-fade { animation: arb-fade 1.4s ease-out 1.3s both; }
.arb-fade.arb-t14 { animation-duration: .8s; animation-delay: 3.3s; }
.arb-fade.arb-check { animation-duration: .7s; animation-delay: 1.65s; }
.arb-draw { stroke-dasharray: 1 2; animation: arb-draw 1s cubic-bezier(.45, .05, .3, 1) both; }
.arb-draw.arb-t0 { animation-delay: 1.6s; animation-duration: .7s; }
.arb-draw.arb-t1 { animation-delay: 1.68s; animation-duration: .74s; }
.arb-draw.arb-t2 { animation-delay: 1.76s; animation-duration: .78s; }
.arb-draw.arb-t3 { animation-delay: 1.84s; animation-duration: .82s; }
.arb-draw.arb-t4 { animation-delay: 1.92s; animation-duration: .86s; }
.arb-draw.arb-t5 { animation-delay: 2s; animation-duration: .9s; }
.arb-draw.arb-t6 { animation-delay: 2.08s; animation-duration: .94s; }
.arb-draw.arb-t7 { animation-delay: 2.16s; animation-duration: .98s; }
.arb-draw.arb-t8 { animation-delay: 2.24s; animation-duration: 1.02s; }
.arb-draw.arb-t9 { animation-delay: 2.32s; animation-duration: 1.06s; }
.arb-draw.arb-t10 { animation-delay: 2.4s; animation-duration: 1.1s; }
.arb-draw.arb-t11 { animation-delay: 2.48s; animation-duration: 1.14s; }
.arb-draw.arb-t12 { animation-delay: 2.56s; animation-duration: 1.18s; }
.arb-draw.arb-t13 { animation-delay: 2.64s; animation-duration: 1.22s; }
.arb-draw.arb-sap { animation-delay: 2.6s; animation-duration: 1.2s; }
.arb-draw.arb-draw-long { animation-delay: 1s; animation-duration: 1.6s; }
.arb-in { animation: arb-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.arb-in-1 { animation-delay: .45s; } .arb-in-2 { animation-delay: .6s; } .arb-in-3 { animation-delay: .75s; } .arb-in-4 { animation-delay: 1.1s; }
@keyframes arb-rise { from { opacity: 0; transform: translateY(.14em); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes arb-sub { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: none; } }
@keyframes arb-hair { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes arb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes arb-draw { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }
@keyframes arb-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── úvodná obrazovka: logo cez celú obrazovku pri otvorení stránky ──
   Rovnaká animácia ako logo v úvode (triedy arb-word, arb-draw…); po dokreslení
   (posledná časť končí v 4,1 s) sa obrazovka sama stratí — aj bez JavaScriptu. */
.arb-intro {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: var(--surface-100); color: var(--ink); cursor: pointer;
  animation: arb-intro-out .7s ease-in 4.5s forwards;
}
.arb-intro.is-leaving { animation: arb-intro-skip .35s ease-in forwards; }
.no-intro .arb-intro { display: none; }
@keyframes arb-intro-out { to { opacity: 0; visibility: hidden; } }
/* preskočenie má vlastný názov — pri rovnakom by sa len zmenil čas bežiacej animácie a obrazovka by preskočila bez prechodu */
@keyframes arb-intro-skip { to { opacity: 0; visibility: hidden; } }
.arb-intro__stage { position: relative; width: min(1200px, 94vw, calc((100vh - 96px) * 1.5)); aspect-ratio: 3 / 2; container-type: inline-size; }
.arb-intro__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: .2; }
.arb-intro__title {
  position: absolute; left: 50%; top: 47.5%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: stretch; gap: 1.4cqw;
}
.arb-intro__arb {
  display: block; text-align: center; font-family: var(--font-display); font-optical-sizing: auto; font-weight: 600;
  font-size: 11.5cqw; line-height: .9; letter-spacing: -.01em; color: var(--ink);
}
.arb-intro__subrow { display: flex; align-items: center; gap: 1.6cqw; }
.arb-intro__hair { flex: 1; height: 1px; background: var(--line-strong); }
.arb-intro__craft {
  font-weight: 600; font-size: max(12px, 1.75cqw); line-height: 1; letter-spacing: .48em; padding-left: .48em;
  text-transform: uppercase; color: var(--ink-muted); text-shadow: 0 0 6px var(--surface-100), 0 0 2px var(--surface-100);
}

/* ── sekcie ───────────────────────────────────────────────── */
.arb-wrap { max-width: 1248px; margin: 0 auto; padding-inline: 24px; }
.arb-sec { padding-block: 96px; }
.arb-sec--alt { background: var(--surface-200); }
.arb-head { display: flex; flex-direction: column; gap: 16px; max-width: var(--measure); margin-bottom: 48px; }
.arb-head--flush { margin-bottom: 0; }
.arb-h2 { margin: 0; font: 600 44px/48px var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.arb-lead { margin: 0; font-size: 20px; line-height: 30px; color: var(--ink-muted); }
.arb-stack { display: flex; flex-direction: column; gap: 24px; }
.arb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.arb-caption { margin: 0 0 8px; font: 600 13px/18px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }

.arb-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.arb-card__media { display: flex; align-items: center; justify-content: center; padding: 16px 20px; }
.arb-card__media .kresba { width: 100%; height: 100%; }
.arb-card__text { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

.arb-split2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 48px; align-items: center; }
.arb-media { margin: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 640px; }
.arb-media__box {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 20px 28px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.arb-media__box .kresba { width: 100%; height: 100%; }
.arb-media__cap { font: 400 13px/18px var(--font-mono); color: var(--ink-muted); }
.arb-spec td { color: var(--ink); }

.arb-steps__title { margin: 72px 0 0; font: 600 24px/30px var(--font-display); }
.arb-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.arb-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 20px; }
.arb-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--dash); }
.arb-step__num { font: 400 13px/18px var(--font-mono); color: var(--ink-muted); }
.arb-step__title { margin: 0; font: 600 20px/26px var(--font-sans); }
.arb-step__text { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

/* kontakt */
.arb-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: start; }
.arb-list { list-style: none; margin: 0; padding: 0; }
.arb-list li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--line); }
.arb-list li:last-child { border-bottom: 1px solid var(--line); }
.arb-list li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 12px; height: 1.5px; background: var(--oak); }
.arb-formcard { padding: 32px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.inquiry { display: flex; flex-direction: column; gap: 20px; }
.arb-formrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.arb-select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; line-height: 1.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a4b14' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.arb-textarea { height: auto; min-height: 150px; padding: var(--space-3); font: 400 17px/26px var(--font-sans); resize: vertical; }
.arb-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; cursor: pointer; }
.arb-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--oak); }
.arb-check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.arb-formfoot { display: flex; flex-wrap: wrap; gap: 12px; }
.form__status.is-empty { height: 0; padding: 0; border: 0; overflow: hidden; }
.form__icon-ok, .form__icon-err { display: none; }
.form__status.is-ok .form__icon-ok, .form__status.is-error .form__icon-err { display: block; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── technické kresby ─────────────────────────────────────── */
.kresba { overflow: visible; }
.k-obrys { fill: var(--surface-raised); stroke: var(--ink); stroke-width: 1.5; }
.k-obrys--prazdny { fill: none; }
.k-tenka { fill: none; stroke: var(--ink); stroke-width: 1; }
.k-zem { stroke: var(--line-strong); stroke-width: 1; }
.k-kota { fill: none; stroke: var(--ink-muted); stroke-width: 1; }
.k-text { fill: var(--ink-muted); font: 400 13px var(--font-mono); }
.k-rez { fill: var(--surface-200); }
.k-letokruh { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.k-os { stroke: var(--ink-muted); stroke-width: 1; stroke-dasharray: 8 3 2 3; }
.k-napatie { fill: var(--surface-200); stroke: var(--ink); stroke-width: 1; }
.k-mur { stroke: var(--ink); stroke-width: 1.2; }
.k-srafa { stroke: var(--line-strong); stroke-width: 1; }
.k-prut__obrys { stroke: var(--ink); stroke-width: 15; }
.k-prut__vypln { stroke: var(--surface-raised); stroke-width: 12; }
.k-prut--tenky .k-prut__obrys { stroke-width: 11; }
.k-prut--tenky .k-prut__vypln { stroke-width: 8; }
.arb-panel__media .k-prut__vypln { stroke: var(--surface-100); }
.arb-panel__media .k-obrys:not(.k-obrys--prazdny) { fill: var(--surface-100); }
.arb-panel__media .k-text { font-size: 15px; }
.kresba[viewBox="0 0 560 420"] .k-text { font-size: 17px; }
.arb-panel__media .kresba[viewBox="0 0 560 420"] .k-text { font-size: 22px; }

/* ── päta ─────────────────────────────────────────────────── */
.arb-footer { background: var(--bark); color: var(--on-bark); }
.arb-footer__in { display: flex; flex-direction: column; gap: 48px; padding-block: 64px 32px; }
.arb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.arb-footer__col { display: flex; flex-direction: column; gap: 12px; }
.arb-footer__col--brand { gap: 16px; }
.arb-footer__tag { font-size: 15px; line-height: 22px; color: var(--on-bark-muted); }
.arb-footer__h { margin: 0; font: 600 13px/18px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--on-bark-muted); }
.arb-footer__addr { font-style: normal; display: flex; flex-direction: column; gap: 4px; font-size: 17px; line-height: 26px; }
.arb-footer__nav { display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 26px; }
.arb-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px;
  border-top: 1px solid var(--bark-line); font-size: 15px; line-height: 22px; color: var(--on-bark-muted);
}
.arb-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.arb-flink { color: var(--on-bark-muted); text-decoration: none; }
.arb-flink:hover { color: var(--on-bark); text-decoration: underline; text-underline-offset: .15em; }
.arb-flink:focus-visible { outline: none; border-radius: var(--radius-sm); box-shadow: 0 0 0 2px var(--bark), 0 0 0 4px var(--amber); }
.arb-footer__addr .arb-flink { color: var(--on-bark); }

/* ── textové stránky (ochrana údajov, 404) ────────────────── */
.arb-prose { max-width: 820px; padding-block: 48px 96px; display: flex; flex-direction: column; gap: 12px; }
.arb-prose p { max-width: var(--measure); color: var(--ink-muted); }
.arb-prose__h1 { margin: 16px 0 0; font: 600 64px/64px var(--font-display); letter-spacing: -.015em; }
.arb-prose__h2 { margin: 28px 0 0; font: 600 24px/30px var(--font-display); }
.arb-prose__meta { font: 400 15px/22px var(--font-mono); color: var(--ink-muted); }
.arb-prose--center { align-items: center; text-align: center; padding-block: 96px; }
.arb-prose--center .dr-btn { margin-top: 16px; }
.arb-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; line-height: 22px; color: var(--oak); text-decoration: none; }
.arb-back:hover { color: var(--oak-strong); }
.arb-back .ico { transition: transform 200ms ease-out; }
.arb-back:hover .ico { transform: translateX(-4px); }
.arb-back:focus-visible { outline: none; border-radius: var(--radius-sm); box-shadow: 0 0 0 2px var(--surface-100), 0 0 0 4px var(--focus); }

/* ── prehľad dopytov ──────────────────────────────────────── */
.page-admin { background: var(--surface-raised); }
.admin { padding-block: 32px 64px; max-width: 1440px; }
.admin__head { margin-bottom: 20px; }
.admin__table { overflow-x: auto; border: 1px solid var(--line); }
.admin td.msg { min-width: 280px; max-width: 520px; white-space: pre-wrap; }
.nowrap { white-space: nowrap; }

/* ── menšie obrazovky ─────────────────────────────────────── */
@media (max-width: 1000px) {
  .arb-wave { display: none; }
  .arb-hl::after { left: 0; }
  .arb-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .arb-panels::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: var(--dash); pointer-events: none; }
}
@media (max-width: 900px) {
  .arb-header.dr-header {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand lang" "nav nav";
    height: auto; gap: 0; padding: 0;
  }
  .arb-brandrow { grid-area: brand; height: 56px; padding: 0 16px; }
  .arb-lang { grid-area: lang; align-self: center; margin-right: 16px; }
  .arb-nav.dr-header__nav { grid-area: nav; margin-left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
  .arb-nav .dr-header__link { flex-direction: column; justify-content: center; height: 60px; gap: 4px; padding: 0 4px; font-size: 13px; border-radius: 0; }
  html { scroll-padding-top: 124px; }
}
@media (max-width: 700px) {
  .arb-wrap { padding-inline: 16px; }
  .arb-sec { padding-block: 64px; }
  .arb-panel { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 16px; }
  .arb-panel + .arb-panel::before { left: 16px; right: 16px; }
  .arb-panel__title { font-size: 34px; line-height: 40px; }
  .arb-h2 { font-size: 36px; line-height: 40px; }
  .arb-prose__h1 { font-size: 44px; line-height: 48px; }
  .arb-formcard { padding: 20px 16px; }
  .arb-hero__left { padding: 40px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .arb-intro { display: none; } /* bez animácie by sa úvodná obrazovka sama nestratila */
}
