/* RAMISOFT – vzhled ve stylu ramisys.net: černá, zelený neon, písmo Arial jako na ramisys.net. */

:root {
  --cerna: #000000;
  --plocha: #07110a;
  --plocha-2: #0c1a10;
  --linka: rgba(166, 255, 107, 0.16);
  --linka-silna: rgba(166, 255, 107, 0.42);
  --limetka: #a6ff6b;
  --zelena: #2fd36b;
  --text: #f3f7f1;
  --tiche: #a3afa4;
  --obal: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--cerna);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* jemné hvězdy a zelená záře nahoře jako na ramisys.net */
  background-image:
    radial-gradient(ellipse 60% 420px at 50% -80px, rgba(47, 211, 107, 0.22), transparent 70%),
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 78% 9%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1px 1px at 33% 41%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 91% 37%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 58% 27%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 6% 66%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 69% 58%, rgba(255,255,255,.25), transparent 60%);
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }

a { color: var(--limetka); }

:focus-visible {
  outline: 3px solid var(--limetka);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.01em; }

h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; }

.obal { width: min(100% - 32px, var(--obal)); margin-inline: auto; }
.obal-uzky { width: min(100% - 32px, 820px); }

.preskocit {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--limetka); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.preskocit:focus { top: 12px; }

/* --- Hlavička --------------------------------------------------------------- */
.hlavicka {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hlavicka-radek { display: flex; align-items: center; gap: 28px; height: 72px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 800; font-size: 25px; letter-spacing: -0.01em;
}

.menu { display: flex; gap: 30px; margin-left: auto; }
.menu a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; }
.menu a:hover { color: var(--limetka); }

