/* ==========================================================================
   Atlantico, verze 2: jeden soubor stylů pro všechny stránky, bez buildu.
   Vzhled prvků 1:1 s první verzí (Next.js); pozadí nově: sloup světla, prach,
   mořský sníh, světlo u kurzoru a ztmavnutí do hloubky (pohyb řídí motion.js).
   ========================================================================== */

/* --- Písma (Geist, OFL, self-host) ----------------------------------------- */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/geist-latin-ext.woff2) format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/geist-mono-latin-ext.woff2) format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/geist-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Fallback"; src: local(Arial); ascent-override: 95.94%; descent-override: 28.16%; line-gap-override: 0%; size-adjust: 104.76%; }

/* --- Tokeny ------------------------------------------------------------------ */
:root {
  --bg: #05090f;              /* pozadí; při sestupu ke Službám ztmavne (vrstva .bg-deep) */
  --fg: #e8f3f8;              /* text */
  --accent: #3682ae;          /* modrá Atlantico */
  --accent-btn: #2e6e94;      /* podklad primárního tlačítka (bílý text 5,5 : 1) */
  --accent-light: #7cc4ea;    /* popisky, odkazy */
  --lit: #dff4ff;             /* rozsvícené body, světlo */
  --lt: 124, 196, 234;        /* světlo pozadí jako RGB pro rgba() */
  --li: 1;                    /* intenzita sloupu světla */
  --header: 64px;
  --section-gap: 120px;
  --font-sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

@media (min-width: 1024px) {
  :root { --header: 72px; }
}

/* --- Základ ------------------------------------------------------------------ */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { min-height: 100vh; background: var(--bg); color: var(--fg); overflow-x: hidden; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ol, ul { list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; background: transparent; }
button { cursor: pointer; }
strong { font-weight: 600; color: var(--fg); }
dialog { color: inherit; }
[hidden] { display: none !important; }

/* Typografie: prohlížeč hlídá poslední řádek odstavců, nadpisy se lámou vyváženě. */
p, li, blockquote, figcaption, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Přechod mezi stránkami: jemné prolnutí (prohlížeče bez podpory přejdou běžně). */
  @view-transition { navigation: auto; }
}

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.skip { position: fixed; left: 1rem; top: -100px; z-index: 60; padding: 0.75rem 1rem; background: var(--accent-btn); color: #fff; font-size: 14px; font-weight: 600; }
.skip:focus { top: 1rem; }

main, .footer { position: relative; z-index: 1; }
/* Zvětšené ilustrace služeb nesmí na úzkém desktopu roztáhnout stránku do strany. */
main { overflow-x: clip; }

.container { width: min(100% - 3rem, 1200px); margin-inline: auto; }

.accent { color: var(--accent); }
.sep { margin-inline: 0.5rem; color: rgba(232, 243, 248, 0.35); }

/* --- Pozadí: světlo a hloubka (pevné vrstvy pod obsahem) --------------------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg > * { position: absolute; inset: 0; pointer-events: none; }
.bg-deep { background: #010307; opacity: 0; }
.bg-ocean { overflow: hidden; }
.bg-amb { position: absolute; width: 1100px; height: 1100px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--lt), 0.13), rgba(var(--lt), 0.04) 55%, transparent 100%); opacity: 0.18; will-change: transform; }
.bg-amb1 { left: -30%; top: 40%; }
.bg-amb2 { right: -28%; top: 120%; }
.bg-light { overflow: hidden; }
.bg-light-i { position: absolute; inset: 0; opacity: var(--li); }
.bg-light-rot { position: absolute; inset: -10%; transform-origin: 80% 0; }
.bg-shaft { position: absolute; top: -30%; height: 170%; transform-origin: 50% 0; will-change: transform; }
.bg-s1 { right: 4%; width: 19%; overflow: hidden; background: linear-gradient(180deg, rgba(var(--lt), 0.3) 0%, rgba(var(--lt), 0.12) 40%, rgba(var(--lt), 0) 76%); transform: rotate(15deg); filter: blur(16px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.bg-rays { position: absolute; top: 0; bottom: 0; left: -138px; right: 0; background: repeating-linear-gradient(90deg, rgba(var(--lt), 0) 0 18px, rgba(var(--lt), 0.09) 18px 22px, rgba(var(--lt), 0) 22px 46px); filter: blur(4px); opacity: 0.9; will-change: transform; }
.bg-s2 { right: 26%; width: 4%; background: linear-gradient(180deg, rgba(var(--lt), 0.22) 0%, rgba(var(--lt), 0.07) 48%, rgba(var(--lt), 0) 82%); transform: rotate(17deg); filter: blur(9px); }
.bg-dust { position: absolute; top: -30%; right: 4%; width: 19%; height: 170%; transform: rotate(15deg); transform-origin: 50% 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 72%, transparent 100%), linear-gradient(180deg, #000 18%, rgba(0, 0, 0, 0.75) 48%, transparent 78%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 72%, transparent 100%), linear-gradient(180deg, #000 18%, rgba(0, 0, 0, 0.75) 48%, transparent 78%); mask-composite: intersect; }
.bg-dust i { position: absolute; display: block; border-radius: 50%; background: rgba(var(--lt), 0.9); box-shadow: 0 0 6px rgba(var(--lt), 0.8); }
.bg-snow { overflow: hidden; }
.bg-snow i { position: absolute; display: block; border-radius: 50%; background: rgba(var(--lt), 0.75); }
.bg-cursor { left: 0; top: 0; right: auto; bottom: auto; width: 532px; height: 532px; margin: -266px 0 0 -266px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--lt), 0.075), rgba(var(--lt), 0.02) 55%, transparent 100%); opacity: 0; will-change: transform; }
.bg-surface { left: 50%; top: -520px; right: auto; bottom: auto; width: 1400px; height: 900px; margin-left: -700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--lt), 0.16), rgba(var(--lt), 0.04) 55%, transparent 100%); }

/* Linka hloubky pod hlavičkou: plní se podle polohy na stránce. */
.depth-line { position: fixed; left: 0; top: var(--header); width: 100%; height: 1px; background: rgba(var(--lt), 0.55); transform-origin: left; transform: scaleX(0); z-index: 31; pointer-events: none; }
.menu-open .depth-line { opacity: 0; }

@media (max-width: 767px) {
  .bg-s1 { right: -12%; width: 52%; filter: blur(12px); }
  .bg-s2 { right: 36%; width: 10%; filter: blur(7px); }
  .bg-dust { right: -12%; width: 52%; }
}

/* Bez skriptu sloup světla svítí staticky. Se skriptem se rozsvítí při úvodu (motion.js). */
.js .bg-light, .js .bg-snow { opacity: 0; }
.motion-late .bg-light, .motion-late .bg-snow { opacity: 1; transition: opacity 1s ease-out; }

/* --- Hlavička ---------------------------------------------------------------- */
.header { position: fixed; inset: 0 0 auto; z-index: 30; border-bottom: 1px solid transparent; transition: background-color 0.4s ease, border-color 0.4s ease; }
.header.is-scrolled { background: rgba(2, 6, 11, 0.72); border-bottom-color: rgba(232, 243, 248, 0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { display: flex; height: var(--header); align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo { display: block; width: 104px; flex-shrink: 0; }
.header-logo img { width: 100%; height: auto; }
.header-nav, .header-actions { display: none; }
.header-nav { align-items: center; gap: 1.75rem; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; white-space: nowrap; color: rgba(232, 243, 248, 0.85); text-transform: uppercase; }
.header-actions { align-items: center; gap: 1.25rem; }
.nav-link { position: relative; transition: color 0.3s ease; }
.nav-link[aria-current="page"] { color: #fff; }
.nav-link:hover { color: var(--fg); }
.nav-link::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.nav-link:hover::after { transform: scaleX(1); }

.lang { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; white-space: nowrap; color: rgba(232, 243, 248, 0.7); text-transform: uppercase; }
.lang-current { color: var(--fg); }
.lang-sep { margin-inline: 0.375rem; }
.lang a { display: inline-block; padding: 0.5rem 0.25rem; margin: -0.5rem -0.25rem; }
.lang a:hover { color: var(--fg); }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; }
.burger span { display: block; height: 1.5px; background: var(--fg); transition: transform 0.3s ease, opacity 0.3s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .header-logo { width: 128px; }
  .header-nav, .header-actions { display: flex; }
  .burger { display: none; }
  /* Anglické popisky jsou delší: do 1280 px užší mezery, aby se hlavička vešla. */
  .header-nav { gap: 1.25rem; letter-spacing: 0.1em; }
}

@media (min-width: 1280px) {
  .header-nav { gap: 2.25rem; letter-spacing: 0.12em; }
}

/* Mobilní menu přes celou obrazovku. */
.menu { position: fixed; inset: 0; z-index: 25; display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; padding: 96px 0 max(48px, env(safe-area-inset-bottom)); background: rgba(2, 6, 11, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: fade-in 0.3s ease both; }
.menu-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: auto; }
.menu-link { padding-block: 1rem; border-bottom: 1px solid rgba(232, 243, 248, 0.1); font-size: 1.5rem; line-height: 1.333; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; margin-bottom: auto; }
@media (min-width: 1024px) { .menu { display: none !important; } }

/* --- Tlačítka, odkazy, štítky -------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.6rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; transition: background-color 0.3s ease, border-color 0.3s ease, filter 0.3s ease; }
.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.75rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent-btn); color: #fff; box-shadow: 0 0 28px -8px var(--accent); }
.btn--primary:hover { filter: brightness(1.12); }
.btn--secondary { border: 1px solid rgba(232, 243, 248, 0.32); color: var(--fg); }
@media (hover: hover) { .btn--secondary:hover { background: rgba(232, 243, 248, 0.08); } }

.link { text-underline-offset: 4px; }
.link--accent { color: var(--accent-light); }
@media (hover: hover) { .link:hover { text-decoration: underline; } }
.link--more { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; font-weight: 500; color: var(--accent-light); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(232, 243, 248, 0.25); color: var(--fg); transition: border-color 0.3s ease, background-color 0.3s ease; }
@media (hover: hover) { .icon-btn:hover { border-color: rgba(232, 243, 248, 0.5); background: rgba(232, 243, 248, 0.08); } }

/* Štítky: text s modrou pomlčkou. */
.legend { display: flex; flex-wrap: wrap; column-gap: 1.75rem; row-gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; color: rgba(232, 243, 248, 0.9); }
.chip::before { content: ""; width: 16px; height: 1px; background: var(--accent); }

/* --- Společné typografické prvky --------------------------------------------- */
.eyebrow { margin-bottom: 1rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--accent-light); text-transform: uppercase; }
.eyebrow--flush { margin-bottom: 0; }
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(232, 243, 248, 0.7); text-transform: uppercase; }
.h-section { font-size: 2.25rem; line-height: 1.02; font-weight: 600; letter-spacing: -0.025em; color: var(--fg); }
.h-section--wide { max-width: 56rem; }
.h-section--narrow { max-width: 48rem; }
.h-section--md { line-height: 1.05; }
.lead { font-size: 1.125rem; line-height: 1.65; color: rgba(232, 243, 248, 0.85); }
.lead--wide { max-width: 48rem; }
.lead--narrow { max-width: 32rem; margin-top: 1.5rem; }
@media (min-width: 640px) {
  .h-section { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .h-section:not(.h-section--md) { font-size: 3.75rem; }
  .lead { font-size: 1.25rem; }
}

/* Světlo na obsahu: nadpis, který vjede do obrazu, se na chvíli prosvětlí. */
.lit.is-lit { animation: lit 1.8s ease-out; }
@keyframes lit {
  0% { filter: drop-shadow(0 0 0 rgba(124, 196, 234, 0)) brightness(1); }
  35% { filter: drop-shadow(0 0 22px rgba(124, 196, 234, 0.6)) brightness(1.4); }
  100% { filter: drop-shadow(0 0 0 rgba(124, 196, 234, 0)) brightness(1); }
}

/* --- Sekce, dělicí linky a hloubkoměr ------------------------------------------ */
.section { position: relative; padding-block: var(--section-gap); scroll-margin-top: 5.5rem; }
#cenik { scroll-margin-top: 5.5rem; }
.section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 3rem, 1200px); height: 1px; transform: translateX(-50%); background: rgba(232, 243, 248, 0.11); pointer-events: none; }
.section::after { content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 3rem, 1200px); height: 6px; transform: translateX(-50%); background: repeating-linear-gradient(90deg, rgba(232, 243, 248, 0.22) 0 1px, transparent 1px 40px); pointer-events: none; }
.depth { position: absolute; top: 0; left: calc(50% - min(50% - 1.5rem, 600px)); transform: translateY(-50%); padding: 0.2rem 0.55rem 0.2rem 0; background: var(--bg); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: rgba(232, 243, 248, 0.7); white-space: nowrap; pointer-events: none; }
.depth:empty { display: none; }
.depth::before { content: ""; display: inline-block; width: 10px; height: 1px; margin-right: 0.55rem; vertical-align: middle; background: rgba(124, 196, 234, 0.7); }
/* Pod hero (citace) a mezi citací a Službami linka ani hloubkoměr nejsou; pás Podpora má vlastní linky. */
.section--quote::before, .section--quote::after, .section--quote .depth,
.section--quote + .section::before, .section--quote + .section::after, .section--quote + .section .depth,
.support + .section::before, .support + .section::after, .support + .section .depth { display: none; }

/* --- Hero (úvod) ------------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100svh; padding-top: calc(64px + 10vh); padding-bottom: 10rem; }
/* Nástup hero o 10 % rychlejší než ve verzi 1 (logo 2,79 s, kaskáda od 1,95 s po 0,2 s, každý prvek 0,81 s). */
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; --enter-base: 1.95s; --stagger: 0.2s; --rise: 0px; }
.hero-inner .enter { animation-duration: 0.81s; }
.hero-logo { width: clamp(220px, 60vw, 540px); }
@media (max-width: 767px) { .hero-logo { width: min(88vw, 260px); } }
.hero-title { margin-top: 2.5rem; max-width: 48rem; font-size: 1.875rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); text-wrap: balance; }
.hero-sub { margin-top: 1.75rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.6; color: rgba(232, 243, 248, 0.85); }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; margin-top: 3rem; }
.hero-actions .btn { width: 100%; }
.hero-facts { width: 100%; max-width: 56rem; margin: 2.5rem auto 0; border-block: 1px solid rgba(232, 243, 248, 0.12); text-align: left; }
.hero-facts li { display: flex; align-items: baseline; gap: 0.75rem; padding-block: 0.875rem; border-top: 1px solid rgba(232, 243, 248, 0.12); }
.hero-facts li:first-child { border-top: 0; }
.hero-fact-value { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.hero-fact-label { font-family: var(--font-mono); font-size: 11px; line-height: 1.625; letter-spacing: 0.14em; color: rgba(232, 243, 248, 0.75); text-transform: uppercase; }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; }
  .hero-actions .btn { width: auto; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; }
  .hero-facts li { border-top: 0; border-left: 1px solid rgba(232, 243, 248, 0.12); padding: 1rem 0 1rem 1.5rem; }
  .hero-facts li:first-child { border-left: 0; padding-left: 0; }
}
@media (min-width: 1024px) {
  .hero-title { margin-top: 3rem; font-size: 2.25rem; line-height: 1.111; }
  .hero-sub { font-size: 1.25rem; }
}

