

:root {
  
  --ht-navy: #0b2d3b;     
  --ht-navy-2: #12404f;   
  --ht-laguna: #048290;   
  --ht-laguna-ink: #056671; 
  --ht-glow: #8fe3e8;     
  --ht-laguna-tma: #22a6b3; 
  --ht-mist: #f2f6f6;     
  --ht-white: #ffffff;
  --ht-slate: #5a707d;    
  --ht-line: #dfe8ea;
  --ht-spark: #f4b57e;    
  --ht-spark-glow: #ffd3a8;
  --ht-navy-rgb: 11, 45, 59;
  --ht-laguna-rgb: 4, 130, 144;
  --ht-glow-rgb: 143, 227, 232;
  
  --ht-f-head: "Red Hat Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ht-f-text: "Red Hat Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  
  --ht-r-card: 18px;
  --ht-r-btn: 12px;
  --ht-sh-btn: 0 12px 30px rgba(11, 45, 59, 0.25);
  --ht-sh-card: 0 1px 2px rgba(11, 45, 59, 0.04), 0 18px 40px -24px rgba(11, 45, 59, 0.28);
  color-scheme: light;
}

.ht-h { font-family: var(--ht-f-head); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; text-wrap: balance; margin: 0; color: var(--ht-navy); }
.ht-h em { font-style: italic; color: var(--ht-laguna); }
.ht-on-dark .ht-h, .ht-h.ht-on-dark { color: var(--ht-white); }
.ht-on-dark .ht-h em { color: var(--ht-glow); }
.ht-eyebrow { font-family: var(--ht-f-head); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ht-laguna-ink); margin: 0; }
.ht-on-dark .ht-eyebrow { color: var(--ht-glow); }

.ht-claim span, .ht-founder span { color: var(--ht-laguna); }
.ht-on-dark .ht-claim span, .ht-on-dark .ht-founder span { color: var(--ht-laguna-tma); }

.ht-logo { display: block; width: 11.77em; max-width: 100%; height: auto; flex: 0 1 auto; min-width: 0; }

.ht-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: var(--ht-r-btn); font-family: var(--ht-f-text); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.16s ease; }
.ht-btn::after { content: "→"; }
.ht-btn:hover { transform: translateY(-1px); }
.ht-btn:focus-visible { outline: 3px solid var(--ht-laguna); outline-offset: 3px; }
.ht-btn--navy { background: var(--ht-navy); color: var(--ht-white); box-shadow: var(--ht-sh-btn); }
.ht-btn--laguna { background: var(--ht-laguna); color: var(--ht-white); }
.ht-btn--ghost { background: var(--ht-white); color: var(--ht-navy); border-color: var(--ht-line); }
.ht-btn--ghost::after { content: none; }

.ht-card { background: var(--ht-white); border: 1px solid var(--ht-line); border-radius: var(--ht-r-card); box-shadow: var(--ht-sh-card); min-width: 0; }
.ht-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ht-checks li { display: flex; gap: 10px; align-items: flex-start; }
.ht-checks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ht-laguna); color: var(--ht-white); font-size: 13px; font-weight: 700; flex: none; margin-top: 1px; }

.ht-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--ht-line); border-radius: 14px; background: var(--ht-white); }
.ht-step__n { width: 52px; height: 52px; border-radius: 12px; background: var(--ht-navy); color: var(--ht-glow); display: grid; place-items: center; font-family: var(--ht-f-head); font-weight: 700; font-size: 20px; }
.ht-step__t { font-family: var(--ht-f-head); font-weight: 700; font-size: 18px; color: var(--ht-navy); display: block; }
.ht-step__d { font-size: 14.5px; color: var(--ht-slate); display: block; }

.ht-versus { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--ht-r-card); }
.ht-versus > div { padding: 24px 22px; display: grid; gap: 12px; align-content: start; }
.ht-versus__a { background: var(--ht-mist); }
.ht-versus__b { background: var(--ht-navy); color: var(--ht-white); }
.ht-versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ht-versus li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.ht-versus__a li::before { content: "✕"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fbe3e1; color: #b8473a; font-size: 12px; font-weight: 700; }
.ht-versus__b li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ht-laguna); color: var(--ht-white); font-size: 12px; font-weight: 700; }

.ht-photo {
  position: relative; overflow: hidden; border-radius: var(--ht-r-card);
  background:
    radial-gradient(60% 55% at 62% 38%, rgba(255, 255, 255, 0.32), transparent 62%),
    radial-gradient(45% 40% at 85% 85%, rgba(var(--ht-laguna-rgb), 0.45), transparent 65%),
    linear-gradient(140deg, #24485a 0%, #5f818d 55%, #a8bec4 100%);
}
.ht-photo__label { position: absolute; left: 12px; bottom: 12px; right: 12px; font-family: var(--ht-f-text); font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, 0.92); }
.ht-photo__label::before { content: "Fotka · "; font-weight: 600; }

