/* =============================================
   DataStorm s.r.o. — Dark Premium Redesign
   Font: Outfit (Google Fonts)
   ============================================= */

:root {
  --brand: #FF8000;
  --brand-dim: rgba(255,128,0,.14);
  --brand-glow: rgba(255,128,0,.28);

  --bg:      #0A0A0C;
  --bg2:     #0F0F13;
  --bg3:     #131318;
  --surface: #17171E;
  --surface2:#1E1E27;

  --border:  rgba(255,255,255,.08);
  --border2: rgba(255,255,255,.05);

  --text:    #F0F0F5;
  --text2:   rgba(240,240,245,.70);
  --text3:   rgba(240,240,245,.42);

  --radius:  16px;
  --radius-lg: 22px;
  --shadow:  0 1px 0 rgba(255,255,255,.04), 0 20px 60px rgba(0,0,0,.50);

  --fs-h1: clamp(38px, 4.8vw, 68px);
  --fs-h2: clamp(30px, 3vw, 48px);
  --fs-h3: clamp(17px, 1.6vw, 20px);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 18px;
  top: 18px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--brand);
  color: #000;
  z-index: 9999;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

:focus-visible {
  outline: 2px solid rgba(255,128,0,.7);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,12,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 48px;
  width: auto;
}
.brand-sub {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.is-active { color: var(--brand); background: var(--brand-dim); }

.nav-cta {
  background: var(--brand);
  color: #0A0A0C;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 12px;
  letter-spacing: -.01em;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-cta:hover {
  opacity: .9;
  transform: translateY(-1px);
  background: var(--brand);
  color: #0A0A0C;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger {
  width: 16px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.burger::before, .burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.burger::before { top: -5px; }
.burger::after  { top:  5px; }

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background-color: #0A0A0C;
  background-image:
          radial-gradient(ellipse 65% 60% at 18% 38%, rgba(255,128,0,.16) 0%, transparent 68%),
          radial-gradient(ellipse 42% 45% at 82% 18%, rgba(255,128,0,.09) 0%, transparent 68%),
          radial-gradient(ellipse 30% 35% at 60% 80%, rgba(255,128,0,.05) 0%, transparent 65%),
          radial-gradient(circle at 1px 1px, rgba(255,128,0,.28) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px;
}

/* pseudo-element pre jemné vignette na okrajoch */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
          linear-gradient(to right, #0A0A0C 0%, transparent 12%, transparent 88%, #0A0A0C 100%),
          linear-gradient(to bottom, #0A0A0C 0%, transparent 10%, transparent 85%, #0A0A0C 100%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  top: 15%; right: 8%;
  background: radial-gradient(circle, rgba(255,128,0,.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

/* Hero visual SVG */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-copy { max-width: 720px; }

.kicker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 12px;
  border: 1px solid rgba(255,128,0,.28);
  border-radius: 999px;
  background: rgba(255,128,0,.07);
}
.kicker-sep {
  width: 24px; height: 1px;
  background: rgba(255,128,0,.35);
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #FF8000 0%, #FFAA44 55%, #FF6600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text2);
  max-width: 58ch;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand);
  color: #0A0A0C;
  border-color: rgba(255,128,0,.5);
  box-shadow: 0 8px 32px rgba(255,128,0,.28), 0 2px 0 rgba(255,255,255,.12) inset;
}
.btn-primary:hover {
  box-shadow: 0 14px 44px rgba(255,128,0,.38), 0 2px 0 rgba(255,255,255,.12) inset;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface2); }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  width: fit-content;
}
.hstat {
  padding: 0 24px;
  text-align: center;
}
.hstat:first-child { padding-left: 0; }
.hstat:last-child  { padding-right: 0; }

.hstat-num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
}
.hstat-num span {
  font-size: 18px;
  color: var(--brand);
}
.hstat-label {
  font-size: 11px;
  color: var(--text3);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 5px;
}
.hstat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- LEAD MAGNET / AUDIT CTA ---- */
.audit-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-dim), var(--surface));
  border: 1px solid rgba(255,128,0,.25);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.audit-card h2 { margin: 6px 0 12px; }