/* Nástup hero: prvky přicházejí kaskádou po logu (index --i, krok --stagger).
   Se skriptem čeká kaskáda na načtení písma (třída fonts-ready); bez skriptu běží hned. */
.enter { opacity: 0; animation: enter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--enter-base, 1.8s) + var(--i, 0) * var(--stagger, 0.14s)) both; }
html.js:not(.fonts-ready) .enter { animation-play-state: paused; }
@keyframes enter { from { opacity: 0; transform: translateY(var(--rise, 16px)); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* --- Logo v hero: kruh se nakreslí, nápis se vynoří světlem, po kruhu krouží světlo --- */
.logo-anim { position: relative; width: 100%; aspect-ratio: 3011 / 1251; pointer-events: none; animation: logo-float 7s ease-in-out calc(var(--emerge) + 0.4s) infinite; --emerge: 2.79s; --orbit: 4.5s; }
.logo-anim > * { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Kruh je se skriptem skrytý od začátku a kreslí se kuželovou maskou (site.js); bez skriptu je hned vidět. */
.js .logo-ring { -webkit-mask-image: conic-gradient(from 165deg at 78.8% 50%, transparent 0% 100%); mask-image: conic-gradient(from 165deg at 78.8% 50%, transparent 0% 100%); }
.logo-word { overflow: visible; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 65%); mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 65%); -webkit-mask-size: 100% 300%; mask-size: 100% 300%; animation: logo-reveal-mask var(--emerge) cubic-bezier(0.2, 0.7, 0.2, 1) both, logo-reveal-rise var(--emerge) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.logo-word path { fill: #fff; animation: logo-flash var(--emerge) ease-out both; }
.logo-orbit { overflow: hidden; opacity: 0; -webkit-mask-image: url(../img/logo-ring.svg); mask-image: url(../img/logo-ring.svg); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; animation: fade-in 1s ease calc(var(--emerge) * 0.9) both; transform: translateZ(0); isolation: isolate; }
.logo-orbit-light { position: absolute; left: 78.8%; top: 50%; width: 150%; aspect-ratio: 1; background: conic-gradient(from 0deg, transparent 0% 74%, rgba(200, 236, 255, 0.95) 86%, transparent 94%); animation: logo-orbit var(--orbit) linear calc(var(--emerge) * 0.9) infinite; }
.logo-anim.is-offscreen, .logo-anim.is-offscreen .logo-orbit-light { animation-play-state: paused; }
@keyframes logo-reveal-mask { 0% { -webkit-mask-position: 0 100%; mask-position: 0 100%; } 100% { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes logo-reveal-rise { 0% { transform: translateY(6px); } 100% { transform: none; } }
@keyframes logo-flash { 0% { fill: #9fd3ff; } 55%, 100% { fill: #fff; } }
@keyframes logo-orbit { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes logo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* --- Citace -------------------------------------------------------------------- */
.section--quote { padding-block: calc(var(--section-gap) * 0.6) calc(var(--section-gap) * 0.5); }
.quote { position: relative; max-width: 52rem; margin: 0 auto; padding-bottom: 2.75rem; text-align: center; }
.quote--side { max-width: none; margin: 0; padding-bottom: 0; }
.quote-mark { display: block; width: 40px; height: 30px; margin: 0 auto 1.75rem; fill: var(--accent); transition: fill 0.4s ease, filter 0.4s ease; }
.quote-mark.is-reached { fill: var(--accent-light); filter: drop-shadow(0 0 10px rgba(54, 130, 174, 0.65)); animation: quote-ping 0.9s ease-out both; }
@keyframes quote-ping { 0% { transform: scale(1); } 35% { transform: scale(1.18); } 100% { transform: scale(1); } }
.quote-text { font-size: 1.25rem; line-height: 1.55; font-weight: 300; letter-spacing: -0.01em; color: rgba(232, 243, 248, 0.92); text-wrap: balance; }
@media (min-width: 640px) { .quote-text { font-size: 1.5rem; } }
@media (min-width: 1024px) { .quote-text { font-size: 1.9rem; } }
.quote-more { margin-top: 2.25rem; }
.course-origin { position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; transform: translate(-50%, 50%); border-radius: 999px; background: var(--lit); box-shadow: 0 0 14px rgba(124, 196, 234, 0.8); }

/* --- Služby jako kurz na mapě --------------------------------------------------- */
.course { position: relative; display: grid; gap: 5rem; }
.course-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; will-change: transform; }
.course-planned { fill: none; stroke: rgba(124, 196, 234, 0.28); stroke-width: 1; stroke-dasharray: 3 9; stroke-linecap: round; }
.course-traveled path { fill: none; stroke: var(--accent-light); stroke-width: 1.5; stroke-linecap: round; }
.waypoint { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; align-items: start; }
.waypoint-track { position: relative; display: flex; justify-content: center; }
.waypoint-body { min-width: 0; }
.wp { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; margin-top: 1.9rem; border-radius: 999px; border: 1px solid rgba(124, 196, 234, 0.35); background: rgba(4, 10, 18, 0.65); color: rgba(124, 196, 234, 0.55); transition: border-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease; }
.wp::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(124, 196, 234, 0.9); opacity: 0; }
.wp.is-reached { border-color: var(--accent-light); color: var(--lit); box-shadow: 0 0 22px rgba(54, 130, 174, 0.45); }
.wp.is-reached::before { animation: ping 1.4s ease-out both; }
.wp--featured { width: 80px; height: 80px; margin-top: 2.3rem; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.waypoint-title { font-size: 2.25rem; line-height: 1.02; font-weight: 600; letter-spacing: -0.025em; color: var(--fg); }
.waypoint--featured .waypoint-title { font-size: 3rem; }
.waypoint-text { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgba(232, 243, 248, 0.85); }
.waypoint--featured .waypoint-text { font-size: 1.125rem; }
.waypoint-tags { margin-top: 2rem; }
.waypoint-art { display: none; }
@media (min-width: 640px) {
  .waypoint-title { font-size: 3rem; }
  .waypoint--featured .waypoint-title { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .course { gap: 9rem; }
  .waypoint { grid-template-columns: 1fr 180px 1fr; gap: 3rem; }
  .wp { width: 80px; height: 80px; margin-top: 2.1rem; }
  .wp--featured { width: 96px; height: 96px; margin-top: 2.6rem; }
  .waypoint-track { grid-column: 2; grid-row: 1; justify-content: flex-start; }
  .waypoint-body { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; }
  .waypoint-body .legend { justify-content: flex-end; }
  .waypoint--right .waypoint-track { justify-content: flex-end; }
  .waypoint--right .waypoint-body { grid-column: 3; justify-self: start; text-align: left; }
  .waypoint--right .waypoint-body .legend { justify-content: flex-start; }
  .waypoint--featured .waypoint-title { font-size: 4.5rem; }
  .waypoint-text { font-size: 1.125rem; }
  .waypoint--featured .waypoint-text { font-size: 1.25rem; }
  /* Ilustrace naproti textu, o pětinu větší než sloupec; připlují při dosažení bodu. */
  .waypoint-art { display: block; grid-column: 3; grid-row: 1; align-self: center; justify-self: start; width: 100%; max-width: 520px; opacity: 0; transform-origin: right center; transform: translateX(28px) scale(1.2); transition: opacity 1s ease 0.25s, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
  .waypoint--right .waypoint-art { grid-column: 1; justify-self: end; transform-origin: left center; transform: translateX(-28px) scale(1.2); }
  .waypoint.is-reached .waypoint-art, .no-js .waypoint-art { opacity: 1; transform: scale(1.2); }
}

.art { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 12px rgba(124, 196, 234, 0.18)); }
.js .art-in { opacity: 0; }
.js .art-draw { stroke-dasharray: 900; stroke-dashoffset: 900; }
.js .art-grow { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; }
.js .art-donut { stroke-dasharray: 245 377; stroke-dashoffset: 245; }
.no-js .art-donut { stroke-dasharray: 245 377; }
.waypoint.is-reached .art-in { animation: art-fade-in 0.7s ease both; animation-delay: calc(0.35s + var(--i, 0) * 0.1s); }
.waypoint.is-reached .art-draw { animation: art-draw 1.8s ease-out 0.5s both; }
.waypoint.is-reached .art-grow { animation: art-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both, art-scan 4.5s ease-in-out infinite; animation-delay: calc(0.4s + var(--i, 0) * 0.08s), calc(2.4s + var(--i, 0) * 0.18s); }
.waypoint.is-reached .art-donut { animation: art-donut 1.4s ease-out 0.6s both; }
.waypoint.is-reached .art-pulse { animation: art-fade-in 0.7s ease both, art-pulse 3s ease-in-out infinite; animation-delay: calc(0.35s + var(--i, 0) * 0.1s), 1.6s; }
@keyframes art-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes art-draw { to { stroke-dashoffset: 0; } }
@keyframes art-grow { to { transform: scaleY(1); } }
@keyframes art-donut { to { stroke-dashoffset: 0; } }
@keyframes art-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* Klidový pohyb ilustrací po nástupu („Světlo a data“): tvary stojí, ale proudí jimi světlo.
   Po obvodu notebooku, mobilu a prstence obíhá odlesk, po křivkách běží pulz, sloupci zleva doprava
   projíždí světelný sken a celá ilustrace jemně dýchá září. Rozjede se asi 2 s po nástupu ilustrace,
   mimo obrazovku stojí (třída is-offscreen ze site.js). Ilustrace jsou jen na desktopu. */
.art-flow { fill: none; stroke: var(--lit); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(124, 196, 234, 0.9)); opacity: 0; }
.flow-short { stroke-dasharray: 16 640; stroke-dashoffset: 656; }
.flow-frame { stroke-dasharray: 46 1100; stroke-dashoffset: 1146; stroke-width: 1.8; }
.flow-phone { stroke-dasharray: 34 560; stroke-dashoffset: 594; stroke-width: 1.6; }
.flow-ring { stroke-dasharray: 22 355; stroke-dashoffset: 377; stroke-width: 14; stroke: rgba(223, 244, 255, 0.55); filter: none; }
.waypoint.is-reached .flow-short { animation: fade-in 0.8s ease 2.2s both, flow-short 3.6s linear 2.2s infinite; }
.waypoint.is-reached .flow-frame { animation: fade-in 0.8s ease 2.2s both, flow-frame 7s linear 2.2s infinite; }
.waypoint.is-reached .flow-phone { animation: fade-in 0.8s ease 3.4s both, flow-phone 5.5s linear 3.4s infinite; }
.waypoint.is-reached .flow-ring { animation: fade-in 0.8s ease 2.4s both, flow-ring 6s linear 2.4s infinite; }
.waypoint.is-reached .art { animation: art-glow 6s ease-in-out 2.4s infinite; }
.waypoint-art.is-offscreen .art, .waypoint-art.is-offscreen .art * { animation-play-state: paused; }
@keyframes flow-short { from { stroke-dashoffset: 656; } to { stroke-dashoffset: 0; } }
@keyframes flow-frame { from { stroke-dashoffset: 1146; } to { stroke-dashoffset: 0; } }
@keyframes flow-phone { from { stroke-dashoffset: 594; } to { stroke-dashoffset: 0; } }
@keyframes flow-ring { from { stroke-dashoffset: 377; } to { stroke-dashoffset: 0; } }
@keyframes art-scan { 0%, 30%, 100% { fill-opacity: 0.28; stroke-opacity: 0.55; } 12% { fill-opacity: 0.6; stroke-opacity: 1; } }
@keyframes art-glow { 0%, 100% { filter: drop-shadow(0 0 10px rgba(124, 196, 234, 0.14)); } 50% { filter: drop-shadow(0 0 18px rgba(124, 196, 234, 0.32)); } }

/* --- Tvorba webu: úvod, kroky, ceník -------------------------------------------- */
.web-intro { margin-top: 2.5rem; }
.web-platforms { margin-top: 1.5rem; row-gap: 0.25rem; }
.steps { display: grid; gap: 1.25rem; margin-top: 3rem; }
.step { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.25rem; align-items: baseline; padding-top: 1rem; border-top: 1px solid rgba(232, 243, 248, 0.14); }
.step-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--accent-light); }
.step-title { font-size: 1.125rem; line-height: 1.556; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.step-text { grid-column: 2; font-size: 15px; line-height: 1.625; color: rgba(232, 243, 248, 0.8); }
.pricing { display: grid; gap: 2.25rem; margin-top: 3.5rem; }
.price { position: relative; display: flex; flex-direction: column; padding: 2rem; border: 1px solid rgba(232, 243, 248, 0.12); background: rgba(232, 243, 248, 0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.price--featured { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: color-mix(in srgb, var(--accent) 10%, rgba(4, 10, 18, 0.6)); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--accent) 80%, transparent); }
.price--featured::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 2px; background: var(--accent); }
.price-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; padding: 0.35rem 0.7rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; background: var(--accent-btn); }
.price-name { font-size: 1.5rem; line-height: 1.333; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.price-audience { margin-top: 0.75rem; font-size: 15px; line-height: 1.625; color: rgba(232, 243, 248, 0.75); }
.price-amount { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(232, 243, 248, 0.1); }
.price-value { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.5rem; row-gap: 0.35rem; font-size: 2rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--fg); }
.price-from { font-size: 1rem; font-weight: 500; letter-spacing: normal; color: rgba(232, 243, 248, 0.7); }
.price-note { margin-top: 0.625rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: rgba(232, 243, 248, 0.7); text-transform: uppercase; }
.price-features { margin-top: 1.5rem; font-size: 15px; color: rgba(232, 243, 248, 0.85); }
.price-features li { display: flex; align-items: flex-start; gap: 0.75rem; padding-block: 0.625rem; }
.price-features li + li { border-top: 1px solid rgba(232, 243, 248, 0.08); }
.price-check { margin-top: 0.25rem; flex-shrink: 0; color: var(--accent); }
.price-actions { display: flex; flex-direction: column; margin-top: auto; padding-top: 1.5rem; }
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; row-gap: 1.75rem; }
  .step { display: block; padding-top: 1.25rem; }
  .step-title { margin-top: 0.75rem; }
  .step-text { margin-top: 0.5rem; }
}
/* Tablet: dva sloupce a třetí karta na střed pod nimi (tři sloupce by byly příliš úzké pro cenu). */
@media (min-width: 720px) {
  .pricing { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .price:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.625rem); }
  .price-audience { min-height: calc(2 * 1.625 * 15px); }
}
@media (min-width: 1024px) {
  .web-intro { margin-top: 3.5rem; }
  .steps { margin-top: 3.5rem; grid-template-columns: repeat(4, 1fr); }
  .steps--principles { margin-top: 3rem; }
  .pricing { margin-top: 5rem; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .price:last-child:nth-child(odd) { grid-column: auto; width: auto; }
  .price--featured { transform: translateY(-12px); }
  .price-value { font-size: 2.25rem; }
}

/* --- Reference ------------------------------------------------------------------- */
.ref-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.h-ref { font-size: 2.25rem; line-height: 1.111; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); min-width: 0; }
.ref-arrows { display: flex; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 640px) { .h-ref { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .h-ref { font-size: 3.75rem; } }
.ref-viewport { margin-top: 2.5rem; overflow: hidden; touch-action: pan-y; cursor: grab; isolation: isolate; transform: translateZ(0); }
@media (min-width: 1024px) { .ref-viewport { margin-top: 3.5rem; } }
.ref-track { --per: 1; --gap: 20px; display: flex; gap: var(--gap); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
@media (min-width: 768px) { .ref-track { --per: 2; } }
@media (min-width: 1024px) { .ref-track { --per: 3; --gap: 24px; } }
.ref-slide { flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); display: flex; min-width: 0; }
.ref-card { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 1.75rem; transform: translateZ(0); border: 1px solid rgba(232, 243, 248, 0.12); background: rgba(232, 243, 248, 0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); user-select: none; }
.stars { display: flex; gap: 0.25rem; }
.ref-text { margin-top: 1.25rem; min-height: calc(6 * 1.6em); font-size: 15px; line-height: 1.6; color: rgba(232, 243, 248, 0.85); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.ref-more { margin-top: 0.75rem; min-height: 1.5rem; }
.ref-read { font-size: 14px; font-weight: 500; color: var(--accent-light); text-underline-offset: 4px; transition: text-decoration-color 0.3s; }
.ref-read:hover { text-decoration: underline; }
.ref-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(232, 243, 248, 0.1); }
/* Horní řádek karty: hvězdičky a vpravo štítek rozsahu zakázky (Jednoduché, Střední, Komplexní, E-commerce). */
.ref-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 24px; }
.ref-tag { padding: 0.3rem 0.6rem; border: 1px solid rgba(124, 196, 234, 0.45); font-family: var(--font-mono); font-size: 10.5px; line-height: 1.2; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-light); white-space: nowrap; }
/* Podpis: firma jako odkaz na web se šipkou, pod ní jméno a pozice. */
.ref-company { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 16px; font-weight: 600; color: var(--fg); text-underline-offset: 4px; }
.ref-company .ref-ext { flex-shrink: 0; color: var(--accent-light); transition: transform 0.3s ease; }
@media (hover: hover) { .ref-company:hover { text-decoration: underline; } .ref-company:hover .ref-ext { transform: translate(2px, -2px); } }
.ref-companies { display: flex; flex-wrap: wrap; column-gap: 1.1rem; row-gap: 0.2rem; }
.ref-person { margin-top: 0.3rem; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: 0.14em; color: rgba(232, 243, 248, 0.6); text-transform: uppercase; }
.ref-person .sep { color: rgba(232, 243, 248, 0.3); }
.ref-dots { display: flex; justify-content: center; margin-top: 1.5rem; }
.ref-dot { display: flex; height: 44px; align-items: center; justify-content: center; padding-inline: 0.375rem; }
.ref-dot span { display: block; width: 0.75rem; height: 6px; background: rgba(232, 243, 248, 0.25); transition: all 0.3s ease; }
.ref-dot:hover span { background: rgba(232, 243, 248, 0.5); }
.ref-dot[aria-current="true"] span { width: 2rem; background: var(--accent-light); }
.ref-dialog-text { margin-top: 1.5rem; font-size: 1rem; line-height: 1.7; color: rgba(232, 243, 248, 0.88); }
.ref-dialog-foot { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(232, 243, 248, 0.1); }
@media (min-width: 640px) { .ref-dialog-text { font-size: 1.125rem; } }

