:root {
  --bg: #050505;
  --panel: #0c0c0c;
  --panel-2: #111111;
  --text: #eaeaea;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #3df604;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Mono", monospace;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(42px);
  opacity: 0.18;
}

body::before {
  width: 220px;
  height: 220px;
  top: 120px;
  right: -40px;
  background: rgba(61, 246, 4, 0.5);
  animation: driftA 11s ease-in-out infinite;
}

body::after {
  width: 170px;
  height: 170px;
  bottom: 100px;
  left: -30px;
  background: rgba(61, 246, 4, 0.35);
  animation: driftB 13s ease-in-out infinite;
}

html.no-js body,
body.page-ready {
  opacity: 1;
  transform: none;
}

body.page-leave {
  opacity: 0;
  transform: translateY(-4px);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.bg-fade {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 70% -5%, rgba(61, 246, 4, 0.08), transparent 32%);
  pointer-events: none;
}

.container {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(5, 5, 5, 0.74);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, var(--brand), #8dff6e);
  transition: width 0.12s linear;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Články: horizontálna navigácia na stred obrazovky (logo vľavo) */
@media (min-width: 781px) {
  body.page-clanky .nav {
    position: relative;
    justify-content: center;
  }
  body.page-clanky .brand-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-box {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #000;
  background: var(--brand);
  font-family: "Unbounded", sans-serif;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(61, 246, 4, 0.32);
  animation: pulseBox 2.8s ease-in-out infinite;
}

.brand {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-left: 8px;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .brand-tagline {
    font-size: 0.6rem;
    margin-left: 4px;
  }
}

.menu {
  display: flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: inherit;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding: 8px 10px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 0 14px;
}

.mobile-menu a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
  text-transform: uppercase;
  font-size: 0.73rem;
}

.mobile-menu a.active,
.mobile-menu a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.menu a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.73rem;
  text-transform: uppercase;
}

.menu a:hover,
.menu a.active {
  background: var(--brand);
  color: #000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 11px 18px;
  line-height: 1;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  transition: 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--brand);
  color: #000;
  background: var(--brand);
}

.btn-primary {
  background: var(--brand);
  color: #000;
  border-color: var(--brand);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
}

.section {
  padding: 88px 0 0;
  position: relative;
}

.section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1380px, calc(100% - 40px));
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.hero {
  padding-top: 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #a9a9a9;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.12rem;
}

.stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.accent {
  color: var(--brand);
}

.lead {
  margin-top: 18px;
  border-left: 2px solid var(--brand);
  padding-left: 14px;
  color: #c7c7c7;
  line-height: 1.82;
  max-width: 760px;
}