.audit-card > .audit-text > p { color: var(--text2); font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
.audit-points {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.audit-points li {
  padding-left: 26px;
  position: relative;
  color: var(--text2);
  font-size: 15px;
}
.audit-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.4);
  border-radius: 4px;
}
.audit-points li::after {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}
.audit-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.audit-action .btn { white-space: nowrap; }
.audit-note { font-size: 13px; color: var(--text3); }

/* ---- O FIRME / FAKTY (GEO entity) ---- */
.about-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  max-width: 800px;
  margin-bottom: 28px;
}
.about-grid {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-grid li {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
}
.about-k {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}

/* ---- TRUST STRIP — center-focus marquee ---- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg2, var(--surface));
}
.trust-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3);
  text-align: center;
  margin-bottom: 16px;
}
.trust-marquee {
  position: relative;
  overflow: hidden;
  /* okraje plynulo zhasínajú — užší stred, väčší dôraz na centrálny názov */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 34%, #000 66%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 34%, #000 66%, transparent);
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: trust-scroll 40s linear infinite;
  will-change: transform;
}
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  white-space: nowrap;
  transform-origin: center center;
  /* scale + opacity nastavuje JS podľa vzdialenosti od stredu */
  opacity: .3;
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; justify-content: center; flex-wrap: wrap; gap: 16px 40px; }
  .trust-logo { opacity: .72 !important; transform: none !important; font-size: 20px; }
}

/* Hero side tags */
.hero-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
}
.htag-col { display: flex; flex-direction: column; gap: 8px; }
.htag {
  padding: 10px 16px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.htag-accent {
  border-color: rgba(255,128,0,.3);
  background: rgba(255,128,0,.08);
  color: rgba(255,164,64,.9);
}

.hero-scroll-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,128,0,.4));
}

/* ---- SECTIONS ---- */
.section {
  padding: 100px 0;
  background: var(--bg);
}
.section-alt {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}
.section-contact {
  background: var(--bg);
}

section { scroll-margin-top: 80px; }
[id]    { scroll-margin-top: 80px; }

.section-head { margin-bottom: 56px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.section-head .sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 65ch;
  line-height: 1.75;
}

/* ---- SERVICES ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: border-color .22s ease, transform .22s ease;
}
.svc-card:hover {
  border-color: rgba(255,128,0,.28);
  transform: translateY(-2px);
}

.svc-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}

.svc-card h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.svc-card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 18px;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-list li {
  font-size: 14px;
  color: var(--text3);
  padding-left: 16px;
  position: relative;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .7;
}

/* ---- SOLUTIONS ---- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sol-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .22s ease;
}
.sol-card:hover { border-color: rgba(255,128,0,.22); }

.sol-num {
  font-size: 64px;
  font-weight: 900;
  color: rgba(255,128,0,.08);
  letter-spacing: -.04em;
  line-height: 1;
  position: absolute;
  top: 18px; right: 22px;
  font-variant-numeric: tabular-nums;
}

.sol-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
}
.sol-card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  position: relative;
}

/* ---- REFERENCES ---- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ref-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ref-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,128,0,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,128,0,.12);
}

.ref-media {
  aspect-ratio: 16 / 9;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
}
.ref-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease, opacity .3s ease;
  filter: grayscale(20%);
}
.ref-card:hover .ref-media img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,12,.55) 0%, transparent 50%);
  pointer-events: none;
}

.ref-arcus .ref-media img { object-position: top center; }

.ref-body {
  padding: 16px 20px 20px;
}
.ref-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -.01em;
  margin: 0
}
.ref-meta {
  margin-top: 5px;
  font-size: 13px;
  color: var(--text3);
  line-height: 1.5;
}

/* ---- TECH ---- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: border-color .22s ease;
}
.tech-card:hover { border-color: rgba(255,128,0,.2); }

.tech-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.tech-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  letter-spacing: .01em;
}
.tech-tag--main {
  background: rgba(255,128,0,.1);
  border-color: rgba(255,128,0,.25);
  color: rgba(255,164,64,.9);
}
.tech-desc {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
}

/* ---- SEO ---- */
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.seo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .22s ease, transform .22s ease;
}
.seo-card:hover {
  border-color: rgba(255,128,0,.25);
  transform: translateY(-2px);
}