.ht-josef { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--ht-f-text); font-size: 12px; font-weight: 600; color: #8a4f12; background: #fff4ea; border: 1px dashed #e8a466; border-radius: 999px; padding: 0.2em 0.7em; white-space: nowrap; vertical-align: middle; }
.ht-josef::before { content: "●"; font-size: 0.7em; color: #e8a466; }
.ht-tag { font-family: var(--ht-f-text); font-size: 12px; color: var(--ht-slate); }
.ht-on-dark .ht-tag { color: #8fa7b3; }

.ht-queue { display: grid; gap: 12px; padding: 18px; background: var(--ht-white); border: 1px solid var(--ht-line); border-radius: var(--ht-r-card); box-shadow: var(--ht-sh-card); min-width: 0; }
.ht-queue__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ht-queue__count { font-family: var(--ht-f-head); font-weight: 700; font-size: 15px; color: var(--ht-navy); }
.ht-queue__count span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-left: 6px; border-radius: 8px; background: var(--ht-navy); color: var(--ht-glow); }
.ht-item { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--ht-line); border-left: 3px solid var(--ht-laguna); border-radius: 12px; background: var(--ht-mist); }
.ht-item__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ht-slate); }
.ht-item__meta b { color: var(--ht-laguna-ink); font-weight: 600; }
.ht-item__title { margin: 0; font-family: var(--ht-f-head); font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--ht-navy); }
.ht-item__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ht-item__actions span, .ht-item__actions button { font-family: var(--ht-f-text); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--ht-line); background: var(--ht-white); color: var(--ht-navy); }
.ht-item__actions :first-child { background: var(--ht-navy); border-color: var(--ht-navy); color: var(--ht-white); }

.ht-photo--mark { background: radial-gradient(55% 50% at 50% 42%, rgba(var(--ht-laguna-rgb), 0.38), transparent 72%), linear-gradient(160deg, var(--ht-navy-2), var(--ht-navy)); }
.ht-photo--mark::after { content: ""; position: absolute; left: 50%; top: 44%; width: min(46%, 260px); aspect-ratio: 1; transform: translate(-50%, -50%); background: url("../znacka/logo-predloha/harmonytech-znak-negativ.svg") center / contain no-repeat; opacity: 0.2; }

