/* CERBERIS CONTROL — original process workspace interface */
:root {
  --ws-sidebar: 236px;
  --ws-top: 52px;
  --ws-bottom: 34px;
  --ws-bg: #071219;
  --ws-panel: #0a1a23;
  --ws-panel-2: #0d222d;
  --ws-line: rgba(118, 184, 194, .16);
  --ws-line-hot: rgba(80, 241, 234, .46);
  --ws-text: #e9f6f7;
  --ws-dim: #8eabb0;
  --ws-cyan: #4c8dff;
  --ws-blue: #4c8dff;
  --blue: #4c8dff;
  --blue-light: #4c8dff;
  --blue-deep: #4c8dff;
  --blue-pale: rgba(76, 141, 255, .1);
  --border-blue: rgba(76, 141, 255, .24);
  --cyan: #4c8dff;
  --coral: #4c8dff;
  --coral-light: #4c8dff;
  --coral-pale: rgba(76, 141, 255, .1);
  --ws-green: #55dfa7;
  --ws-radius: 10px;
}

html { background: var(--ws-bg); scroll-padding-top: calc(var(--ws-top) + 18px); }

body {
  margin-left: var(--ws-sidebar);
  padding-top: var(--ws-top);
  padding-bottom: var(--ws-bottom);
  background: var(--ws-bg) !important;
  color: var(--ws-text);
}

body::before {
  left: var(--ws-sidebar) !important;
  bottom: var(--ws-bottom) !important;
  background:
    linear-gradient(180deg, rgba(3, 16, 23, .86), rgba(5, 18, 25, .96)),
    url('assets/hero-bg.jpg') center / cover no-repeat !important;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: var(--ws-top) 0 var(--ws-bottom) var(--ws-sidebar);
  pointer-events: none;
  border-radius: 0 !important;
  background-image:
    linear-gradient(rgba(91, 210, 215, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 210, 215, .026) 1px, transparent 1px);
  background-size: 38px 38px;
}

/* Sidebar */
.workspace-sidebar {
  position: fixed;
  inset: 0 auto var(--ws-bottom) 0;
  z-index: 500;
  width: var(--ws-sidebar);
  display: flex;
  flex-direction: column;
  padding: 18px 12px 14px;
  color: var(--ws-text);
  background: rgba(5, 15, 21, .98);
  border-right: 1px solid var(--ws-line);
  border-radius: 0 !important;
}