.seo-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
  margin-bottom: 14px;
}
.seo-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.seo-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
}

/* ---- CONTACT ---- */
.contact-block { max-width: 860px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.cc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: border-color .22s ease;
}
.cc:hover { border-color: rgba(255,128,0,.22); }

.cc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 14px;
}

.cc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 8px;
}

.cc-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.cc-val a {
  color: var(--text);
  border-bottom: 1px dashed rgba(255,128,0,.4);
  transition: border-color .18s;
}
.cc-val a:hover { border-color: var(--brand); }

.muted-text { color: var(--text3); }

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.company-info {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.8;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 36px;
}

/* ---- CONTACT LAYOUT (form + sidebar) ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 100px;
}
.contact-info-side .cc { padding: 18px 20px; }
.cc-trust {
  font-size: 13px;
  color: var(--text2);
  padding: 14px 18px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.18);
  border-radius: var(--radius);
  text-align: center;
}

/* ---- CONTACT FORM ---- */
.contact-form { margin-top: 4px; }
.form-row { margin-bottom: 18px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 7px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text3); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-dim);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-err {
  display: block;
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 6px;
}
.form-row.has-error input[type="text"],
.form-row.has-error input[type="email"],
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #ff6b6b;
}
.form-row.has-error.form-check label { color: #ff9b9b; }
/* checkbox: Nette renderuje <label><input>text</label> — flex dáme na label */
.form-check label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text2);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 1px 0 0 0;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}
.form-check .form-err { display: block; margin-top: 6px; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-note { font-size: 13px; color: var(--text3); }

/* honeypot — skryté pred ľuďmi, viditeľné pre botov */
.hp-row {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---- FLASH ---- */
.flash {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 15px;
  border: 1px solid transparent;
}
.flash.success {
  background: rgba(46,204,113,.12);
  border-color: rgba(46,204,113,.35);
  color: #7ee2a8;
}
.flash.error {
  background: rgba(255,107,107,.1);
  border-color: rgba(255,107,107,.35);
  color: #ff9b9b;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.foot-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-logo {
  height: 44px; width: auto;
  opacity: .8;
}
.foot-text {
  font-size: 13px;
  color: var(--text3);
}
.foot-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-right a {
  font-size: 13px;
  color: var(--text3);
  transition: color .18s;
}
.foot-right a:hover { color: var(--text); }
.dot { color: var(--text3); opacity: .4; }

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateX(var(--reveal-x, 0)) translateY(12px);
  filter: blur(2px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1), filter .6s ease;
  will-change: transform, opacity, filter;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal.from-left  { --reveal-x: -24px; }
.reveal.from-right { --reveal-x:  24px; }
.reveal[data-delay="1"] { transition-delay: .05s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .19s; }
.reveal[data-delay="4"] { transition-delay: .26s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

.hero-load {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1);
}
.hero-load.is-in { opacity: 1; transform: none; }
.hero-load.delay-1 { transition-delay: .12s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: none; }
  .hero-tags { flex-direction: row; flex-wrap: wrap; }
  .htag-col { flex-direction: row; flex-wrap: wrap; }
  .seo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .svc-grid     { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .ref-grid     { grid-template-columns: repeat(2, 1fr); }
  .tech-grid    { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-stats   { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: fit-content; }
  .hstat { padding: 16px 20px; text-align: center; }
  .hstat-divider { display: none; }
}

@media (max-width: 760px) {
  .brand-sub { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    right: 16px; top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(15,15,19,.96);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
    z-index: 60;
    backdrop-filter: blur(12px);
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { text-align: center; }

  .ref-grid { grid-template-columns: 1fr; }
  .seo-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }

  .footer-flex { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-right .dot { display: none; }
  .foot-right { gap: 16px; flex-wrap: wrap; }

  .section { padding: 72px 0; }
  .hero { padding: 120px 0 80px; min-height: auto; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 36px; }
  .hero-stats { width: 100%; grid-template-columns: 1fr 1fr; }
  .svc-grid, .tech-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MULTI-PAGE EXTENSIONS — v2
   ============================================= */

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
  padding: 14px 0;
  margin-top: 76px;
  position: relative;
  z-index: 1;
}
.breadcrumbs-flex {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}
.bc-item {
  color: var(--text3);
  transition: color .18s;
  text-decoration: none;
}
a.bc-item:hover { color: var(--brand); }
.bc-current {
  color: var(--text2);
  font-weight: 600;
}
.bc-sep {
  color: var(--text3);
  opacity: .5;
  font-size: 12px;
}

/* keď je breadcrumb prítomný, hero už nemá top padding od headera */
.breadcrumbs + main .page-hero { padding-top: 60px; }
.breadcrumbs + main .hero { padding-top: 80px; }

/* ---- PAGE HERO (sub-pages) ---- */
.page-hero {
  padding: 110px 0 60px;
  position: relative;
  background-color: var(--bg);
  background-image:
          radial-gradient(ellipse 65% 60% at 18% 38%, rgba(255,128,0,.14) 0%, transparent 68%),
          radial-gradient(ellipse 42% 45% at 82% 18%, rgba(255,128,0,.07) 0%, transparent 68%),
          radial-gradient(circle at 1px 1px, rgba(255,128,0,.22) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 30px 30px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
          linear-gradient(to right, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%),
          linear-gradient(to bottom, var(--bg) 0%, transparent 10%, transparent 85%, var(--bg) 100%);
  pointer-events: none;
}
/* keď je breadcrumbs nad page-hero, znížime top padding */
.breadcrumbs ~ main .page-hero,
body:has(.breadcrumbs) .page-hero { padding-top: 60px; }

.ph-inner {
  position: relative;
  max-width: 760px;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 14px 0 18px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #FF8000 0%, #FFAA44 55%, #FF6600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* keď nemá body breadcrumbs, posuneme nadol pre header */
body:not(:has(.breadcrumbs)) .page-hero { padding-top: 130px; }

/* ---- SECTION-HEAD CENTER VARIANT ---- */
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .sub { margin-left: auto; margin-right: auto; }

/* ---- LINK ARROW ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  border-bottom: 1px dashed transparent;
  transition: border-color .18s;
}
.link-arrow:hover { border-color: var(--brand); }
.section-foot {
  margin-top: 32px;
  text-align: center;
}

/* ---- SVC CARD VARIANTS ---- */
.svc-card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}
.svc-card--link:hover { transform: translateY(-3px); }
.svc-card--full {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  height: 100%;
}
.svc-card--full h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.svc-card--full:hover { transform: translateY(-3px); }

.svc-arrow {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
}

.svc-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 8px;
}
.tech-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  letter-spacing: .01em;
}
.svc-grid--detail { gap: 18px; }

/* ---- PROCESS PREVIEW (homepage) ---- */
.process-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pp-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition: border-color .22s ease, transform .22s ease;
}
.pp-step:hover { border-color: rgba(255,128,0,.22); transform: translateY(-2px); }
.pp-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
  margin-bottom: 10px;
}
.pp-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.pp-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}
.pp-step--more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,128,0,.06);
  border-color: rgba(255,128,0,.25);
}
.pp-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