.ht-scene { position: relative; display: grid; gap: 1.1em; padding-left: 2.8em; font-family: var(--ht-f-text); color: var(--ht-navy); text-align: left; }
.ht-scene__spine { position: absolute; left: 0.95em; top: 1.4em; bottom: 1.4em; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(var(--ht-glow-rgb), 0.06), rgba(var(--ht-glow-rgb), 0.45) 50%, rgba(var(--ht-glow-rgb), 0.06)); }
.ht-scene__spark { position: absolute; left: 1px; top: 38%; width: 0.8em; height: 0.8em; margin: -0.4em 0 0 -0.4em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.3em rgba(244, 181, 126, 0.32), 0 0 1.4em 0.45em rgba(255, 211, 168, 0.9); }
.ht-scene__card { position: relative; display: grid; gap: 0.55em; padding: 0.95em 1.1em; border-radius: 1em; background: var(--ht-white); box-shadow: 0 1.6em 3.2em -1.4em rgba(0, 0, 0, 0.6); }
.ht-scene__card::before { content: ""; position: absolute; top: 50%; left: calc(-1.85em - var(--ml, 0em)); width: calc(1.85em + var(--ml, 0em)); height: 2px; background: rgba(var(--ht-glow-rgb), 0.3); }
.ht-scene__card::after { content: ""; position: absolute; top: 50%; left: calc(-1.85em - var(--ml, 0em)); width: 0.7em; height: 0.7em; margin: -0.35em 0 0 -0.35em; border-radius: 50%; background: var(--ht-navy); border: 2px solid var(--ht-glow); }
.ht-scene__map { margin-right: 1.4em; }
.ht-scene__app { --ml: 2.6em; margin-left: var(--ml); }
.ht-scene__metric { margin-right: 6em; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 1em; }
.ht-scene__label { margin: 0; font-family: var(--ht-f-head); font-size: 0.7em; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ht-laguna-ink); }
.ht-scene__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em; font-size: 0.76em; font-weight: 600; }
.ht-scene__flow span { padding: 0.45em 0.55em; border-radius: 0.6em; background: var(--ht-mist); border: 1px solid var(--ht-line); white-space: nowrap; }
.ht-scene__flow i { font-style: normal; color: #9fb3ba; }
.ht-scene__flow .is-weak { background: #fff4ea; border-color: var(--ht-spark); color: #8a4f12; box-shadow: 0 0 0 0.25em rgba(244, 181, 126, 0.25); }
.ht-scene__note { margin: 0; font-size: 0.74em; font-weight: 600; color: #a35f1d; }
.ht-scene__head { display: flex; justify-content: space-between; align-items: center; gap: 0.8em; }
.ht-scene__count { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--ht-f-head); font-size: 0.8em; font-weight: 700; }
.ht-scene__n { display: inline-grid; }
.ht-scene__n b { grid-area: 1 / 1; display: grid; place-items: center; min-width: 1.7em; height: 1.7em; border-radius: 0.45em; background: var(--ht-navy); color: var(--ht-glow); }
.ht-scene__n b + b { opacity: 0; }
.ht-scene__item { display: grid; gap: 0.45em; padding: 0.75em 0.85em; border: 1px solid var(--ht-line); border-left: 3px solid var(--ht-laguna); border-radius: 0.75em; background: var(--ht-mist); }
.ht-scene__meta { display: flex; justify-content: space-between; gap: 0.8em; font-size: 0.72em; color: var(--ht-slate); }
.ht-scene__meta b { color: var(--ht-laguna-ink); font-weight: 600; }
.ht-scene__item p { margin: 0; font-family: var(--ht-f-head); font-size: 0.92em; font-weight: 700; line-height: 1.3; }
.ht-scene__state { display: grid; }
.ht-scene__state > * { grid-area: 1 / 1; }
.ht-scene__acts { display: flex; gap: 0.4em; font-size: 0.76em; font-weight: 600; }
.ht-scene__acts span { padding: 0.45em 0.8em; border-radius: 0.55em; border: 1px solid var(--ht-line); background: var(--ht-white); }
.ht-scene__acts span:first-child { background: var(--ht-navy); border-color: var(--ht-navy); color: var(--ht-white); }
.ht-scene__done { align-self: center; margin: 0; font-size: 0.78em; font-weight: 600; color: #217a52; opacity: 0; }
.ht-scene__num { margin: 0; font-family: var(--ht-f-head); font-size: 1.7em; font-weight: 700; line-height: 1; white-space: nowrap; }
.ht-scene__num i { font-style: normal; font-weight: 500; color: #9fb3ba; margin: 0 0.15em; }
.ht-scene__num b { color: var(--ht-laguna); }
.ht-scene__line { width: 6.5em; height: auto; overflow: visible; }
.ht-scene__line path { fill: none; stroke: var(--ht-laguna); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.ht-scene__metric .ht-scene__label, .ht-scene__tag { grid-column: 1 / -1; }
.ht-scene__tag { margin: 0; font-size: 0.68em; color: var(--ht-slate); }

.ht-scene--kroky .ht-scene__card::after { display: none; }
.ht-scene--kroky .ht-scene__metric { margin-right: 2.6em; }
.ht-scene__krok { position: absolute; top: 50%; left: calc(-1.85em - var(--ml, 0em)); width: 1.55em; height: 1.55em; margin: -0.775em 0 0 -0.775em; z-index: 1;
  display: grid; place-items: center; border-radius: 50%; background: var(--ht-navy); box-shadow: 0 0 0 2px rgba(var(--ht-glow-rgb), 0.6); }
.ht-scene__krok b { font: 700 0.74em/1 var(--ht-f-head); color: var(--ht-glow); }
@media (prefers-reduced-motion: no-preference) {
  .ht-scene__spark { animation: ht-scene-spark 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  .ht-scene__card { animation: ht-scene-float 7s ease-in-out infinite; }
  .ht-scene__app { animation-delay: -2.4s; }
  .ht-scene__metric { animation-delay: -4.7s; }
  .ht-scene__flow .is-weak { animation: ht-scene-pulse 2.4s ease-in-out infinite; }
  .ht-scene__acts, .ht-scene__n b:first-child { animation: ht-scene-before 9s ease infinite; }
  .ht-scene__done, .ht-scene__n b + b { animation: ht-scene-after 9s ease infinite; }
  .ht-scene__line path { animation: ht-scene-draw 2.2s cubic-bezier(0.6, 0.05, 0.2, 1) 0.5s both; }
}
@keyframes ht-scene-spark { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes ht-scene-float { 50% { transform: translateY(-0.35em); } }
@keyframes ht-scene-pulse { 50% { box-shadow: 0 0 0 0.55em rgba(244, 181, 126, 0.1); } }
@keyframes ht-scene-before { 0%, 38% { opacity: 1; } 44%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ht-scene-after { 0%, 38% { opacity: 0; } 44%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ht-scene-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media print { .ht-scene *, .ht-scene *::before, .ht-scene *::after { animation: none !important; } }

.ht-clean .ht-josef, .ht-clean .ht-photo__label, .ht-clean [data-interni] { display: none !important; }

@media (prefers-reduced-motion: reduce) { .ht-btn { transition: none; } }