/* --- Tlačítka ---------------------------------------------------------------- */
.tlacitko {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: 12px; border: 1px solid transparent;
  background: var(--limetka); color: #04140a;
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.tlacitko:hover { background: #c3ff95; }
.tlacitko:active { transform: translateY(1px); }

.tlacitko-tiche {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.tlacitko-tiche:hover { background: rgba(255, 255, 255, 0.13); }

.tlacitko-maly { min-height: 42px; padding: 0 18px; font-size: 15px; }

.akce { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Hero ------------------------------------------------------------------- */
.hero { padding: 88px 0 72px; }

.hero-mrizka {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.hero-text { display: grid; gap: 24px; }

.znacka {
  justify-self: start;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--linka-silna);
  color: var(--limetka); font-size: 14px; font-weight: 600;
}

.perex { color: var(--tiche); font-size: 19px; max-width: 60ch; }

/* Proměna: chaos vlevo se po načtení „odškrtá“ a vpravo se rozsvítí aplikace. */
.promena {
  margin: 0;
  display: grid; gap: 14px;
  grid-template-columns: minmax(0, 0.9fr) 28px minmax(0, 1.1fr);
  align-items: center;
}

.promena ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.promena-pred {
  padding: 18px; border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  transform: rotate(-2deg);
}

.promena-titulek { color: var(--tiche); font-size: 13px; font-weight: 600; margin-bottom: 10px; }

.promena-pred li {
  display: flex; gap: 8px; align-items: center;
  font-size: 14px; color: #d9dfd7;
  padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05);
  text-decoration-color: transparent;
  animation: odskrtnout .5s ease forwards;
}
.promena-pred li:nth-child(2) { transform: translateX(8px); }
.promena-pred li:nth-child(3) { transform: translateX(-4px); }
.promena-pred li:nth-child(1) { animation-delay: .5s; }
.promena-pred li:nth-child(2) { animation-delay: .8s; }
.promena-pred li:nth-child(3) { animation-delay: 1.1s; }
.promena-pred li:nth-child(4) { animation-delay: 1.4s; }

.ikona { font-size: 15px; }

@keyframes odskrtnout {
  to { opacity: .45; text-decoration: line-through; text-decoration-color: var(--tiche); }
}

.promena-sipka {
  height: 2px; background: linear-gradient(90deg, transparent, var(--limetka));
  position: relative;
}
.promena-sipka::after {
  content: ""; position: absolute; right: -2px; top: -5px;
  border: 6px solid transparent; border-left: 8px solid var(--limetka); border-right: 0;
}

.promena-po {
  border-radius: 22px; padding: 0 0 14px;
  background: linear-gradient(160deg, var(--plocha-2), var(--plocha));
  border: 1px solid var(--linka-silna);
  box-shadow: 0 0 60px rgba(47, 211, 107, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.okno-lista {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; border-bottom: 1px solid var(--linka);
  font-size: 12px; color: var(--tiche);
}
.okno-lista i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.okno-lista i:nth-child(2) { background: #febc2e; }
.okno-lista i:nth-child(3) { background: #28c840; }
.okno-lista span { margin-left: auto; margin-right: auto; }

.promena-po ul { padding: 14px 14px 4px; }

.promena-po li {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(166, 255, 107, 0.06); border: 1px solid var(--linka);
  font-size: 14px;
  opacity: .35;
  animation: rozsvitit .5s ease forwards;
}
.promena-po li b { color: var(--limetka); font-weight: 600; }
.promena-po li:nth-child(1) { animation-delay: 1.9s; }
.promena-po li:nth-child(2) { animation-delay: 2.1s; }
.promena-po li:nth-child(3) { animation-delay: 2.3s; }
.promena-po li:nth-child(4) { animation-delay: 2.5s; }

@keyframes rozsvitit {
  to { opacity: 1; border-color: var(--linka-silna); }
}

.okno-pozn { padding: 2px 14px 0; font-size: 12px; color: var(--tiche); text-align: right; }

/* --- Sekce ------------------------------------------------------------------ */
.sekce { padding: 72px 0; }

.sekce-perex { color: var(--tiche); font-size: 19px; max-width: 62ch; margin-top: 14px; }

.vycet { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vycet li { padding-left: 26px; position: relative; }
.vycet li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--limetka); border-bottom: 2px solid var(--limetka);
  transform: rotate(-45deg);
}

/* Služby: bento s různou velikostí podle váhy služby */
.bento {
  margin-top: 40px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dlazdice {
  padding: 28px; border-radius: 20px;
  background: linear-gradient(170deg, var(--plocha-2), #030604 70%);
  border: 1px solid var(--linka);
  display: grid; gap: 12px; align-content: start;
}
.dlazdice p { color: var(--tiche); }

.dlazdice-velka {
  grid-column: span 2; grid-row: span 2;
  padding: 40px; border-radius: 28px;
  border-color: var(--linka-silna);
  background:
    radial-gradient(circle at 90% 0%, rgba(47, 211, 107, 0.25), transparent 50%),
    linear-gradient(170deg, var(--plocha-2), #030604 70%);
}
.dlazdice-velka h3 { font-size: clamp(26px, 2.8vw, 34px); }
.dlazdice-velka p { font-size: 18px; max-width: 56ch; }

.dlazdice-siroka { grid-column: auto; }

/* Signály */
.sekce-signaly { background: linear-gradient(180deg, transparent, rgba(47, 211, 107, 0.06), transparent); }

.signaly-mrizka { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }

.signaly { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.signaly li {
  padding: 16px 20px 16px 52px; position: relative;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03); font-size: 18px;
}
.signaly li::before {
  content: "?"; position: absolute; left: 16px; top: 15px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(166, 255, 107, 0.14); color: var(--limetka); font-weight: 800; font-size: 14px;
}

/* Reference */
.reference {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 48px; border-radius: 28px;
  border: 1px solid var(--linka-silna);
  background: radial-gradient(circle at 0% 100%, rgba(47, 211, 107, 0.18), transparent 55%), var(--plocha);
}
.reference-text { display: grid; gap: 16px; justify-items: start; }
.reference-text > p:not(.znacka) { color: var(--tiche); }
.reference-text .vycet { margin: 0 0 8px; }

.reference-okno {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--linka); background: #020503;
  transform: perspective(900px) rotateY(-8deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(47, 211, 107, .12);
}
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.kanban div { display: grid; gap: 8px; align-content: start; }
.kanban p { font-size: 12px; color: var(--tiche); margin-bottom: 2px; }
.kanban span { height: 42px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border-left: 3px solid #60a5fa; }
.kanban div:nth-child(2) span { border-left-color: #febc2e; }
.kanban span.ok { border-left-color: var(--zelena); background: rgba(47, 211, 107, 0.1); }

/* FAQ */
.otazky { margin-top: 32px; display: grid; gap: 10px; }
.otazky details { border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); }
.otazky details[open] { border-color: var(--linka-silna); }
.otazky summary {
  cursor: pointer; list-style: none;
  padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; font-size: 18px;
}
.otazky summary::-webkit-details-marker { display: none; }
.otazky summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--limetka); font-size: 24px; font-weight: 400;
}
.otazky details[open] summary::after { content: "−"; }
.otazky details p { padding: 0 22px 20px; color: var(--tiche); }

/* Kontakt */
.kontakt {
  display: grid; gap: 40px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  padding: 56px; border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(166, 255, 107, 0.22), transparent 65%),
    var(--plocha-2);
  border: 1px solid var(--linka-silna);
}
.kontakt-vyzva { display: grid; gap: 18px; align-content: start; }
.kontakt-vyzva > p { color: var(--tiche); font-size: 19px; max-width: 52ch; }
.kontakt-udaje { font-style: normal; display: grid; gap: 18px; align-content: start; color: var(--tiche); }
.kontakt-udaje strong { color: var(--text); }

/* Patička */
.paticka { padding: 40px 0 56px; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 32px; }
.paticka-radek { display: grid; gap: 12px; }
.paticka p { color: var(--tiche); font-size: 14px; max-width: 80ch; }

/* --- Mobil a tablet ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-mrizka, .signaly-mrizka, .reference, .kontakt { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlazdice-siroka { grid-column: span 2; }
  .reference-okno { transform: none; }
}

@media (max-width: 760px) {
  .tlacitko-maly { margin-left: auto; }
  .hero { padding: 48px 0 40px; }
  .sekce { padding: 52px 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .dlazdice-velka, .dlazdice-siroka { grid-column: auto; grid-row: auto; }
  .dlazdice-velka { padding: 28px; }
  .promena { grid-template-columns: minmax(0, 1fr); }
  .promena-sipka { width: 2px; height: 26px; justify-self: center; background: linear-gradient(180deg, transparent, var(--limetka)); }
  .promena-sipka::after { right: -5px; top: auto; bottom: -6px; border: 6px solid transparent; border-top: 8px solid var(--limetka); border-bottom: 0; }
  .reference, .kontakt { padding: 28px 22px; }
  .akce .tlacitko { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .promena-pred li, .promena-po li { animation-duration: 1ms; animation-delay: 0s !important; }
}

/* --- Patička: právní odkazy ------------------------------------------------- */
.paticka-odkazy { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.paticka-odkazy a { color: var(--text); font-size: 14px; }
.paticka-odkazy a:hover { color: var(--limetka); }

/* --- Lišta o cookies -------------------------------------------------------- */
.cookie-lista {
  position: fixed; z-index: 30;
  left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  margin-inline: auto; max-width: 760px;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 18px; border-radius: 16px;
  background: rgba(7, 17, 10, 0.94);
  border: 1px solid var(--linka-silna);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 15px; line-height: 1.5; color: var(--tiche);
}
.cookie-lista[hidden] { display: none; }
.cookie-lista strong { color: var(--text); }
.cookie-lista .tlacitko { flex: none; }

@media (max-width: 560px) {
  .cookie-lista { flex-direction: column; align-items: stretch; }
}

/* --- Právní stránka ---------------------------------------------------------- */
.pravni { padding: 56px 0 24px; }
.pravni h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 12px; }
.pravni h2 { font-size: 26px; margin: 44px 0 12px; }
.pravni p, .pravni li { color: #c9d1c8; }
.pravni p + p { margin-top: 12px; }
.pravni ul { padding-left: 22px; margin: 10px 0 0; display: grid; gap: 6px; }
.pravni .tabulka-obal { overflow-x: auto; margin-top: 14px; }
.pravni table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.pravni th, .pravni td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.pravni th { color: var(--text); font-weight: 700; }
.pravni td { color: #c9d1c8; }
.pravni .ucinnost { color: var(--tiche); }
.pravni ul + p, .pravni .tabulka-obal + p { margin-top: 16px; }

/* ============================================================================
   Animace a efekty
   ========================================================================== */

/* Aurora: zelená záře za hero, pomalu se vlní (jako světlo na ramisys.net) */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 46vw; height: 30vw; left: 8%; top: 4%; background: radial-gradient(circle, rgba(47, 211, 107, .55), transparent 65%); animation: aurora1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 38vw; height: 26vw; right: 4%; top: 18%; background: radial-gradient(circle, rgba(166, 255, 107, .38), transparent 65%); animation: aurora2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 30vw; height: 20vw; left: 40%; top: 46%; background: radial-gradient(circle, rgba(16, 185, 129, .35), transparent 65%); animation: aurora3 26s ease-in-out infinite alternate; }
@keyframes aurora1 { to { transform: translate(12vw, 6vw) scale(1.15); } }
@keyframes aurora2 { to { transform: translate(-10vw, 8vw) scale(.9); } }
@keyframes aurora3 { to { transform: translate(-14vw, -6vw) scale(1.2); } }

/* Jemná mřížka v hero, mizí do stran */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(166, 255, 107, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 255, 107, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* Nadpis v hero: písmena se zaostří při načtení */
.hero h1 { animation: zaostrit 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes zaostrit { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } }

/* Data tečou po šipce z chaosu do aplikace */
.promena-sipka span {
  position: absolute; top: -2px; left: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--limetka); box-shadow: 0 0 10px var(--limetka);
  animation: tok 1.6s linear infinite;
}
.promena-sipka span:nth-child(2) { animation-delay: .53s; }
.promena-sipka span:nth-child(3) { animation-delay: 1.06s; }
@keyframes tok { from { left: 0; opacity: 0; } 20% { opacity: 1; } to { left: 100%; opacity: 0; } }

/* Okno aplikace v hero se lehce vznáší */
.promena-po { animation: vznaset 6s ease-in-out 3s infinite; }
@keyframes vznaset { 50% { transform: translateY(-8px); } }

/* Primární tlačítko: odlesk při najetí */
.tlacitko:not(.tlacitko-tiche) { position: relative; overflow: hidden; }
.tlacitko:not(.tlacitko-tiche)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.tlacitko:not(.tlacitko-tiche):hover::after { transform: translateX(120%); }
.tlacitko:not(.tlacitko-tiche):hover { box-shadow: 0 0 28px rgba(166, 255, 107, .45); }

/* Dlaždice: světlo sleduje kurzor a rozsvítí okraj */
.dlazdice { position: relative; transition: border-color .2s, transform .2s; }
.dlazdice::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200px), rgba(166, 255, 107, .14), transparent 45%);
  opacity: 0; transition: opacity .25s;
}
.dlazdice:hover::before { opacity: 1; }
.dlazdice:hover { border-color: var(--linka-silna); transform: translateY(-3px); }
.dlazdice > * { position: relative; }

.dlazdice-odkaz {
  justify-self: start; margin-top: 4px;
  color: var(--limetka); font-weight: 700; font-size: 15px; text-decoration: none;
  border-bottom: 1px solid rgba(166, 255, 107, .35);
}
.dlazdice-odkaz:hover { border-bottom-color: var(--limetka); }

/* Reference: obchodní případ putuje z poptávky do vyhraných */
.kanban { position: relative; }
.kanban-karta {
  position: absolute; z-index: 2; top: 40px; left: 14px;
  width: calc((100% - 48px) / 3); height: 42px; border-radius: 8px;
  background: rgba(166, 255, 107, .18); border: 1px solid var(--limetka);
  box-shadow: 0 0 22px rgba(166, 255, 107, .35);
  animation: obchod 7s ease-in-out infinite;
}
@keyframes obchod {
  0%, 12% { transform: translateX(0); }
  38%, 50% { transform: translateX(calc(100% + 10px)); }
  76%, 88% { transform: translateX(calc(200% + 20px)); background: rgba(47, 211, 107, .3); }
  100% { transform: translateX(calc(200% + 20px)); opacity: 0; }
}

/* Působnost */
.pusobnost { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.mesta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mesta li {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  font-weight: 600;
}
.mesta .mesta-domov { border-color: var(--limetka); color: var(--limetka); box-shadow: 0 0 18px rgba(166, 255, 107, .25); }
@media (max-width: 1000px) { .pusobnost { grid-template-columns: minmax(0, 1fr); } }

/* Postupné objevení obsahu podstránek při posunu */
.objevit { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.objevit.videt { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .promena-sipka span, .promena-po, .kanban-karta, .hero h1 { animation: none !important; }
  .kanban-karta { display: none; }
  .dlazdice, .tlacitko::after { transition: none !important; }
  .objevit { opacity: 1; transform: none; }
}

/* --- Stránky služeb ---------------------------------------------------------- */
.hero-sluzba { padding: 56px 0 64px; }
.hero-sluzba .obal { display: grid; gap: 22px; justify-items: start; }
.hero-sluzba h1 { max-width: 20ch; font-size: clamp(36px, 5vw, 60px); }

.drobecky { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--tiche); }
.drobecky a { color: var(--tiche); }
.drobecky a:hover { color: var(--limetka); }
.drobecky [aria-current] { color: var(--text); }

.dva-sloupce { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.dva-sloupce h2 { font-size: clamp(26px, 3vw, 34px); }
.vycet-velky li { font-size: 18px; }
.panel-zeleny {
  padding: 32px; border-radius: 24px;
  border: 1px solid var(--linka-silna);
  background: radial-gradient(circle at 100% 0%, rgba(47, 211, 107, .2), transparent 55%), var(--plocha);
}
.panel-zeleny li { color: #d9dfd7; }

.mrizka-funkci { margin: 36px 0 28px; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sekce-dalsi { padding-top: 24px; }
.sekce-dalsi h2 { font-size: 26px; }
.dalsi-sluzby { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.dalsi-sluzba {
  padding: 12px 18px; border-radius: 12px;
  border: 1px solid var(--linka); background: rgba(255, 255, 255, .03);
  color: var(--text); font-weight: 600; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.dalsi-sluzba:hover { border-color: var(--limetka); color: var(--limetka); }

@media (max-width: 1000px) {
  .dva-sloupce { grid-template-columns: minmax(0, 1fr); }
  .mrizka-funkci { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mrizka-funkci { grid-template-columns: minmax(0, 1fr); }
  .panel-zeleny { padding: 24px 20px; }
}

/* --- Reference: hra MarryMePlease! (barvy hry: růžová a fialová) ------------ */
.reference-hra {
  margin-top: 24px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  border-color: rgba(244, 114, 182, .45);
  background:
    radial-gradient(circle at 0% 0%, rgba(236, 72, 153, .22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, .2), transparent 55%),
    var(--plocha);
}
.reference-hra .vycet li::before { border-color: #f472b6; }
.znacka-ruzova { border-color: rgba(244, 114, 182, .6); color: #f9a8d4; }
.poznamka-tiche { font-size: 14px; color: var(--tiche); }

.hra-telefon {
  justify-self: center; width: min(100%, 280px);
  padding: 12px; border-radius: 40px;
  background: #0d0d12; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(236, 72, 153, .2);
  transform: rotate(-4deg);
}
.hra-displej {
  position: relative; overflow: hidden;
  border-radius: 30px; padding: 18px 14px 16px;
  background: linear-gradient(180deg, #2a0f2a, #140a1f);
  display: grid; gap: 12px;
}
.hra-hero {
  border-radius: 20px; padding: 14px 16px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; row-gap: 6px;
  color: #fff;
}
.hra-popisek { grid-row: span 3; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 700; opacity: .85; }
.hra-cislo { font-size: 58px; font-weight: 900; line-height: .9; grid-row: span 3; }
.hra-postup { grid-column: 3; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .3); overflow: hidden; align-self: end; }
.hra-postup i { display: block; height: 100%; width: 64%; border-radius: inherit; background: #fff6c4; animation: plnit 4s ease-in-out infinite; }
.hra-xp { grid-column: 3; font-size: 12px; font-weight: 700; align-self: start; }
.hra-hero { grid-template-columns: auto auto 1fr; }
@keyframes plnit { 0% { width: 40%; } 60%, 100% { width: 64%; } }

.hra-dlazdice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hra-dlazdice span {
  display: grid; gap: 4px; padding: 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  font-size: 18px;
}
.hra-dlazdice b { font-size: 11px; font-weight: 600; color: #f3e8ff; }
.hra-dlazdice span:first-child { animation: kliknout 4s ease-in-out infinite; }
@keyframes kliknout { 0%, 8%, 100% { transform: none; border-color: rgba(255, 255, 255, .08); } 4% { transform: scale(.94); border-color: #f472b6; } }

.hra-bonus {
  position: absolute; left: 22%; top: 52%;
  font-weight: 800; font-size: 14px; color: #fde68a; text-shadow: 0 0 12px rgba(253, 230, 138, .7);
  opacity: 0; animation: bonus 4s ease-out infinite;
}
@keyframes bonus { 0%, 3% { opacity: 0; transform: translateY(0); } 8% { opacity: 1; } 30%, 100% { opacity: 0; transform: translateY(-46px); } }

.hra-sin { display: flex; justify-content: center; gap: 14px; font-size: 22px; padding-top: 2px; }

@media (max-width: 1000px) {
  .reference-hra { grid-template-columns: minmax(0, 1fr); }
  .hra-telefon { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hra-postup i, .hra-dlazdice span, .hra-bonus { animation: none !important; }
}

/* ============================================================================
   Hero: živá ukázka aplikace
   ========================================================================== */
.ukazka { margin: 0; position: relative; }
.ukazka-scena { position: relative; perspective: 1400px; padding: 28px 0 36px; }

.app {
  display: grid; grid-template-columns: 52px minmax(0, 1fr);
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 34, 24, .92), rgba(5, 10, 7, .96));
  border: 1px solid rgba(166, 255, 107, .28);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 0 80px rgba(47, 211, 107, .18);
  transform: rotateY(-9deg) rotateX(5deg);
  transform-origin: 60% 50%;
  animation: app-prilet 1.1s cubic-bezier(.2, .7, .2, 1) both, app-vznaset 8s ease-in-out 1.2s infinite;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@keyframes app-prilet { from { opacity: 0; transform: rotateY(-22deg) rotateX(12deg) translateY(30px) scale(.94); } }
@keyframes app-vznaset { 50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-8px); } }

.app-bok {
  display: grid; justify-items: center; align-content: start; gap: 14px;
  padding: 16px 0; border-right: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .25);
}
.app-bok img { margin-bottom: 6px; }
.app-bok i { width: 20px; height: 20px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.app-bok i.aktivni { background: var(--limetka); box-shadow: 0 0 14px rgba(166, 255, 107, .6); }

.app-obsah { padding: 14px 16px 16px; display: grid; gap: 12px; min-width: 0; }
.app-hlava { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.app-hlava b { margin-right: auto; }
.app-hledat { font-size: 11px; color: var(--tiche); padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
.app-avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: #04140a; background: linear-gradient(135deg, #a6ff6b, #2fd36b);
}

.app-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-kpi div {
  display: grid; gap: 2px; padding: 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07);
  animation: kpi-in .6s ease both;
}
.app-kpi div:nth-child(1) { animation-delay: .5s; }
.app-kpi div:nth-child(2) { animation-delay: .65s; border-color: rgba(166, 255, 107, .35); background: rgba(166, 255, 107, .07); }
.app-kpi div:nth-child(3) { animation-delay: .8s; }
@keyframes kpi-in { from { opacity: 0; transform: translateY(8px); } }
.app-kpi span { font-size: 10px; color: var(--tiche); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-kpi b { font-size: 22px; line-height: 1.1; }
.app-kpi div:nth-child(2) b { color: var(--limetka); }
.app-kpi em { font-style: normal; font-size: 10px; color: #7fd99a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app-graf { padding: 10px 12px 6px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.app-graf-hlava { display: flex; justify-content: space-between; font-size: 11px; color: var(--tiche); margin-bottom: 4px; }
.app-stitek { padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
.app-graf svg { display: block; width: 100%; height: 80px; overflow: visible; }
.graf-cara { stroke-dasharray: 420; stroke-dashoffset: 420; animation: kreslit 1.8s ease .9s forwards; filter: drop-shadow(0 0 6px rgba(166, 255, 107, .6)); }
.graf-plocha { opacity: 0; animation: zobrazit .8s ease 2.2s forwards; }
.graf-bod { opacity: 0; animation: zobrazit .3s ease 2.6s forwards, pulz 2s ease-in-out 3s infinite; transform-origin: 300px 6px; }
@keyframes kreslit { to { stroke-dashoffset: 0; } }
@keyframes zobrazit { to { opacity: 1; } }
@keyframes pulz { 50% { transform: scale(1.6); opacity: .6; } }

.app-seznam { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.app-seznam li {
  display: flex; align-items: center; gap: 10px; font-size: 12px;
  padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03);
}
.tecka { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tecka.modra { background: #60a5fa; } .tecka.zluta { background: #fbbf24; } .tecka.zelena { background: var(--zelena); }
.stav { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.stav-novy { background: rgba(96, 165, 250, .15); color: #93c5fd; }
.stav-bezi { background: rgba(251, 191, 36, .15); color: #fcd34d; }
.stav-hotovo { background: rgba(47, 211, 107, .18); color: #86efac; animation: hotovo 6s ease-in-out 3s infinite; }
@keyframes hotovo { 0%, 70%, 100% { box-shadow: none; } 80% { box-shadow: 0 0 0 4px rgba(47, 211, 107, .2); } }

/* Plovoucí karty kolem okna */
.plovak {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(14, 22, 17, .82);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px; white-space: nowrap;
}
.plovak b { display: block; font-size: 13px; }
.plovak small { display: block; font-size: 11px; color: var(--tiche); }

.plovak-excel { left: -34px; top: 4px; color: #d9dfd7; animation: excel 6s ease-in-out 1s infinite; }
.soubor { font-size: 9px; font-weight: 800; padding: 3px 5px; border-radius: 5px; background: #1d6f42; color: #fff; }
@keyframes excel {
  0% { opacity: 0; transform: translate(-10px, 0) rotate(-6deg); }
  12%, 35% { opacity: 1; transform: translate(0, 0) rotate(-6deg); }
  60% { opacity: 0; transform: translate(120px, 90px) rotate(0) scale(.4); }
  100% { opacity: 0; transform: translate(120px, 90px) scale(.4); }
}

.plovak-faktura { right: -26px; top: 46%; border-color: rgba(47, 211, 107, .45); animation: toast 6s ease 2.6s infinite both; }
.ikona-ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--zelena); color: #04140a; font-weight: 900; }
@keyframes toast {
  0% { opacity: 0; transform: translateX(24px); }
  8%, 70% { opacity: 1; transform: none; }
  80%, 100% { opacity: 0; transform: translateX(24px); }
}

.plovak-ai { left: 8%; bottom: 0; border-color: rgba(167, 139, 250, .45); animation: ai-in .7s ease 3.2s both; }
.ikona-ai {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, #a78bfa, #22d3ee); color: #fff; font-size: 14px;
}
@keyframes ai-in { from { opacity: 0; transform: translateY(14px); } }
.psani { display: inline-block; overflow: hidden; max-width: 0; vertical-align: bottom; animation: psat 2.2s steps(28) 3.8s forwards; }
@keyframes psat { to { max-width: 230px; } }
.kurzor { display: inline-block; width: 2px; height: 11px; margin-left: 2px; vertical-align: -1px; background: var(--limetka); animation: blikat 1s steps(1) infinite; }
@keyframes blikat { 50% { opacity: 0; } }

.ukazka-pozn { text-align: right; font-size: 12px; color: var(--tiche); margin-top: 4px; }

@media (max-width: 1000px) {
  .app { transform: none; animation: app-prilet-rovne .9s ease both; }
  @keyframes app-prilet-rovne { from { opacity: 0; transform: translateY(20px); } }
  .plovak-excel { left: 0; }
  .plovak-faktura { right: 0; }
}
@media (max-width: 560px) {
  .app { grid-template-columns: 40px minmax(0, 1fr); }
  .app-hledat { display: none; }
  .app-kpi b { font-size: 18px; }
  .app-kpi em { display: none; }
  .plovak-excel { display: none; }
  .plovak-faktura { right: 6px; top: 34%; }
  .plovak-ai { left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .app, .app-kpi div, .graf-cara, .graf-plocha, .graf-bod, .plovak, .stav-hotovo { animation: none !important; }
  .graf-cara { stroke-dashoffset: 0; }
  .graf-plocha, .graf-bod { opacity: 1; }
  .psani { animation: none !important; max-width: none; }
  .plovak-excel { display: none; }
}

/* --- Patička: naše značky ---------------------------------------------------- */
.znacky { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 14px 0; border-block: 1px solid rgba(255, 255, 255, .07); margin: 6px 0; }
.znacky span { font-size: 14px; color: var(--tiche); }
.znacky a { display: inline-flex; opacity: .75; transition: opacity .2s, filter .2s; }
.znacky a:hover { opacity: 1; filter: drop-shadow(0 0 10px rgba(166, 255, 107, .45)); }
.znacky img { height: 24px; width: auto; }

/* --- Postup: karty, po kterých přebíhá světelná kometa -------------------- */
.kroky {
  --doba: 7.5s;
  position: relative; list-style: none; margin: 48px 0 0; padding: 26px 0 0;
  display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: krok;
}
/* dráha nad kartami */
.kroky::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(166, 255, 107, .05), rgba(166, 255, 107, .3), rgba(166, 255, 107, .05));
}
/* kometa */
.kroky::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 120px; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, transparent, rgba(166, 255, 107, .9));
  box-shadow: 0 0 18px 4px rgba(166, 255, 107, .45);
  opacity: 0;
}
.kroky.videt::after { animation: kometa var(--doba) cubic-bezier(.45, .05, .55, .95) infinite; }
@keyframes kometa {
  0% { left: -120px; opacity: 0; }
  5% { opacity: 1; }
  85% { opacity: 1; }
  92%, 100% { left: 100%; opacity: 0; }
}

.kroky li {
  counter-increment: krok; position: relative; overflow: hidden;
  display: grid; gap: 10px; align-content: start;
  padding: 22px 20px 24px; border-radius: 20px;
  background: linear-gradient(170deg, rgba(20, 34, 24, .85), rgba(4, 8, 5, .9));
  border: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), border-color .3s;
}
.kroky.videt li { opacity: 1; transform: none; }
.kroky.videt li:nth-child(2) { transition-delay: .12s; }
.kroky.videt li:nth-child(3) { transition-delay: .24s; }
.kroky.videt li:nth-child(4) { transition-delay: .36s; }
.kroky.videt li:nth-child(5) { transition-delay: .48s; }

/* velké obrysové číslo v pozadí karty */
.kroky li::before {
  content: counter(krok, decimal-leading-zero);
  position: absolute; right: 12px; top: 2px;
  font-size: 64px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(166, 255, 107, .22);
  pointer-events: none;
}
/* záblesk karty, když jí kometa proletí nad hlavou */
.kroky li::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 1px solid var(--limetka);
  background: radial-gradient(circle at 50% 0%, rgba(166, 255, 107, .18), transparent 60%);
  opacity: 0;
}
.kroky.videt li::after { animation: zablesk var(--doba) ease-in-out infinite; }
.kroky.videt li:nth-child(1)::after { animation-delay: calc(var(--doba) * .07); }
.kroky.videt li:nth-child(2)::after { animation-delay: calc(var(--doba) * .23); }
.kroky.videt li:nth-child(3)::after { animation-delay: calc(var(--doba) * .39); }
.kroky.videt li:nth-child(4)::after { animation-delay: calc(var(--doba) * .55); }
.kroky.videt li:nth-child(5)::after { animation-delay: calc(var(--doba) * .71); }
@keyframes zablesk { 0%, 100% { opacity: 0; } 4% { opacity: 1; } 16% { opacity: 0; } }

.krok-ikona {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  color: var(--limetka); background: rgba(166, 255, 107, .1); border: 1px solid rgba(166, 255, 107, .3);
  box-shadow: 0 0 22px rgba(166, 255, 107, .12);
}
.krok-ikona svg { width: 24px; height: 24px; }
.kroky h3 { font-size: 19px; margin-top: 6px; }
.kroky p { color: var(--tiche); font-size: 16px; }
.kroky li:hover { border-color: var(--linka-silna); }

@media (max-width: 1000px) {
  .kroky { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kroky::before, .kroky::after { display: none; }
  .kroky li:last-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  /* na mobilu svislá dráha vlevo, kometa jede shora dolů */
  .kroky { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 26px; }
  .kroky li:last-child { grid-column: auto; }
  .kroky::before { display: block; left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto;
    background: linear-gradient(180deg, rgba(166, 255, 107, .05), rgba(166, 255, 107, .3), rgba(166, 255, 107, .05)); }
  .kroky::after { display: block; left: 3px; top: 0; width: 8px; height: 90px;
    background: linear-gradient(180deg, transparent, rgba(166, 255, 107, .9)); }
  .kroky.videt::after { animation-name: kometa-dolu; }
  @keyframes kometa-dolu { 0% { top: -90px; opacity: 0; } 5%, 85% { opacity: 1; } 92%, 100% { top: 100%; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .kroky li { opacity: 1; transform: none; transition: none; }
  .kroky::after, .kroky li::after { animation: none !important; display: none; }
}

/* ============================================================================
   Blog
   ========================================================================== */
.blog-mrizka { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-karta { color: var(--text); text-decoration: none; padding: 30px; gap: 14px; }
.blog-karta h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.blog-karta p { color: var(--tiche); }
.blog-karta:first-child { grid-column: span 2; border-color: var(--linka-silna);
  background: radial-gradient(circle at 90% 0%, rgba(47, 211, 107, .22), transparent 50%), linear-gradient(170deg, var(--plocha-2), #030604 70%); }
.blog-karta:first-child h2 { font-size: clamp(26px, 3vw, 36px); max-width: 26ch; }
.blog-karta:focus-visible { outline-offset: 4px; }

.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--tiche); margin: 0; }
.blog-kategorie {
  padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--limetka); border: 1px solid var(--linka-silna); background: rgba(166, 255, 107, .06);
}

.blog-mrizka-mala { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.blog-karta-mala {
  display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 16px;
  border: 1px solid var(--linka); background: rgba(255, 255, 255, .03); color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.blog-karta-mala .blog-kategorie { justify-self: start; }
.blog-karta-mala:hover { border-color: var(--limetka); transform: translateY(-2px); }
.blog-mrizka-mala .blog-karta-mala:first-child { grid-column: auto; background: rgba(255, 255, 255, .03); }

/* Článek */
.obal-clanek { width: min(100% - 32px, 780px); margin-inline: auto; }
.clanek-hlava .obal { display: grid; gap: 18px; justify-items: start; }
.clanek-hlava h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: none; }
.clanek-telo { padding-bottom: 32px; }
.clanek-telo > h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 52px 0 14px; scroll-margin-top: 96px; }
.clanek-telo > p, .clanek-telo > ul, .clanek-telo > ol { font-size: 18px; line-height: 1.7; color: #d3dad2; }
.clanek-telo > p + p { margin-top: 14px; }
.clanek-telo > ul, .clanek-telo > ol { padding-left: 24px; display: grid; gap: 10px; margin: 14px 0 0; }
.clanek-telo strong { color: var(--text); }
.clanek-telo li::marker { color: var(--limetka); font-weight: 700; }

.obsah-clanku {
  margin: 8px 0 8px; padding: 20px 24px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
}
.obsah-clanku p { font-weight: 700; margin-bottom: 8px; }
.obsah-clanku ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.obsah-clanku a { color: var(--tiche); text-decoration: none; }
.obsah-clanku a:hover { color: var(--limetka); }

.tabulka-obal { overflow-x: auto; margin-top: 18px; border-radius: 16px; border: 1px solid var(--linka); }
.vypocet { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.vypocet th, .vypocet td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.vypocet thead th { font-size: 13px; color: var(--tiche); font-weight: 700; background: rgba(255, 255, 255, .03); }
.vypocet tbody th { font-weight: 700; color: var(--text); width: 22%; }
.vypocet td { color: #c9d1c8; }
.vypocet .hodnota { display: block; margin-top: 4px; font-weight: 700; color: var(--text); }
.vypocet .uspora { color: var(--limetka); font-weight: 700; white-space: nowrap; }
.vypocet tfoot th, .vypocet tfoot td { font-weight: 700; color: var(--text); border-bottom: 0; background: rgba(166, 255, 107, .06); }
.vypocet tfoot .uspora { font-size: 18px; }

.v-kostce { margin: 22px 0 6px; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v-kostce div {
  padding: 18px; border-radius: 16px; display: grid; gap: 4px;
  border: 1px solid var(--linka-silna);
  background: radial-gradient(circle at 50% 0%, rgba(166, 255, 107, .16), transparent 70%), var(--plocha);
}
.v-kostce b { font-size: clamp(26px, 3.4vw, 36px); color: var(--limetka); line-height: 1.1; }
.v-kostce span { font-size: 14px; color: var(--tiche); }

.predpoklady {
  margin-top: 18px; padding: 18px 22px; border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, .2); color: #c9d1c8; font-size: 16px;
}
.predpoklady ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.predpoklady .drobne { margin-top: 10px; font-size: 14px; color: var(--tiche); }

.cislovany { counter-reset: none; }
.clanek-telo .otazky { margin-top: 14px; }

.clanek-cta {
  margin-top: 48px; padding: 28px; border-radius: 22px; display: grid; gap: 12px;
  border: 1px solid var(--linka-silna);
  background: radial-gradient(ellipse at 50% 0%, rgba(166, 255, 107, .2), transparent 65%), var(--plocha-2);
}
.clanek-cta p { color: #d3dad2; }
.clanek-cta .akce { margin-top: 6px; }

@media (max-width: 1000px) {
  .blog-mrizka-mala { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .blog-mrizka { grid-template-columns: minmax(0, 1fr); }
  .blog-karta:first-child { grid-column: auto; }
  .blog-karta { padding: 22px; }
  .v-kostce { grid-template-columns: minmax(0, 1fr); }
  .clanek-telo > p, .clanek-telo > ul, .clanek-telo > ol { font-size: 17px; }
}

/* Tabulka výpočtu na mobilu jako karty */
@media (max-width: 640px) {
  .tabulka-obal:has(.vypocet) { overflow: visible; border: 0; }
  .vypocet { min-width: 0; }
  .vypocet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vypocet, .vypocet tbody, .vypocet tfoot, .vypocet tr, .vypocet th, .vypocet td { display: block; width: auto; }
  .vypocet tr { margin-bottom: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--linka); background: rgba(255, 255, 255, .03); }
  .vypocet tfoot tr { border-color: var(--linka-silna); background: rgba(166, 255, 107, .06); }
  .vypocet th, .vypocet td { padding: 6px 0; border: 0; background: none !important; }
  .vypocet tbody th, .vypocet tfoot th { font-size: 17px; padding-bottom: 8px; width: auto; }
  .vypocet td::before { content: attr(data-popis); display: block; font-size: 12px; font-weight: 700; color: var(--tiche); }
  .vypocet .hodnota { display: inline; margin-left: 6px; }
}

/* ============================================================================
   Databáze firem
   ========================================================================== */
.hero-s-ukazkou .hero-text { display: grid; gap: 22px; justify-items: start; }
.hero-sluzba:not(.hero-s-ukazkou) .hero-text { display: grid; gap: 22px; justify-items: start; }
.hero-s-ukazkou h1 { max-width: 18ch; }

.db-ukazka { margin: 0; position: relative; padding: 18px 0 8px; }
.db-okno {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 34, 24, .92), rgba(5, 10, 7, .96));
  border: 1px solid rgba(166, 255, 107, .28);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 80px rgba(47, 211, 107, .16);
  animation: app-prilet-rovne .9s ease both;
}
.db-tabulka { padding: 10px 12px 4px; display: grid; gap: 4px; }
.db-radek {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .6fr); gap: 8px; align-items: center;
  padding: 9px 10px; border-radius: 9px; font-size: 12px; background: rgba(255, 255, 255, .03);
}
.db-radek span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-hlava { background: none; font-size: 11px; font-weight: 700; color: var(--tiche); }
.db-nove { color: var(--limetka); position: relative; }
.db-hlava .db-nove { color: var(--limetka); }
/* nové sloupce se postupně „doplní“: nejdřív blikající zástupný pruh, pak hodnota */
.db-radek:not(.db-hlava) .db-nove { color: transparent; animation: doplnit 7s ease infinite; }
.db-radek:not(.db-hlava) .db-nove::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 80%; height: 8px; margin-top: -4px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(166, 255, 107, .1), rgba(166, 255, 107, .35), rgba(166, 255, 107, .1));
  background-size: 200% 100%; animation: zastupny 7s ease infinite, lesk 1.2s linear infinite;
}
.db-radek:nth-child(3) .db-nove, .db-radek:nth-child(3) .db-nove::before { animation-delay: .4s, .4s; }
.db-radek:nth-child(4) .db-nove, .db-radek:nth-child(4) .db-nove::before { animation-delay: .8s, .8s; }
.db-radek:nth-child(5) .db-nove, .db-radek:nth-child(5) .db-nove::before { animation-delay: 1.2s, 1.2s; }
@keyframes doplnit { 0%, 18% { color: transparent; } 26%, 88% { color: var(--limetka); } 96%, 100% { color: transparent; } }
@keyframes zastupny { 0%, 18% { opacity: 1; } 24%, 92% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes lesk { to { background-position: -200% 0; } }

.db-stav { display: flex; align-items: center; gap: 10px; padding: 10px 14px 14px; font-size: 11px; color: var(--tiche); }
.db-pruh { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.db-pruh i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #2fd36b, #a6ff6b); animation: pruh 7s ease infinite; }
@keyframes pruh { 0% { width: 0; } 30%, 90% { width: 100%; } 100% { width: 100%; opacity: 0; } }

.db-plovak { right: -18px; bottom: 34px; border-color: rgba(47, 211, 107, .45); animation: toast 7s ease 2s infinite both; }

.stitky-dat { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stitky-dat li {
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  border: 1px solid var(--linka); background: rgba(255, 255, 255, .04);
}
.stitky-dat li:nth-child(3n+1) { border-color: var(--linka-silna); color: var(--limetka); }

@media (max-width: 1000px) {
  .db-plovak { right: 0; }
}
@media (max-width: 560px) {
  .db-radek { grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, .9fr); }
  .db-radek span:nth-child(2), .db-radek span:nth-child(5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .db-radek .db-nove, .db-radek .db-nove::before, .db-pruh i, .db-plovak, .db-okno { animation: none !important; }
  .db-radek:not(.db-hlava) .db-nove { color: var(--limetka); }
  .db-radek:not(.db-hlava) .db-nove::before { display: none; }
  .db-pruh i { width: 100%; }
}

/* --- Zvýraznění databáze firem ---------------------------------------------- */
.menu .menu-nove { position: relative; color: var(--limetka); }
.menu .menu-nove::after {
  content: "Nové"; position: absolute; top: -12px; right: -14px;
  padding: 1px 6px; border-radius: 99px; font-size: 10px; font-weight: 700;
  background: var(--limetka); color: #04140a;
}
@media (max-width: 1100px) { .menu { gap: 20px; } .menu a { font-size: 15px; } }

.sekce-banner { padding: 8px 0 24px; }
.db-banner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px 32px; border-radius: 24px; text-decoration: none; color: var(--text);
  border: 1px solid var(--linka-silna);
  background:
    radial-gradient(circle at 0% 50%, rgba(166, 255, 107, .22), transparent 45%),
    linear-gradient(120deg, var(--plocha-2), #030604);
  box-shadow: 0 0 60px rgba(47, 211, 107, .12);
  transition: transform .2s, box-shadow .2s;
}
.db-banner:hover { transform: translateY(-2px); box-shadow: 0 0 80px rgba(47, 211, 107, .25); }
.db-banner h2 { font-size: clamp(24px, 2.6vw, 32px); }
.db-banner p { color: var(--tiche); margin-top: 6px; max-width: 70ch; }
.db-banner-stitek {
  padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: 14px;
  background: var(--limetka); color: #04140a; box-shadow: 0 0 24px rgba(166, 255, 107, .5);
}
@media (max-width: 860px) {
  .db-banner { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 24px 22px; }
}

/* Menu: nezalamovat, na menších šířkách skrýt méně důležité položky, na mobilu posuvný řádek */
.menu a { white-space: nowrap; }
@media (max-width: 960px) {
  .menu a[href$="#postup"], .menu a[href$="#otazky"] { display: none; }
}
@media (max-width: 760px) {
  .hlavicka-radek { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 6px; }
  .menu {
    order: 3; width: 100%; margin-left: 0; gap: 20px;
    overflow-x: auto; scrollbar-width: none; padding: 10px 0 12px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .menu::-webkit-scrollbar { display: none; }
  .menu a[href$="#postup"], .menu a[href$="#otazky"] { display: inline; }
  .menu a { font-size: 15px; }
  .menu .menu-nove { padding-right: 42px; }
  .menu .menu-nove::after { top: 1px; right: 0; }
  .tlacitko-maly { margin-left: auto; }
  html { scroll-padding-top: 130px; }
}

/* ============================================================================
   Prodejní landing page: databáze firem
   ========================================================================== */
.hero-landing { padding: 48px 0 64px; }
.landing-mrizka { display: grid; gap: 40px; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.hero-landing .hero-text { display: grid; gap: 20px; justify-items: start; padding-top: 12px; }
.hero-landing h1 { font-size: clamp(34px, 4.4vw, 56px); }

.duvery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.duvery li { padding-left: 28px; position: relative; font-weight: 600; }
.duvery li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #04140a; background: var(--limetka);
}

.poptavka-karta {
  padding: 28px; border-radius: 24px; scroll-margin-top: 90px;
  background: linear-gradient(170deg, rgba(20, 34, 24, .95), rgba(5, 10, 7, .97));
  border: 1px solid var(--linka-silna);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 70px rgba(47, 211, 107, .16);
}
.poptavka-nadpis { font-size: 26px; }
.poptavka-perex { color: var(--tiche); margin: 6px 0 18px; }
.poptavka { display: grid; gap: 14px; }
.pole { display: grid; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.pole label, .pole legend { font-size: 14px; font-weight: 700; padding: 0; }
.pole label span[aria-hidden="true"] { color: var(--limetka); }
.pole-radek { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.poptavka input, .poptavka textarea, .poptavka select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 11px 13px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16);
}
.poptavka textarea { resize: vertical; min-height: 84px; }
.poptavka select option { background: #0c1a10; }
.poptavka input:focus, .poptavka textarea:focus, .poptavka select:focus { outline: none; border-color: var(--limetka); box-shadow: 0 0 0 3px rgba(166, 255, 107, .22); }
.poptavka [aria-invalid="true"] { border-color: #f87171; }
.chyba-pole { color: #fca5a5; font-size: 13px; }

.volby { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.volba { position: relative; cursor: pointer; }
.volba input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.volba span {
  display: inline-block; padding: 7px 13px; border-radius: 99px; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  transition: background-color .15s, border-color .15s, color .15s;
}
.volba input:checked + span { background: rgba(166, 255, 107, .16); border-color: var(--limetka); color: var(--limetka); }
.volba input:checked + span::before { content: "✓ "; }
.volba input:focus-visible + span { outline: 3px solid var(--limetka); outline-offset: 2px; }

.pole-past { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tlacitko-cele { width: 100%; min-height: 56px; font-size: 18px; }
.tlacitko[disabled] { opacity: .7; cursor: progress; }

.poptavka-zprava { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.poptavka-zprava.ok { background: rgba(47, 211, 107, .14); border: 1px solid rgba(47, 211, 107, .5); color: #d1fae5; }
.poptavka-zprava.chyba { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .5); color: #fecaca; }
.poptavka-gdpr { font-size: 13px; color: var(--tiche); }
.poptavka-tel { margin-top: 14px; font-size: 15px; color: var(--tiche); text-align: center; }
.poptavka-tel a { font-weight: 700; }

.akce-odsazena { margin-top: 24px; }
.mrizka-ctyri { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kroky-tri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kroky-tri li:last-child { grid-column: auto; }
.kontakt-zaver { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

/* lepkavá výzva dole na mobilu */
.lepkava-vyzva { display: none; }
@media (max-width: 760px) {
  .landing .lepkava-vyzva {
    display: flex; gap: 8px; position: fixed; z-index: 25; left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 8px; border-radius: 18px;
    background: rgba(7, 17, 10, .92); border: 1px solid var(--linka-silna);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  }
  .landing .lepkava-vyzva .tlacitko { flex: 1; min-height: 48px; }
  .landing .lepkava-vyzva .lepkava-tel { flex: none; width: 56px; font-size: 20px; }
  .landing .paticka { padding-bottom: 110px; }
  .landing .cookie-lista { bottom: 90px; }
}

@media (max-width: 1000px) {
  .landing-mrizka { grid-template-columns: minmax(0, 1fr); }
  .mrizka-ctyri { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt-zaver { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .duvery { grid-template-columns: minmax(0, 1fr); }
  .pole-radek { grid-template-columns: minmax(0, 1fr); }
  .poptavka-karta { padding: 22px 18px; }
  .mrizka-ctyri { grid-template-columns: minmax(0, 1fr); }
  .kroky-tri { grid-template-columns: minmax(0, 1fr); }
}

/* Plovoucí karty a animace nesmí stránku rozšířit do strany */
main { overflow-x: clip; }

/* Lepkavá výzva zmizí, když je formulář na obrazovce */
.landing.formular-videt .lepkava-vyzva { opacity: 0; pointer-events: none; transform: translateY(20px); }
.lepkava-vyzva { transition: opacity .2s, transform .2s; }
.blog-mrizka > .blog-karta:last-child:nth-child(even) { grid-column: span 2; }
@media (max-width: 760px) { .blog-mrizka > .blog-karta:last-child:nth-child(even) { grid-column: auto; } }

/* ============================================================================
   Patička se sloupci
   ========================================================================== */
.paticka { padding: 64px 0 40px; background: linear-gradient(180deg, transparent, rgba(47, 211, 107, .04)); }
.paticka-mrizka {
  display: grid; gap: 40px 32px;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
}
.paticka-firma { display: grid; gap: 14px; align-content: start; justify-items: start; }
.paticka-firma p { color: var(--tiche); font-size: 15px; max-width: 34ch; }
.paticka-kontakt a { color: var(--text); text-decoration: none; font-weight: 600; }
.paticka-kontakt a:hover { color: var(--limetka); }
.paticka-nadpis {
  font-weight: 700; font-size: 16px; color: var(--text);
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.paticka-sloupec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.paticka-sloupec a { color: var(--tiche); text-decoration: none; font-size: 15px; transition: color .15s; }
.paticka-sloupec a:hover, .paticka-sloupec a[aria-current] { color: var(--limetka); }
.paticka .znacky { margin-top: 40px; }
.paticka-spodek { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 20px; }
.paticka-spodek p { color: var(--tiche); font-size: 13px; max-width: 90ch; }

@media (max-width: 1100px) {
  .paticka-mrizka { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .paticka-firma { grid-column: 1 / -1; }
  .paticka-firma p { max-width: 60ch; }
}
@media (max-width: 640px) {
  .paticka-mrizka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (max-width: 380px) {
  .paticka-mrizka { grid-template-columns: minmax(0, 1fr); }
}

/* Řádek nad nadpisem v úvodu: „Od autorů CRM systému RAMISYS“ */
.autori {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  color: var(--tiche); font-size: 15px; font-weight: 600; text-decoration: none;
  padding-left: 14px; border-left: 2px solid var(--limetka);
}
.autori img { height: 22px; width: auto; transition: filter .2s; }
.autori:hover { color: var(--text); }
.autori:hover img { filter: drop-shadow(0 0 10px rgba(166, 255, 107, .5)); }

/* „Od autorů CRM systému RAMISYS“ jako natočená nálepka, po najetí se narovná */
.autori {
  position: relative; overflow: hidden;
  padding: 9px 16px 9px 14px; border: 1px solid var(--linka-silna); border-left-width: 1px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(166, 255, 107, .12), rgba(7, 17, 10, .85) 60%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 24px rgba(166, 255, 107, .12);
  color: #d9e6d6;
  transform: rotate(-3deg);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s, border-color .3s, color .3s;
}
.autori::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.autori:hover, .autori:focus-visible {
  transform: rotate(0deg) translateY(-3px) scale(1.04);
  border-color: var(--limetka); color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 36px rgba(166, 255, 107, .35);
}
.autori:hover::after, .autori:focus-visible::after { transform: translateX(120%); transition: transform .8s ease; }
.autori:hover img { filter: drop-shadow(0 0 10px rgba(166, 255, 107, .6)); }
@media (prefers-reduced-motion: reduce) {
  .autori { transition: none; }
  .autori:hover::after { transition: none; }
}

/* Nálepka „Od autorů CRM systému RAMISYS“ (verze 2) */
.autori {
  gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px;
  overflow: visible;
  transform: rotate(-4deg);
}
.autori::after { border-radius: inherit; overflow: hidden; }
/* lepicí páska */
.autori::before {
  content: ""; position: absolute; z-index: 2; top: -9px; left: 22px;
  width: 54px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(220, 255, 190, .38), rgba(166, 255, 107, .22));
  border-left: 1px dashed rgba(255, 255, 255, .25); border-right: 1px dashed rgba(255, 255, 255, .25);
  transform: rotate(-8deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.autori-znak {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(166, 255, 107, .22), rgba(7, 17, 10, .9) 70%);
  border: 1px solid var(--linka-silna);
  box-shadow: 0 0 18px rgba(166, 255, 107, .35), inset 0 0 12px rgba(166, 255, 107, .15);
}
.autori-znak img { width: 26px; height: 26px; transition: transform .8s cubic-bezier(.34, 1.4, .64, 1); }
.autori-text { display: grid; gap: 3px; justify-items: start; line-height: 1.1; }
.autori-text small { font-size: 12px; font-weight: 600; color: var(--tiche); letter-spacing: .01em; }
.autori-text img { height: 27px; width: auto; }
.autori:hover .autori-text small { color: #e8f3e5; }
.autori:hover::before, .autori:focus-visible::before { transform: rotate(-2deg) translateY(-2px); }
.autori:hover .autori-znak img, .autori:focus-visible .autori-znak img { transform: rotate(360deg); }
.autori:hover .autori-znak { box-shadow: 0 0 28px rgba(166, 255, 107, .6), inset 0 0 14px rgba(166, 255, 107, .25); }
.hero-text > .autori { margin: 8px 0 6px 4px; }
@media (max-width: 760px) {
  .autori-znak { width: 40px; height: 40px; }
  .autori-text img { height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .autori-znak img, .autori::before { transition: none; }
}
/* oprava: odlesk se pohybuje uvnitř nálepky (posun pozadí, ne celého prvku) */
.autori { padding: 11px 20px 11px 18px; }
.autori::after {
  transform: none !important; transition: none !important;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .3) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
}
.autori:hover::after, .autori:focus-visible::after { background-position: -50% 0; transition: background-position .9s ease !important; }
.autori:hover .autori-text img, .autori:focus-visible .autori-text img { filter: drop-shadow(0 0 10px rgba(166, 255, 107, .6)); }
.autori::before { top: -13px; height: 16px; left: auto; right: 22px; transform: rotate(6deg); }
.autori:hover::before, .autori:focus-visible::before { transform: rotate(2deg) translateY(-2px); }
/* bez lepicí pásky */
.autori::before { content: none !important; display: none !important; }