/* ---- PROCESS LIST (full page) ---- */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.proc-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .22s ease;
}
.proc-step:hover { border-color: rgba(255,128,0,.18); }
.proc-step-side { padding-top: 4px; }
.proc-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: rgba(255,128,0,.16);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.proc-time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
  text-transform: uppercase;
}
.proc-step-body h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.proc-step-body p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.proc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.proc-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
}

.proc-needs {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.needs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.needs-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 14px;
}

/* ---- DETAIL LAYOUT (sidebar) ---- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.detail-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.content-block h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.content-block h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 22px 0 10px;
  color: var(--text);
}
.content-block p,
.content-block ul,
.content-block ol {
  color: var(--text2);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 14px;
}
.content-block ul,
.content-block ol {
  padding-left: 22px;
}
.content-block li { margin-bottom: 8px; }
.content-block code {
  background: var(--surface2);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--brand);
  border: 1px solid var(--border);
}
.lead-text {
  font-size: 18px !important;
  color: var(--text) !important;
}

.check-list {
  list-style: none !important;
  padding-left: 0 !important;
}
.check-list li {
  padding-left: 26px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.4);
  border-radius: 4px;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 12px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}

.numbered-list {
  list-style: none !important;
  padding-left: 0 !important;
  counter-reset: num;
}
.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-left: 0 !important;
  margin-bottom: 12px !important;
}
.numbered-list .num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
}

.forwhom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.forwhom-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.5;
}
.forwhom-item svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- USE CASES GRID (typické aplikácie) ---- */
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.usecase-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
}
.usecase-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  letter-spacing: -.01em;
}
.usecase-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
}