.workspace-brand {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3px 8px;
  min-height: 62px;
  padding: 10px 12px 14px;
  border-bottom: 1px solid var(--ws-line);
  border-radius: 0 !important;
}
.workspace-brand img { width: 112px; height: auto; filter: none; border-radius: 0 !important; }
.workspace-brand span { color: var(--ws-cyan); font: 600 .62rem var(--ff-mono); letter-spacing: .12em; }
.workspace-brand small { grid-column: 1 / -1; color: #5e7880; font: .58rem var(--ff-mono); letter-spacing: .08em; }

.workspace-group-label {
  margin: 22px 12px 9px;
  color: #58717a;
  font: 600 .58rem var(--ff-mono);
  letter-spacing: .16em;
}

.workspace-tree { position: static; display: grid; background: none; border: 0; backdrop-filter: none; }
.workspace-tree a {
  position: relative;
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  color: var(--ws-dim);
  border: 1px solid transparent;
  border-radius: 7px !important;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}
.workspace-tree a::before { content: none !important; }
.workspace-tree a span { color: #4f6b74; font: .58rem var(--ff-mono); }
.workspace-tree a b { font-size: .78rem; font-weight: 500; }
.workspace-tree a:hover { color: #fff; background: rgba(76, 141, 255, .06); border-color: rgba(76, 141, 255, .12); transform: translateX(2px); }
.workspace-tree a.active { color: #eaffff; background: linear-gradient(90deg, rgba(76, 141, 255,.13), rgba(76, 141, 255,.025)); border-color: rgba(76, 141, 255,.2); }
.workspace-tree a.active::after { content: ""; position: absolute; left: -13px; top: 9px; bottom: 9px; width: 2px; background: var(--ws-cyan); box-shadow: 0 0 10px var(--ws-cyan); }
.workspace-tree a.active span { color: var(--ws-cyan); }

.workspace-side-state {
  margin-top: auto;
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 3px 8px;
  padding: 13px 12px;
  background: rgba(85, 223, 167, .055);
  border: 1px solid rgba(85, 223, 167, .16);
}
.workspace-side-state i { width: 7px; height: 7px; margin-top: 4px; background: var(--ws-green); border-radius: 50% !important; box-shadow: 0 0 10px rgba(85,223,167,.7); }
.workspace-side-state span { color: #c9f9e5; font: .66rem var(--ff-mono); }
.workspace-side-state small { grid-column: 2; color: #5f8378; font: .55rem var(--ff-mono); }

/* Top editor bar */
#main-nav {
  position: fixed;
  top: 0;
  left: var(--ws-sidebar);
  right: 0;
  height: var(--ws-top);
  transform: none !important;
  background: rgba(6, 18, 25, .96);
  border-bottom: 1px solid var(--ws-line);
  box-shadow: none;
  border-radius: 0 !important;
}
#main-nav .nav-inner { max-width: none; height: var(--ws-top); padding: 0 18px; }
#main-nav .nav-logo { display: none; }
.workspace-path { display: flex; align-items: center; gap: 9px; min-width: 270px; color: #607d85; font: .66rem var(--ff-mono); }
.workspace-path i { color: #35515a; font-style: normal; }
.workspace-path b { color: var(--ws-cyan); font-weight: 500; }
#main-nav .nav-links { gap: 2px; margin-left: auto; }
#main-nav .nav-links a { padding: 7px 9px; color: #839da4; font: 500 .66rem var(--ff-mono); text-transform: none; }
#main-nav .nav-links a:hover { color: #fff; background: rgba(76, 141, 255,.07); }
#main-nav .nav-links .nav-cta { padding: 7px 15px !important; color: #032126 !important; background: var(--ws-cyan) !important; }

/* Main canvas */
.section, #hero { margin: 0; border-radius: 0 !important; }
.section { padding: 90px clamp(28px, 4.5vw, 76px); background: rgba(5, 20, 28, .84) !important; border-bottom: 1px solid var(--ws-line) !important; }
.section:nth-of-type(even) { background: rgba(7, 25, 34, .88) !important; }
.wrap { width: 100%; max-width: 1380px; padding: 0; }
.section-lbl { color: var(--ws-cyan); background: rgba(76, 141, 255,.055); border: 1px solid rgba(76, 141, 255,.18); font-size: .62rem; }
.section-lbl::after { color: var(--ws-green); }
h2 { max-width: 900px; font-size: clamp(2rem, 4vw, 4rem); }
h2 em { color: var(--ws-cyan); }
.section-sub { max-width: 760px; color: #a7c0c5; }

/* Hero */
#hero {
  min-height: calc(100svh - var(--ws-top) - var(--ws-bottom));
  padding: clamp(54px, 7vw, 100px) clamp(28px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4,15,22,.96) 0%, rgba(4,17,24,.88) 50%, rgba(4,17,24,.7)),
    url('assets/hero-bg.jpg') center / cover no-repeat !important;
}
#hero .hero-process-visual { display: none; }
#hero .hero-grid { width: 100%; max-width: 1480px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(450px, .95fr); align-items: center; gap: clamp(38px, 5vw, 86px); text-align: left; }
#hero .hero-copy { align-items: flex-start; }
#hero .hero-eyebrow { color: #a9c7ff; background: rgba(76, 141, 255,.07); border-color: rgba(76, 141, 255,.25); font-family: var(--ff-mono); }
#hero h1 { max-width: 760px; margin-bottom: 25px; font-size: clamp(2.8rem, 5.2vw, 5.25rem); line-height: .98; text-align: left; }
#hero h1 em { color: var(--ws-cyan); }
#hero .hero-sub { max-width: 660px; margin-left: 0; text-align: left; color: #a8c1c6; }
#hero .hero-btns, #hero .hero-trust { justify-content: flex-start; }
#hero .hero-btns { align-items: stretch; }
#hero .hero-btns .btn-primary,
#hero .hero-btns .btn-ghost {
  min-height: 48px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
#hero .hero-trust { gap: 14px 20px; }
#hero .hero-trust span { font-family: var(--ff-mono); font-size: .62rem; }

.process-core {
  min-width: 0;
  overflow: hidden;
  background: rgba(4, 15, 22, .86);
  border: 1px solid rgba(84, 197, 204, .24);
  border-radius: 14px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.38), 0 0 70px rgba(39,204,206,.08);
}
.core-window-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #091a23; border-bottom: 1px solid var(--ws-line); border-radius: 14px 14px 0 0 !important; }
.core-window-bar > span { width: 7px; height: 7px; border: 1px solid #547078; border-radius: 50% !important; }
.core-window-bar b { margin-left: 8px; color: #7c989f; font: 500 .58rem var(--ff-mono); }
.core-window-bar small { margin-left: auto; color: var(--ws-green); font: .55rem var(--ff-mono); }
.core-canvas { position: relative; width: min(100%, 570px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; background: radial-gradient(circle, rgba(76, 141, 255,.055), transparent 57%); border-radius: 0 !important; }
.core-orbits { position: absolute; inset: 6%; width: 88%; height: 88%; overflow: visible; fill: none; stroke: rgba(122, 190, 198, .22); stroke-width: 1; }
.core-orbits circle:nth-child(2) { stroke-dasharray: 5 9; }
.core-orbits circle:nth-child(3) { stroke: rgba(76, 141, 255,.35); }
.core-orbits path { stroke: rgba(122,190,198,.16); }
.core-center { position: absolute; inset: 50% auto auto 50%; width: 118px; height: 118px; transform: translate(-50%,-50%); display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #123844, #091b24 72%); border: 1px solid rgba(76, 141, 255,.42); border-radius: 50% !important; box-shadow: 0 0 0 12px rgba(76, 141, 255,.035), 0 0 34px rgba(76, 141, 255,.14); }
.core-center span { color: var(--ws-cyan); font: .49rem var(--ff-mono); letter-spacing: .18em; }
.core-center b { margin: 5px 0; color: #fff; font: 600 .78rem/1.12 var(--ff-mono); }
.core-center small { max-width: 86px; color: #6e9298; font: .43rem var(--ff-mono); }
.core-node { position: absolute; z-index: 2; min-width: 105px; padding: 8px 10px; display: grid; grid-template-columns: 7px 1fr; gap: 2px 7px; text-align: left; color: #c8dcdf; background: rgba(8, 28, 37, .94); border: 1px solid rgba(107,180,188,.22); border-radius: 8px !important; box-shadow: 0 8px 24px rgba(0,0,0,.22); cursor: pointer; }
.core-node i { width: 6px; height: 6px; margin-top: 3px; background: var(--ws-cyan); border-radius: 50% !important; box-shadow: 0 0 8px rgba(76, 141, 255,.7); }
.core-node span { font: 600 .52rem var(--ff-mono); letter-spacing: .06em; }
.core-node small { grid-column: 2; color: #617e85; font: .45rem var(--ff-mono); }
.core-node:hover, .core-node.active { color: #fff; background: rgba(14, 55, 65, .98); border-color: rgba(76, 141, 255,.58); box-shadow: 0 0 25px rgba(76, 141, 255,.13); }
.node-orders { left: 50%; top: 8%; transform: translateX(-50%); }
.node-tech { right: 4%; top: 48%; transform: translateY(-50%); }
.node-reports { left: 50%; bottom: 7%; transform: translateX(-50%); }
.node-clients { left: 4%; top: 48%; transform: translateY(-50%); }
.core-log { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; color: #57727a; background: #071820; border-top: 1px solid var(--ws-line); border-radius: 0 0 14px 14px !important; font: .52rem var(--ff-mono); }
.core-log b { color: #78ad9c; font-weight: 500; }
.core-log i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--ws-green); border-radius: 50% !important; }

/* Editor-like content panels */
.prob-card, .svc-card, .show-card, .work-card, .price-card, .why-list, .faq-item, .contact-form, .contact-info-item, .flow-node, .sol-item, .stat-card, .compare {
  background: rgba(8, 27, 36, .96) !important;
  border: 1px solid var(--ws-line) !important;
  border-radius: var(--ws-radius) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.18) !important;
}
.prob-card:hover, .svc-card:hover, .show-card:hover, .work-card:hover, .price-card:hover, .flow-node:hover, .sol-item:hover, .contact-info-item:hover, .faq-item:hover, .faq-item[open] {
  background: linear-gradient(145deg, rgba(11,42,52,.98), rgba(7,26,35,.98)) !important;
  border-color: rgba(76, 141, 255,.42) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.3), 0 0 26px rgba(76, 141, 255,.075) !important;
}
.svc-grid, #priklady .svc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.work-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
.work-grid > .work-card { grid-column: span 2; }
.work-grid > .work-card:nth-child(-n+2) { grid-column: span 3; }
.work-grid > .work-card:nth-child(-n+2) .work-shot { height: 220px; }
@media (max-width: 1280px) {
  .work-grid > .work-card, .work-grid > .work-card:nth-child(-n+2) { grid-column: auto; }
  .work-grid > .work-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .work-grid > .work-card:first-child:nth-last-child(odd) .work-shot { height: 340px; }
}
@media (max-width: 640px) {
  .work-grid > .work-card:first-child:nth-last-child(odd) { grid-column: auto; }
  .work-grid > .work-card:first-child:nth-last-child(odd) .work-shot { height: 180px; }
}
.svc-card { padding: 23px 20px; }
.svc-title { font-size: .98rem; }
.svc-body { font-size: .78rem; }
.svc-tag, .show-meta span, .fn-chip { color: #76a8b0; background: #0a202a; border-color: var(--ws-line); font-size: .56rem; }
.faq-prompt { background: #0a202a !important; border-color: rgba(76, 141, 255,.25) !important; }
.f-input, .f-textarea, .f-select { background: #061820; border-color: var(--ws-line); }
footer { background: #06151d; border-radius: 0 !important; }

.whatsapp-chat { bottom: calc(var(--ws-bottom) + 14px); }
.contact-fab { bottom: calc(var(--ws-bottom) + 78px); }

/* Status bar and command palette */
.workspace-statusbar { position: fixed; inset: auto 0 0 0; z-index: 700; height: var(--ws-bottom); display: flex; align-items: center; gap: 18px; padding: 0 12px; color: #78959c; background: #071820; border-top: 1px solid rgba(76, 141, 255,.24); border-radius: 0 !important; font: .56rem var(--ff-mono); letter-spacing: .03em; }
.workspace-statusbar > span:first-child { color: #9ed4c4; }
.workspace-statusbar > span i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--ws-green); border-radius: 50% !important; box-shadow: 0 0 7px var(--ws-green); }
.workspace-statusbar button { margin-left: auto; padding: 5px 14px; color: #8ba7ad; background: #091e27; border: 1px solid var(--ws-line); font: .55rem var(--ff-mono); }
.workspace-statusbar button:hover { color: #fff; border-color: var(--ws-line-hot); }
.workspace-statusbar a { color: var(--ws-cyan); }

.command-palette { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: start center; padding-top: 12vh; background: rgba(2,8,12,.72); backdrop-filter: blur(8px); }
.command-palette[hidden] { display: none; }
.command-dialog { width: min(620px, calc(100vw - 32px)); padding: 13px; color: var(--ws-text); background: #081b24; border: 1px solid rgba(76, 141, 255,.34); border-radius: 12px !important; box-shadow: 0 30px 100px rgba(0,0,0,.58); }
.command-dialog label { display: block; margin: 2px 4px 9px; color: #78969d; font: .58rem var(--ff-mono); text-transform: uppercase; letter-spacing: .1em; }
.command-dialog input { width: 100%; padding: 14px 15px; color: #f1ffff; background: #05151d; border: 1px solid rgba(76, 141, 255,.24); border-radius: 7px !important; font: .8rem var(--ff-mono); outline: none; }
.command-dialog input:focus { border-color: var(--ws-cyan); box-shadow: 0 0 0 3px rgba(76, 141, 255,.08); }
.command-results { display: grid; gap: 3px; max-height: 320px; margin: 9px 0; overflow: auto; }
.command-results button { width: 100%; display: flex; justify-content: space-between; padding: 10px 12px; color: #9bb3b8; background: transparent; border: 1px solid transparent; border-radius: 6px !important; text-align: left; font: .68rem var(--ff-mono); }
.command-results button:hover, .command-results button.active { color: #fff; background: rgba(76, 141, 255,.08); border-color: rgba(76, 141, 255,.15); }
.command-results button small { color: #55727a; }
.command-dialog > small { display: block; padding: 5px; color: #506a72; font: .52rem var(--ff-mono); }

@media (max-width: 1280px) {
  :root { --ws-sidebar: 210px; }
  #main-nav .nav-links li:nth-child(-n+3) { display: none; }
  #hero .hero-grid { grid-template-columns: 1fr minmax(400px,.85fr); gap: 36px; }
  .svc-grid, #priklady .svc-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Široké, ale nižšie notebookové obrazovky (napr. 1500 × 760). */
@media (min-width: 1101px) and (max-height: 900px) {
  #hero {
    height: calc(100svh - var(--ws-top) - var(--ws-bottom));
    min-height: 0;
    padding: 24px clamp(34px, 4vw, 62px);
    overflow: hidden;
  }
  #hero .hero-grid {
    height: 100%;
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
    gap: clamp(28px, 3vw, 48px);
  }
  #hero .hero-eyebrow { margin-bottom: 14px; padding-top: 6px; padding-bottom: 6px; }
  #hero h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(2.8rem, 4.15vw, 4rem);
    line-height: .98;
  }
  #hero .hero-sub { max-width: 690px; margin-bottom: 18px; font-size: .94rem; line-height: 1.48; }
  #hero .hero-btns { gap: 10px; }
  #hero .btn-primary, #hero .btn-ghost { min-height: 44px; padding: 11px 20px; font-size: .78rem; }
  #hero .hero-trust { margin-top: 14px; gap: 8px 16px; }
  #hero .hero-trust span { font-size: .54rem; }
  .process-core { width: min(100%, 420px); justify-self: end; }
  .core-window-bar, .core-log { height: 32px; }
  .workspace-brand { min-height: 54px; padding-top: 7px; padding-bottom: 10px; }
  .workspace-group-label { margin-top: 15px; }
  .workspace-tree a { min-height: 37px; }
  .workspace-side-state { padding-top: 10px; padding-bottom: 10px; }
}

@media (min-width: 1101px) and (max-height: 700px) {
  #hero h1 { font-size: clamp(2.45rem, 3.7vw, 3.45rem); }
  #hero .hero-sub { font-size: .86rem; }
  #hero .hero-trust { display: none; }
  .process-core { width: min(100%, 370px); }
  .workspace-tree a { min-height: 33px; }
  .workspace-side-state small { display: none; }
}

@media (max-width: 1100px) {
  :root { --ws-sidebar: 0px; }
  body { margin-left: 0; }
  .workspace-sidebar { display: none; }
  #main-nav { left: 0; }
  #main-nav .nav-logo { display: inline-flex; }
  #main-nav .nav-logo img { height: 23px; }
  .workspace-path { display: none; }
  #hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 30px; }
}

@media (max-width: 900px) {
  :root { --ws-top: 50px; --ws-bottom: 32px; }
  #main-nav .hamburger { display: block; }
  #main-nav .nav-inner { width: 100%; }
  #main-nav .hamburger { margin-left: auto; flex: 0 0 auto; }
  #main-nav .nav-links { display: none; }
  #main-nav .nav-links.mobile-open { top: var(--ws-top); background: #071820; }
  #hero { padding-top: 56px; }
  #hero .hero-grid { grid-template-columns: 1fr; max-width: 760px; }
  #hero .hero-copy { align-items: center; }
  #hero h1, #hero .hero-sub { text-align: center; }
  #hero .hero-btns, #hero .hero-trust { justify-content: center; }
  .process-core { width: min(100%, 590px); margin: 10px auto 0; }
  .core-node { min-height: 44px; }
  .f-input, .f-textarea, .f-select, .command-dialog input { font-size: 16px; }
  .svc-grid, #priklady .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prob-grid, .sol-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-context { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 68px 20px; }
  #hero { padding: 48px 20px 64px; }
  #hero .hero-grid,
  #hero .hero-copy,
  #hero h1,
  #hero .hero-sub { width: 100%; min-width: 0; max-width: 100%; }
  #hero h1 { font-size: clamp(2.1rem, 10vw, 2.75rem); line-height: 1.02; overflow-wrap: normal; word-break: normal; }
  #hero .hero-sub { padding: 0 4px; font-size: .94rem; }
  #main-nav .hamburger {
    position: absolute;
    top: 3px;
    right: 8px;
    width: 44px;
    height: 44px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
  }
  #main-nav .hamburger span { display: block; width: 20px; height: 2px; flex: 0 0 2px; background: var(--ws-cyan) !important; }
  #hero .hero-trust { display: none; }
  .process-core { width: 100%; min-width: 0; }
  .core-canvas { width: 100%; min-width: 0; min-height: 0; aspect-ratio: 1; }
  .core-center { width: 98px; height: 98px; }
  .core-node { min-width: 92px; padding: 7px 8px; }
  .svc-grid, #priklady .svc-grid, .prob-grid, .sol-grid, .work-grid { grid-template-columns: 1fr; }
  .workspace-statusbar { justify-content: space-between; gap: 8px; }
  .workspace-statusbar button { margin-left: 0; width: 48px; overflow: hidden; white-space: nowrap; padding: 5px 9px; font-size: 0; }
  .workspace-statusbar button::before { content: '⌘ K'; font: .55rem var(--ff-mono); }
  .workspace-statusbar > span:first-child { display: none; }
  .workspace-statusbar #workspace-clock { display: none; }
  .whatsapp-chat { right: 14px; bottom: calc(var(--ws-bottom) + 12px); }
  .contact-fab { right: 14px; bottom: calc(var(--ws-bottom) + 76px); }
}

@media (hover: none) {
  .prob-card:hover, .svc-card:hover, .show-card:hover, .work-card:hover, .price-card:hover, .flow-node:hover, .sol-item:hover, .contact-info-item:hover {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-orbits, .core-node, .core-center { animation: none !important; }
}

/* Package: keep the heading and both offers on one shared content axis. */
#cennik .section-sub {
  max-width: 820px;
}

#cennik .price-grid.two {
  width: min(100%, 1080px);
  max-width: none;
  margin: 44px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

#cennik .price-card {
  padding: 34px 34px 30px;
  transform: none;
}

#cennik .price-card.featured {
  transform: none;
}

#cennik .price-name {
  min-height: 1.5em;
  margin: 0 0 18px;
  padding-right: 150px;
  line-height: 1.45;
}

#cennik .price-card:not(.featured) .price-name {
  padding-right: 0;
}

#cennik .price-flag {
  top: 24px;
  right: 28px;
  left: auto;
  transform: none;
  box-shadow: 0 7px 20px rgba(76, 141, 255, .24);
}

#cennik .price-pay {
  min-height: 3.25em;
}

@media (max-width: 900px) {
  #cennik .price-grid.two {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 36px;
  }
}

@media (max-width: 640px) {
  #cennik .price-card {
    padding: 26px 22px 24px;
  }

  #cennik .price-name {
    min-height: 0;
    padding-right: 0;
    margin-top: 36px;
  }

  #cennik .price-card:not(.featured) .price-name {
    margin-top: 0;
  }

  #cennik .price-flag {
    top: 18px;
    right: auto;
    left: 22px;
  }

  #cennik .price-pay {
    min-height: 0;
  }
}

/* Light homepage theme: white canvas, dark copy, cyan as the only accent. */
:root {
  --ws-bg: #ffffff;
  --ws-panel: #ffffff;
  --ws-panel-2: #f5f9f9;
  --ws-line: rgba(8, 25, 29, .14);
  --ws-line-hot: rgba(25, 184, 177, .56);
  --ws-text: #071114;
  --ws-dim: #52676b;
  --ink: #071114;
  --ink-dim: #354b50;
  --ink-muted: #64777b;
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --surface: #ffffff;
  --surface-hi: #f4f8f8;
}

html,
body {
  background: #ffffff !important;
  color: #071114 !important;
}

body::before {
  background: #ffffff !important;
}

body::after {
  background-image:
    linear-gradient(rgba(8, 25, 29, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 25, 29, .035) 1px, transparent 1px);
}

body * {
  color: #071114;
}

.workspace-sidebar,
#main-nav,
#main-nav.elevated,
.top-banner,
.workspace-statusbar,
footer {
  background: #ffffff !important;
  color: #071114 !important;
  border-color: var(--ws-line) !important;
}

.workspace-brand img {
  filter: none !important;
}

.workspace-brand small,
.workspace-group-label,
.workspace-tree a,
.workspace-tree a span,
.workspace-path,
.workspace-path i,
#main-nav .nav-links a,
.workspace-statusbar,
.workspace-statusbar button {
  color: #52676b !important;
}

.workspace-tree a:hover,
.workspace-tree a.active,
#main-nav .nav-links a:hover,
.workspace-statusbar button:hover {
  color: #071114 !important;
  background: rgba(76, 141, 255, .14) !important;
}

.workspace-side-state {
  background: #f3f7ff !important;
  border-color: rgba(25, 160, 115, .22) !important;
}

.workspace-side-state span,
.workspace-statusbar > span:first-child {
  color: #185d49 !important;
}

#hero,
body .section,
body .section:nth-of-type(even),
#problem,
#riesenie,
#priklady,
#projekty,
#precoja,
#postup,
#ukazky,
#cennik,
#faq,
#kontakt {
  background: #ffffff !important;
  border-color: var(--ws-line) !important;
}

#hero::before,
.section::before {
  background: none !important;
  opacity: 0 !important;
}

#hero h1,
h2,
h3,
h4,
.svc-title,
.stat-name,
.fn-title,
.price-amt,
.price-feats li,
.faq-item summary,
.work-title,
.contact-form h3,
.show-name {
  color: #071114 !important;
}

#hero .hero-sub,
#hero .hero-trust span,
.section-sub,
.svc-body,
.stat-desc,
.fn-sub,
.show-info p,
.price-desc,
.price-pay,
.faq-a,
.why-text p,
.foot-tagline,
.foot-links a,
.contact-info-item,
.f-label,
.gdpr-label,
.work-label {
  color: #42585d !important;
}

#hero .hero-sub strong,
.offer-p strong,
.why-list li,
.sol-item,
.prob-card,
.foot-copy,
.demo-slide-caption b,
.demo-slide-caption small,
.cmp-vs,
.logo-dev,
.foot-logo .logo-dev {
  color: #071114 !important;
}

.offer-h,
.offer-p,
.offer-spots,
.show-kind {
  color: #071114 !important;
}

.offer-h em {
  color: #376fcf !important;
  text-shadow: none !important;
}

.nav-logo img,
.foot-logo img {
  filter: none !important;
}

.logo-dev,
.foot-logo .logo-dev {
  text-shadow: none !important;
}

/* Footer content follows the same left content axis as the page sections. */
footer {
  padding: 48px clamp(28px, 4.5vw, 76px) !important;
}

.foot-inner,
.foot-copy {
  width: 100%;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.foot-inner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
}

.foot-brand,
.foot-links {
  justify-content: flex-start;
  text-align: left;
}

@media (max-width: 640px) {
  footer {
    padding: 38px 20px 44px !important;
  }

  .foot-links {
    align-items: flex-start;
    gap: 14px 20px;
  }
}

#hero h1 em,
h2 em,
.section-lbl,
.section-lbl::before,
.workspace-brand span,
.workspace-path b,
.workspace-tree a.active span,
.price-name,
.work-cta,
.show-cta,
.core-center span {
  color: #376fcf !important;
}

#hero .hero-eyebrow,
.section-lbl,
.svc-tag,
.show-meta span,
.fn-chip {
  color: #285fbd !important;
  background: #f2f6ff !important;
  border-color: rgba(21, 159, 153, .26) !important;
}

.prob-card,
.svc-card,
.show-card,
.work-card,
.price-card,
.why-list,
.faq-item,
.contact-form,
.contact-info-item,
.flow-node,
.sol-item,
.stat-card,
.compare,
.faq-prompt,
.offer-box {
  background: #ffffff !important;
  border-color: var(--ws-line) !important;
  box-shadow: 0 14px 34px rgba(8, 25, 29, .08) !important;
}

.prob-card:hover,
.svc-card:hover,
.show-card:hover,
.work-card:hover,
.price-card:hover,
.flow-node:hover,
.sol-item:hover,
.contact-info-item:hover,
.faq-item:hover,
.faq-item[open] {
  background: #f5f8ff !important;
  border-color: rgba(21, 159, 153, .46) !important;
  box-shadow: 0 18px 42px rgba(8, 25, 29, .12), 0 0 24px rgba(76, 141, 255, .12) !important;
}

.show-top.a,
.show-top.b,
.show-top.c,
.work-frame,
.mock-bar {
  background: #f5f9f9 !important;
  border-color: var(--ws-line) !important;
}

.show-top svg {
  stroke: rgba(21, 159, 153, .42) !important;
}

.process-core,
.core-window-bar,
.core-canvas,
.core-log,
.core-center,
.core-node,
.core-node:hover,
.core-node.active {
  background: #ffffff !important;
  color: #071114 !important;
  border-color: var(--ws-line) !important;
}

.process-core {
  box-shadow: 0 24px 60px rgba(8, 25, 29, .12), 0 0 50px rgba(76, 141, 255, .1) !important;
}

.core-center {
  box-shadow: 0 0 0 12px rgba(76, 141, 255, .09), 0 0 34px rgba(76, 141, 255, .18) !important;
}

.core-center b,
.core-node span {
  color: #071114 !important;
}

.core-center small,
.core-node small,
.core-window-bar b,
.core-log,
.core-log b {
  color: #587075 !important;
}

.f-input,
.f-textarea,
.f-select,
.command-dialog input {
  color: #071114 !important;
  background: #ffffff !important;
  border-color: rgba(8, 25, 29, .2) !important;
}

.f-input::placeholder,
.f-textarea::placeholder,
.command-dialog input::placeholder {
  color: #728489 !important;
}

.btn-primary,
.btn-coral,
.nav-cta,
.contact-fab,
.whatsapp-chat,
.price-flag {
  color: #071114 !important;
  background: #4c8dff !important;
  border-color: #4c8dff !important;
}

.btn-ghost,
.workspace-statusbar button {
  color: #071114 !important;
  background: #ffffff !important;
  border-color: rgba(8, 25, 29, .24) !important;
}

.command-palette {
  background: rgba(255, 255, 255, .84) !important;
}

.command-dialog,
.command-results button,
#main-nav .nav-links.mobile-open {
  color: #071114 !important;
  background: #ffffff !important;
  border-color: var(--ws-line) !important;
}

.command-results button:hover,
.command-results button.active {
  color: #071114 !important;
  background: #f2f6ff !important;
}

.faq-prompt span {
  color: #285fbd !important;
}

.faq-prompt strong {
  color: #071114 !important;
}

.whatsapp-chat {
  color: #071114 !important;
  background: #25d366 !important;
  border-color: #25d366 !important;
  box-shadow: 0 12px 32px rgba(18, 140, 126, .28) !important;
}

.whatsapp-chat:hover {
  background: #20bd5a !important;
  border-color: #20bd5a !important;
}

.whatsapp-chat svg {
  fill: none !important;
}

.whatsapp-chat svg path:first-child {
  fill: #ffffff !important;
}

.whatsapp-chat svg path:last-child {
  fill: #128c7e !important;
}

/* Sidebar navigation: active section is indicated only by an underline. */
.workspace-tree a,
.workspace-tree a:hover,
.workspace-tree a.active {
  color: #52676b !important;
  background: transparent !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.workspace-tree a::after {
  content: none !important;
}

.workspace-tree a b {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding-bottom: 5px;
  color: inherit !important;
}

.workspace-tree a b::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #4c8dff;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(76, 141, 255, .34);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}

.workspace-tree a:hover {
  color: #071114 !important;
}

.workspace-tree a.active {
  color: #071114 !important;
}

.workspace-tree a.active b::after {
  transform: scaleX(1);
}

#hero .eyebrow-dot {
  background: #4c8dff !important;
}

.prob-card:hover .prob-x,
.svc-card:hover .svc-icon,
.flow-node:hover .fn-icon {
  color: #4c8dff !important;
  background: rgba(76, 141, 255, .14) !important;
  border-color: rgba(76, 141, 255, .4) !important;
  box-shadow: 0 0 20px rgba(76, 141, 255, .16) !important;
}

.prob-card::after,
.svc-card::after,
.show-card::after {
  background: linear-gradient(90deg, #4c8dff, rgba(76, 141, 255, .28), transparent) !important;
  box-shadow: 0 0 14px rgba(76, 141, 255, .3) !important;
}

#hero .btn-primary {
  color: #071114 !important;
  background: #4c8dff !important;
  border-color: #4c8dff !important;
  box-shadow: 0 10px 30px rgba(76, 141, 255, .3) !important;
}

#hero .btn-primary:hover {
  background: #3f7be3 !important;
  border-color: #3f7be3 !important;
  box-shadow: 0 13px 34px rgba(76, 141, 255, .38) !important;
}

/* Reliable full-width mobile navigation. */
@media (max-width: 900px) {
  #main-nav {
    z-index: 800;
  }

  #main-nav .nav-links.mobile-open {
    position: fixed;
    top: var(--ws-top);
    right: 0;
    left: 0;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--ws-top) - var(--ws-bottom));
    padding: 12px 16px 18px;
    overflow-y: auto;
    background: #ffffff !important;
    border-top: 1px solid var(--ws-line);
    border-bottom: 1px solid var(--ws-line);
    box-shadow: 0 20px 44px rgba(8, 25, 29, .14);
  }

  #main-nav .nav-links.mobile-open li {
    width: 100%;
  }

  #main-nav .nav-links.mobile-open a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 11px 12px;
    color: #071114 !important;
    border-bottom: 1px solid rgba(8, 25, 29, .08);
  }

  #main-nav .nav-links.mobile-open li:last-child a {
    justify-content: center;
    margin: 12px 0 0;
    border-bottom: 0;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

/* Selected work on the overview: demos and live client websites. */
#hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 64px); }
#hero .hero-eyebrow { font-size: .72rem; }
#hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.8rem); line-height: 1.04; }
#hero .hero-sub { font-size: 1rem; line-height: 1.65; }
#hero .hero-trust { margin-top: 18px; padding-top: 0; border: 0; }
.hero-web-offer {
  width: 100%; max-width: 660px; margin-top: 24px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  background: #f3f7ff; border: 1px solid rgba(76, 141, 255, .25);
  border-radius: 12px !important; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.hero-web-offer:hover { background: #eaf1ff; border-color: var(--ws-blue); }
.hero-web-offer-icon { flex-shrink: 0; font-size: 1.6rem; color: #3474df; }
.hero-web-offer strong { display: block; font-size: 1rem; font-weight: 600; }
.hero-web-offer strong b { color: #2e6cd5; white-space: nowrap; }
.hero-web-offer small { display: block; margin-top: 4px; color: #52676b; font-size: .68rem; line-height: 1.5; }
.hero-web-offer-link { margin-left: auto; flex-shrink: 0; font-size: .7rem; font-weight: 600; }
.hero-showcase {
  width: 100%; min-width: 0; overflow: hidden; background: #fff;
  border: 1px solid var(--ws-line); border-radius: 16px !important;
  box-shadow: 0 24px 70px rgba(8, 25, 29, .10), 0 0 50px rgba(76, 141, 255, .06);
}
.hero-showcase-bar { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 10px 18px; border-bottom: 1px solid var(--ws-line); font: .65rem var(--ff-mono); }
.hero-showcase-bar > span { color: #52676b; }
.hero-window-dots { display: flex; gap: 5px; }
.hero-window-dots i { width: 6px; height: 6px; border: 1px solid #a5b5ba; border-radius: 50% !important; }
.hero-project-count { margin-left: auto; white-space: nowrap; }
.hero-project { display: block; text-decoration: none; }
.hero-project[hidden], .hero-showcase-controls[hidden] { display: none; }
.hero-project-image { aspect-ratio: 8 / 5; overflow: hidden; background: #f3f6fa; border-bottom: 1px solid var(--ws-line); }
.hero-project-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-project-info { position: relative; min-height: 170px; padding: 22px 24px; }
.hero-project-kind { display: inline-flex; align-items: center; gap: 6px; color: #52676b; font: .59rem var(--ff-mono); }
.hero-project-kind i { width: 6px; height: 6px; background: #25b882; border-radius: 50% !important; }
.hero-project-kind.is-demo i { background: var(--ws-blue); }
#hero .hero-project h2 { margin: 10px 0 5px; max-width: none; font-size: clamp(1.2rem, 1.8vw, 1.7rem); line-height: 1.2; letter-spacing: -.03em; }
.hero-project-info p { margin: 0; color: #52676b; font-size: .78rem; line-height: 1.5; }
.hero-project-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 17px; color: #2e6cd5; font-size: .72rem; font-weight: 600; }
.hero-project-cta span { color: inherit; transition: transform .2s; }
.hero-project:hover .hero-project-cta span { transform: translate(2px, -2px); }
.hero-showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 20px; border-top: 1px solid var(--ws-line); }
.hero-project-dots, .hero-project-arrows { display: flex; align-items: center; }
.hero-showcase-controls button { display: grid; place-items: center; min-height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-project-dots { flex: 1; min-width: 192px; max-width: 280px; }
.hero-project-dots button { flex: 1; min-width: 24px; padding: 0 3px; border-radius: 6px !important; }
.hero-project-dots button span { width: 100%; height: 4px; background: #dce4ed; border-radius: 4px !important; transition: background .2s, box-shadow .2s; }
.hero-project-dots button:hover span { background: #9cbdf3; }
.hero-project-dots button[aria-pressed="true"] span { background: var(--ws-blue); box-shadow: 0 0 0 3px rgba(76, 141, 255, .09); }
.hero-project-dots button:focus-visible { outline: none; }
.hero-project-dots button:focus-visible span { outline: 2px solid #2865ce; outline-offset: 4px; }
.hero-project-arrows { flex-shrink: 0; gap: 2px; padding: 3px; background: #f4f7fb; border: 1px solid #e6ecf3; border-radius: 12px !important; }
.hero-project-arrows button { width: 36px; min-height: 34px; border-radius: 8px !important; color: #42585d; transition: color .2s, background .2s; }
.hero-project-arrows button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-project-arrows button:hover { color: #2865ce; background: #e5edfb; }
.hero-project-arrows button:focus-visible { outline: 2px solid #2865ce; outline-offset: -2px; }
.hero-project-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes hero-project-in { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-project.is-active { animation: hero-project-in .4s ease-out; }
}
@media (min-width: 1101px) and (max-height: 900px) {
  #hero { height: auto; min-height: calc(100svh - var(--ws-top) - var(--ws-bottom)); overflow: visible; padding-top: 32px; padding-bottom: 32px; }
  #hero h1 { font-size: clamp(2.5rem, 3.9vw, 3.8rem); margin-bottom: 18px; }
  #hero .hero-sub { font-size: .88rem; line-height: 1.55; }
  .hero-web-offer { margin-top: 20px; padding: 12px 14px; gap: 10px; }
  .hero-web-offer-link { font-size: .65rem; }
  .hero-project-info { min-height: 148px; padding: 18px 20px; }
}
@media (min-width: 901px) and (max-width: 1280px) {
  .hero-web-offer { flex-wrap: wrap; }
  .hero-web-offer-link { margin-left: 32px; }
  .hero-showcase-controls { gap: 14px; padding-right: 14px; padding-left: 14px; }
  .hero-project-arrows button { width: 30px; }
}
@media (max-width: 900px) {
  #hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-showcase { max-width: 660px; margin: 0 auto; }
  .hero-web-offer { text-align: left; }
}
@media (max-width: 640px) {
  #hero h1 { font-size: clamp(2.1rem, 9vw, 2.75rem); }
  #hero .hero-sub { font-size: .94rem; }
  .hero-web-offer { padding: 14px; gap: 10px; flex-wrap: wrap; }
  .hero-web-offer strong { font-size: .96rem; }
  .hero-web-offer small { max-width: 235px; }
  .hero-web-offer-link { margin-left: 31px; }
  .hero-showcase-bar { gap: 10px; padding: 10px 12px; font-size: .56rem; }
  .hero-project-info { min-height: 160px; padding: 18px; }
  #hero .hero-project h2 { font-size: 1.35rem; }
  .hero-showcase-controls { flex-wrap: wrap; justify-content: center; gap: 0; padding: 4px 18px 12px; }
  .hero-project-dots { flex-basis: 100%; max-width: none; }
  .hero-project-arrows button { width: 40px; min-height: 34px; }
}
@media (max-width: 359px) {
  .hero-window-dots { display: none; }
}

/* Service discovery and shared accessible navigation. */
.skip-link { position: fixed; z-index: 1500; top: 8px; left: calc(var(--ws-sidebar) + 12px); padding: 10px 16px; color: #071114; background: #fff; border: 2px solid var(--ws-blue); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.service-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.service-route { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--ws-line); border-radius: 16px !important; background: #fff; transition: border-color .2s, box-shadow .2s; }
.service-route:hover { border-color: var(--ws-blue); box-shadow: 0 12px 32px rgba(76, 141, 255, .1); }
.service-route-label { color: #346fce; font: .62rem var(--ff-mono); letter-spacing: .08em; }
.service-route h3 { margin: 0; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.service-route p { margin: 0; color: #42585d; font-size: .95rem; line-height: 1.7; }
.service-route small { margin-top: auto; color: #52676b; font: .65rem/1.6 var(--ff-mono); }
.service-route-cta, .service-detail-link { color: #2e6cd5; font-size: .8rem; font-weight: 600; }
.service-route-cta span { color: inherit; }
.service-detail-link { display: inline-block; margin: 0 0 14px; text-decoration: underline; text-underline-offset: 4px; }
.foot-business { max-width: 1380px; padding: 0 28px; margin: 0 auto 20px; color: #52676b; font: .65rem/1.8 var(--ff-mono); }
@media (max-width: 900px) {
  #main-nav .nav-links.mobile-open li { display: block; }
}
@media (max-width: 640px) {
  .service-route-grid { grid-template-columns: 1fr; gap: 16px; }
  .foot-business { padding: 0 20px; }
}