/* Pruh log klientů: dvě řady plynou proti sobě, na krajích se ztrácejí. */
.logos { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 2.5rem; --logo-h: 40px; }
@media (min-width: 1024px) { .logos { margin-top: 3rem; } }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); transform: translateZ(0); isolation: isolate; }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee, 40s) linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee-track--reverse { animation-direction: reverse; }
.marquee.is-offscreen .marquee-track { animation-play-state: paused; }
.marquee-item { flex: none; display: grid; place-items: center; height: calc(var(--logo-h) + 24px); padding-inline: 2rem; }
.marquee-item img { display: block; height: var(--logo-h); width: auto; max-width: none; }
/* Řada je v pásu čtyřikrát; posun o jednu kopii = čtvrtina šířky. */
@keyframes marquee { to { transform: translateX(-25%); } }

/* --- Podporujeme projekty (pás) ---------------------------------------------------- */
.support { position: relative; overflow: hidden; }
.band { padding-block: 3rem; border-block: 1px solid rgba(232, 243, 248, 0.14); background: rgba(4, 10, 18, 0.62); }
@media (min-width: 1024px) { .band { padding-block: 3.75rem; } }
.support-grid { display: grid; align-items: center; gap: 2.5rem; }
.support-copy { text-align: center; }
.h-support { max-width: 48rem; margin-inline: auto; font-size: 1.875rem; line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.support-text { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: rgba(232, 243, 248, 0.85); }
.support-strong { font-weight: 500; color: var(--fg); }
.support-cta { position: relative; margin-top: 2rem; white-space: nowrap; }
.support-cta::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent); opacity: 0; pointer-events: none; animation: cta-ring 4s ease-out infinite; }
@keyframes cta-ring { 0% { transform: scale(1); opacity: 0.7; } 60%, 100% { transform: scale(1.35, 1.9); opacity: 0; } }
.band-heart { width: 240px; margin-inline: auto; }
.support-art { display: block; width: 100%; height: auto; overflow: visible; }
.constellation { transform-origin: 50% 55%; }
.support.is-in .constellation { animation: heartbeat 4s ease-in-out 3.6s infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.05); } 24% { transform: scale(1); } 36% { transform: scale(1.04); } 50% { transform: scale(1); } }
.const-line { fill: none; stroke: rgba(124, 196, 234, 0.7); stroke-width: 1; }
.js .const-line { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.support.is-in .const-line { animation: const-draw 2.6s ease-out 0.9s both; }
@keyframes const-draw { to { stroke-dashoffset: 0; } }
.js .const-star { opacity: 0; }
.support.is-in .const-star { animation: fade-in 0.6s ease both; animation-delay: calc(var(--i, 0) * 0.08s); }
.const-star circle { fill: var(--lit); }
.const-star .const-halo { fill: rgba(124, 196, 234, 0.22); animation: halo 4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.3s); }
@keyframes halo { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (min-width: 640px) { .h-support { font-size: 2.25rem; line-height: 1.08; } }
@media (min-width: 1024px) {
  .support-grid { grid-template-columns: 1fr auto; gap: 4rem; }
  .support-copy { text-align: left; }
  .h-support { margin-inline: 0; font-size: 2.75rem; }
  .support-text { max-width: 54rem; font-size: 17px; }
  .band-heart { width: 320px; margin-right: 1.5rem; }
}

/* --- Kontakt a formuláře ------------------------------------------------------------ */
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.contact-list { display: grid; gap: 2rem; margin-top: 3rem; }
.contact-list--page { gap: 2.25rem; }
.contact-main { margin-top: 0.5rem; }
.contact-main .link { font-size: 1.5rem; line-height: 1.333; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
@media (min-width: 640px) { .contact-main .link { font-size: 1.875rem; line-height: 1.2; } }
.contact-people { display: grid; gap: 1rem; margin-top: 0.75rem; }
.contact-person { font-size: 1rem; color: rgba(232, 243, 248, 0.85); }
.contact-name { color: var(--fg); }
.contact-ico { margin-top: 0.25rem; font-size: 14px; color: rgba(232, 243, 248, 0.7); }
@media (min-width: 1024px) { .contact-person { font-size: 1.125rem; } }
.contact-cards { display: grid; gap: 1.25rem; margin-top: 1rem; }
.contact-card-person { display: flex; align-items: center; gap: 1rem; }
.contact-card-name { font-size: 1rem; font-weight: 600; color: var(--fg); }
.contact-card-mail, .contact-card-site { display: block; width: fit-content; margin-top: 0.25rem; font-size: 15px; }
.contact-card-mail { color: rgba(232, 243, 248, 0.85); }
@media (min-width: 1024px) { .contact-card-name { font-size: 1.125rem; } }
.contact-card { padding: 2rem; border: 1px solid rgba(232, 243, 248, 0.18); background: rgba(8, 16, 26, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (min-width: 1024px) { .contact-card { padding: 2.5rem; } }

.form { display: grid; gap: 1rem; }
.form--dialog { margin-top: 2rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; font-size: 13px; color: rgba(232, 243, 248, 0.78); }
.req { margin-left: 0.25em; color: var(--accent-light); }
/* Pole musí být zřetelná i nad pozadím: světlejší podklad a výraznější okraj; 16 px kvůli přiblížení v iOS. */
.field input, .field textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid rgba(232, 243, 248, 0.3); background: rgba(232, 243, 248, 0.09); color: var(--fg); font-size: 16px; outline: none; transition: border-color 0.3s ease; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
/* Chybně vyplněné pole: červenější okraj a hláška pod polem (i když má pole fokus). */
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: rgba(240, 150, 150, 0.8); }
.field-error { font-size: 12.5px; line-height: 1.4; color: #f0b4b4; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.form-note { font-size: 14px; color: rgba(232, 243, 248, 0.7); }
.form-note.is-error { color: #f0b4b4; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --- Okna (recenze, podpora, cookies) ---------------------------------------------- */
.dialog { width: min(100% - 2rem, 640px); max-height: calc(100dvh - 4rem); margin: auto; padding: 0; border: 1px solid rgba(232, 243, 248, 0.14); background: rgba(4, 10, 18, 0.92); color: var(--fg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overscroll-behavior: contain; }
.dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.dialog--cookies { width: min(100% - 2rem, 600px); }
/* Poděkování po odeslání formuláře: kruh s mezerou vpravo dole (jako ve faviconu) se nakreslí a rozsvítí fajfka. */
.dialog--thanks { width: min(100% - 2rem, 460px); }
.thanks { position: relative; display: grid; justify-items: center; padding: 3rem 2rem 2.25rem; text-align: center; }
/* Po otevření má fokus samotné okno (bez rámečku); rámeček se ukáže až při přechodu klávesou Tab na tlačítka. */
.thanks:focus { outline: none; }
.thanks-close { position: absolute; top: 1rem; right: 1rem; }
.thanks-mark { width: 96px; height: 96px; overflow: visible; }
.thanks-halo { transform-box: fill-box; transform-origin: center; }
.thanks-ring { fill: none; stroke: var(--accent-light); stroke-width: 2.5; stroke-linecap: round; }
.thanks-check { fill: none; stroke: var(--lit); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks-eyebrow { margin-top: 1.5rem; }
.thanks-text { margin-top: 0.75rem; max-width: 32ch; font-size: 16px; line-height: 1.6; color: rgba(232, 243, 248, 0.75); }
.thanks-btn { margin-top: 2rem; min-width: 10rem; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .dialog--thanks[open] { animation: thanks-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .dialog--thanks[open] .thanks-ring { stroke-dasharray: 100; animation: thanks-draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both; }
  .dialog--thanks[open] .thanks-check { stroke-dasharray: 100; animation: thanks-draw 0.55s cubic-bezier(0.65, 0, 0.35, 1) 0.95s both; }
  .dialog--thanks[open] .thanks-halo { animation: thanks-glow 1.4s ease-out 0.8s both; }
}
@keyframes thanks-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes thanks-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes thanks-glow { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }
.dialog-inner { padding: 2rem; overflow-y: auto; max-height: calc(100dvh - 4rem); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.dialog-title { margin-top: 0.5rem; font-size: 1.5rem; line-height: 1.333; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.dialog-intro { margin-top: 1rem; font-size: 14px; line-height: 1.625; color: rgba(232, 243, 248, 0.75); }
.dialog-actions { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.dialog-actions .btn { justify-content: center; }
@media (min-width: 640px) { .dialog-actions { display: flex; justify-content: flex-end; } }
html.dialog-open { overflow: hidden; }

/* --- Lišta cookies: karta na střed dole, ve skle jako hlavička ----------------------- */
.cookies { position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: center; pointer-events: none; animation: cookies-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.menu-open .cookies { display: none; }
.cookies-box { width: min(100%, 560px); padding: 1.5rem 1.75rem; text-align: center; pointer-events: auto; border: 1px solid rgba(232, 243, 248, 0.14); background: rgba(4, 10, 18, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9); }
.cookies-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); }
.cookies-text { margin-top: 0.6rem; font-size: 14px; line-height: 1.6; color: rgba(232, 243, 248, 0.85); }
.cookies-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.1rem; }
.cookies-settings { padding: 0.75rem 0.25rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(232, 243, 248, 0.7); transition: color 0.3s ease; }
@media (hover: hover) { .cookies-settings:hover { color: var(--fg); } }
@media (min-width: 640px) { .cookies { bottom: 1.5rem; } }
@media (max-width: 639px) {
  .cookies-box { text-align: left; }
  .cookies-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookies-actions .btn { width: 100%; justify-content: center; }
  .cookies-settings { grid-column: 1 / -1; order: 3; justify-self: center; padding-block: 0.5rem; }
}
@keyframes cookies-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.consent-rows { margin-top: 1.5rem; border-block: 1px solid rgba(232, 243, 248, 0.1); }
.consent-row { display: block; padding-block: 1rem; }
.consent-row + .consent-row { border-top: 1px solid rgba(232, 243, 248, 0.1); }
.consent-row--toggle { cursor: pointer; }
.consent-row-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.consent-name { font-size: 15px; font-weight: 600; color: var(--fg); }
.consent-always { flex-shrink: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; white-space: nowrap; color: rgba(232, 243, 248, 0.6); text-transform: uppercase; }
.consent-text { display: block; margin-top: 0.375rem; font-size: 13px; line-height: 1.625; color: rgba(232, 243, 248, 0.7); }
.consent-list { margin-top: 1rem; }
.consent-list summary { display: inline-block; cursor: pointer; list-style: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); }
.consent-list summary::-webkit-details-marker { display: none; }
.consent-list summary::before { content: "+ "; }
.consent-list[open] summary::before { content: "− "; }
.table-wrap { margin-top: 0.75rem; overflow-x: auto; }
.table-wrap table { width: 100%; text-align: left; border-collapse: collapse; font-size: 13px; color: rgba(232, 243, 248, 0.8); }
.table-wrap th { padding: 0.5rem 1rem 0.5rem 0; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; color: rgba(232, 243, 248, 0.6); text-transform: uppercase; }
.table-wrap td { padding: 0.5rem 1rem 0.5rem 0; vertical-align: top; border-top: 1px solid rgba(232, 243, 248, 0.1); }
.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 40px; height: 22px; border-radius: 999px; border: 1px solid rgba(232, 243, 248, 0.3); background: rgba(232, 243, 248, 0.1); cursor: pointer; transition: background 0.25s ease, border-color 0.25s ease; }
.switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 999px; background: var(--fg); transition: transform 0.25s ease; }
.switch:checked { background: var(--accent); border-color: var(--accent); }
.switch:checked::before { transform: translateX(18px); }

/* --- Patička --------------------------------------------------------------------- */
.footer { border-top: 1px solid rgba(232, 243, 248, 0.1); background: rgba(0, 0, 0, 0.7); }
@media (min-width: 1024px) { .footer { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
.footer-grid { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-logo { width: 168px; height: auto; }
.footer-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: rgba(232, 243, 248, 0.7); text-transform: uppercase; }
.footer-list { display: grid; gap: 0.625rem; margin-top: 1rem; font-size: 14px; color: rgba(232, 243, 248, 0.85); }
.footer-list a { transition: color 0.15s; }
.footer-list a:hover, .footer-legal a:hover, .footer-legal button:hover { color: var(--fg); }
.footer-entities { display: grid; gap: 1.5rem; padding-block: 2rem; border-top: 1px solid rgba(232, 243, 248, 0.1); font-size: 14px; line-height: 1.625; color: rgba(232, 243, 248, 0.7); }
.footer-entities .sep { color: rgba(232, 243, 248, 0.3); }
.footer-entity { color: rgba(232, 243, 248, 0.85); }
@media (min-width: 768px) { .footer-entities { grid-template-columns: 1fr 1fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1.5rem; row-gap: 0.75rem; padding-block: 1.5rem; border-top: 1px solid rgba(232, 243, 248, 0.1); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: rgba(232, 243, 248, 0.7); text-transform: uppercase; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; row-gap: 0.5rem; }
.footer-legal a, .footer-legal button { text-transform: uppercase; transition: color 0.15s; padding-block: 0.5rem; }

/* --- Podstránky: úvodní blok ------------------------------------------------------- */
.page-hero { position: relative; padding: calc(96px + 6vh) 0 2.5rem; --enter-base: 0.35s; --stagger: 0.12s; --rise: 20px; }
.page-hero--contact { padding-bottom: 4rem; }
.page-hero--legal { padding-bottom: 1rem; }
@media (min-width: 1024px) {
  .page-hero { padding: calc(112px + 8vh) 0 4rem; }
  .page-hero--contact { padding-bottom: 6rem; }
  .page-hero--legal { padding-bottom: 2rem; }
}
.h-page { font-size: 2.25rem; line-height: 1.02; font-weight: 600; letter-spacing: -0.025em; color: var(--fg); }
@media (min-width: 640px) { .h-page { font-size: 3rem; } }
@media (min-width: 1024px) { .h-page { font-size: 3.75rem; } }
.page-actions { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; margin-top: 2.5rem; }
.page-actions .btn { width: 100%; }
@media (min-width: 640px) { .page-actions { flex-direction: row; width: auto; } .page-actions .btn { width: auto; } }

/* --- O nás ----------------------------------------------------------------------- */
.about-hero { display: grid; align-items: center; gap: 3rem; }
.about-lead { margin-top: 2rem; max-width: 36rem; }
.about-portraits { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0.75rem; }
.about-portrait--low { margin-top: 2.25rem; }
@media (min-width: 1024px) {
  .about-hero { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
  .about-portraits { gap: 1.25rem; }
  .about-portrait--low { margin-top: 4rem; }
}
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1340 / 1920; object-fit: cover; border: 1px solid rgba(232, 243, 248, 0.14); background: rgba(8, 16, 26, 0.7); }
.portrait--small { flex: none; width: 96px; height: 128px; aspect-ratio: auto; object-position: center 20%; }
.portrait--mini { flex: none; width: 48px; height: 64px; aspect-ratio: auto; object-position: center 20%; }
.story-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 5rem; } }
.story-text { display: flex; flex-direction: column; gap: 1.25rem; max-width: 42rem; margin-top: 2rem; font-size: 17px; line-height: 1.65; color: rgba(232, 243, 248, 0.85); }
.founders { display: grid; gap: 3rem; margin-top: 3rem; }
@media (min-width: 768px) { .founders { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (min-width: 1024px) { .founders { gap: 4rem; } }
.founder { display: flex; flex-direction: column; }
.founder-head { display: flex; align-items: center; gap: 1.25rem; }
.founder-id { min-width: 0; }
.founder-name { font-size: 1.5rem; line-height: 1.333; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
@media (min-width: 1024px) { .founder-name { font-size: 28px; } }
.founder-role { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(232, 243, 248, 0.7); text-transform: uppercase; }
.founder-text { margin-top: 1.5rem; font-size: 16px; line-height: 1.65; color: rgba(232, 243, 248, 0.85); }
.founder-tags { margin-top: 1.25rem; row-gap: 0.25rem; }
.founder-site { margin-top: 1.25rem; align-self: flex-start; }
.team-band { position: relative; padding-block: 4rem; border-block: 1px solid rgba(232, 243, 248, 0.1); background: rgba(4, 10, 18, 0.6); }
@media (min-width: 1024px) { .team-band { padding-block: 6rem; } }
.team-grid { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 1024px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .team-roles { justify-content: flex-end; } }
.h-team { font-size: 1.875rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
@media (min-width: 1024px) { .h-team { font-size: 2.25rem; } }
.team-text { margin-top: 1.25rem; font-size: 17px; line-height: 1.65; color: rgba(232, 243, 248, 0.85); }

/* --- Zásady ---------------------------------------------------------------------- */
.h-legal { max-width: 56rem; font-size: 1.875rem; line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; color: var(--fg); }
@media (min-width: 640px) { .h-legal { font-size: 2.25rem; } }
@media (min-width: 1024px) { .h-legal { font-size: 3rem; } }
.legal-updated { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: rgba(232, 243, 248, 0.6); text-transform: uppercase; }
.legal-body { position: relative; padding-block: 3rem; }
@media (min-width: 1024px) { .legal-body { padding-block: 4rem; } }
.legal { max-width: 48rem; }
.legal section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(232, 243, 248, 0.1); }
.legal h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.legal h3 { margin-top: 1.75rem; font-size: 1.0625rem; font-weight: 600; color: var(--fg); }
.legal p { margin-top: 1rem; font-size: 1rem; line-height: 1.7; color: rgba(232, 243, 248, 0.82); }
.legal ul { display: grid; gap: 0.5rem; margin-top: 1rem; padding-left: 1.5rem; }
.legal li { position: relative; line-height: 1.65; color: rgba(232, 243, 248, 0.82); }
.legal li::before { content: ""; position: absolute; left: -1.5rem; top: 0.8em; width: 0.85rem; height: 1px; background: var(--accent-light); }
@media (min-width: 1024px) { .legal h2 { font-size: 1.75rem; } .legal p, .legal li { font-size: 1.0625rem; } }

/* --- Stránka 404 ------------------------------------------------------------------- */
.nf { position: relative; z-index: 1; display: flex; min-height: 100svh; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 1.5rem; text-align: center; }
.nf-logo { display: block; width: 140px; }
.nf-eyebrow { margin: 3.5rem 0 0; }
.nf-title { margin-top: 1rem; font-size: 2.25rem; line-height: 1.111; font-weight: 600; letter-spacing: -0.025em; }
@media (min-width: 640px) { .nf-title { font-size: 3rem; line-height: 1; } }
.nf-text { margin-top: 1rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.6; color: rgba(232, 243, 248, 0.85); }
.nf-back { margin-top: 2rem; }
.nf-alt { margin-top: 3.5rem; max-width: 28rem; font-size: 14px; color: rgba(232, 243, 248, 0.6); }
.nf-alt .link { text-decoration: underline; }

/* --- Dotyková zařízení: rozostřené podklady nad pozadím stojí výkon, místo nich pevnější tón --- */
@media (hover: none) and (pointer: coarse) {
  .menu, .header.is-scrolled, .ref-card, .dialog, .price, .contact-card, .cookies-box { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu { background: rgba(2, 6, 11, 0.97); }
  .header.is-scrolled { background: rgba(2, 6, 11, 0.92); }
  .dialog { background: rgba(4, 10, 18, 0.98); }
  .cookies-box { background: rgba(4, 10, 18, 0.96); }
  .ref-card, .price, .contact-card { background: rgba(8, 16, 26, 0.82); }
  .price--featured { background: color-mix(in srgb, var(--accent) 14%, rgba(4, 10, 18, 0.9)); }
  .btn--primary:hover { filter: none; }
  .lit.is-lit { animation: none; }
}

/* --- Omezený pohyb: nic se nehýbe, světlo staticky, obsah kompletní ------------------ */
@media (prefers-reduced-motion: reduce) {
  .logo-anim, .logo-word, .logo-word path, .logo-orbit, .logo-orbit-light, .enter, .lit.is-lit,
  .wp.is-reached::before, .quote-mark.is-reached, .art-in, .art-draw, .art-grow, .art-donut, .art-pulse,
  .support-cta::after, .const-halo, .support.is-in .constellation, .cookies, .menu { animation: none !important; }
  .enter, .art-in, .js .art-in, .js .const-star, .const-star { opacity: 1; transform: none; }
  .js .logo-ring { -webkit-mask-image: none; mask-image: none; }
  .logo-word { -webkit-mask-image: none; mask-image: none; }
  .logo-orbit { opacity: 1; }
  .waypoint-art { opacity: 1 !important; transform: scale(1.2) !important; transition: none !important; }
  .js .art-draw, .js .art-donut, .js .const-line { stroke-dashoffset: 0; }
  .js .art-grow { transform: scaleY(1); }
  .ref-track { transition: none; }
  .art-flow { display: none; }
  .waypoint.is-reached .art { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-item[aria-hidden="true"] { display: none; }
  .js .bg-light, .js .bg-snow { opacity: 1; }
  .bg-light-i { opacity: 0.6; }
  .bg-cursor, .depth-line, .bg-snow, .bg-dust { display: none; }
}

/* --- Tisk: tmavé pozadí a pohyblivé vrstvy pryč, text tmavý na bílé ----------------- */
@media print {
  .bg, .depth-line, .header, .menu, .cookies, .dialog, .burger, .skip, .logos, .course-svg, .art-flow { display: none !important; }
  body { background: #fff; color: #000; }
  * { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; backdrop-filter: none !important; }
  [data-reveal], .enter, .waypoint-art { opacity: 1 !important; transform: none !important; }
  [data-reveal] div { transform: none !important; }
  .section, .page-hero { padding-block: 1.5rem; }
}