/* ---- WHY CUSTOM LIST ---- */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-item {
  padding: 14px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.why-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.why-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
}

/* ---- PRICE INFO BOX ---- */
.price-info {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.price-info > p {
  margin: 0 0 14px;
  color: var(--text2);
}
.price-tiers {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 14px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-tiers li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-wrap: wrap;
}
.price-tier-label {
  font-size: 15px;
  color: var(--text);
}
.price-tier-range {
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
  white-space: nowrap;
}
.price-note {
  margin: 0 !important;
  font-size: 14px !important;
  color: var(--text3) !important;
  font-style: italic;
}
.duration-info {
  color: var(--text2);
  margin-top: 6px;
}
.duration-info strong { color: var(--text); }

/* ---- PROCESS TIMELINE ---- */
.process-timeline {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  counter-reset: pstep;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-step {
  display: flex !important;
  align-items: flex-start;
  gap: 18px;
  padding: 0 0 22px 0 !important;
  margin: 0 !important;
  position: relative;
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.process-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.35);
  border-radius: 50%;
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.process-body { flex: 1; padding-top: 4px; }
.process-step-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.process-step-desc {
  color: var(--text2);
  line-height: 1.6;
  font-size: 15px;
}

/* ---- SIDEBAR ---- */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.sidebar-card .section-label { margin-bottom: 12px; }
.sidebar-text {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.6;
}
.sidebar-cta h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--text);
}
.sidebar-cta p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 14px;
}
.btn-block { width: 100%; }

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text2);
  padding: 6px 0;
  transition: color .18s;
}
.sidebar-list a:hover { color: var(--brand); }
.sidebar-list a::before {
  content: "→";
  color: var(--brand);
  font-size: 12px;
  opacity: .7;
}

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

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .22s ease;
}
.faq-item:hover { border-color: rgba(255,128,0,.18); }
.faq-item[open] { border-color: rgba(255,128,0,.25); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid rgba(255,128,0,.3);
  position: relative;
  flex-shrink: 0;
  transition: transform .22s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--brand);
  border-radius: 1px;
}
.faq-icon::before { width: 9px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 9px; transform: translate(-50%, -50%); transition: transform .22s ease; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 24px 22px;
  color: var(--text2);
  line-height: 1.75;
  font-size: 15px;
}

/* ---- BLOG ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .22s ease, transform .22s ease;
}
.blog-card:hover {
  border-color: rgba(255,128,0,.25);
  transform: translateY(-3px);
}
.blog-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  text-decoration: none;
}
.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.blog-cat { color: var(--brand); }
.blog-date { color: var(--text3); }
.blog-readtime { color: var(--text3); font-size: 12px; font-weight: 600; }
.blog-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
}
.blog-perex {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.blog-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: background .22s ease;
}
.blog-card:hover .blog-arrow {
  background: var(--brand);
  color: #0A0A0C;
}

/* Blog article detail */
.blog-article-head {
  padding: 110px 0 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--border2);
}
body:has(.breadcrumbs) .blog-article-head { padding-top: 50px; }

