/* DAKAsoft – štýly webu. Farby nadväzujú na značku CK DAKA (navy #243660, zelená #4a8226 / #9bd36a). */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #f6f8fc;
  --bg-alt: #edf1f8;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --ink: #0e1a33;
  --ink-2: #33415f;
  --muted: #5f6b86;
  --line: #e0e6f0;
  --line-2: #cfd7e6;
  --navy: #243660;
  --night: #0a1326;
  --night-2: #101d3a;
  --brand: #3f7a1f;
  --brand-strong: #346a17;
  --brand-ink: #ffffff;
  --lime: #9bd36a;
  --focus: #2f6fe4;
  --cat-l: 38%;
  --cat-s: 55%;
  --tint-l: 93%;
  --tint-s: 55%;
  --shadow-sm: 0 1px 2px rgb(14 26 51 / .06);
  --shadow: 0 1px 2px rgb(14 26 51 / .05), 0 10px 30px -8px rgb(14 26 51 / .14);
  --shadow-lg: 0 30px 70px -20px rgb(6 14 32 / .45);
  --logo-bg: #243660;
  --logo-fg: #ffffff;
  --logo-accent: #9bd36a;
  --logo-word: #0e1a33;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --font-head: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1224; --bg-alt: #0d172e; --surface: #111c37; --surface-2: #142142;
    --ink: #e9eef8; --ink-2: #c4cde0; --muted: #93a0bb; --line: #1f2c4b; --line-2: #2b3a5e;
    --brand: #9bd36a; --brand-strong: #b4e28c; --brand-ink: #0a1326; --focus: #8fb7ff;
    --cat-l: 74%; --cat-s: 60%; --tint-l: 18%; --tint-s: 35%;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3); --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -10px rgb(0 0 0 / .5);
    --logo-bg: #1b2a52; --logo-word: #e9eef8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1224; --bg-alt: #0d172e; --surface: #111c37; --surface-2: #142142;
  --ink: #e9eef8; --ink-2: #c4cde0; --muted: #93a0bb; --line: #1f2c4b; --line-2: #2b3a5e;
  --brand: #9bd36a; --brand-strong: #b4e28c; --brand-ink: #0a1326; --focus: #8fb7ff;
  --cat-l: 74%; --cat-s: 60%; --tint-l: 18%; --tint-s: 35%;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3); --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -10px rgb(0 0 0 / .5);
  --logo-bg: #1b2a52; --logo-word: #e9eef8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; color: var(--logo-word); }
.logo-word b { color: var(--brand); font-weight: 600; }
.logo--light .logo-word { color: #fff; }
.logo--light .logo-word b { color: var(--lime); }
.brand { text-decoration: none; display: inline-flex; }

/* ---------- tlačidlá ---------- */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.25em; border-radius: 999px; font: 600 .98rem/1.1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--b); color: var(--brand-ink); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--b) 70%, transparent); }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / .28); background: rgb(255 255 255 / .04); }
.btn--ghost:hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .08); }
.btn--ghost-dark { color: var(--ink); border-color: var(--line-2); }
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn--lg { padding: .95em 1.5em; font-size: 1.02rem; }
.btn--sm { padding: .55em 1em; font-size: .92rem; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn .ico { width: 20px; height: 20px; }

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .96rem; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--bg-alt); }
.nav .btn { margin-left: 8px; }
.header-actions { display: flex; gap: 8px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; } }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
@media (max-width: 860px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 12px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
  .nav-toggle { display: inline-grid; }
  .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .header-actions { margin-left: auto; }
}