p {
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.panel:hover {
  border-color: rgba(61, 246, 4, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(61, 246, 4, 0.1), transparent 44%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.panel:hover::before {
  opacity: 1;
}

.hero-card {
  padding: 24px;
}

.hero-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #c8c8c8;
}

.hero-card li {
  margin-bottom: 10px;
}

.marquee {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a0a0a;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 20px;
  padding: 16px 0;
  animation: marquee 24s linear infinite;
}

.marquee span {
  font-family: "Unbounded", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.marquee .x {
  color: var(--brand);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.section-head p {
  margin: 0;
  color: #9f9f9f;
  font-size: 0.8rem;
  max-width: 640px;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 22px;
}

.card p {
  color: #b8b8b8;
  font-size: 0.84rem;
  line-height: 1.75;
}

.steps {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.step {
  min-height: 190px;
  border-right: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step:last-child {
  border-right: 0;
}

.step b {
  font-family: "Unbounded", sans-serif;
  font-size: 2rem;
  color: var(--brand);
  opacity: 0.95;
}

.step:hover b {
  opacity: 1;
  color: var(--brand);
}

.step:hover h3 {
  color: #f7fff2;
}

.split {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.74rem;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cta {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.cta-left,
.cta-right {
  padding: 24px;
}

.form {
  display: grid;
  gap: 22px;
}

.form > div {
  min-height: 0;
}

label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #8e8e8e;
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #fff;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
}

select {
  cursor: pointer;
  background-color: var(--panel);
  color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239a9a9a' stroke-width='1.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

select option {
  background: var(--panel);
  color: var(--text);
}

/* Zóna na nahratie príloh */
.file-upload-zone {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  min-height: 140px;
}

.file-upload-zone:hover {
  border-color: rgba(61, 246, 4, 0.4);
  background-color: rgba(61, 246, 4, 0.04);
}

.file-upload-zone:hover .file-upload-icon {
  animation: fileIconFloat 1.2s ease-in-out infinite;
  color: rgba(61, 246, 4, 0.9);
}

.file-upload-zone.is-dragover {
  border-color: var(--brand);
  background-color: rgba(61, 246, 4, 0.1);
}

.file-upload-zone.is-dragover .file-upload-icon {
  animation: fileIconPulse 0.6s ease infinite;
  color: var(--brand);
}

.file-upload-zone.has-files {
  border-color: var(--brand);
  background-color: rgba(61, 246, 4, 0.06);
  animation: fileZoneDone 0.4s ease;
}

.file-upload-zone.has-files .file-upload-icon {
  color: var(--brand);
}

@keyframes fileZoneDone {
  0% { transform: scale(1); }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

@keyframes fileIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes fileIconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  padding: 0;
  font-size: 0;
}

.file-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}

.file-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.25s ease;
}

.file-upload-icon svg {
  width: 40px;
  height: 40px;
}

.file-upload-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.file-upload-zone.has-files .file-upload-label {
  color: var(--brand);
  font-size: 0.78rem;
}

.file-upload-list {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
}

.file-upload-zone.has-files .file-upload-list {
  opacity: 1;
  max-height: 120px;
  margin-top: 12px;
}

.file-upload-clear {
  display: none;
  margin-top: 12px;
  appearance: none;
  background-color: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.file-upload-clear:hover {
  border-color: var(--brand);
  color: var(--brand);
  background-color: rgba(61, 246, 4, 0.06);
}

.label-optional {
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
}

.form-hint {
  margin: 6px 0 0;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
}

.form-attachment-types {
  margin: 6px 0 10px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  color: #8f8f8f;
  font-size: 0.72rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.card-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  font-size: 0.74rem;
  color: #8f8f8f;
}

.case-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.case {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 22px;
}

.case p {
  color: #b8b8b8;
  margin: 8px 0 0;
  line-height: 1.6;
}

.case p + p {
  margin-top: 12px;
  font-size: 0.84rem;
  line-height: 1.7;
}

.case-tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.metrics {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  padding: 20px;
}

.metric b {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 1.7rem;
  color: var(--brand);
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #9f9f9f;
}

.pricing-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 22px;
}

.price {
  margin-top: 14px;
  font-family: "Unbounded", sans-serif;
  font-size: 1.8rem;
}

.price small {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  color: #9f9f9f;
}

.price-list {
  margin: 14px 0;
  padding-left: 18px;
  color: #b8b8b8;
  font-size: 0.8rem;
}

.price-list li {
  margin-bottom: 6px;
  line-height: 1.55;
}

.testimonial-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.testimonial {
  padding: 20px;
}

.testimonial p {
  color: #c9c9c9;
  line-height: 1.7;
  font-size: 0.84rem;
}

.testimonial footer {
  margin-top: 10px;
  font-size: 0.74rem;
  color: #8f8f8f;
}

.flow-steps {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-step {
  padding: 16px;
}

.flow-step b {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  color: var(--brand);
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.flow-step p {
  margin: 0;
  font-size: 0.8rem;
  color: #b6b6b6;
  line-height: 1.65;
}

.flow-step p + p {
  margin-top: 10px;
}

.note {
  font-size: 0.72rem;
  color: #9f9f9f;
  margin-top: 10px;
}

.brief-status {
  display: none;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--brand);
}

.brief-status.show {
  display: block;
}

.brief-status.brief-status--error {
  color: #e86c6c;
}

.calendar-wrap {
  margin-top: 18px;
  padding: 10px;
}

.calendar-inline {
  min-width: 320px;
  height: 760px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@keyframes pulseBox {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-12px, 18px);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -14px);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .grid-3,
  .split,
  .cta,
  .pricing-grid,
  .metrics,
  .testimonial-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 780px) {
  body.page-clanky .brand-wrap {
    position: static;
    transform: none;
  }
  body.page-clanky .nav {
    justify-content: space-between;
  }
  .container {
    width: min(1380px, calc(100% - 28px));
  }
  .nav {
    min-height: 70px;
  }
  .section {
    padding-top: 72px;
  }
  .hero {
    padding-top: 28px;
  }
  h1 {
    font-size: clamp(1.9rem, 11vw, 3rem);
    line-height: 1.02;
  }
  h2 {
    font-size: clamp(1.4rem, 7.2vw, 2rem);
  }
  .lead {
    line-height: 1.72;
    font-size: 0.9rem;
  }
  .hero-actions {
    gap: 8px;
  }
  .btn {
    padding: 10px 14px;
    font-size: 0.7rem;
  }
  .section-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .section-head p,
  .card p,
  .flow-step p,
  .metric span,
  .testimonial p {
    font-size: 0.84rem;
    line-height: 1.7;
  }
  .section-head p {
    text-align: center;
    width: 100%;
    max-width: none;
  }
  .price {
    font-size: 1.55rem;
  }
  .calendar-inline {
    height: 700px;
  }
  .menu {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu.open {
    display: block;
  }
  .hero-actions {
    justify-content: center;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
  }
  .case {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .section-head p {
    font-size: 0.88rem;
    line-height: 1.72;
  }
  .btn {
    min-height: 42px;
    padding: 10px 16px;
    text-align: center;
  }
}

/* Cookie banner – zobrazenie hneď pri otvorení stránky */
.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  min-width: 260px;
}

.cookie-banner a {
  color: var(--brand);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Text stránky GDPR / Cookies */
.text-page .prose {
  padding: 24px;
  max-width: 720px;
}

.text-page .prose h3 {
  margin-top: 1.4em;
  margin-bottom: 0.4em;
  font-size: 1rem;
}

.text-page .prose h3:first-child {
  margin-top: 0;
}

.text-page .prose p {
  margin: 0 0 0.75em;
  font-size: 0.88rem;
  color: #b8b8b8;
  line-height: 1.65;
}

.text-page .prose a {
  color: var(--brand);
  text-decoration: underline;
}

.faq details {
  margin: 14px 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  color: var(--text);
  outline: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  color: var(--brand);
}

.faq details[open] summary::after {
  content: "−";
}

.text-page .prose.faq {
  max-width: 920px;
}

.preco-webido-page .faq {
  text-align: center;
}

.preco-webido-page .faq details p {
  margin: 10px 0 0;
  text-align: center;
}

.preco-webido-page .faq details {
  margin: 16px auto;
  width: 100%;
}

.text-page .prose.faq {
  margin: 0 auto;
}

.preco-webido-page .faq summary {
  display: block;
  text-align: center;
  width: 100%;
  position: relative;
  padding-right: 38px; /* rezerva pre symbol (+ / −) vpravo */
}

/* Centrum layoutu pre stránku „Prečo Webido“ */
.preco-webido-page .container {
  width: min(1060px, calc(100% - 40px));
}

.preco-webido-page .section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 10px;
}

.preco-webido-page .section-head p {
  margin: 0 auto;
  text-align: center;
}

.preco-webido-page .cta {
  grid-template-columns: 1fr;
  justify-items: center;
}

.preco-webido-page .cta-left {
  text-align: center;
}

.preco-webido-page .hero-actions {
  justify-content: center;
}

/* Centrum layoutu pre stránku „Prečo Webido“ */
.preco-webido-page .grid-3 {
  justify-items: center;
}

.preco-webido-page .card {
  text-align: center;
}

.preco-webido-page .cta-left {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

/* Border-left v .lead na tejto stránke vizuálne „ťahá“ obsah doľava. */
.preco-webido-page .cta-left .lead {
  border-left: 0;
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Blog post layout (články/Články) */
.blog-post-page .text-page .prose {
  /* nerobiť úzky blok ako na GDPR/Cookies */
  max-width: none;
}

.blog-post-page .prose {
  width: 100%;
}

.blog-post-page .faq {
  text-align: center;
}

.blog-post-page .faq details {
  margin: 16px auto;
  width: 100%;
}

.blog-post-page .faq details p {
  margin: 10px 0 0;
  text-align: center;
}

.blog-post-page .faq summary {
  display: block;
  text-align: center;
  width: 100%;
  position: relative;
  padding-right: 38px; /* rezerva pre symbol (+ / −) vpravo */
}

/* Blog post: čitateľnosť textu (odseky) */
.blog-post-page .text-page .prose p {
  color: var(--text);
}

/* Blog post: centrovanie CTA */
.blog-post-page .hero-actions {
  justify-content: center;
}

/* Stránka s výpisom článkov ("Články") */
.clanky-page .section-head {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 10px;
}

.clanky-page .section-head p {
  text-align: center !important;
  margin: 0 auto !important;
}

/* Stránka Kontakt – rovnaké zarovnanie ako Články/Prečo Webido */
.kontakt-page .section-head {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 10px;
}

.kontakt-page .section-head p {
  text-align: center !important;
  margin: 0 auto !important;
}

.kontakt-page .hero-actions {
  justify-content: center;
}

/* Ďalšie stránky – zjednotené mobilné zarovnanie nadpis + perex + CTA */
.sluzby-page .section-head,
.proces-page .section-head,
.portfolio-page .section-head {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 10px;
}

.sluzby-page .section-head p,
.proces-page .section-head p,
.portfolio-page .section-head p {
  text-align: center !important;
  margin: 0 auto !important;
}

.sluzby-page .hero-actions,
.proces-page .hero-actions,
.portfolio-page .hero-actions {
  justify-content: center;
}

/* Blog post: farba textu CTA "Vyplniť zadanie" */
.blog-post-page .hero-actions .btn.btn-primary {
  color: #000;
}

.blog-post-page .hero-actions .btn.btn-primary:hover {
  color: #000;
}

/* CTA (tlačidlá) na blog poste: nenechať sekundárne tlačidlo "zmeniť sa na primary" */
.blog-post-page .hero-actions .btn:not(.btn-primary):hover {
  background: transparent;
  color: #fff;
  border-color: var(--brand);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.quick-assistant {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.quick-assistant__toggle {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #000;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.quick-assistant__panel {
  width: min(320px, calc(100vw - 32px));
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.quick-assistant__panel h3 {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.quick-assistant__panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.quick-assistant__log {
  max-height: 190px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background: #0b0b0b;
}

.quick-assistant__q {
  margin: 0.4rem 0 0;
  color: #8dff6e;
  font-size: 0.72rem;
}

.quick-assistant__a {
  margin: 0.2rem 0 0.55rem;
  color: #d9d9d9;
  font-size: 0.76rem;
  line-height: 1.45;
}

.quick-assistant__a a {
  color: #8dff6e;
  text-decoration: none;
  border-bottom: 1px dotted rgba(141, 255, 110, 0.5);
}

.quick-assistant__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.quick-assistant__topic {
  border: 1px solid rgba(61, 246, 4, 0.35);
  background: rgba(61, 246, 4, 0.08);
  color: #b8ff9f;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  font: inherit;
  font-size: 0.65rem;
  text-transform: uppercase;
  cursor: pointer;
}

.quick-assistant__links {
  display: flex;
  gap: 8px;
}

.quick-assistant.is-open .quick-assistant__toggle {
  background: #fff;
  border-color: #fff;
}