.bah-inner {
  max-width: 760px;
  margin: 0 auto;
}
.bah-inner h1 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 14px 0 18px;
  color: var(--text);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  padding-top: 50px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text2);
  min-width: 0; /* aby sa grid item zmenšil pod šírku obsahu (code bloky) */
}
.article-body p { margin-bottom: 18px; }
.article-body h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 36px 0 14px;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 26px 0 10px;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body code {
  background: var(--surface2);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--brand);
  border: 1px solid var(--border);
}
.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0;
}
.article-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre;
}
.article-body a {
  color: var(--brand);
  border-bottom: 1px dashed rgba(255,128,0,.4);
}
.article-body a:hover { border-bottom-style: solid; }

/* ---- ARTICLE FAQ (FAQPage schema) ---- */
.article-faq {
  margin: 24px 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.article-faq dt {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
}
.article-faq dd {
  margin: 0 0 0 17px;
  padding: 0;
  color: var(--text-muted, var(--text));
  line-height: 1.65;
}

/* ---- ARTICLE TABLE ---- */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 28px;
  font-size: 15px;
}
.article-table th,
.article-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--border);
}
.article-table thead th {
  background: var(--surface2);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
}
.article-table tbody td { color: var(--text2); }
.article-table tbody td:first-child { color: var(--text); font-weight: 600; }
.article-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 100px;
}

/* ---- REF CARD AS LINK ---- */
.ref-card--link {
  text-decoration: none;
  cursor: pointer;
}