/* ---------- eyebrow / sekcie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font: 600 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(155 211 106 / .18); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); margin-top: -68px; padding-top: calc(68px + clamp(48px, 7vw, 96px)); isolation: isolate; }
.home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header:not(.is-scrolled) .logo-word { color: #fff; }
.home .site-header:not(.is-scrolled) .logo-word b { color: var(--lime); }
.home .site-header:not(.is-scrolled) .nav a:not(.btn) { color: rgb(255 255 255 / .82); }
.home .site-header:not(.is-scrolled) .nav a:not(.btn):hover { color: #fff; background: rgb(255 255 255 / .08); }
.home .site-header:not(.is-scrolled) .icon-btn { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); color: #fff; }
@media (max-width: 860px) { .home .site-header:not(.is-scrolled) .nav a:not(.btn) { color: var(--ink-2); } }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 15%, rgb(74 130 38 / .38), transparent 60%),
  radial-gradient(50% 60% at 10% 90%, rgb(36 54 96 / .9), transparent 70%),
  linear-gradient(180deg, #0a1326 0%, #0e1a36 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero .eyebrow { color: rgb(255 255 255 / .78); }
.hero h1 { color: #fff; max-width: 14ch; }
.hl { color: var(--lime); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgb(233 238 248 / .82); max-width: 54ch; margin-bottom: 2rem; }
.hero .btn--primary { --b: #6fb43c; color: #07101f; }
.hero .btn--primary:hover { background: var(--lime); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.4rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; color: rgb(233 238 248 / .7); font-size: .96rem; }
.hero-facts a { color: inherit; text-decoration: none; }
.hero-facts a:hover b { color: var(--lime); }
.hero-facts b { display: block; font: 700 1.7rem/1.1 var(--font-head); color: #fff; letter-spacing: -.02em; }
.hero-visual { position: relative; aspect-ratio: 1.12; max-width: 640px; width: 100%; min-width: 0; margin: 0 auto; }
.hero-copy { min-width: 0; }
.hero-shot { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #0e1a36; border: 1px solid rgb(255 255 255 / .12); box-shadow: var(--shadow-lg); }
.hero-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hero-shot-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #152447; font-size: .72rem; color: rgb(255 255 255 / .6); }
.hero-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .2); }
.hero-shot-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-shot--1 { width: 86%; right: 0; top: 4%; z-index: 2; transform: rotate(1.2deg); }
.hero-shot--2 { width: 58%; left: 0; bottom: 2%; z-index: 3; transform: rotate(-2deg); }
.hero-shot--3 { width: 46%; right: 4%; bottom: -4%; z-index: 1; opacity: .9; transform: rotate(3deg); }
.hero-shot.is-mobile { border-radius: 22px; border: 5px solid #1a2850; }
.hero-shot.is-mobile .hero-shot-bar { display: none; }
.hero-shot.is-mobile img { aspect-ratio: 390 / 760; }
.hero-shot--2.is-mobile { width: 30%; left: 2%; bottom: 0; }
.hero-shot--3.is-mobile { width: 26%; right: 6%; bottom: -8%; }
@media (max-width: 979px) { .hero-visual { aspect-ratio: 1.4; max-width: 560px; } .hero-shot--3 { display: none; } }

/* ---------- referencia ---------- */
.band { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0; }
.band-grid { display: grid; gap: 24px 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .band-grid { grid-template-columns: 1fr 1.6fr; } }
.band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.eyebrow--dark { color: var(--brand); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { display: flex; flex-direction: column-reverse; border-left: 2px solid var(--line); padding-left: 16px; }
.stats dd { margin: 0; font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--font-head); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats dt { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.band-note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- služby ---------- */
.services { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.service:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--brand) 13%, transparent); color: var(--brand); margin-bottom: 18px; }
.service-ico .ico { width: 24px; height: 24px; }
.service h3 { margin-bottom: .45em; }
.service p { color: var(--muted); font-size: .96rem; margin-bottom: .8em; }
.service-ex { margin-top: auto !important; margin-bottom: 0 !important; font-size: .88rem !important; color: var(--ink-2) !important; border-top: 1px dashed var(--line-2); padding-top: 12px; }
.service-ex span { color: var(--muted); }
.service-ex a { color: var(--brand); font-weight: 600; text-decoration: none; }
.service-ex a:hover { text-decoration: underline; }
.service--cta { background: var(--night); color: #fff; border-color: transparent; text-decoration: none; justify-content: space-between; min-height: 220px; }
.service--cta h3 { color: #fff; font-size: 1.35rem; }
.service--cta p { color: rgb(233 238 248 / .75); }
.service--cta .service-ico { background: rgb(155 211 106 / .16); color: var(--lime); }
.service--cta .go { display: inline-flex; align-items: center; gap: .5em; color: var(--lime); font-weight: 600; }

/* ---------- filtre + karty ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 -16px 18px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; }
@media (min-width: 900px) { .filters { flex-wrap: wrap; overflow: visible; margin: 0 0 22px; padding: 2px 0 0; } }
.filter { --hue: 220; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 500 .92rem/1 var(--font); cursor: pointer; transition: all .18s; }
.filter span { font-size: .78rem; color: var(--muted); background: var(--bg-alt); padding: 3px 7px; border-radius: 99px; }
.filter:hover { border-color: hsl(var(--hue) var(--cat-s) var(--cat-l)); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.is-active span { background: rgb(127 127 127 / .25); color: inherit; }
.group-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 26px; }
.group-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.group-link[hidden] { display: none; }
.group-link:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.group-link .status { font-weight: 600; }
.group-link b { font: 700 1rem/1 var(--font-head); color: var(--ink); background: var(--bg-alt); border-radius: 8px; padding: 5px 8px; }
.group { scroll-margin-top: 84px; }
.group + .group { margin-top: clamp(44px, 6vw, 72px); }
.group[hidden] { display: none; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.group-head h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0; }
.group-head h3 .status { font-size: 0; }
.group-head h3 .status::before { width: 11px; height: 11px; }
.group-count { font: 600 .9rem/1 var(--font); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; }
.group-head p { margin: 0; color: var(--muted); font-size: .98rem; }
.group-empty { color: var(--muted); }
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card[hidden] { display: none; }
.cover { --hue: 220; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: hsl(var(--hue) var(--tint-s) var(--tint-l)); border-bottom: 1px solid var(--line); }
.cover > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.card:hover .cover > img { transform: scale(1.035); }
.cover--mobile { display: flex; justify-content: center; align-items: flex-end; background: radial-gradient(80% 90% at 50% 110%, hsl(var(--hue) 70% 60% / .45), transparent 70%), hsl(var(--hue) var(--tint-s) var(--tint-l)); }
.phone { position: relative; width: 33%; margin-bottom: -26%; border-radius: 20px; border: 5px solid #0d1730; background: #0d1730; overflow: hidden; box-shadow: 0 18px 40px -12px rgb(6 14 32 / .5); transition: transform .4s ease; z-index: 2; }
.phone img { width: 100%; border-radius: 15px; }
.phone--back { position: absolute; left: 57%; bottom: 0; width: 27%; margin: 0; transform: translateY(32%) rotate(6deg); opacity: .92; z-index: 1; }
.card:hover .phone:not(.phone--back) { transform: translateY(-6px); }
.cover--empty { display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--hue) 55% 30%), hsl(calc(var(--hue) + 30) 60% 18%)); }
.cover--empty::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1px); background-size: 18px 18px; }
.cover-initials { font: 700 3.2rem/1 var(--font-head); color: rgb(255 255 255 / .92); letter-spacing: -.04em; z-index: 1; }
.cover-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 16px 40px -10px rgb(0 0 0 / .5); z-index: 1; background: #fff; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .8rem; }
.cat { color: hsl(var(--hue) var(--cat-s) var(--cat-l)); font-weight: 600; letter-spacing: .02em; }
.card h3 { font-size: 1.22rem; margin-bottom: .35em; }
.card-tag { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; }
.chip { display: inline-block; padding: 4px 9px; border-radius: 7px; font-size: .78rem; font-weight: 500; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line); }
.chip--plat { background: transparent; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--internal { color: #c2562f; }
.status--live { color: #2e8b3a; } .status--ready { color: #2f6fe4; } .status--proto { color: #b7791f; } .status--dev { color: #8a94ab; }
:root[data-theme="dark"] .status--internal { color: #f29a76; } :root[data-theme="dark"] .status--live { color: #7fd38a; } :root[data-theme="dark"] .status--ready { color: #8fb7ff; } :root[data-theme="dark"] .status--proto { color: #f2c45a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status--internal { color: #f29a76; } :root:not([data-theme="light"]) .status--live { color: #7fd38a; } :root:not([data-theme="light"]) .status--ready { color: #8fb7ff; } :root:not([data-theme="light"]) .status--proto { color: #f2c45a; } }

/* ---------- prečo ---------- */
.why-grid { display: grid; gap: 32px 64px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .why-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.why { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
.why-item { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why-n { display: inline-block; font: 700 .9rem/1 var(--font-head); color: var(--brand); margin-bottom: 14px; padding: 6px 9px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.why-item p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- postup ---------- */
.section--dark { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.section--dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgb(74 130 38 / .28), transparent 60%); }
.section--dark .wrap { position: relative; }
.section--dark .eyebrow { color: var(--lime); }
.section--dark h2 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 24px 22px; border-radius: var(--radius); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: #07101f; font: 700 1rem/1 var(--font-head); margin-bottom: 18px; }
.step h3 { color: #fff; }
.step p { color: rgb(233 238 248 / .72); font-size: .95rem; margin: 0; }

/* ---------- technológie ---------- */
.tech-grid { display: grid; gap: 24px 64px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .tech-grid { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.tech { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.tech b { font: 600 .75rem/1 var(--font); color: var(--muted); background: var(--bg-alt); border-radius: 6px; padding: 4px 6px; min-width: 22px; text-align: center; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 40px 64px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; } }
.contact-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.contact-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.contact-points .ico { color: var(--brand); }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; font: 600 1.15rem/1 var(--font-head); }
.contact-mail a { color: var(--brand); text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: .92rem; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d64545; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 500; min-height: 1.5em; }
.form-status.is-ok { color: #2e8b3a; }
.form-status.is-err { color: #d64545; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

/* ---------- pätička ---------- */
.site-footer { background: var(--night); color: rgb(233 238 248 / .75); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-claim { max-width: 40ch; margin-top: 16px; }
.footer-h { font: 600 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; color: rgb(255 255 255 / .5); margin: 8px 0 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; color: #fff; }
.footer-links a:hover { color: var(--lime); }
.site-footer .muted { color: rgb(233 238 248 / .55); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgb(255 255 255 / .1); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgb(233 238 248 / .5); }

/* ---------- detail projektu ---------- */
.project-hero { padding: 40px 0 28px; background: linear-gradient(180deg, hsl(var(--hue) var(--tint-s) var(--tint-l)), var(--bg)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.project-head { display: flex; gap: 20px; align-items: flex-start; }
.project-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow); flex: none; background: #fff; }
.project-hero .eyebrow { color: hsl(var(--hue) var(--cat-s) var(--cat-l)); }
.project-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.project-hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 60ch; }
.project-hero .chips { margin-top: 8px; }
.project-gallery { margin-bottom: 48px; }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
.gallery + .gallery { margin-top: 24px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery--span-first .shot:first-child { grid-column: 1 / -1; } }
.gallery--mobile { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.gallery--mobile .shot { flex: none; width: min(62vw, 250px); scroll-snap-align: start; }
.gallery--mobile .shot:first-child { margin-left: auto; }
.gallery--mobile .shot:last-child { margin-right: auto; }
.shot { margin: 0; }
.shot-btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.shot-btn:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.shot--mobile .shot-btn { border-radius: 26px; border: 6px solid #0d1730; background: #0d1730; }
.shot--mobile .shot-btn img { border-radius: 20px; }
.shot-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgb(10 19 38 / .7); color: #fff; opacity: 0; transition: opacity .2s; }
.shot-btn:hover .shot-zoom, .shot-btn:focus-visible .shot-zoom { opacity: 1; }
.shot figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.no-shots { display: grid; gap: 14px; grid-template-columns: 1fr; }
.no-shots .cover { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 21 / 7; }
.no-shots p { color: var(--muted); font-size: .92rem; margin: 0; }
.project-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 64px; }
@media (min-width: 980px) { .project-grid { grid-template-columns: 1fr 340px; gap: 56px; } }
.project-main, .project-side { min-width: 0; }
.project-main section { margin-bottom: 40px; }
.prose p, .features li, .highlights li, .planned li, .facts dd, .chip, .card-tag { overflow-wrap: anywhere; }
.project-main h2 { font-size: 1.5rem; margin-bottom: .7em; }
.prose p { font-size: 1.06rem; color: var(--ink-2); max-width: 68ch; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .97rem; }
.features .ico { color: var(--brand); margin-top: 2px; }
.highlights ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.highlights li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--night); color: rgb(233 238 248 / .9); }
.highlights .ico { color: var(--lime); margin-top: 2px; }
.planned { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 6px; }
.project-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 980px) { .project-side { position: sticky; top: 88px; } }
.facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts a { color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; word-break: break-all; }
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.side-h { font: 600 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 14px; }
.side-cta { background: var(--night); color: #fff; border-radius: var(--radius); padding: 22px; }
.side-cta .side-h { color: var(--lime); }
.side-cta p { color: rgb(233 238 248 / .75); font-size: .95rem; }
.side-cta .btn--primary { --b: #6fb43c; color: #07101f; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 72px; }
.pager-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.pager-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pager-link:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pager-link small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.pager-link--next { justify-content: flex-end; text-align: right; }
.notfound { min-height: 60vh; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgb(5 10 22 / .92); display: grid; place-items: center; padding: 56px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgb(233 238 248 / .8); font-size: .95rem; text-align: center; }
.lightbox-close { position: absolute; top: 12px; right: 12px; background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .2); color: #fff; }

/* ---------- animácie ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