/* ---- CASE HERO IMAGE ---- */
.case-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 480px;
}
.case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- CTA BLOCK ---- */
.cta-block {
  padding: 60px 0;
  background: var(--bg);
}
.cta-card {
  background: var(--surface);
  border: 1px solid rgba(255,128,0,.18);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(255,128,0,.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-h {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 8px 0 12px;
  color: var(--text);
}
.cta-sub {
  color: var(--text2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ---- FOOTER (multi-column) ---- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 40px;
}
.foot-col--brand .foot-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  opacity: .9;
}
.foot-tagline {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 18px;
}
.foot-meta {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.7;
}
.foot-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.foot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-list a {
  font-size: 14px;
  color: var(--text2);
  transition: color .18s;
}
.foot-list a:hover { color: var(--brand); }
.foot-list--contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.foot-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3);
}
.foot-list--contact a,
.foot-list--contact address {
  font-size: 14px;
  color: var(--text);
  font-style: normal;
  line-height: 1.5;
}
.footer-bottom {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.foot-copy {
  font-size: 13px;
  color: var(--text3);
}
.foot-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-bottom-links a {
  font-size: 13px;
  color: var(--text3);
  transition: color .18s;
}
.foot-bottom-links a:hover { color: var(--text); }

/* ---- ERROR PAGE ---- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background-color: var(--bg);
  background-image:
          radial-gradient(ellipse 65% 60% at 18% 38%, rgba(255,128,0,.14) 0%, transparent 68%),
          radial-gradient(circle at 1px 1px, rgba(255,128,0,.20) 1px, transparent 0);
  background-size: 100% 100%, 30px 30px;
}
.error-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.error-code {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  background: linear-gradient(135deg, #FF8000 0%, #FFAA44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---- COMPACT GRIDS ---- */
.svc-grid--compact { gap: 14px; }
.svc-grid--compact .svc-card { padding: 26px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .detail-sidebar .sidebar-card { flex: 1; min-width: 220px; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-sidebar .sidebar-card { flex: 1; min-width: 220px; }
  .process-preview { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 28px; }
}

@media (max-width: 900px) {
  .proc-step { grid-template-columns: 90px 1fr; gap: 18px; padding: 24px; }
  .proc-num { font-size: 40px; }
  .proc-needs { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 32px; }
  .cta-actions { flex-wrap: wrap; }
  .forwhom-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .svc-grid--detail { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-side { position: static; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .trust-track { gap: 36px; }
  .trust-logo { font-size: 19px; }
  /* na mobile širšie viditeľné pásmo — aby sa dlhšie názvy neorezali */
  .trust-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  }
  .about-grid { grid-template-columns: 1fr; }
  .audit-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; align-items: start; }
  .audit-action { margin-top: 4px; }
}

@media (max-width: 760px) {
  .breadcrumbs { padding: 10px 0; }
  .breadcrumbs-flex { font-size: 12px; }
  .process-preview { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-hero { padding: 90px 0 40px; }
}

/* ============================================================
   /technologie/ — kategorizovaná stránka technológií
   ============================================================ */

.page-technologie .tech-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.page-technologie .tech-card {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-card-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.tech-card-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.section-head--left {
  text-align: left;
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
}

.section-head--left h2 {
  text-align: left;
}

@media (max-width: 1100px) {
  .page-technologie .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .page-technologie .tech-grid { grid-template-columns: 1fr; }
  .tech-card-name { font-size: 17px; }
  .tech-card-desc { font-size: 14px; }
}

/* ============================================================
   Cookie consent — banner + settings modal
   ============================================================ */

/* CRITICAL: hidden atribút musí prepísať display: flex */
.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

/* Banner — fixed bottom */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #0F0F12;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  padding: 18px 0;
  animation: cookieSlideUp .3s ease;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cookie-banner-text {
  max-width: 760px;
}

.cookie-banner-h {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cookie-banner-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

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

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner-actions .btn {
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* Modal — full overlay */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: #0F0F12;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cookie-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.cookie-modal-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}

.cookie-modal-close:hover {
  background: var(--surface);
  color: var(--text);
}

.cookie-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
}

.cookie-modal-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.55;
}

.cookie-modal-intro a {
  color: var(--brand);
}

.cookie-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.cookie-category-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-info h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cookie-category-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Toggle switch */
.cookie-toggle {
  flex-shrink: 0;
  position: relative;
}

.cookie-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-toggle label {
  display: block;
  width: 48px;
  height: 26px;
  background: #2a2a2e;
  border-radius: 13px;
  cursor: pointer;
  position: relative;
  transition: background .2s ease;
}

.cookie-toggle label::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
}

.cookie-toggle input:checked + label {
  background: var(--brand);
}

.cookie-toggle input:checked + label::after {
  transform: translateX(22px);
}

.cookie-toggle--locked label {
  background: #1a1a1c;
  cursor: not-allowed;
  width: auto;
  padding: 0 14px;
  height: 26px;
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 13px;
}

.cookie-toggle--locked label::after {
  display: none;
}

.cookie-toggle--locked label span {
  display: block;
}

.cookie-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Privacy stránka */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content p { margin: 0 0 14px; color: var(--text-muted); }
.legal-content strong { color: var(--text); }
.legal-content ul, .legal-content ol { margin: 0 0 18px; padding-left: 24px; color: var(--text-muted); }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--brand); }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 13.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.cookie-table th {
  background: rgba(255, 128, 0, 0.08);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cookie-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.cookie-table tbody tr:hover {
  background: rgba(255, 128, 0, 0.04);
}

/* Responzívne */
@media (max-width: 900px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .cookie-banner { padding: 14px 0; }
  .cookie-banner-h { font-size: 14px; }
  .cookie-banner-text p { font-size: 12.5px; }

  .cookie-modal-head, .cookie-modal-body, .cookie-modal-foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cookie-modal-foot { flex-direction: column; }
  .cookie-modal-foot .btn { width: 100%; }

  .legal-content { font-size: 14.5px; }
  .legal-content h2 { font-size: 20px; }
  .cookie-table { font-size: 12.5px; }
  .cookie-table th, .cookie-table td { padding: 8px 10px; }
}
